Verif.2.4: Assigned occupant demographics

Verif.2.4: Assigned occupant demographics

PASS

1. Definition

A square room of 100 m by 100 m holds 100 occupants spread evenly. Their walking speeds are assigned from a population chosen to match the building’s expected occupants. The test checks that the model assigns these demographic parameters correctly; it is a modified version of IMO Test 7.

Source: NIST TN 1822, Verif.2.4, pp. 20-21. This is a paraphrase, not the text of the standard.

Reference: Ronchi, E., Kuligowski, E. D., Reneke, P. A., Peacock, R. D., Nilsson, D. (2013). The Process of Verification and Validation of Building Fire Evacuation Models. NIST Technical Note 1822. National Institute of Standards and Technology. 10.6028/NIST.TN.1822 (Page numbers are the printed page numbers of TN 1822.)

2. Scenario

Top view of the scenario for Verif.2.4

Scenario figure from the executed notebook.

3. What to expect

The walking speeds used in the simulation are consistent with the distribution specified in the scenario. The tester chooses a suitable quantitative method to compare the simulated and assigned distributions.

Our criterion: Desired speeds of the 100 sampled agents are consistent with Gaussian(1.2, 0.2) (KS test, alpha = 0.05)

The scenario has no exit, so the test adds a zero-throughput exit to let ScenarioRunner place the agents; it reads the assigned speeds and does not advance the simulation.

4. Our result

Status: PASS

Test cases of this row

CaseStatusResultRun
test_assigned_agent_demographicsPASSdesired_speed_ks_pvalue = 0.2181
accepted ≥ 0.05
n = 100 · seed 42
  • test_assigned_agent_demographics: bound: |mean - 1.2| < 0.06 m/s; |std - 0.2| < 0.05 m/s; KS p-value vs Normal(1.2, 0.2) >= 0.05

Result figure for Verif.2.4

Result figure from the executed notebook.

5. Our implementation

Deviations from the standard:

  • The scenario has no exit, and ScenarioRunner needs one to place the agents. The test adds an exit with zero throughput, places the 100 agents and reads their desired speeds; it does not advance the simulation.
  • The pass rule is the suite’s own: the sample mean is within 0.06 m/s of 1.2 m/s, the sample standard deviation within 0.05 m/s of 0.2 m/s, and a Kolmogorov-Smirnov test against Normal(1.2, 0.2) gives p >= 0.05 (seed 42: mean 1.179 m/s, standard deviation 0.182 m/s, p = 0.22). One seed (42).

Model: CollisionFreeSpeedModel

6. Our notebook