Developers¶
MILES combines Python stages with three Java engines. This section documents the code: which classes and scripts MILES adds or changes, how they are wired, and how to extend them.
-
The CVAE library and the post-processing steps.
-
Residential location, car ownership and workplace choice in the engine.
-
The
abm.models.marylandpackage: generation, destinations, mode choice. -
RunBaltimoreToll: scoring, value of time, tolls. -
Orchestration, plans converter, skims and accessibility.
-
One folder and notebook per model, with Biogeme.
Conventions¶
- Coordinate system: EPSG:26985.
- Skims: gzipped CSV
FROM,TO,VALUE. - Coefficients live in CSV files read by the engines; every file is written by a script from the estimation results, never by hand.
- Unit checks compare engine utilities with Biogeme's \(X\beta\) (
landuse/checks/check_*.py,activity/checks/check_engine_utilities.py). - Paths: each script keeps the project root in a constant at its top (
ROOTorV).