Mathematical Models of Thermal Systems
Mathematical Models of Thermal Systems
Contents
Introduction
The Energy Balance
Examples Involving only Thermal Resistance and Capacitance
Example: Two thermal resistances in series
Example: Heating a Building with One Room
Example: Heating a Building with One Room, but with Variable
External Temperature.
Example: Heating a Building with Two Rooms
Examples Involving Fluid Flow
Example: Cooling a Block of Metal in a Tank with Fluid Flow.
Aside: Modeling a Fluid Flow with and Electrical Analog
Solving the Model
Introduction
While the previous page (System Elements) introduced the fundamental elements of
thermal systems, as well as their mathematical models, no systems were discussed. This
page discusses how the system elements can be included in larger systems, and how a
system model can be developed. The actual solution of such models is discussed
elsewhere.
Solution:
a) In this case there are no thermal capacitances or heat sources, just two know
temperatures ( θi, and θa), one unknown temperature (θs), and two resistances ( Risand
Rsa.)
c) There is only one unknown temperature (at θs), so we need only one energy balance
(and, since there is no capacitance, we don't need the heat stored term).
Note: the first equation included θa, but the second does not, since θa is our reference temperature and is
taken to be zero.
d) Solving for θs
Note: you may recognize this result as the voltage divider equation from electrical circuits.
We can now solve numerically (we use 28°C for the internal temperature since it is 28°C
above ambient (37°-9°=28°)
This says that θs is 21°C above ambient. Since the ambient temperature is 9°C, the
actual skin temperature is 30°C.
Note: If Rsa is lowered, for example by the wind blowing, the skin gets cooler, and it feels like it is colder. This
Consider a building with a single room. The resistance of the walls between the
room and the ambient is Rra, and the thermal capacitance of the room is Cr, the heat
into the room is qi, the temperature of the room is θr, and the external temperature is a
constant, θa.
a) Draw a thermal model of the system showing all relevant quantities.
b) Draw an electrical equivalent
c) Develop a mathematical model (i.e., a differential equation).
Solution:
a) We draw a thermal capacitance to represent the room (and note its temperarature).
We also draw a resistance between the capacitance and ambient.
b) To draw the electrical system we need a circuit with a node for the ambient
temperature, and a node for the temperature of the room. Heat (a current source) goes
into the room. Energy is stored (as an increased temperature) in the thermal
capacitance, and heat flows from the room to ambient through the resistor.
c) We only need to develop a single energy balance equation, and that is for the
temperature of the thermal capacitance (since there is only one unknown
temperature). The heat into the room is qi, heat leaves the room through a resistor and
energy is stored (as increased temperature) in the capacitor.
Example: Heating a Building with One Room, but with Variable External
Temperature.
Consider the room from the previous example. Repeat parts a, b, and c if the
temperature outside is no longer constant but varies. Call the external temperature
θe(t) (this will be the temperature relative to the ambient temperature). We will also
change the name of the resistance of the walls to Rre to denote the fact that the
external temperature is no longer the ambient temperature.
Solution:
The solution is much like that for the previous example. Exceptions are noted below.
a) The image is as before with the external temperature replaced by θe(t).
b) To draw the electrical system we need a circuit with a node for the external
temperature and a node for the temperature of the room. Though perhaps not obvious
at first we still need a node for the ambient temperature since all of our temperatures
are measured relative to this, and our capacitors must always have one node connected
to this reference temperature. Heat flows from the room to the external temperature
through the resistor.
c) We still only need to develop a single energy balance equation, and that is for the
temperature of the thermal capacitance (since there is only one unknown
temperature). The heat into the room is qi, heat leaves the room through a resistor and
energy is stored (as increased temperature) in the capacitor.
(the ambient temperature is taken to be zero in this equation). In this case we end up
with a system with two inputs (qi and θe).
Consider a building that consists of two adjacent rooms, labeled 1 and 2. The
resistance of the walls room 1 and ambient is R1a, between room 2 and ambient is R2a
and between room 1 and room 2 is R12. The capacitance of rooms 1 and 2 are C1 and
C2, with temperatures θ1 and θ2, respectively. A heater in in room 1 generates a heat
qin. The temperaturexternal temperature is a constant, θa.
a) Draw a thermal model of the system showing all relevant quantities.
The two first order energy balance equations (for room 1 and room 2) could be
combined into a single second order differential equation and solved. Details about
developing the second order equation are here.
Examples Involving Fluid Flow
So far we have not considered fluid flow in any of the examples; let us do so now.
Note: the resistance between the tank and the metal block, Rmt, is not explicitly shown.
Solution:
Since there are two unknown temperatures, we need two energy balance equations.
Metal Block: Heat in = Heat out +
Tank: Heat in = Heat out + Heat Stored
Heat Stored
In this case there is not heat in, and In this case we have heat in from the fluid flow
heat out and from the metal block.
is to the tank through Rmt. We have heat out to ambient through Rta.
To model this system with an electrical analog, we can represent the fluid flow
as a voltage source at θin, with a resistance equal to 1/(Gin·cp). If you sum
currents at the nodes θt and θm you can show that this circuit is equivalent to the
thermal system above.
Solving the Model
Thus far we have only developed the differential equations that represent a system. To
solve the system, the model must be put into a more useful mathematical representation
such as transfer function or state space. Details about developing the mathematical
representation are here.
References
© Copyright 2005 to 2022 Erik Cheever This page may be freely used for educational purposes, but the url
must be referenced.
Comments? Questions? Suggestions? Corrections?
Erik Cheever Department of Engineering Swarthmore College