Class CrowdDensitySimulator

java.lang.Object
org.episteme.social.sociology.CrowdDensitySimulator

public final class CrowdDensitySimulator extends Object
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 Details

    • exitFlow

      public static Quantity<?> exitFlow(Quantity<?> density, Quantity<Length> width)
      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 Quantity
      width - width of the exit in meters as Quantity
      Returns:
      the flow rate in persons per second as Quantity