Traffic Model: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
(Replaced content with "#REDIRECT Traffic model")
Tag: Replaced
 
(98 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{being updated}}
#REDIRECT [[Traffic model]]
{{learned|file=|what a Traffic Model is|how a Traffic Model relates to the {{software}}|about the different Traffic Models in the {{software}}|how to add a Custom Traffic Model to your project|how to change the Traffic Model dynamically in your project}}
 
== What is a Traffic Model ==
''From Wikipedia, the free encyclopedia''
 
A traffic model is a mathematical model of real-world traffic, usually, but not restricted to, road traffic. Traffic modeling draws heavily on theoretical foundations like network theory and certain theories from physics like the kinematic wave model. The interesting quantity being modeled and measured is the [[Traffic Flow (Overlay)|traffic flow]], i.e. the throughput of mobile [[units]] (e.g. vehicles) per time and transportation medium capacity (e.g. [[Constructions#Roads|road]] or lane width).
 
== How does a Traffic Model relate to the {{software}}? ==
The main purpose of the default traffic model in the {{software}} is to calculate the effects of traffic on the [[3D World]] through traffic densities. In order to calculate this impact, data such as the number of traffic lanes, the traffic speed and the traffic flow on a particular lane can be added to the project. The traffic model is a static model that does not change by carrying out [[Actions]], [[Upgrades]] or [[Measures]] for example. Read below how to create your own dynamic traffic model and use it in the {{software}}.
[[File:Traffic_data.jpg|thumb|220px|right|The right panel shows details about the selected road part]]The following overlays show data from/effects of the traffic model:
* [[Traffic Density (Overlay)]]
* [[Traffic NO2(Overlay)]]
* [[Traffic Noise (Overlay)]]
 
==Datasets==
When creating a [[Main Menu#New Project|new project]] a traffic model is generated for the selected project area, based on available open data sources. The following datasets are used:
 
* [[GEO_Data#Used_Datasets|NSL Monitoringstool]]
* [[GEO_Data#Used_Datasets|NWB (Nationaal Wegen Bestand)]]
* [[GEO_Data#Used_Datasets|INWEVA 2015]]
* [[GEO_Data#Used_Datasets|VI-Lucht & Geluid]]
<!--
====INWEVA 2015====
:INWEVA is short for INtensiteiten op WEgVAkken (traffic intensities on road sections). Traffic intensities are measured on ca. 3000 road sections. For the other sections intensities are estimated, based on traffic modeling. The data are yearly averages per road section, and updated each year.
:'' See also: https://nis.rijkswaterstaat.nl/portalcontent/logon/p2_33.html
 
====VI-Lucht & Geluid====
:VI-Lucht en Geluid is a Dutch tool that provides the following data for a specific section of a road:
*An average traffic intensity expressed in motor vehicles per week day, per average daytime hour, per average evening hour, per average nighttime hour
*The share and size of medium heavy and heavy freight traffic
*The share and size of bus traffic
:In januari 2016 the application was updated and actualized for the last time.
:'' See also: https://www.infomil.nl/onderwerpen/klimaat-lucht/luchtkwaliteit/slag/hulpmiddelen/inschatten/
-->
 
== Add a Custom Traffic Model==
Besides using the default traffic data, it is also possible to add a custom traffic model, better suited for the project case. A custom traffic model can be added directly as a static model, or as [[Areas|areas]] for a dynamic model.
 
In order to upload a custom traffic model, it has to first be properly prepared as a Geojson file, in the correct coordinate system.
 
''See also: [http://support.tygron.com/wiki/Geojson Geojson]
 
===Static Custom Traffic Model ===
''A static model does not change (over time), when changes occur in the 3D world. 
 
To upload a Static Custom Traffic Model directly as static data, a prepared Geojson file can be dragged and dropped on the [[Editor|Editor window]]. A panel appears, where the option "Import Building Values" needs to be selected. The Geojson file has to contain an attribute named 'TRAFFIC_FLOW" (vehicles/ hour), so that constructions that are touched by sections of the traffic data are given the value of the attribute belonging to that section.
<br>
{{Editor steps|title=add a Static Custom Traffic Model|Drag and drop a prepared Geojson file on the Editor|Select "Import Building Values" from the "File Handler" panel|Ensure the attribute TRAFFIC_FLOW is activated on the "Import Building Values File" panel|Select the "Send" button on the same panel}}
<br>
<gallery mode="nolines">
File:editor.jpg|Drag and drop a prepared Geojson file on the Editor
File:ImportBuildingValues.jpg|Select "Import Building Values" from the "File Handler" panel
File:SelectTrafficFlowAttr.jpg|Ensure the attribute TRAFFIC_FLOW is activated
File:ImportBuildingValuesFileSend.jpg|Select the "Send" button
</gallery>
 
===Dynamic Custom Traffic Model ===
 
''A dynamic model changes (over time), according to changes in the 3D world.
 
To create a Dynamic Custom Traffic Model, the same Geojson file can be used. In this case "Import Areas" is selected on the File Handler panel, instead of "Import Building Values". The sections of the Dynamic Custom Traffic Model will be added to the project as areas.<br>
<br>
An [[Excel|Excel]] file can be added, for example as an [[indicator]] or [[panel]], which updates [[Constructions|constructions]] dynamically. A panel is preferable because it does not always have to be made available to the user. More detailed examples of excel indicators that use the traffic model are the [[Traffic NO2 (Indicator)]] and the [[Traffic Noise (Indicator)]]. To change the Dynamic Custom Traffic Model, a [[TQL]] statement such as the following can be used:
 
 
:<code>UPDATE_BUILDING_TRAFFIC_FLOW_WHERE_AREA_IS_6</code> ''(This statement updates the attribute "TRAFFIC_FLOW" (vehicles/ hour) of constructions located in Area 6.)
<br>
The excel implementation of a light Dynamic Custom Traffic Model as described above, consists of the following consecutive steps:
:* Retrieval of the original traffic density in Area X - <code>SELECT_ATTRIBUTE_WHERE_NAME_IS_TRAFFIC_FLOW_AND_AREA_IS_X</code>
:* Calculation in an excel file, with the new traffic density as outcome - <code>original traffic density + change</code>
:* Output of the new traffic density for constructions in Area X - <code>UPDATE_BUILDING_TRAFFIC_FLOW_WHERE_AREA_IS_X</code>
<br>
{{Editor steps|title=add a Dynamic Custom Traffic Model|Drag and drop a prepared Geojson file on the Editor|Select "Import Areas" from the "File Handler" panel|Ensure the attribute TRAFFIC_FLOW is activated on the "Import Areas File" panel|Select the "Send" button on the same panel}}
<br>
<gallery mode="nolines">
File:editor.jpg|Drag and drop a prepared Geojson file on the Editor
File:ImportAreas-FileHandler.jpg|Select "Import Areas" from the "File Handler" panel
File:ImportAreaFile.jpg|Ensure the attribute TRAFFIC_FLOW is activated
File:ImportAreaFileSend.jpg|Select the "Send" button
</gallery>

Latest revision as of 16:32, 27 January 2023

Redirect to: