-
Notifications
You must be signed in to change notification settings - Fork 181
faq 156565508
by Sashi Gurram on 2018-01-21 09:51:42
In my scenario, I have 4 travel modes: car, pt, bicycle, ride, and school bus.
I am trying to implement the SubtourModeChoice innovation strategy where I want random subtours to choose either pt, bicycle, or car. For this, I am using the following configuration (I am only posting mode-related commands under qsim and subtour modules).
I have two questions. 1) Is my configuration correct, if I want to randomly replace the current travel mode of a subtour to either public transit, bicycle, or car? 2) Why do we need to specify <param name="modes" value="car,bicycle,pt,walk,school bus,ride"/> under the Subtourmodechoice module when we have already specified them under qsim?
<module name="qsim">
<param name= "mainMode" value= "car,bicycle,ride,school bus"/> </module>
<module name="subtourModeChoice" >
<param name="chainBasedModes" value="car,pt,bicycle"/>
<param name="considerCarAvailability" value="false"/>
<param name="modes" value="car,bicycle,pt,walk,school bus,ride"/> </module>
by Kai Nagel on 2018-01-21 10:55:31
I have never used subtour mode choice so what I say may be wrong. But the way the user interface is meant is as follows:
the qsim mainModes are the modes that the mobsim simulates explicitly on the network (which also means that, with your specification, ride and school bus will be executed by individual vehicles on the network). A mode that is not simulated explicitly can be teleported, or it can be a passenger mode (e.g. pt or taxicab).
the subtour mode choice modes are the modes between which the strategy module (= plan set innovation module) can switch. This can be a superset of the explicit mobsim modes. Or a subset; for example, you might have "commercial" as a mode to be explicitly mob-simulated, but people should not be able to jump onto it for a mode.
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq