Skip to content

TP-04: Space Heating Demand

Technical reference for the HEM space heating demand calculation, covering heat balance, internal gains, and heating schedules.

Overview

The space heating demand calculation determines how much energy must be delivered to (or removed from) each thermal zone in a dwelling to maintain the specified setpoint temperature. It is the central calculation in the Home Energy Model, drawing together fabric heat loss (TP-05), ventilation (TP-06), thermal mass (TP-07), and solar gains (TP-08) into a single heat balance solved at each timestep.

The methodology follows BS EN ISO 52016-1:2017, section 6.5. A heat balance matrix equation is assembled for all thermal nodes in the zone, including one node per layer of each building element plus one node for the internal air. The matrix equation is solved simultaneously to yield node temperatures and, by comparison with the setpoint, the heating or cooling demand.

Inputs

ParameterSymbolUnitDescription
Zone floor areaUseful floor area of the thermal zone
Zone volumeTotal volume of the thermal zone
External air temperature°CFrom climate data (TP-03)
Heating setpoint°CTarget temperature for heating (TP-17)
Cooling setpoint°CTarget temperature for cooling (TP-17)
Internal gainsWTotal internal heat gains in the zone
Solar gainsWDirectly transmitted solar gains (TP-08)
Ventilation air change rateh⁻¹Air changes per hour (TP-06)
Average supply air temperature°CTemperature of ventilation supply air
Thermal bridge coefficientW/KTotal thermal bridge heat transfer (TP-05)
Convective fraction (internal gains)Fraction of internal gains delivered convectively
Convective fraction (solar gains)Fraction of solar gains delivered convectively
Convective fraction (heating/cooling)Fraction of heating/cooling output delivered convectively
TimestepsCalculation timestep (typically 3600 s for hourly)

Calculation

Internal Gains

Internal gains represent heat released into the dwelling by occupants, lighting, appliances, cooking, and distribution losses. Each source provides a gain in W/m² that is multiplied by the zone floor area to give a total gain in watts.

Schedule-Based Gains

For metabolic, lighting, and other fixed-schedule sources, the gain at each timestep is read directly from a time series:

Where:

  • is the internal gain density at timestep W/m²
  • is the zone floor area

Appliance Gains

Appliances consume electricity and release a fraction of that consumption as heat. The gain is:

Where:

  • is the appliance energy supply density at timestep W/m²
  • is the fraction of energy supply that becomes an internal gain

The total energy consumed by the appliance is also recorded against the relevant energy supply for fuel accounting.

Event-Based Appliance Gains

Some appliances (dishwashers, washing machines, tumble dryers) operate as discrete events rather than continuous schedules. Each event is defined by a start time, duration, and power demand. The event power is distributed across simulation timesteps, with standby power assumed during idle periods.

When an event spans a timestep boundary, the power is apportioned to each timestep according to the fraction of the event duration falling within that timestep. Standby power is subtracted from the event power to avoid double-counting, since the baseline already includes standby consumption at every timestep.

Load Shifting

Event-based appliances may optionally participate in load shifting. A weighting time series (representing, for example, time-of-use tariff costs) is multiplied by the total demand at each candidate timestep. The event is shifted forward in time, up to a configurable maximum number of hours, to the earliest timestep where the weighted demand falls below a specified limit. If no such timestep exists within the allowed window, the event is placed at the timestep with the lowest weighted demand.

Convective and Radiative Split

All gains entering the zone are split into convective and radiative components. The convective fraction is delivered directly to the air node; the radiative fraction is distributed across the internal surfaces of all building elements in proportion to their area.

The default convective fractions from BS EN ISO 52016-1:2017, Table B.11 are:

Gain sourceConvective fraction
Internal gains
Solar gains
Heating/cooling (default)

Ventilation Heat Transfer Coefficient

The ventilation heat transfer coefficient converts air change rate to a thermal conductance:

Where:

  • is the density of air kg/m³
  • is the specific heat capacity of air J/(kg·K)
  • is the volumetric airflow rate m³/s, given by

Internal Thermal Capacity

The internal thermal capacity of the zone, representing air and furniture, is:

Where J/(m²·K) is the areal thermal capacity of air and furniture from BS EN ISO 52016-1:2017, Table B.17.

Heat Balance Matrix Equation

The heat balance is formulated as a matrix equation:

Where:

  • is the coefficient matrix of known thermal conductances and capacitances
  • is the vector of unknown node temperatures
  • is the vector of known heat flows and previous-timestep terms

The vector contains one temperature per node per building element, plus the zone internal air temperature. The dimension of the system is , where is the total number of nodes across all building elements.

External Surface Node (BS EN ISO 52016-1:2017, Equation 41)

For the external surface node (node 0) of each building element:

Where:

  • is the thermal capacity of the external surface node J/(m²·K)
  • , are the external convective and radiative heat transfer coefficients W/(m²·K)
  • is the conductance between node 0 and node 1 W/(m²·K)
  • is the node temperature from the previous timestep °C
  • is the external temperature seen by the element °C
  • is the solar absorption coefficient
  • , are direct and diffuse solar irradiance W/m²
  • , are direct and diffuse shading factors
  • is the net thermal radiation to sky W/m²

Inside Nodes (BS EN ISO 52016-1:2017, Equation 40)

For each inside node (nodes between external and internal surfaces):

This is a tridiagonal structure: each inside node couples only to its immediate neighbours.

Internal Surface Node (BS EN ISO 52016-1:2017, Equation 39)

For the internal surface node of each building element :

Where:

  • is the internal convective heat transfer coefficient W/(m²·K), which depends on the direction of heat flow (determined by the element pitch and the temperature difference between the air node and the internal surface)
  • is the internal radiative heat transfer coefficient W/(m²·K)
  • is the area of building element
  • is the total area of all building elements in the zone
  • is the internal surface temperature of element °C
  • is the internal air temperature °C
  • is the heating or cooling power W

The radiative coupling between internal surfaces means each internal surface node has off-diagonal terms for every other internal surface node in the zone. This is the source of the full (non-tridiagonal) coupling in the matrix.

Zone Air Node (BS EN ISO 52016-1:2017, Equation 38)

Where:

  • is the internal thermal capacity of the zone J/K
  • is the ventilation heat transfer coefficient W/K
  • is the thermal bridge heat transfer coefficient W/K
  • is the average supply air temperature °C

The zone air node equation couples the air temperature to every internal surface temperature (via convective heat transfer) and to the external temperature (via ventilation and thermal bridges).

Matrix Solution

The matrix equation is solved by Gaussian elimination (or equivalent direct solver) to obtain all node temperatures and the internal air temperature simultaneously.

Optimised Solver

The full matrix has dimension , where can be large for dwellings with many building elements (each contributing 2 to 5 nodes). However, the matrix is highly sparse: each building element's nodes form a tridiagonal band, and the only full coupling occurs among the internal surface nodes and the air node.

The specification permits an algebraic reduction that eliminates all intermediate nodes from the matrix. For each building element, a forward sweep from external surface to internal surface reduces the element's contribution to a single modified equation at the internal surface node.

The forward sweep computes adjusted coefficients:

After the forward sweep, the reduced matrix has dimension , where is the number of building elements (one internal surface node each) plus one air node. This smaller system is solved directly.

Once the internal surface temperatures and air temperature are known, a backward sweep recovers each intermediate and external node temperature:

This approach reduces the computational cost from to , where .

Operative Temperature

The operative temperature combines the air temperature and the area-weighted mean radiant temperature, following BS EN ISO 52016-1:2017, section 6.5.5.3:

Where the mean radiant temperature is:

The setpoint comparison may be based on either operative temperature or air temperature, depending on the control specification.

Heating and Cooling Demand

The demand calculation follows BS EN ISO 52016-1:2017, section 6.5.5.2, in four steps.

Step 1: Free-floating temperature. Solve the heat balance with zero heating/cooling gains () to obtain the free-floating operative temperature .

Step 2: Cooling potential from ventilation. If additional ventilation is available (e.g. opening windows), calculate the operative temperature achievable at maximum ventilation rate. If the free-floating temperature exceeds the ventilation cooling setpoint and the supply air is cooler than the internal air, interpolate the required air change rate to reach the ventilation cooling setpoint. If the resulting temperature still exceeds the active cooling setpoint, revert to the base ventilation rate and allow the mechanical cooling system to operate.

Step 3: Determine demand direction. Compare the free-floating operative temperature against the heating and cooling setpoints:

  • If : heating is required
  • If : cooling is required
  • Otherwise: no demand; return zero

Step 4: Interpolate demand. Apply a reference heating/cooling load of W and solve the heat balance again to obtain . The actual demand is then found by linear interpolation:

The demand in kWh for the timestep is:

Where is the timestep in hours. A positive result is heating demand; a negative result is cooling demand.

When the setpoint basis is air temperature rather than operative temperature, the same interpolation procedure applies using values in place of .

Temperature Update

After the heating or cooling demand has been determined and the actual heating/cooling output calculated by the plant models (TP-12, TP-14, etc.), the heat balance is solved one final time with the actual heating/cooling gains to obtain the node temperatures that carry forward to the next timestep:

Node Temperature Initialisation

Before the first timestep, node temperatures must be initialised. All nodes are set to the average of the external air temperature and the initial setpoint:

A warm-up loop then iterates the heat balance using a large timestep ( hours, i.e. one year) under steady-state conditions (constant external temperature, constant setpoint, zero gains) until all node temperatures converge to within a relative tolerance of . This rapid convergence strategy avoids the need to simulate multiple calendar years before the fabric temperatures stabilise.

Outputs

QuantitySymbolUnitDescription
Space heating demandkWhHeating energy required in the timestep (positive)
Space cooling demandkWhCooling energy required in the timestep (negative)
Operative temperature°CCombined air and mean radiant temperature
Internal air temperature°CZone air node temperature
Node temperatures°CTemperature at each element node (carried to next timestep)
Ventilation air change rateh⁻¹Adjusted air change rate after ventilative cooling assessment

Assumptions

  • The convective fraction of internal gains is fixed at for all sources (BS EN ISO 52016-1:2017, Table B.11). The specification permits source-specific values, but the default is applied uniformly.
  • The convective fraction of solar gains is fixed at (BS EN ISO 52016-1:2017, Table B.11).
  • The areal thermal capacity of air and furniture is fixed at J/(m²·K) (BS EN ISO 52016-1:2017, Table B.17).
  • Radiative gains are distributed uniformly across internal surfaces in proportion to element area, not view factors.
  • The reference heating/cooling load for demand interpolation is W. The specification terms this the "otherwise" case (no maximum power constraint from the plant).
  • The operative temperature is the simple average of air temperature and mean radiant temperature (equal weighting), consistent with BS EN ISO 52016-1:2017, section 6.5.5.3.
  • The warm-up procedure uses a single annual timestep under constant boundary conditions. Gains are set to zero during warm-up.
  • Internal convective heat transfer coefficients () depend on the direction of heat flow, which is evaluated from the temperature difference between the air node and the internal surface node at the previous timestep. The values are as defined in TP-05.

Cross-references