Governing equations
Air density is estimated with the ideal-gas relation at fixed textbook atmospheric pressure:
ρ = p / (R T)
The inside-minus-outside pressure difference at height z is:
Δp(z) = g (ρout − ρin) (z − zNPP)
Each opening follows the orifice relation, with the upstream air density selected by flow direction:
ṁ = sign(Δp) Cd A √(2 ρup |Δp|)
The neutral pressure plane is the elevation where the sum of signed mass flows through all openings is zero:
Σ ṁi = 0
What is simplified
- Indoor and outdoor temperatures are uniform and constant; air is treated as dry and ideal.
- Atmospheric pressure is fixed at textbook standard pressure. Wind, fans, solar heating, doors opening in time, and room-to-room pressure losses are omitted.
- Ten openings represent effective leakage paths at evenly spaced heights. Their areas are redistributed while their total area stays fixed.
- The orifice law is quasi-steady. The model does not resolve turbulence, detailed flow paths, or transient thermal storage.
How to read the numbers
Gravity, the gas constant, and standard atmospheric pressure are textbook constants. Slider settings, opening areas, discharge coefficient, and building geometry are illustrative. The cutaway is scaled for explanation, not a construction drawing. Flow rates are model estimates, not measurements of a real building.
A real building can have several neutral pressure planes and complex wind-driven flows. This single-zone model isolates the stack effect so its direction and pressure scale are easy to inspect.