Heated Enclosure
Heated Enclosure
In this section, we demonstrate an analytical model and discrete model for a heated enclosure.
Discrete Model
Our goal is to get an equation relating the change in temperature over time to the existing temperature and the power supplied to the box. We start using an energy balance technique where we set the energy entering the system from a heater to the sum of the stored temperature energy and the energy conducting to the outside. Since energy must be conserved, we can track the thermal energy.

We call our small amount of time Δt and the small increase in the temperature of the box ΔT.
Ein=Eout
The power P multiplied by Δt is the energy entering the system. mcΔT is the energy associated with the change in temperature during this time. mc can include the wall material and the air or any material inside the enclosure and we assume that everything is at the same temperature. UA(T−Tout) is the power conducting through the enclosure. Multiplying this by ΔT gives us the energy leaving the system.
PΔt=mcΔT+UA(T−Tout)Δt
We do some algebra to group the $\Delta t$ and $\Delta T$.
(P−UA(T+Tout))Δt=mcΔT
We cross-multiply to create an expression for the change in temperature over the change in time.
ΔtΔT=mcP−UA(T+Tout)
For a small amount of time (Δt), this equation predicts the change in temperature of the system. Note that when the power entering equals the energy flowing out, the top of the fraction is zero and the temperature doesn't change. This matches our idea of steady state.
Discrete Solution
If we know the initial temperature, the power, and the UA and the mc values, we can use a computer to repeatedly calculate the temperature a short moment later and predict the behavior of the enclosure over time.
Discrete solution warmup exercise
You are in a car with a watch and a clear view of the spedometer but the odometer is broken
How do you estimate how far you have traveled?
How would you think about this graphically
Graph total milage vs time
Graph speed vs time
Analytical Model
If the power and the properties of the box are constant, we can use calculus to get an analytical expression for the temperature over time.
mcdt=(P−UA(T+Tout))dT
We integrate both sides
∫0tmcdt=∫T0T(P−UA(T+Tout))dT
To isolate the variable T, we multiply both sides by -UA.
−mcUAt=ln(−P/UA+T−Tout))∥TiT
−mcUAt=lnTi−P/UA−ToutT−P/UA−Tout
We assume the initial temperature is the outside temperature
−mcUAt=ln−P/UAT−P/UA−Tout
We exponentiate both sides
e−mcUAt=−P/UAT−P/UA−Tout −UAPe−mcUAt=T−UAP−Tout
Rearranging we obtain
T=Tout+UAP(1−e−mcUAt)
This equation starts at the outside temperature and approaches the outside temperature plus the temperature given by the ratio of the power and the UA value. The time constant in the exponential tells us how fast the temperature approaches the steady state value.
Last updated