You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* This class offers the functionality of running the discrete mode choice model on the whole population without having to go through the whole iterative MATSim process. It is also possible to filter-out the persons that do not have a valid alternative.
@@ -131,6 +132,8 @@ public double getLinkTravelTime(Link link, double time, Person person, Vehicle v
logger.warn(String.format("Using '%s', the input file for the '%s' config group will not be considered", usedTravelTimeArg, VDFConfigGroup.GROUP_NAME));
Copy file name to clipboardExpand all lines: docs/standalone_mode_choice.md
+5
Original file line number
Diff line number
Diff line change
@@ -27,4 +27,9 @@ More parameters can be supplied via the command line:
27
27
In order to fully use it in your own use case, you need to implement a class extending the `StandaloneModeChoiceModule` class, your extension must have a constructor that matches the signature of the constructor present in the base class (taking a `Config` and a `CommandLine` as parameters).
28
28
Then, override the `getSpecificModeChoiceModules` to return the modules necessary to configure the mode choice model only.
29
29
30
+
**Note: Using travel times recorded by the VDFModule**
31
+
32
+
If your scenario has been simulated before using the VDF functionality and want to use the travel times recorded by the VDFModule (usually in a vdf.bin file), you need to call the `RunStandaloneModeCHoice` with a config file where the `eqasim:vdf` module is configured with the `inputFile` pointing to the file you want to use. Moreover, you must not pass `travel-times-factors-path` or `recorded-travel-times-path` arguments.
33
+
34
+
30
35
For more details, you can check how this functionality is used in `org.eqasim.TestSimulationPipeline#TestPipeline()` and in `org.eqasim.ile_de_france.TestCorisica#testCorsicaPipeline()`.
0 commit comments