First Principles for Building Services Engineers
Thinking from the fundamentals
A robust mental model for building services engineering starts from unbreakable universal laws and moves upward to the practical tools we use every day in design. When we understand this hierarchy, the calculations and decisions we make on projects stop feeling like isolated tricks. They become clear applications of deeper physics. Let us walk through the levels together, from the foundation to the final outputs.
The whole structure is easier to hold in your head as a picture. Pick something you would put on a drawing and the widget below lights every level it stands on.
Trace a design task back to the axioms
Pick something you would actually put on a drawing. The widget lights every step it stands on, all the way down to the conservation laws, and sends a pulse up the chain. Nothing at the top exists without the levels beneath it.
Base Level: The Axioms (First Principles)
These are the fundamental laws of physics. Nothing we design can ever break them. They form the ground we stand on.
Conservation of Mass
What enters a control volume must either leave or accumulate inside it. In simple terms, mass is never created or destroyed. When we look at air flowing through a duct or water moving through a pipe, the total mass flow rate coming in equals the total mass flow rate going out, plus any change stored inside the volume. This single idea lets us track every kilogram of air or water in a system.
Here is the mass held inside the control volume, and each is a mass flow rate crossing its boundary in kilograms per second. The control volume is whatever boundary we choose to draw. A room, an air handling unit, a single coil, or the whole building. The equation does not care which one, as long as we account for every stream that crosses the line we drew. Room pressure regimes come straight out of this. If the supply fan moves more air than the extract fan, the surplus has nowhere to go, so it is stored as pressure until the leakage paths carry the difference away.
What enters must leave or accumulate
Draw a boundary around one room and account for every kilogram crossing it. The supply and extract fans are yours to set. The leakage path is not, and it is what closes the balance. Time is slowed about five times, because the real room settles in under a second.
Conservation of Energy (First Law of Thermodynamics)
Energy cannot be created or destroyed. It can only change form between heat, work, and internal energy. When a fan adds work to the air, or a cooling coil removes heat, the total energy balance must still close. This law forces us to account for every watt that enters or leaves a space or a piece of equipment.
is the energy stored inside the boundary, is heat flowing in, is work done by the control volume on its surroundings, and is the specific enthalpy each stream carries. A fan does work on the air rather than the other way round, so its is negative and it adds energy.
For a steady air stream, with no change in height or speed worth counting, that reduces to the line every engineer already knows, . The useful part is that the first law does not care where the energy came from. Take a fan that absorbs 3 kW, with its motor sitting in the air stream, moving 2.4 kg/s of air. All 3 kW ends up in the air. With for air at 1006 J/kg·K, the temperature of that air rises by
Nobody specified that heat and it still arrives, and on a cooling duty it is a load you then pay to remove again.
Every watt has to land somewhere
Draw the boundary round the air handling unit. Heat enters at the coil and shaft work enters at the fan. The first law does not care which is which, so both raise the enthalpy of the same air stream. Turn the coil down to nothing and the fan still warms the air.
Conservation of Momentum (Newton’s Second Law)
A fluid moves only when a net force acts on it. In building services that force is almost always a pressure difference. The pressure created by a fan or pump must overcome the resistance of ducts, pipes, filters, and fittings. If the driving force is weaker than the resistance, the fluid simply will not flow at the rate we want.
Write that for a column of air filling a straight duct. If the duct has cross-sectional area and the column has length , the mass being pushed is . The net force on it is the pressure difference acting over that same area, . Put both into and the area cancels from each side, which leaves
Steady flow is not something we assume at the start. It is the state the air reaches when friction has grown to match the fan, so there is no net force left to accelerate anything. Friction rises with the square of velocity, so it catches up quickly, and in a duct the whole transient is over in about a second.
Air moves only while a net force is left over
The fan pushes on one end of the air column and the duct walls rub against it. While the push wins, the air speeds up. Friction rises with the square of velocity, so it catches the fan up quickly and the flow stops changing. Restart from rest and watch the two bars close on each other.
Entropy (Second Law of Thermodynamics)
Heat naturally flows from hot to cold. Every real process generates losses. Friction in ducts, inefficiencies in compressors, and mixing of different temperature streams all increase entropy. We can never achieve a perfect system. The second law reminds us that some energy will always be lost as low-grade heat.
is the specific entropy each stream carries, and is the temperature of the boundary at the point where that heat crosses it. The line says entropy out, minus entropy in, minus whatever the heat flows account for, is never negative.
Entropy feels abstract until you price it. Multiply the entropy generated by the outside temperature and you get work, in watts, that nobody can get back. Push 2 m³/s of air down a duct that loses 500 Pa to friction and the entropy generated is 3.41 W/K. At 20 °C ambient that is 1000 W of destroyed work, which is exactly the 1000 W of air power the fan supplied to push it. Friction did not waste part of the fan power. It wasted all of it.
Energy survives the process. Quality does not
Mix two air streams, or drag air down a rough duct. Run the energy balance either way and it closes to the watt. Run the entropy balance and it only ever goes one way. Multiply the entropy generated by the outside temperature and you get the power you threw away.
These four axioms sit at the bottom of everything. They cannot be negotiated.
Level 1: Governing Equations (The Physics Engine)
When we apply the axioms to continuous fields of fluid and heat, we obtain exact mathematical descriptions. These equations are the complete physics engine of our world.
Navier-Stokes Equations
These are the full mathematical statement of momentum conservation applied to a viscous fluid such as air or water. They link velocity, pressure, temperature, and density at every point. In theory they describe every swirl, every pressure drop, and every temperature change. In practice they are extremely difficult to solve by hand for the complex geometries we meet in buildings.
is the velocity at a point and is the dynamic viscosity. Read left to right, the terms are: how fast the velocity is changing at a fixed point, how much it changes as a parcel of air moves along, the push from the pressure gradient, the drag from viscosity, and the weight of the fluid. There is nothing about buildings in there, and nothing about buildings anywhere below Level 2. That is the point. Every tool further up is this equation with terms removed.
Equations of State
These equations connect pressure, volume, and temperature for a fluid. The Ideal Gas Law is the most familiar example. From equations of state we build the thermodynamic property tables that tell us enthalpy, density, and specific heat for air, water, and refrigerants. Without them we could not convert between temperature readings and energy quantities.
is the specific gas constant, 287 J/kg·K for dry air, and has to be in kelvin rather than degrees Celsius. For air at 101325 Pa and 20 °C that gives 1.204 kg/m³. Now take a fan handling 2 m³/s and move it to a station pressure of 90 kPa, roughly 1000 m above sea level. The density falls to 1.070 kg/m³. The volume flow has not changed at all. The mass flow has fallen by 11 %, and so has every duty, every fan pressure, and every energy figure that depends on it. This is why 101325 Pa is a default and not an assumption.
From p, v and T to the numbers on the drawing
Fix the volume flow at 2 m³/s and move the air's pressure and temperature. The ideal gas law sets the density, and the density is what decides how much air you actually have. Duty, mass flow and fan pressure all move with it. Volume flow on its own tells you nothing about energy.
Together these governing equations give us the complete, exact picture. They are powerful, but they are also too heavy for everyday design calculations.
Level 2: Engineering Approximations (The Working Tools)
Because the full Navier-Stokes equations are impractical for routine duct and pipe work, we simplify them. We remove certain terms under carefully chosen assumptions and obtain tools we can actually use at a desk or on site.
It is worth seeing that removal happen. Each assumption deletes a term, and each deleted term costs a prediction we can no longer make.
Delete a term, gain a tool, lose a prediction
Navier-Stokes is complete and unusable. Every equation you can actually work with is this one with terms crossed out. Switch the assumptions and watch which equation you land on, and what the surviving model can no longer tell you about a plain 20 m duct.
Kept as a field equation: every quantity still varies in three directions and you need a computer.
Bernoulli’s Equation
This is an extreme simplification of Navier-Stokes. We assume the fluid is frictionless (inviscid) and incompressible, and that it moves along a single streamline. Under those conditions the equation shows that static pressure and dynamic pressure trade places with each other. That relationship is the reason a Pitot tube can measure velocity, and it also explains the basic head that fans and pumps must supply.
The three terms are the static pressure, the velocity pressure, and the height term, with measured from any datum you choose. For air the height term is small enough to drop across the depth of a plant room. Take air at 1.2 kg/m³ moving at 10 m/s:
Turn it around, and a Pitot tube reading 60 Pa is telling you the velocity:
That square root is the entire theory behind a velocity traverse.
Static and velocity pressure trade places
Bernoulli says total pressure is held along the streamline, so anything the air gains in velocity pressure it gives up in static pressure. Slide the probe into the throat and watch the swap. Squeeze the throat far enough and the static pressure goes below the pressure outside the duct.
Darcy-Weisbach Equation
Bernoulli’s equation ignores friction. Real ducts and pipes have friction. The Darcy-Weisbach equation puts friction back in by calculating the pressure drop caused by viscous shear against the walls. Almost every duct-sizing and pipe-sizing calculation we perform rests on this equation. It is the bridge between ideal flow and the real losses we measure on site.
is the length of the run, is the diameter, and is the friction factor, which depends on the Reynolds number and on how rough the duct wall is. Twenty metres of 400 mm galvanised duct running at 6 m/s carries 0.75 m³/s. The Reynolds number is about 159 000, the Colebrook-White friction factor works out at 0.0186, and the pressure drop is 20 Pa, or 1.0 Pa per metre. Double the velocity to 12 m/s and the drop rises to 75 Pa. That is a factor of 3.7 rather than a clean 4, because falls slightly as the flow becomes more turbulent, but the square is the part worth remembering.
The square on the velocity is the one that costs money
This is the equation almost every duct and pipe on a project is sized with. Move the flow and watch the drop climb far faster than the flow does. Then move the diameter one step and watch most of it disappear again. The dashed curve is the next size up.
Psychrometric Principles
These principles apply mass conservation and energy conservation directly to mixtures of dry air and water vapour. By tracking the dry-air mass flow and the water-vapour mass flow separately, and by tracking enthalpy, we can calculate exactly how much cooling, heating, or dehumidification a coil must provide. The psychrometric chart is simply a visual map of these two conservation laws working together.
Written out, that is three sums. Dry air is conserved, water is conserved, and energy is conserved.
is the dry-air mass flow, is the humidity ratio in kilograms of water per kilogram of dry air, is the condensate running to the drain, is the enthalpy of the moist air per kilogram of dry air, and is the enthalpy of that condensate as it leaves. Take 2 m³/s of air arriving at a coil at 28 °C and 50 % relative humidity, and leaving at 13 °C and 95 %. The humidity ratio falls from 0.0118 to 0.0089 kg per kg of dry air, and the enthalpy from 58.4 to 35.4 kJ/kg. The specific volume on-coil is 0.869 m³/kg, so the dry-air mass flow is 2.30 kg/s. The total duty comes out at 52.3 kW. Of that, 35.5 kW is sensible and 16.8 kW is latent, a sensible heat ratio of 0.68, and 24.6 kg of water an hour runs to the drain. No chart was read to get any of those numbers.
A cooling coil is three sums, not a chart lookup
Dry air in equals dry air out. Water in equals water out plus what runs to the drain. Energy in equals energy out. Move the on-coil condition and the off-coil temperature, and the sensible and latent split appears on its own. The plot on the right is only a picture of those sums.
These approximations are not perfect, but they are accurate enough for design and they remain firmly rooted in the original axioms.
Level 3: Building Services Applications (The Output)
At the top of the hierarchy we combine the tools into the deliverables that appear on drawings and in energy models.
Aeraulic and Hydronic Design
We balance the performance curve of a fan or pump against the pressure-drop curve of the duct or pipe system. The intersection of the two curves gives the actual operating point. Everything we learned about Bernoulli, Darcy-Weisbach, and conservation of mass comes together here so that the right volume of air or water reaches every terminal unit.
The system curve is Darcy-Weisbach rewritten in terms of volume flow, with everything fixed about the ductwork rolled into the one coefficient . The fan curve is not a formula at all. It is a line the manufacturer measured on a test rig, so we work with it as a curve.
Take a system that needs 500 Pa at 2 m³/s, so is 125 Pa per (m³/s)². Put it with a fan whose measured curve fits , in pascals with in m³/s. Setting the two equal gives , so the flow is 2 m³/s at 500 Pa, as intended. Now let a filter load up until doubles to 250. The intersection moves to 1.57 m³/s at 615 Pa. The flow fell by 22 %, and the air power went from 1000 W to 965 W. Throttling bought us less air at almost the same cost, which is the whole argument for slowing the fan instead.
Only the intersection is real
The rising curve is the system, which is Darcy-Weisbach plotted out. The falling curve is the fan, measured on a test rig. Neither one is an operating point on its own. Close the damper and the flow slides back up the fan curve, without anyone asking it to.
Thermal Dynamics
We apply the heat-transfer laws (Fourier’s law for conduction, Newton’s law of cooling for convection) together with the energy balance to predict temperatures, overheating risk, and energy use. Daylighting calculations and dynamic energy models are further extensions of the same conservation principles.
is a heat flux in watts per square metre. In the first, is the thermal conductivity of the material and is the temperature gradient through it. In the second, is the surface heat transfer coefficient, is the surface temperature, and is the air temperature away from the surface. It is here and not , because is already the enthalpy above.
Those two set the heat crossing the fabric. The energy balance then turns them into a rate of change of stored heat, which is the only thing a dynamic model is really doing.
is the heat capacity of everything inside the boundary, in joules per kelvin, and is the total heat loss in watts per kelvin, fabric and ventilation together. A 50 m² office with 45 W/K of fabric loss and 2 air changes an hour has a of 146 W/K. Give it a medium-weight construction at 80 kJ per m² of floor per kelvin and is 4 MJ/K, so the time constant is 7.6 hours. That number is why the warmest hour inside is not the warmest hour outside, and why thermal mass changes when a room overheats as much as whether it overheats.
Run the same balance forward in time
Fourier and Newton give the heat crossing the fabric. The energy balance turns that into a rate of change of stored heat, and stored heat is what thermal mass is. Change the construction and the peak does not just shrink, it arrives later. This is the whole content of a dynamic thermal model.
When we design a system this way, we are never inventing rules from thin air. We are simply choosing the right level of simplification for the problem in front of us, always knowing that the deeper laws remain in force.