Expand description
Scientific calibration helpers for pedestrian fundamental diagrams.
The microscopic models in this crate keep their literature defaults in
their own Params structs. This module provides an explicit calibration
layer for deployments that need a published speed-density envelope, starting
with Weidmann’s 1993 indoor-corridor fundamental diagram.
Structs§
- Calibration
Point - A density/speed observation used by calibration reports.
- Calibration
Report - Error summary against a reference fundamental diagram.
- Weidmann
Curve - One empirical speed-density reference curve.
Functions§
- apply_
weidmann_ speed_ cap - Clamp every pedestrian velocity to the Weidmann speed at
density. - apply_
weidmann_ speed_ target - Set every pedestrian velocity to the Weidmann speed at
density. - density_
for_ area - Density implied by
countpedestrians overarea_m2square metres. - mean_
speed - Mean scalar speed of the supplied pedestrians.