In order to simulate the multiple vehicle (mode) types on the network, minimally one need to (:
Highlight |
---|
Following steps are for the releases and nightly builds after 0.8.1 |
...
- set the allowed modes for each link in the network file
- set the leg mode for each trip in the plans file
- set the available vehicle types (for e.g. car, bicycle)
- inform mobility simulation (currently only for "qsim") about main modes, and link dynamics (for e.g. FIFO, PassingQ...)
- inform the router about network modescreate travel time calculator for all main modes
- set the scoring (utility) parameters
...
This is an additional file required for mixed traffic conditions. Minimally, the maximum speed and passenger car equivalents (PCE) of a vehicle, and vehicle type for each person are set in this file.
If vehicle source in the config is set to
<param name="vehiclesSource" value="modeVehicleTypesFromVehiclesData" />
only vehicle type information is enough.
...
<vehicleType id="car">
<maximumVelocity meterPerSecond="16.67"/>
<passengerCarEquivalents pce="1.0"/>
...
<vehicleType id="bicycle">
<maximumVelocity meterPerSecond="4.17"/>
<passengerCarEquivalents pce="0.25"/>
...
</vehicleType>
However, if vehicle source in the config is set to
<param name="vehiclesSource" value="fromVehiclesData" />
vehicle information is also required. For example ...
...
<vehicle id="1" type="car"/>
...
<vehicle id="6" type="bicycle"/>
...
...
Configuration
For the mixed traffic conditions, the mobility simulation (currently only for "qsim") needs to be informed about the main modes, source of vehicles, link dynamics (FIFO, PassingQ, SeepageQ) and traffic dynamics (queue, withHoles).
...