IMO 7: Assignment of population demographics
SCRIPTED1. Definition
A panel of males aged 30 to 50 is taken from Table 3.4, whose walking speed on flat terrain is a uniform distribution between 0.97 m/s and 1.62 m/s. The speeds are distributed over a population of 50 persons. The standard intends the assigned speeds to be consistent with the table.
Source: IMO MSC.1/Circ.1533, Annex 3, Appendix 2, Test 7, para. 9, p. 10; Table 3.4, p. 5. This is a paraphrase, not the text of the standard.
Reference: International Maritime Organization (2016). Revised guidelines on evacuation analysis for new and existing passenger ships. MSC.1/Circ.1533, 6 June 2016. https://edocs.imo.org/Final%20Documents/English/MSC.1-CIRC.1533%20(E).docx (Page numbers are the printed page numbers of Annex 3 (“Annex 3, page n”). Tests are cited by test number and paragraph of Appendix 2.)
2. Scenario

Scenario figure from the executed notebook.
3. What to expect
The assigned speeds follow the uniform distribution of Table 3.4 (0.97 m/s to 1.62 m/s). IMO gives no statistical test or tolerance.
Our criterion: Assign 50 agents walking speeds consistent with IMO Table 3.4 for males aged 30–50 years (uniform distribution, 0.97–1.62 m/s)
Uses jps.Simulation directly to assign uniformly distributed walking speeds (0.97–1.62 m/s), since the scenario runner does not support uniform speed distributions.
4. Our result
Status: SCRIPTED
Test cases of this row
| Case | Status | Result | Run |
|---|---|---|---|
test_ | PASS | desired_speed_ks_pvalue = 0.5248 accepted ≥ 0.05 | n = 50 · seed 42 |
test_: bound: all speeds in [0.97, 1.62] m/s; KS p-value vs Uniform(0.97, 1.62) >= 0.05population_ demographics

Result figure from the executed notebook.
5. Our implementation
Deviations from the standard:
- The scenario harness offers only constant and Gaussian speed distributions, so the test builds the simulation with jps.Simulation directly. It draws 50 speeds from Uniform(0.97, 1.62) m/s with NumPy (seed 42), assigns them as the agents’ desired speeds and reads them back from the simulation.
- The pass rule is the suite’s own: every assigned speed lies in [0.97, 1.62] m/s and a Kolmogorov-Smirnov test against Uniform(0.97, 1.62) gives p >= 0.05 (seed 42: p = 0.52). Because the test draws the speeds itself, it verifies that JuPedSim keeps the assigned speeds, not a demographic sampler of JuPedSim.
- The simulation is not advanced. The room is 40 m by 10 m with 50 agents near one wall; default body radius 0.15 m. The scenario is built in code (tests/vv/test_imo.py).
Model: CollisionFreeSpeedModel
- Test function: tests/vv/test_imo.py::test_population_demographics