Class NaturalVentilation
java.lang.Object
org.episteme.social.architecture.NaturalVentilation
Models passive natural ventilation and airflow in buildings. It provides
calculations for the stack effect (thermal buoyancy) and wind-driven
ventilation, supporting sustainable building design.
- Since:
- 1.0
- Version:
- 2.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
Modifier and TypeMethodDescriptionstatic RealcalculateACH(double totalFlowRate, double buildingVolume) Estimates the Air Changes per Hour (ACH) for a building volume given a total flow rate.static booleanisCrossVentilationPossible(double buildingDepth, double windowRatio) Determines if Cross Ventilation is structurally possible based on building depth and window-to-wall ratios.static RealstackEffectFlow(double cd, double area, double height, double tempInside, double tempOutside) Calculates the Stack Effect airflow (Q) caused by thermal buoyancy.static RealwindDrivenFlow(double cv, double area, double windSpeed) Calculates Wind-Driven ventilation flow (Q) based on pressure differences.
-
Method Details
-
stackEffectFlow
public static Real stackEffectFlow(double cd, double area, double height, double tempInside, double tempOutside) Calculates the Stack Effect airflow (Q) caused by thermal buoyancy. Formula: Q = Cd * A * sqrt(2 * g * H * (Ti - To) / Ti)- Parameters:
cd- discharge coefficient (typical values around 0.65)area- opening area in square metersheight- vertical distance between the neutral pressure level or openings in meterstempInside- average indoor temperature in KelvintempOutside- outdoor temperature in Kelvin- Returns:
- volumetric flow rate in cubic meters per second (m3/s)
-
windDrivenFlow
Calculates Wind-Driven ventilation flow (Q) based on pressure differences. Formula: Q = Cv * A * v- Parameters:
cv- effectiveness factor (0.5-0.6 for perpendicular wind, 0.25-0.35 for diagonal)area- area of the opening in square meterswindSpeed- external wind speed in meters per second (m/s)- Returns:
- estimated volumetric flow rate (m3/s)
-
calculateACH
Estimates the Air Changes per Hour (ACH) for a building volume given a total flow rate. Formula: ACH = (Q * 3600) / Volume- Parameters:
totalFlowRate- total volumetric flow rate (m3/s)buildingVolume- interior volume of the building in cubic meters- Returns:
- the number of air changes per hour
-
isCrossVentilationPossible
public static boolean isCrossVentilationPossible(double buildingDepth, double windowRatio) Determines if Cross Ventilation is structurally possible based on building depth and window-to-wall ratios.- Parameters:
buildingDepth- distance between windward and leeward facadeswindowRatio- ratio of openable window area to facade area- Returns:
- true if Cross Ventilation is likely feasible
-