Micro-simulation of Traffic
Learning Objectives
- Describe microscopic vehicle-following, lane-changing, and route-choice rules and their limitations.
- Build a connected network with observed geometry, controls, traffic demand, and multimodal inputs.
- Choose defensible warm-up periods, random seeds, run lengths, and output measures.
- Separate model error checking, calibration, and independent validation.
- Compare scenarios with uncertainty, sensitivity tests, reproducible runs, and responsible interpretation.
Microscopic traffic simulation
Model the physical network first
Nodes, links, lanes, controls, and observed demand
A network requires correct link connectivity and direction, lane storage lengths, allowable movements, signal timing and offsets, bus stops, pedestrian crossings, turning restrictions, origins/destinations, and time-varying arrivals. Field observations should cover congested and noncongested periods, vehicle classes, queues, travel times, route proportions, and bottleneck discharge. Local Philippine conditions (jeepney and bus dwell, motorcycles, pedestrian conflicts, informal loading) must be represented only to the extent supported by observations and the selected software.
Vehicle behavior and space gaps
Car-following model
Following is not a single universal law
Models include stimulus-response, psycho-physical (including Wiedemann families), safe-distance, and intelligent-driver formulations. Software implementations and parameter meanings differ. Drivers may respond to gap, relative speed, desired speed, reaction delay, and constraints; default parameters are starting points, not a local Philippine calibration. An implausible queue may result from network or demand errors rather than from following behavior.
Clear spacing between two vehicles
One-dimensional, same-lane classroom geometry; positions measured in metres along a common direction.
Spacing symbols and caution
Basic time-step and demand conversion
Lane-change decision
Mandatory versus discretionary lane changes
A mandatory change may be required to reach a turning pocket or avoid a lane drop. A discretionary change may seek a faster lane. The model must represent legal movements, target-lane gaps, interactions with motorcycles and buses, and available weaving distance. A vehicle can desire a change but be unable to execute it because the target lane is blocked.
Warm-up, random seeds, and observation windows
Control the experiment, not just the animation
A warm-up period builds realistic queues and occupancies before collecting output; test whether the chosen warm-up achieves a stable condition for the question being studied. Record warm-up duration, demand loading, output observation duration, simulation time step, and seed-control method. Use multiple independent random seeds for stochastic variation, and preferably paired seeds for comparable alternatives where supported. The number of runs depends on variability and the decision's required confidence—not a universal count of 10 or 20.
Estimated standard error of a replicated mean
Use when seed-level replications are approximately independent and a sample standard deviation is meaningful.
Reported seed uncertainty
Paired-run difference summary
Calibration, validation, and forecasting
Match multiple observed phenomena
Error checking verifies links, signal programs, routing, units, origin/destination reconciliation, and impossible movements. Calibration tunes defensible parameters against designated observations such as travel-time distributions, volumes, queues, and bottleneck onset. Validation checks an independent dataset not used for parameter adjustment. Set objective-specific acceptance criteria before tuning; FHWA guidance is methodological, not an automatically applicable Philippine numeric threshold. Investigate failure mechanisms rather than changing parameters to produce a preferred outcome.
GEH hourly count diagnostic
A comparative count-fit statistic using observed and simulated volumes for the same hour; not an automatic acceptance rule.
Interpreting the GEH diagnostic
Mean absolute percentage error
Use only when all observed values are strictly positive; retain model bias direction separately.
Interpreting relative errors
Controlled calibration and alternatives workflow
- Define the decision, study network, representative operating conditions, output measures, and independent datasets.
- Build geometry, signals, demand, route choices, vehicle classes, and measured time profiles.
- Error-check the model before adjusting driver parameters.
- Calibrate against preselected observed measures and record all changes and seeds.
- Validate against independent data; if inadequate, investigate data/model causes and repeat relevant checks.
- Freeze an accepted base model, design no-build/build alternatives, select replicated seeds and common measurement windows.
- Test sensitivity, report seed variability and confidence, and disclose limitations and raw results.
Microsimulation Calibration and Validation
Build and error-check a microscopic traffic model, calibrate it to local driving behavior, validate it with independent observations, and gate forecasting on validation.
Calibration uses local real-world observations. Validation must use independent field data that was not used during calibration. The lesson gives no universal numerical match threshold, so the diagram does not invent one. A failed validation result does not authorize forecasting or imply a repair method.
Start model development → Build network and enter traffic demand; Build network and enter traffic demand → Inspect animation for network or signal coding errors; Inspect animation for network or signal coding errors → Adjust behavior parameters using local observations; Adjust behavior parameters using local observations → Local behavior matched?; Local behavior matched? — Yes → Compare with independent field data; Local behavior matched? — No → Adjust behavior parameters using local observations; Compare with independent field data → Independent data matched?; Independent data matched? — Yes → Use the validated model to test alternatives; Independent data matched? — No → Hold forecasting; validation has not established readiness; Hold forecasting; validation has not established readiness → End model workflow; Use the validated model to test alternatives → Run multiple random seeds and average results; Run multiple random seeds and average results → End model workflow
- Start model development: terminator
- Build network and enter traffic demand: process
- Inspect animation for network or signal coding errors: process
- Adjust behavior parameters using local observations: process
- Local behavior matched?: decision
- Compare with independent field data: process
- Independent data matched?: decision
- Hold forecasting; validation has not established readiness: process
- Use the validated model to test alternatives: process
- Run multiple random seeds and average results: process
- End model workflow: terminator
Reproducibility and calibration are not the same as prediction certainty
- Vehicle trajectories depend on connected geometry, observed demand, controls, and calibrated behavior.
- Lane changing includes route constraints and accepted gaps, not just lane-speed preferences.
- Warm-up, seeds, replication, and consistent observation windows make comparisons interpretable.
- Calibration uses tuning observations; validation uses independent evidence.
- Scenario differences need uncertainty and sensitivity analysis, not just persuasive animation.