This project is a tutorial for mobiTopp, a travel demand modeling framework. It demonstrates how to set up and run both long-term population synthesis and short-term travel demand simulations.
src/main/kotlin/MainLongTerm.kt: Entry point for population synthesis and long-term choices (e.g., car ownership, transit card ownership).src/main/kotlin/MainShortTerm.kt: Entry point for the short-term demand simulation (mode and destination choice).data/: Contains input data such as network matrices, zone information, and configurations.results/: Directory where simulation results and plots are stored.
- Java JDK 25: This project is configured to use Java 25.
- Gradle: The project uses the Gradle build system (wrapper included).
To compile the project without running it:
./gradlew buildYou can run the simulation components using the following Gradle commands.
This step generates the synthetic population and assigns long-term characteristics.
./gradlew runLongTermThis step simulates the daily travel behavior (trips, mode choice, destination choice) for the generated population.
./gradlew runShortTermAfter running the simulations, you can find the results in the results/ directory:
- Long-term results: Located in
results/long-term/andresults/long-term-modernized/. - Short-term results: Located in
results/short-term/. The simulated trips can be found in:results/short-term/demandsimulation.csv.
The following documentation covers some topics in more detail: