Sei sulla pagina 1di 8

Building Thermal Performance Analysis by Using Matlab/Simulink Nathan Mendes, Gustavo H. C. Oliveira, Humberto X.

Arajo
Simulation of Buildings Physics 2

Seventh International IBPSA Conference


Rio de Janeiro, Brazil
August 13-15, 2001

BUILDING THERMAL PERFORMANCE


ANALYSIS BY USING MATLAB/SIMULINK
Nathan Mendes, Gustavo H.C. Oliveira and Humberto X. de Arajo
Pontifical Catholic University of Paran PUCPR/CCET
Thermal Systems Laboratory (LST) and Automation and Systems Laboratory (LAS)
Rua Imaculada Conceio, 1155
Curitiba PR, 80.215-901 Brazil
nmendes@ccet.pucpr.br; oliv@ ccet.pucpr.br; araujo@ ccet.pucpr.br

condition to be met by the heating system than that


ABSTRACT found in a real situation. Mendes et al. (2000b)
This paper is focused on a mathematical model improved their model by considering a capacitive
applied to both building thermal analysis and control multi-layer building envelope so that high mass
systems design. A lumped approach is used to model constructions could be analyzed as well. The solar
the room air temperature and a multi-layer model for radiation was indirectly included by using the
the building envelope. The capacitance model allows concept of equivalent temperature (air-sun). It was
to study the transient analysis of room air considered a dynamic lumped model so that it could
temperature when it is submitted to sinusoidal be included the transmission loads and internal gains
variation of external air temperature, representing a (lighting, equipment and people). The convection
case study for a cold day in the south Brazil. To coefficients were considered constant and they
evaluate the building performance with thermal adopted external temperature values varying as a sine
parameters, we use MATLAB/SIMULINK. In the function to simulate a cold day in south Brazil with a
results section, we show the influences of thermal thermal amplitude of 14C.
parameters on the building air temperature, heating In this paper, the capacitive multi-layer model
system performance, energy consumption and the presented by Mendes et al. (2000b) is improved by
advantages of using MATLAB/SIMULINK in adding the inter-surface long-wave radiation in the
building thermal and energy analysis. thermal model which means that we have included the
radiation phenomena on all internal surfaces and on
the heater surface as well. The model is implemented
INTRODUCTION
in the MATLAB/Simulink environment and
The mathematical description of building systems is
comparisons are made in terms of building envelope
complex due to several non-linearities and
capacitances, heater performance, heater convection
uncertainties such as convection coefficients,
and radiation losses and energy consumption
material properties, external weather, radiation effects,
sensitive analysis.
HVAC systems modeling and building schedules in
terms of people, light and equipment. It is shown an efficient way to analyze building
thermal performance and heating system control
In the literature, some researchers used strategies by using MATLAB/Simulink in order to
MATLAB/Simulink to simulate thermodynamic reach thermal comfort conditions and reduce energy
models and analyze their characteristics in terms of consumption.
efficiency and temperature control.

Hudson and Underwood (1999) presented a


mathematical model for building simulation that can
MATHEMATICAL MODEL
be represented by an RC electric circuit. The model is This work presents a dynamic model for thermal
considered adequate for high mass buildings since building performance analysis, which includes an
they are predominantly capacitive. electric heater. The room is considered hermetically
closed with a uniform distribution of internal energy.
Athienitis et al. (1990) and Dion et al. (1991) presented We considered thermal losses just by heat transfer
some approaches for the study of building thermal through the building envelope.
simulation and HVAC systems so that they could
analyze advanced control strategies. Applying the energy conservation equation for each
element, the following mathematical formulation is
Mendes et Al. (2000a) elaborated a simplified model obtained.
for control strategy analysis of heating systems for
low mass constructions, which makes a worse For the room enclosed by m surfaces, we find,

- 473 -
where , is the wall external surface absorptivity, I,
= hint Ai [Tn,i (t ) TA (t ) ]
dTA ( t ) m
Ac AVA the total solar radiation (direct plus diffuse) and h ext,
dt i =1 the external coefficient of convective heat transfer.
+ hc Ac [Tc (t ) TA ( t ) ] + D (t ), (1) For the internal layer (k=n) of the i-th wall, we can
where A, cA, VA, Tn,i(t), h int, and Ai are respectively write the following boundary condition equation:

K n, i Ai (Tn1,i Tn, i ) = hint Ai (Tn, i (t ) TA (t )) +


the air density, specific heat, room volume, the n-th
layer temperature of wall i, the convection heat
transfer coefficient and the i surface area. TA(t) the
room air temperature and Tc (t) the heater temperature.
[ ]
c Ac Fs ,c i Tn4,i (t ) Tc4 (t ) +

[ ]
m
The perturbation D(t) includes the heat exchanged i Ai Fs , j i Tn4,i (t ) Tn4, j (t )
with the external air through low mass surfaces of the j =1
building envelope such as doors and windows and
internal gains of energy due to equipment, lights and
where , and Fs are Stefan-Boltzmann constant,
people. This term can be written as:
emissivity and shape factor.
m Teq (t ) TA (t )
D(t) =
However, for the floor (i=5), we consider for k=1, a
+ qp + qe + qI
Rj (2) constant soil temperature at a depth of 5m and we
j=1
apply the boundary condition of imposed
where q p, q e and q I are the internal gains under the temperature.
presence of people, equipment and lighting system. The electric heater is globally modeled as:
The thermal resistance R of j-th surface is calculated
as: dTc (t )
c cc Vc = Q(t ) hc Ac [Tc (t ) T A (t ) ]
1 Lj 1 dt
Rj = + +
[ ]
m
h ext A j jA j h intA j (3) Ac Fs, c i Tc4 (t ) Tn4,i ( t )
i =1
where Aj is the low-mass surface-j area and h int, the (5)
internal heat transfer convection coefficient.
where Q(t) is the energy rate generated within the
For each layer k within the wall i, we can obtain the heater by Joule effect, c , the heater density, cc , the
following energy balance equation: specific heat, Vc , the oil volume within the heater, h c ,
heat transfer convection coefficient between room air
= K k +1, i Ai [Tk +1,i ( t ) Tk ,i (t
dTk ,i (t ) and heater and Ac the heat exchange area.
k ,i c k ,i Vk , i
dt (4)
K k , i Ai [Tk , i (t ) Tk 1 ,i (t ) ],
The heating system sensor temperature Ts(t) can be
modelled as:
where the thermal conductance K, can be estimated
dTs (t )
by a harmonic mean as: s csVs = hs As [TA (t ) TS (t )] (6)
dt
1
K k ,i = where s, cS, VS, h S and AS are respectively the sensor
( L k1,i / 2) / k 1,i + ( L k,i / 2) / k, i
density, specific heat, volume, convection heat
where Lk,i denotes the thickness of layer k and k ,i, its transfer between the sensor copper sphere and the air
thermal conductivity. and the sensor heat exchange area.

The boundary condition for the external layer can be


written as, SIMULATION PROCEDURE
K1,i (T2 ,i T1, i ) = hext (T1, i Teq )
The analysis of building thermal performance is done
by the dynamic model implementation in
MATLAB/Simulink environment. MATLAB is a
Teq represents the equivalent temperature (Air-Sun) software that contains a wide mathematical library
given by the following expression: that makes it much simpler for rapid prototyping than
other programming languages such as C or Fortran.
I Simulink is MATLAB graphic user interface, which
Teq = Text +
h ext was especially built for dynamic systems simulation.

- 474 -
The model implementation in Simulink environment is almost imperceptible. On the other hand, for the high
made as it is illustrated in the diagram of Figure 1, capacitance case (10 x reference), it takes nearly 10
where the building model is inserted in the block days to eliminate the initial condition effects. For the
Building Model in the format of state equations. reference capacitance case, this time period is close to
Therefore, to determine the state equations, we have 2 days. Fig. 2 shows clearly the delay and the thermal
considered a building envelope composed by three amplitude reductions regarding the external
layers so that the state vector x(t) contains besides temperature signal of 2.21h and 2.33C, 5.71h and
the temperature of each building envelope layer, the 5.07C and 11.49h and 5.97C for the respective cases
temperatures of room air, sensor and heater as well. with low thermal capacitance (10% of the reference),
Thus, the model contains 21 state variables (6 thermal capacitance of reference and high thermal
envelope surfaces times 3 layers plus 3 state capacitance (10x reference). This can be explained by
variables). Hence, the model described by equations the fact that the higher the wall thermal capacitance
1-6, can be succinctly written in terms of state the higher the needed energy to change its
equation as: temperature. The same thing can be interpreted by the
envelope thermal diffusivity (= c) by changing
x& (t ) = Ax( t ) + Bu (t ) the thermal conductivity.
,
y (t ) = Cx(t )
The use of Simulink makes easy to analyze the room
where u(t) is the vector related to the model inputs air temperature behavior integrated to a heating
such as the heater power, equivalent temperature, system. In this paper, we considered an on-off control
internal gains (people, lighting and equipment) and heating system as it can be seen in Fig. 3. The heating
soil temperature. The output y(t) vector corresponds system is composed by three 5-kW heaters.
to the room air temperature. The non-linear effects
In Fig. 4, it is presented how the temperatures of room
associated to the radiation heat transfer were
air, internal building envelope surface and heater vary
implemented by the Simulink toolbox facility. The
with time. We notice from Fig 4 the wall temperature,
model parameters described in the model equations
due to a high thermal inertia, does not vary
are gathered from ASHRAE (1993) and Incropera and
significantly. There is a delay of 5.08h with a peak-to-
De Witt (1998). For the electric heater, we have
peak thermal amplitude of 1.9C. The controlled room
considered it as an equipment which has an oil
air temperature goes up and down very often due to
volume of 2 liters.
the heating system control strategies and thermal
It is analyzed the room air temperature for different characteristics. If we zoom part of Fig. 4, we can see,
model parameters when the outdoor temperature in Fig. 5, small sine-like fluctuations for the wall
varies as a sinus function as it is shown in Fig.2. On internal surface temperature due to the heating
the other hand, the soil temperature is kept constant system temperature variation. These fluctuations
as 15 C and the initial temperatures for the room air would be certainly higher for low mass constructions.
and the building structure are assumed to be equal to
As MATLAB can handle highly non-linear systems,
13 C. This hypothesis is physically consistent since
we have considered inter-surface long-wave radiation
the initial conditions effects are not important in long-
so that its effect on room air temperature and heater
term simulations. The initial conditions are very
performance can be analyzed. First, we have defined a
important when it is required a dynamic building
heater performance coefficient (), which can be
response for very short-term simulations. Table 1
mathematically described as:
presents the elements dimensions and thermal
properties used in the simulations. t2

h A [T (t ) T
t1
c c c A ( t) ]dt
= +
RESULTS AND DISCUSSIONS t2

In this section, a room air temperature sensitivity Q& (t )dt


t1
analysis is done in terms of thermal capacitance and
t2

A F [T ]
thermal contribution of radiation heat transfer from m

heating system. We also analyze the heater c s ,c i c


4
( t) Tn4,i ( t) dt
t1 i =1
performance and its instantaneous contribution t2
,
Q& (t)dt
relative to the room air heating process.
t1
The building envelope thermal capacitance (C= cV)
effects on the room air temperature (TA) are shown in where the first right-hand term is the ratio between
Fig. 2. We notice that for the low capacitance case the time-integrated convection heat transfer losses
(10% of the reference value), the transient duration is and the time-integrated heater power; the second

- 475 -
right-hand term corresponds to the ratio between the CONCLUSIONS
radiation heat transfer losses and the heater power. In this work, we have used MATLAB/Simulink for
Normally, the radiation term, on the equation shown building thermal performance analysis, which shows
above, is neglected and we can inspect how its how practical and fast-to-implement it is.
effects in the case studied in this work. The heater
performance coefficient for a period of 1 week and an We have elaborated a dynamic multinodal capacitive
emissivity of 0.8 was calculated as being 99.97%, from lumped non-linear model to describe a building,
which 2% was due to the radiation losses. In the case considering conduction heat fluxes, envelope thermal
the emissivity is 0 (no radiation), all the energy capacity, lighting and people loads, infiltration,
released by the heater is instantaneously absorbed fenestration and thermal inertia of heating systems,
by the room air, which gives, for the same equipment, which allowed the verification of thermal parameters
a performance coefficient of 99.99%, which means the effects on room air temperature.
radiation effects on the room air heating process
delay is very small (about 2% in terms of energy). The thermal capacitance was analyzed and simulation
results demonstrated that high thermal mass
In Figures 6 and 7, we can observe, the emissivity buildings can significantly reduce the room air
effects on room air temperature (Fig. 6) and heater temperature variation.
surface temperature (Fig. 7). In these cases, the term
with radiation means we have used an emissivity of We have shown that highly non-linear phenomena,
0.8. and without radiation an emissivity of 0.0. such as radiation heat exchanged between walls and a
heater, can be easily implemented in
We have noticed that when the external temperature MATLAB/Simulink.
goes down to its lower limit the heater run time goes
up from 1058.8s to 1437.5 s. In Fig. 6, we see that the In conclusion, we have shown an efficient way for the
heater surface emissivity does not play an important coupled analysis of building thermal performance and
role on the room air temperature, giving just a short heating systems efficiency by using
delay of about 5 min. This delay depends on the wall MATLAB/Simulink
thermal diffusivity. The higher the thermal diffusivity Additionally, it is important to remember that building
the lower the emissivity effects on room air heating systems constituted by electric resistances,
temperature, which means the air absorb more in general, have just on-off temperature control
instantaneously the energy released by the heater. devices. However, the accuracy of this control
Fig. 7 shows the heater temperature behavior. We strategy depends strongly on the construction
remark this temperature is not very sensitive to the thermal inertia and there is also, in many cases, a large
emissivity, giving just a short delay. However, we temperature difference between the on-off set points
notice the heater thermal capacitance may not be making the temperature control even worse for fine
adequate since it is submitted to a high temperature tune on temperature setting. Thus, for further work,
variation in a very short period of time. as MATLAB has shown a very high potential to
analyze control strategies, we intend to evaluate other
Table 2 shows the heater energy consumption for a 7- strategies than the on-off one which, usually brings
day period, making comparisons if the building higher energy demands. Besides, we intend also to
envelope thermal resistances would be decreased by analyze humidity effects when 2 variables have to be
a factor of 10 and if the heat released by the heater controlled.
were just given by convection heat transfer
(instantaneous gain or null emissivity).
REFERENCES
Table 2: Energy consumption for heating for a 7-day ASHRAE Handbook-Fundamentals, 1993, Atlanta:
period. ASHRAE.
Ref. 10 = 0 Athienitis A.K., Stylianou M. and Shou J., 1990, A
Methodology for Building Thermal Dynamics Studies
Energy Consumption (kWh) 318.9 433.4 313.6
and Control Applications, ASHRAE Transactions -
SL-90-14-4.
As it was expected, an increase on thermal
conductivity represents an increase on energy Clarke, J.A., 1985, Energy Simulation in Building
consumption since the heat flux is directly increased. Design, Adam Hilger Ltd., USA.
However, if we disregard the radiation heat transfer Dion J.M., Dugard L., Franco A., Nguyen Minh Tri
effects or the heater surface emissivity is considered and Rey D., 1991, MIMO Adaptive Constraines
to be very low, the energy consumption should be Predictive Control Case Study: An Environment Test
slightly decreased.

- 476 -
Chamber, Automatica, Vol. 27, No. 4, pp. 611-626, Mendes N., Arajo H.X. e Oliveira G.H.C., 2000a, O
Great Britain. Problema do Controle de Temperatura em
Aquecimento de Edificaes, VIII Encontro Nacional
Hudson G. and Underwood C.P., 1999, A Simple de Tecnologia do Ambiente Construido (ENTAC
building modelling procedure for 2000), Abril 23-28, Salvador-Brasil.
MATLAB/SIMULINK, Proceedings of the 6th
International Conference on Building Performance Mendes N., Oliveira G.H.C. e Arajo H.X., 2000b, O
Simulation (IBPSA99), September, Kyoto-Japan, pp. Uso do MATLAB/Simulink para Avaliao do
777-783. comportamento trmico de ambientes, ENCIT 2000 -
8th Brazilian Conference on Thermal Engineering and
Incropera F.P. e De Witt D.P., 1998, Fundamentos de Sciences, Anais em CD ROM,Porto Alegre, Brasil.
Transferncia de Calor e de Massa, LTC - Livros
Tcnicos e Cientficos Editora, 4 Edio, Rio de Users Guide Dynamic System Simulation Software,
Janeiro. 1999, MATLAB 5.0, The MathWorks, Inc..

LIST OF TABLES
Table 1: Dimensions and thermal properties.

c h A L V
(kg/m3) (J/kg-K) (W/m-K) (W/m2-K) (m2) (cm) (m3)
Heater (c) 884,1 1909 --- 5,0 5 --- 0,002
Room (A) 1,16 1007 --- 5,0 25* --- 62,5
Sensor (s) 8933 385 --- 5,0 1,26e-5 0,1 4,2e-9
2050 950 1,92 12,5 2 0,25
Walls and 1900 920 0,985 5,0 12,5 10 1,25
ceiling 2050 950 1,92 12,5 2 0,25
2050 1840 0,52 25 20 5,00
Floor 998 900 1,4 5,0 25 250 62,50
550 2385 0,2 25 10 2,50
* Floor and ceiling surface area.

LIST OF FIGURES

Figure 1 Modular model scheme by Simulink.

- 477 -
Figure 2: Thermal capacitance effects on the delay and thermal amplitude reduction of TA(t).

Figure 3: Closed loop for a building on-off control heating system by using Simulink.

- 478 -
Fig. 4: Temperature variation with time.

Figure 5: Amplification of internal surface temperature fluctuations.

- 479 -
Figure 6: Room air temperature as a function of time and heater surface emissivity.

Figure 7: Heater surface temperature as a function of time and emissivity.

- 480 -

Potrebbero piacerti anche