Class CrowdDensitySimulator
java.lang.Object
org.episteme.social.sociology.CrowdDensitySimulator
Utility class for simulating crowd dynamics and estimating flow rates in evacuation scenarios.
- Since:
- 1.0
- Version:
- 1.2
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
-
Method Details
-
exitFlow
Calculates the estimated flow rate of people through an exit. Uses a simplified relationship: Flow = density * velocity * width. Velocity is modeled as decreasing linearly with density.- Parameters:
density- crowd density in persons/m^2 as Quantitywidth- width of the exit in meters as Quantity- Returns:
- the flow rate in persons per second as Quantity
-