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\Delta t and the small increase in the temperature of the box ΔT\Delta T.

Ein=EoutE_{in} = E_{out}

The power PP multiplied by Δt\Delta t is the energy entering the system. mcΔTmc \Delta T is the energy associated with the change in temperature during this time. mcmc 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(TTout)UA (T - T_{out}) is the power conducting through the enclosure. Multiplying this by ΔT\Delta T gives us the energy leaving the system.

PΔt=mcΔT+UA(TTout)ΔtP \Delta t = mc \Delta T + UA (T-T_{out}) \Delta t

We do some algebra to group the $\Delta t$ and $\Delta T$.

(PUA(T+Tout))Δt=mcΔT(P - UA(T + T_{out})) \Delta t = mc \Delta T

We cross-multiply to create an expression for the change in temperature over the change in time.

ΔTΔt=PUA(T+Tout)mc\frac{\Delta T}{\Delta t} = \frac{P - UA(T + T_{out})}{mc}

For a small amount of time (Δt\Delta 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 UAUA and the mcmc 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.

dtmc=dT(PUA(T+Tout))\frac{dt}{mc} = \frac{dT}{(P - UA(T + T_{out}))}

We integrate both sides

0tdtmc=T0TdT(PUA(T+Tout))\int_0^t\frac{dt}{mc} = \int_{T_0}^{T}\frac{dT}{(P - UA(T + T_{out}))}

To isolate the variable T, we multiply both sides by -UA.

UAmct=ln(P/UA+TTout))TiT-\frac{UA}{mc}t = \ln(-P/UA + T - T_{out})) \|_{T_i}^{T}

UAmct=lnTP/UAToutTiP/UATout-\frac{UA}{mc}t = \ln\frac{T - P/UA - T_{out}}{T_i - P/UA - T_{out}}

We assume the initial temperature is the outside temperature

UAmct=lnTP/UAToutP/UA-\frac{UA}{mc}t = \ln\frac{T - P/UA - T_{out}}{-P/UA}

We exponentiate both sides

eUAmct=TP/UAToutP/UAe^{-\frac{UA}{mc}t} = \frac{T - P/UA - T_{out}}{-P/UA} PUAeUAmct=TPUATout-\frac{P}{UA} e^{-\frac{UA}{mc}t} = T - \frac{P}{UA} - T_{out}

Rearranging we obtain

T=Tout+PUA(1eUAmct)T = T_{out} + \frac{P}{UA}(1 - e^{-\frac{UA}{mc}t})

This equation starts at the outside temperature and approaches the outside temperature plus the temperature given by the ratio of the power and the UAUA value. The time constant in the exponential tells us how fast the temperature approaches the steady state value.

Last updated