This Annex presents the basic principles of thermal networks appled to modeling heat transfer in buildings. An example of the application of the thermal networks to modeling a wall is given in Tutorial 2: Simple wall and for a building is shown in Tutorial 3: Cubic building.
Thermal networks are weighted directed graphs (Figure 1) in which:
Figure 1. Basic thermal network.
The dependent variables of the thermal network are:
The parameters of the thermal network are:
The sources (or the inputs, or the independent variables) of the thermal network are:
In a node, there are:
On a branch, there are:
The incidence matrix $A$ shows the relation between oriented branches (i.e., flow rates) and nodes (i.e., temperatures). The rows in the incidence matrix $A$ correspond to the branches containing the heat flow rates $q_j$ across the conductances $G_j$ and the columns correspond to the temperature nodes $\theta_k$. In the row corresponding to the branch $q_j$ in the position of the node $\theta_k$ there is -1 if the flow $q_j$ leaves the node, +1 if the flow $q_j$ enters into the node $\theta_k$ and 0 if the conductance $G_j$ is not connected to the temperature node $\theta_k$ [Ghiaus, 2013]:
$$A_{j,k} = \begin{cases}\phantom{-} 0 & \text{if branch } q_j \text{ is not connected to node } \theta_k \\ +1 & \text{if branch } q_j \text{ enters into node } \theta_k\\ -1 & \text{if branch } q_j \text{ gets out of node } \theta_k \end{cases}$$The problem of analysis of thermal circuits (or the simulation problem, or the direct problem) is:
given:
find the temperature vector $\theta$ and the flow rate vector $q.$
For a plan wall, conduction conductances, in W/K, are of the form: $$G_{cd} = \frac{\lambda}{w}S$$ where:
[Convection](https://en.m.wikipedia.org/wiki/Convection_(heat_transfer) conductances, in W/K, are of the form: $$G_{cv} = {h S}$$ where:
Table 1. Surface thermal resistances [Dal Zotto et al. 2014, p. 251]
Type of wall | Indoor surface | Outdoor surface |
---|---|---|
$h_i$,W/(m²·K) | $h_o$,W/(m²·K) | |
Vertical (tilt > 60°) | 7.7 | 25 |
Horizontal (tilt < 60°) | ||
- Upward heat flow | 10 | 25 |
- Downward heat flow | 5.9 | 25 |
The majority of methods used for modelling the radiative heat exchange use the view factors between surfaces. The view factor $F_{i,j}$ is defined as the proportion of radiation leaving surface $i$ that is intercepted by surface $j$. The view factors can be estimated by differential areas or for different configurations of surfaces (Howell, 2010).
The view factors need to satisfy the summation rule $$\sum_{j=0}^{n-1} F_{i,j} = 1$$ and the reciprocity theorem: $$F_{i,j} S_i = F_{j,i} S_j$$ where $S_{i}$ and $S_{j}$ are the surface areas.
For a convex surface $i$, the self-viewing factor is zero, $$F_{i,i} = 0$$
Two simplified relations are used to calculate the view factors for buildings.
In the first one, the view factors are defined by: $$\begin{cases} F_{i,j} = \frac{S_i}{S_T}\\ F_{i,i} = 0 \end{cases}$$
where $S_{T} = \sum_{j=0}^{n-1} S_j$, i.e. the surface $S_j$ is included in the total surface $S_T$. In this method, the reciprocity theorem is satisfied, $$F_{i,j} S_i = F_{j,i} S_j = \frac{S_i S_j}{S_T}$$ but summation rule isn't, $$\sum_{j=0}^{n-1} F_{i,j} = \sum_{j=0, j \neq i}^{n-1} \frac{S_j}{S_T} = \frac {S_T - S_i}{S_T} \neq 1$$
In this case, the heat balance for each surface would be wrong.
In the second one, the view factors are defined by: $$\begin{cases} F_{i,j} = \frac{S_j}{S_T -S_i}\\ F_{i,i} = 0 \end{cases}$$
where $S_{T} = \sum_{j=0}^{n-1} S_j$, i.e. the surface $S_i$ is not included in the total surface $S_{T,i} = S_T - S_i$.
In this case, the reciprocty theorem is generally not respected: $$F_{i, j} S_i = \frac{S_j}{S_T - S_i} S_i \neq F_{j, i} S_j = \frac{S_i}{S_T - S_j} S_j$$ but the summation rule is respected: $$ \sum_{i=0}^{n-1} F_{i, j} = \frac{1}{S_T - S_i} \sum_{\substack{j=0\\i\neq j}}^{n-1} S_j = 1 $$
Note: The view factor between two surfaces, $j,k$ that are in the same plan (e.g. a window and a wall) is zero, $$F_{j,k} = F_{k,j}=0$$
Therefore the total surface $S_{T,i}$ should be: $$S_{T,i} = \sum_{j=0}^{n-1} S_j - \sum_k S_k$$ i.e. the surfaces $S_k$ in the same plan with the surface $S_i$ are not included in $S_{T,i}$.
The view factor between the top surface of finite wall $w$ tilted relative to an infinite plane of the ground $g$ is [5, 6, eq. 4.18]:
$$ F_{w,g} = \frac {1 - \cos \beta}{2}$$Therefore, the view factor between the tilted wall $w$ and the sky dome $s$ is [6, eq. 4.17]: $$ F_{w,s} = 1 - F_{w,g} = \frac {1 + \cos \beta}{2}$$
The view factor between the top surface of finite wall $w$ tilted relative to an infinite plane of the ground $g$ is [5, 6, eq. 4.18]:
$$ F_{w,g} = \frac {1 - \cos \beta}{2}$$Therefore, the view factor between the tilted wall $w$ and the sky dome $s$ is [6, eq. 4.17]: $$ F_{w,s} = 1 - F_{w,g} = \frac {1 + \cos \beta}{2}$$
The long-wave heat exchange between surfaces may be modelled by using the concept of radiosity and then linearizing the radiative heat exchange.
Figure 1. Radiative long-wave heat exchange between two surfaces: a) modeled by emmitance (source) and radiosity (nodes); b) modeled by linearization of emmitance (temperature sources) and radiosity (temperature nodes).
For two surfaces, shown by temperature nodes 1 and 2 in Figure 1, the conductances, in m², for radiative heat exchange expressed by using the emmitance (or the radiant excitance) of the black body, the radiosity, and the reciprocity of view factors are:
$$G_{1}^{r} = \frac{\varepsilon_1}{1 - \varepsilon_1} S_1$$$$G_{1,2}^{r} = F_{1,2} S_1 = F_{2,1} S_2$$$$G_{2}^{r} = \frac{\varepsilon_2}{1 - \varepsilon_2} S_2$$where:
The net flows leaving the surfaces 1 and 2 are:
$$q_{net,1} = \frac{\varepsilon_1}{1 - \varepsilon_1} S_1 (M^o_1 - J_1)= G^r_1 (M_1^o - J_1)$$$$q_{net,2} = \frac{\varepsilon_2}{1 - \varepsilon_2} S_2 (M^o_2 - J_2)= G^r_2 (M_2^o - J_2)$$respectively, where:
The net flow between surfaces 1 and 2 is:
$$q_{1,2} = F_{1,2} S_1 (J_1 - J_2) = F_{2,1} S_2 (J_1 - J_2)= G_{1,2}^r (J_1 - J_2)$$In order to express the long-wave radiative exchange as a function of temperature differences, a linearization of the difference of temperatures $T_1^4 - T_2^4$ may be used:
$$T_1^4 - T_2^4 = (T_1^2 + T_2^2)(T_1^2 - T_2^2) = (T_1^2 + T_2^2)(T_1 + T_2)(T_1 - T_2) = 4 \bar{T}^3 (T_1 - T_2)$$where the mean temperature $\bar{T}$, measured in kelvin, is:
$$\bar{T} =\sqrt[3]{ \frac{(T_1^2 + T_2^2)(T_1 + T_2)}{4}}$$The evaluation of mean temperaure, $\bar{T}$, requires the values of the surface tempetratures, $T_1$ and $T_2$. An initial guess can be used (and then an iterative process, for a more precise evaluation).
After linearization, the conductances, in W/K, for radiative heat exchange are:
$$G_{1} = 4 \sigma \bar{T}^3 \frac{\varepsilon_1}{1 - \varepsilon_1} S_1$$$$G_{1,2} = 4 \sigma \bar{T}^3 F_{1,2} S_1 = 4 \sigma \bar{T}^3 F_{2,1} S_2$$$$G_{2} = 4 \sigma \bar{T}^3 \frac{\varepsilon_2}{1 - \varepsilon_2} S_2$$The volumetric flow rate of the air, in m³/s, is:
$$\dot{V}_a = \frac{\mathrm{ACH}}{3600} V_a$$where:
The net flow rate that the building receives by advection, i.e., introducing outdoor air at temperature $T_o$ and extracting indoor air at temperature $\theta_i$ by ventilation and/or air infiltration, is:
$$q_v = \dot{m}_a c_a (T_o - \theta_i) = \rho_a c_a \dot{V}_a (T_o - \theta_i)$$where:
Therefore, the conductance of advection by ventilation and/or infiltration, in W/K, is:
$$G_v = \rho_a c_a \dot{V}_a$$Table 2. Typical values for the ventilation rates (in air changes per hour, ACH) as a function of the position of windows (H. Recknagel, E. Spenger, E_R Schramek (2013), Table 1.12.1-4)
Position of windows | Ventilation rate, ACH [h⁻ⁱ] |
---|---|
Window closed, doors closed | 0 to 0.5 |
Tilted window, venetian blind closed | 0.3 to 1.5 |
Tilted window, whitout venetian blind | 0.8 to 4.0 |
Window half opened | 5 to 10 |
Window fully open | 9 to 15 |
Window and French window fully open (cross ventilation) | about 40 |
In the simplest representation, the HVAC system can be considered as a proportional controller that adjusts the heat flow rate $q_{HVAC}$ in order to control the indoor temperature $\theta_i$ at its setpoint value $T_{i,sp}$. The heat flow-rate, in W, injected by the HVAC system into the controlled space is:
$$ q_{HVAC} = K_p (T_{i, sp} - \theta_i)$$where:
This equation shows that the proportional controller can be modelled by a source of temperature, $T_{i, sp}$, and a conductance, $K_p$. If the controller gain tends towards:
Note: Respecting the sign convention, the flow rate $q_{HVAC}$ is oriented from the lower to the higher potential of the temperature source $T_{i,sp}$.
The thermal capacities of the wall, in J/kg, are:
$$C_w= m_w c_w= \rho_w c_w w_w S_w$$where:
The temperature sources model temperatures which vary independently of what happens in the themal circuit; they are inputs of the physical model. Generally, the temperature sources are:
If the adjacent spaces are controlled by a HVAC system, it means that their temperature can be considered independent of the studied thermal zone(s); therefore, they can be modelled by a temperature source.
Setpoint temperature does not depend on the heat transfer processes of the analyzed thermal zone. If the HVAC system can deliver the heat flow rate:
$$ q_{HVAC} = K_p (T_{i, sp} - \theta_i)$$where:
then the setpoint for indoor temperature, $T_{i, sp}$, may be modelled by a source of temperature.
The heat flow rate sources model flow rates which vary idependently of what happens in the themal circuit. They are inputs of the physical model. Generally, the heat flow rate sources are:
The direct, diffuse and reflected components of the solar radiation on a tilted surface can be estimated from weather data by using the function sol_rad_tilt_surf
from the module dm4bem
(see the tutorial on Weather data and solar radiation).
The radiation absorbed by the outdoor surface of the wall is:
$$\Phi_o = \alpha_{w,SW} S_w E_{tot}$$where:
The total shortwave incident irradiance on the wall $i$, $E_i$, may be estimated as a function of the direct solar irradiance incident on the surface of the walls, $E_{i}^{o}$:
$$S_i E_i = S_i E_{i}^{o} + \sum_{j=1}^{n} F_{j,i} S_j \rho_j E_j$$where:
By taking into account the reciprocity of the view factors: $S_i F_{i,j} = S_j F_{j,i}$, the set of previous equation becomes:
$$ \begin{bmatrix} 1 - \rho_1 F_{1,1} & - \rho_2 F_{1,2} & ... & - \rho_n F_{1,n}\\ - \rho_1 F_{2,1} & 1 - \rho_2 F_{2,2} & ... & - \rho_n F_{2,n} \\ ... & ... & ... & ... \\ - \rho_1 F_{n,1} & - \rho_2 F_{n,1} & ... & 1 - \rho_n F_{n,n} \end{bmatrix} \begin{bmatrix} E_1\\ E_2\\ ...\\ E_n \end{bmatrix} = \begin{bmatrix} E_{1}^{o}\\ E_{2}^{o}\\ ...\\ E_{n}^{o} \end{bmatrix} $$or
$$(I - \rho \circ F) E = E^o$$The unknown total irradiances on walls, in W/m², are then
$$ E = (I - \rho \circ F)^{-1} E^o$$where:
$I =\begin{bmatrix} 1 & 0 & ... & 0 \\ 0 & 1 & ... & 0 \\ ... & ... & ... & ...\\ 0 & 0 & ... & 1 \end{bmatrix}, $ is the identity matrix;
$\rho = \begin{bmatrix} \rho_1\\ \rho_2\\ ...\\ \rho_n \end{bmatrix}$ - vector of reflectances, $0 \le \rho_{i,j} \le 1$;
$F = \begin{bmatrix} F_{1,1} & F_{1,2} & ... & F_{1,n}\\ F_{2,1} & F_{2,2} & ... & F_{2,n} \\ ... & ... & ... & ...\\ F_{n,1} & F_{n,2} & ... & F_{n,n} \end{bmatrix}$ - matrix of view factors, $0 \le F_{i,j} \le 1$;
$E^o = \begin{bmatrix} E_{1}^{o}\\ E_{2}^{o}\\ ...\\ E_{n}^{o} \end{bmatrix}$ - vector of direct solar irradiances, W/m²;
$E = \begin{bmatrix} E_1\\ E_2\\ ...\\ E_n \end{bmatrix}$ - vector of unknown total irradiances, W/m².
The radiative short wave (i.e. solar) heat flow rate on each surface is:
$$ \Phi = S E $$where:
$\Phi = \begin{bmatrix} \Phi_1\\ \Phi_2\\ ...\\ \Phi_n \end{bmatrix}$ - vector of total heat flow rates due to solar radiation, W;
$S =\begin{bmatrix} S_1 & 0 & ... & 0 \\ 0 & S_2 & ... & 0 \\ ... & ... & ... & ...\\ 0 & 0 & ... & S_n \end{bmatrix}$ - matrix of surface areas of walls $i$, m².
Internal flow rates are generated by occupants and by the electrical equipment (with values given for offices, commercial spaces, etc.).
The analysis of a thermal circuit, or the direct problem (Ghiaus 2022), means to find the temperatures in the nodes, $\theta$, and the heat flows on the branches, $q$, i.e. to solve for $\theta$ and $q$ the system of Differential-Algebraic Equations (DAE):
$$\left\{\begin{array}{ll} C \dot{\theta} = -(A^T G A) \theta + A^T G b + f\\ q = G (-A \theta + b) \end{array}\right.$$where:
$\theta$ is the temperature vector of size $n_\theta$ equal to the number of nodes;
$q$ - heat flow vector of size $n_q$ equal to the number of branches;
$A$ - incidence matrix of size $n_q$ rows and $n_{\theta}$ columns, where $n_q$ is the number of flow branches and $n_{\theta}$ is the number of temperature nodes. It shows how the temperature nodes are connected by oriented branches of heat flows:
$G$ - conductance diagonal matrix of size $n_q \times n_q$, where $n_q$ is the number of flow branches: diagonal matrix containing the conductances. Each branch $k$ needs to contain a conductance $0 < G_{k,k} < \infty $.
$C$ - capacity diagonal matrix of size $n_θ \times n_θ$, where $n_θ$ is the number of temperature nodes: diagonal matrix containing the capacities. If there is no capacity in the node n, then $C_{n, n} = 0$.
$b$ - temperature source vector of size $n_q$: if there is no temperature source on the branch m, then $b_m = 0$.
$f$ - heat flow source vector of size $n_θ$: if there is no heat flow source in the node n, then $f_n = 0$.
Note: The incidence matrix $A$ is related to difference operator $\Delta$: $$ \Delta = -A$$
The resolution is first done for temperatures, $\theta$, by solving the equation $$C \dot{\theta} = -(A^T G A) \theta + A^T G b + f$$ which, generally, is a system of differential-algebraic equations (DAE). Then, the heat flow rates are found from the equation $$q = G (-A \theta + b)$$
The vector of outputs is $y$, of size $n_{\theta}$, the number of nodes. The non-zero values of $y$ indicate the nodes which are the outputs of the model.
The differential-algebraic system of equations (DAE)
$$C \dot{\theta} = -(A^T G A) \theta + A^T G b + f$$is transformed in state-space representation (Ghiaus 2013):
$$\left\{\begin{array}{rr} \dot{\theta}_s=A_s \theta_s + B_s u\\ y = C_s \theta_s + D_s u \end{array}\right.$$where:
$\theta_s$ is the vector of state variables which are the temperatures of nodes containing capacities; the elements are in the same order as in the vector of temperatures, $\theta$; its dimension, $\dim \theta_s$, is equal to the number of capacities from the thermal network; for the circuit presented in Figure 3, $\theta_s = [\theta_1, \theta_3, \theta_6, \theta_7]^T$;
$u = \begin{bmatrix} b_T \\ f_Q\end{bmatrix}$ - vector of inputs of dimension $\dim u$ equal to the number of sources (of temperaure, $b_T$, and heat flows, $f_Q$) of the thermal network, where:
$y$ - vector of outputs, a subset of vector $\theta$ representing temperature nodes which are of interest;
$A_s$ - state matrix, of dimension $\dim A_s = \dim {\theta_s} \times \dim {\theta_s}$;
$B_s$ - input matrix, of dimension $\dim B_s = \dim {\theta_s} \times \dim u$;
$C_s$ - output matrix, of dimension $\dim C_s = \dim y \times \dim {\theta_s}$;
$D_s$ - feedthrough (or feedforward) matrix, of dimension $\dim D_s = \dim y \times \dim u$.
Note: The subscript $s$ of the matrices $A_s, B_s, C_s, D_s$ is used to differentiante the matrices $A_s, C_s$ of the state-space represenation of the matrices $A, C$ of the system of DAE.
C. Ghiaus (2021). Dynamic Models for Energy Control of Smart Homes, in S. Ploix M. Amayri, N. Bouguila (eds.) Towards Energy Smart Homes, Online ISBN: 978-3-030-76477-7, Print ISBN: 978-3-030-76476-0, Springer, pp. 163-198 (ref.) DOI 10.1007/978-3-030-76477-7_5, HAL 03578578
Dal Zotto et al.,(2014) Mémotech. Génie énergétique, 5 edition, Casteilla, ISBN-13: 978-2-206-10018-0
Howell, J. R. (2010). A catalog of radiation heat transfer configuration factors 3rd edition. University of Texas at Austin