Lesson 4.1Lesson 4.1 · Energy Modelling
The Building Energy Balance
Gains in, losses out, and the HVAC that closes the gap - the whole of energy modelling in one equation
A building is a bucket with holes: heat pours in, heat leaks out, and the HVAC bails the difference. Model that, and you have modelled the energy.
Strip an energy model down to its core and it is astonishingly simple. At every moment, heat is flowing into a space - from the sun through the glass, from the people and lights and laptops inside - and flowing out - through the walls and roof, and with the air that leaks and is ventilated. If those flows do not cancel, the air temperature drifts. The HVAC system exists to make up the difference and hold the setpoint.
That single sentence is the whole of whole-building energy modelling. The engine just solves this heat balance once an hour, every hour, for a full year - all 8760 of them - against a real weather file. Add up what the HVAC had to supply and you get the annual energy. Everything else in this module is detail hung on this one frame.
Bucket with holes. Sun + people fill it, walls + air drain it, HVAC bails the rest.
The balance every model solves
Picture the air in a room as an account that must always balance. On the gains side: solar gains (short-wave radiation coming through glazing and, more slowly, warming opaque surfaces), and internal gains - the waste heat from people (roughly 70-100 W each at rest, more when active), lights, and equipment (computers, screens, kitchen loads, servers). On the losses side: conduction through the envelope (walls, roof, glass, floor - governed by their U-values and the indoor-outdoor temperature difference), and air exchange, split into deliberate ventilation for fresh air and unwanted infiltration through cracks and gaps.
If gains exceed losses, the room heats up; if losses exceed gains, it cools down. To hold a setpoint - say 24 C - the HVAC must remove or add exactly the shortfall. In a warm climate that mostly means removing heat (cooling); in a cold one, adding it (heating). The engine writes this as a heat-balance equation on the zone air node and solves it at every timestep. That is literally all EnergyPlus is doing - just very fast, and with honest physics for each flow.
A useful way to hold the whole idea is a single accounting line: the change in the zone's stored heat over an hour equals everything that came in minus everything that left, minus whatever the HVAC removed. When the design and controls keep that line at zero at the setpoint, the occupants feel steady comfort; when it cannot be held - because the plant is off, or too small - the temperature swings, and the model reports it as an unmet or free-floating hour rather than as energy. Every output you will ever read traces back to this one bookkeeping statement, repeated hour after hour.
Gains in + losses out + HVAC = 0. If it does not balance, the temperature moves. That is the whole game.
Sensible, latent, and why humidity costs energy
Heat comes in two flavours, and a model tracks both. Sensible heat changes air temperature - it is what a thermometer reads. Latent heat changes air moisture - the energy tied up in water vapour, which you feel as humidity rather than temperature. People give off both (we breathe out water and sweat); ventilation air in a humid climate drags in a large latent load; cooking and plants add moisture too.
This matters enormously in India. In warm-humid coastal cities - Chennai, Mumbai, Kochi - a big share of the cooling energy is spent not on lowering temperature but on wringing water out of the air (dehumidification). A model that ignored latent load would badly under-predict the cooling bill. When you read HVAC output, you will often see the cooling load split into sensible and latent parts; in humid zones the latent slice is stubbornly large, which is why simply opening windows can make comfort worse, not better. In hot-dry climates like Jaipur, latent loads are small and evaporative strategies suddenly make sense - the same balance, a different mix.
From an hourly balance to the annual picture
Solve the balance for one hour and you know the instantaneous load. Solve it for all 8760 hours of a typical year - each with its own outdoor temperature, sun position and cloud cover from the EPW weather file, and its own occupancy and equipment use from the schedules - and you can add up the energy the HVAC delivered. That annual total, divided by floor area, is the building's Energy Use Intensity (EUI), in kWh/m2 per year: the single most quoted number in energy modelling and the basis of most code and rating comparisons.
The shape of that annual total - how it splits across cooling, heating, fans, lighting, equipment and hot water - is the building's energy signature. Two identical buildings in two climates produce completely different signatures: a Chennai office is dominated by cooling and fans, a Shimla one by heating. Reading the split tells you where the energy actually goes, and therefore where design effort pays off. A model that says 'EUI 140' is far less useful than one that says '52% cooling, 12% fans' - the breakdown is the actionable part.
This is also why energy modellers care so much about the weather file behind the run. Swap a typical-year EPW for a hotter recent year, or a coastal file for an inland one, and the same building returns a different EUI - not because the design changed but because the climate driving the balance did. Reading an annual result therefore always means reading it against a stated location and weather file; an EUI with no climate attached is a number without a context.
EUI = annual energy / floor area. But always ask for the SPLIT - that is where the design levers are.
Why the balance needs a computer, not a rule of thumb
You might ask why we cannot just size these flows by hand. The reason is that they are all coupled and time-varying. Solar gain depends on sun angle, which changes hourly and seasonally and interacts with your shading. Conduction depends on the temperature difference, which depends on how much the sun and internal gains have already warmed the space. Thermal mass delays and smears the peaks (a heavy building rides through the afternoon that a light one cannot). Ventilation helps at night and hurts at midday. These effects do not add up linearly - they chase each other through the day.
A simulation resolves this by stepping through time and re-solving the balance each hour, carrying the stored heat in the mass forward. That is what turns a pile of plausible assumptions into a defensible annual number. And it is why the same design decision - deeper shading, more insulation, a different glazing - can help in one climate and hurt in another: it changes one term in a balance whose other terms respond. Understanding the balance is what lets you predict the direction, and the model is what quantifies the size.
Free-running, conditioned, and mixed-mode - three balances
Not every building is air-conditioned, and the balance behaves differently depending on how the space is run. In a free-running building - no mechanical heating or cooling, just openable windows and fans - there is no HVAC term to close the balance, so the indoor temperature simply floats wherever the gains and losses leave it. The model's job then is not to report energy but to report comfort: how many hours the floating temperature stays inside the acceptable band. Much of India's residential stock, and a great deal of good passive design, runs this way for large parts of the year.
In a conditioned building, the HVAC term is always active, pinning the air to the setpoint and paying an energy price to do it. And in a mixed-mode building - increasingly common and sensible in India - the space free-runs when the outdoor conditions allow (windows open, no AC) and switches to conditioning only when they do not. Modelling mixed-mode is subtle because the balance keeps changing character through the year, but it is exactly where the biggest energy savings hide: every hour you can hold comfort without the compressor is an hour of near-zero cooling energy. Knowing which of these three regimes a space is in tells you what question to ask the model - energy, comfort hours, or the split between the two.
Recognising the regime early also shapes the honest deliverable. For a free-running house you promise the client comfort hours, not a kWh figure; for a conditioned office you promise an EUI and a comfort guarantee together; for a mixed-mode school you promise both, plus the fraction of the year the building can coast on openable windows. Naming the regime up front stops the commonest reporting mistake - quoting an energy number for a building that was never meant to be mechanically conditioned in the first place.
Free-running = temperature floats, report comfort. Conditioned = HVAC pays. Mixed-mode = switch, and that's where savings live.
Heat balance method
How the engine computes zone temperature and load
Solves gains, losses and HVAC to zero on the zone air node each timestep; the basis of EnergyPlus.
EUI (energy use intensity)
Annual delivered energy per floor area, kWh/m2.yr
The headline benchmark for energy performance; only meaningful with the same boundary and climate.
Sensible vs latent load
Temperature-changing vs moisture-changing heat
Latent (dehumidification) load is large in warm-humid India and easy to under-count.
ECBC / Eco Niwas Samhita
India's commercial and residential energy codes (BEE)
Set envelope and system limits that shape the balance; compliance is judged by the accredited authority, not the model alone.
Workshop - sketch a room's heat balance by hand
Before you model anything, you should be able to draw the balance and guess which term wins. This paper exercise builds exactly that instinct - no software required.
Paper and pencil. Optional: Climate Consultant or an EPW file to confirm whether your climate is cooling- or heating-dominated and how humid it runs.
Goal: read a real room as a running heat balance Inputs: a room you know well (studio, bedroom, office), rough dimensions, a warm afternoon Time: ~30 minutes
- 1Draw the room as a box. On it, draw arrows IN for solar (through each window - note which face and whether it is shaded) and internal gains (count the people, lights and equipment; tag laptops ~50-100 W, a person ~90 W).
- 2Draw arrows OUT for conduction (which walls/roof face outside, and are they heavy or light, insulated or not?) and air exchange (windows open? gaps? mechanical fresh air?).
- 3For a hot afternoon, judge which arrow is largest. Is this room solar-driven, internal-gain-driven, or conduction-driven? Write your verdict in one sentence.
- 4Now change ONE thing on the winning term - add a shade to the biggest window, or halve the equipment, or add night ventilation - and predict the direction and rough size of the effect on the HVAC load.
- 5Note whether your climate makes latent load matter: is the air humid enough that dehumidification is a big hidden cost? If so, add a 'latent' arrow and say so.
You’ll walk away with
An annotated heat-balance sketch of one real room with a one-line verdict on its dominant load and a predicted effect of one design change. This is the mental model every energy simulation formalises.
Three altitudes on the same idea
Read the band that fits you — or all three.
You control most of the balance before any engineer is hired. Orientation and glazing set the solar gains; the envelope's U-values set the conduction; form and airtightness set the infiltration. Every one of those is a design decision made at concept or DD stage. Learn to read a heat balance and you can argue, with numbers, why a shaded south face and a tighter envelope shrink the HVAC the mechanical engineer then has to size.
Internal gains are yours. Lighting power density, the equipment you specify, the density of people a layout invites - these are the internal-gains term, and in a well-shaded, well-insulated office they can be the largest cooling load of all. Over-lit, over-populated fit-outs quietly drive up the cooling bill. Specifying efficient lighting and sensible equipment is a performance decision disguised as an interiors one.
Master this one diagram and the rest of energy modelling clicks into place. Every advanced topic - zoning, loads, HVAC sizing, code compliance - is just an elaboration of gains in, losses out, HVAC in the middle. If you can sketch the balance for a room and name which term each design change moves, you already think like an energy modeller, before touching the software.
“Better insulation always lowers a building's energy use.”
Do it yourself
Reason from the balance - no software.
- 1Name the two gain terms and the two loss terms in the zone heat balance.
- 2What does the HVAC system actually do in the balance, in one sentence?
- 3What is the difference between sensible and latent load, and why does latent matter in Chennai?
- 4What is EUI, and why is the end-use split more useful than the single number?
- 5Give one case where more insulation could raise cooling energy, and explain it via the balance.
The one line to carry out
Peer-reviewed journals & authoritative standards
- 01Hensen, J. L. M. & Lamberts, R. (eds) - Building Performance Simulation for Design and Operation (2nd ed.) — Routledge, 2019.
- 02EnergyPlus - Whole-building energy simulation engine — US Department of Energy, 2026.
- 03Energy modeling — Wikipedia, 2026.
- 04Bureau of Energy Efficiency (ECBC) — Government of India, BEE, 2026.
The balance assumes one lump of air at one temperature. Real buildings have many rooms behaving differently - a sunny south face is not the shaded core. Deciding how to carve a building into those lumps is thermal zoning, and it is where the next lesson begins.
The author
Amogh N P
Architect, interior designer, and creative polymath. Studio Matrx began in his notebooks — his vision of design made honest, useful, and open to everyone. Its Academy is written and taught in his memory, and free, forever.
More about Amogh →