You are on page 1of 11

ARTICLE IN PRESS

Building and Environment 43 (2008) 170–180


www.elsevier.com/locate/buildenv

Identification of the main thermal characteristics of building


components using MATLAB
M.J. Jiméneza,, H. Madsenb, K.K. Andersenb
a
CIEMAT, Department of Energy, Energy Efficiency in Buildings Unit, Av. Complutense 22, E28040 Madrid, Spain
b
Informatics and Mathematical Modelling, Technical University of Denmark, Building 321, DK 2800 Lyngby, Denmark

Abstract

This paper presents the application of the IDENT Graphical User Interface of MATLAB to estimate the thermal properties of
building components from outdoor dynamic testing, imposing appropriate physical constraints and assuming linear and time invariant
parametric models. The theory is briefly described to provide the background for a first understanding of the models used. The
relationship between commonly used RC-network models and the parametric models proposed is presented. The analysis is generalised
for different possibilities in the assignment of inputs and outputs and even multiple output. Step by step guidance illustrated by an
example is included. Results obtained using the different possibilities in selecting inputs and outputs are reported.
r 2006 Elsevier Ltd. All rights reserved.

Keywords: Building energy; Thermal parameters; Outdoor testing; System identification

1. Introduction and control applications but very few references report its
use to estimate thermal parameters of building compo-
Thermal modelling of buildings has important applica- nents. This paper demonstrates how the model parameters
tions such as designing control strategies and estimating can be given physical interpretation by comparing the
parameters characterising the system. The latter is of ARMAX models with equivalent physical models.
special importance when the parameters of interest have Furthermore, the IDENT toolbox allows for both estima-
physical meaning, i.e. the estimates reflect physical tion of simulation and prediction-based models, the former
quantities such as resistances, capacities and time constants being the most commonly used method within thermal
of the building. There are a variety of tools for estimating modelling for simulation purposes, whereas the latter
parameters of buildings, for example see [1,2]. These tools should be applied whenever the values of physical
differ in applied estimation method, user interface and, in parameters are of interest.
particular, the kind of model types that can be applied. The paper is organised as follows. First, a mathematical
Most of these tools are based on deterministic differential description of linear and time invariant models is given. A
equations or state space models. special case of this model class is the ARMAX model [4],
The purpose of this paper is to describe how the which can be used for estimating physical parameters of
MATLAB System Identification (IDENT) toolbox [3], thermal systems. In Section 3, the formulation of classical
together with appropriate physical constraints, can be used RC-networks of thermal systems as ARMAX models is
to estimate such physical parameters. The IDENT toolbox described. Subsequently, the physical interpretation of the
allows for estimation of very general ARMAX models. parameters of the resulting ARMAX model is explained.
This model class is often associated with black-box models The method is illustrated by considering a simple RC
and has traditionally been used in prediction, simulation network model for the heat dynamics of a wall. Section 4
briefly describes the two different estimation methods, the
Corresponding author. Tel.: +34 950 387922; fax: +34 950 365015. output error method and the prediction error method. The
E-mail address: mjose.jimenez@psa.es (M.J. Jiménez). former is relevant when the model is intended for

0360-1323/$ - see front matter r 2006 Elsevier Ltd. All rights reserved.
doi:10.1016/j.buildenv.2006.10.030
ARTICLE IN PRESS
M.J. Jiménez et al. / Building and Environment 43 (2008) 170–180 171

Nomenclature Gv vertical global irradiance, W m2


Ti indoor air temperature, 1C
U heat transmission coefficient, W m2 K1 Te outdoor air temperature, 1C
g solar energy transmittance DT temperature difference between indoor and
f heat flux through the building component, W outdoor air, 1C
Q heat flux density through the building compo- A area of the tested building component, m2
nent, W m2

simulation purposes, whereas the latter is relevant for In the multiple-input–multiple-output (MIMO) case,
control (or prediction) purposes, or when the physical h(q) is a matrix containing the individual scalar impulse
parameters are of interest, e.g. in fault detection and response functions between the corresponding elements of
diagnosis. Section 6 gives a brief discussion on validation the vectors ut and yt.
methods, an integral part of model building. A case study is Using the summation operator S(q) ¼ (1+q1+
2
presented in Section 7 to illustrate the use of the MATLAB q +y) the step response function Sk is easily obtained
IDENT toolbox. from the impulse response function
Sk ¼ SðqÞhk . (5)
2. Linear and time-invariant (LTI) models
The impulse response function acts as the most flexible
This section gives a mathematical description of linear description of linear time-invariant systems (lumped
and time-invariant models with input and output signals parameter models are a subset of such systems).
(input–output systems, for example RC-networks). The Steady-state relations between input ut and output yt are
models in the IDENT toolbox belong to the family of obtained by putting q ¼ 1, which is equivalent to consider-
linear and time-invariant models. ing yt and ut as constants.

2.1. Non-parametric models


2.1.2. Frequency domain
In system identification the use of frequency domain
2.1.1. Time domain
descriptions is very popular. In this document, however,
For linear and time-invariant systems there exists a
only a short description of frequency domain methods is
function called the impulse response function hk, which
provided.
describes the relationship between the input signal ut and
The description in the frequency domain is simply
the output signal yt. For causal single-input-single-output
obtained by using the Fourier transformation, and it is
(SISO) systems the relationship is described by the folding
easily shown that the fundamental folding (see Eq. (1)),
sum1:
leads to a simple multiplication in the frequency domain
X
1
yt ¼ hk utk . (1) Y ðoÞ ¼ HðoÞUðoÞ þ NðoÞ, (6)
k¼0
where Y, U and N are the signals in the frequency domain,
Using the back-shift operator,2 defined by q1yt ¼ yt1, and H is the frequency response function (sometimes, but
and a generalised operator function h(q) (often called the misleadingly, called the transfer function).
transfer function) Hence, the frequency response function is simply
hðqÞ ¼ h0 þ h1 q1 þ h2 q2 þ . . . :. (2) obtained by a Fourier transformation of the impulse
response function
the relationship between input and output can be written as
X
1
yt ¼ hðqÞut . (3) HðoÞ ¼ hk eiok . (7)
1
In practise, some deviations between h(q)ut and the
measured output yt must be seen. These deviations are As the name indicates, the frequency response function
described by introducing a noise term Nt, i.e. describes how the system reacts to single frequencies. This
is often useful in thermal modelling, for example in
yt ¼ hðqÞut þ N t . (4)
modelling how the wall reacts to variations with a
The noise term Nt is in general autocorrelated noise. frequency corresponding to the diurnal cycle.
1
The frequency response function is a complex function
Notation in this document assumes sampling interval as one time unit, and the modulus is called the gain from input to output,
which simplifies notation without losing generality. For example in (1) if
the sampling interval is Dt then utk should be replaced by utkDt. and the argument is the phase-shift from input to output.
2
If the sampling interval is Dt, then the back-shift operator is defined by Finally it should be noted that steady-state relations are
q1yt ¼ ytDt. obtained at zero frequency (i.e. for o ¼ 0).
ARTICLE IN PRESS
172 M.J. Jiménez et al. / Building and Environment 43 (2008) 170–180

2.2. Parametric models Method (OEM). This will be elaborated in Section 4 on


estimation.
As described previously the impulse response function It is straightforward to extend the model to the case of
provides the most flexible description. The number of multiple inputs, and relatively straightforward also to the
parameters is, however, unlimited. In many situations the multiple input–multiple output case.
system can be described (or approximated) using a limited
number of parameters.
Most conveniently the relationship is described by 3. From RC-network to ARMAX models
models where the transfer function can be described as a
rational function, viz. In this section, it will be shown how physical linear
models in state space forms can be formulated as ARMAX
BðqÞqb
hðqÞ ¼ , (8) models. The link between state space and ARMAX models
AðqÞ will be demonstrated.
where A(q) and B(q) are polynomials in the back-shift Consider a wall mounted in a test cell for outdoor testing
operator as sketched in Fig. 1. The wall consists of an outer wall, an
insulating part and an inner wall represented as thermal
AðqÞ ¼ 1 þ a1 q1 þ    þ ar qr , (9) network model (Fig. 2).
Te is the outside temperature, Ti is the inside tempera-
BðqÞ ¼ b0 þ b1 q1 þ    þ bs qs (10) ture, Q is the heat flux density through the wall (measured
and b is an integer-valued time delay from input to output. on the inner surface), and Gv is the global solar irradiance
Now the parametric equivalent to Eq. (4) is obtained as on the outdoor surface of the wall.
follows: The heat exchange through the wall is induced by the
temperature difference between indoors and outdoors and
BðqÞ b
yt ¼ q ut þ N t . (11) by the solar irradiance incident on the outdoor surface
A1 ðqÞ (Fig. 1). The thermal characteristics of the wall governing
By further specifying an ARMA model for Nt as the heat flux rate crossing it are the heat transmission
coefficient U and the solar energy transmittance g, as
CðqÞ
Nt ¼ t , (12) defined by the following steady-state equation:
A2 ðqÞ
where et is a sequence of uncorrelated random variables (a Q ¼ UðT i  T e Þ  gG v . (16)
white noise process) and C(q) is a polynomial in the back- For dynamic conditions the heat capacitance C, should
shift operator, the Box-Jenkins transfer function model is also be considered. A simple dynamic model for the
obtained (Eq. (13)). temperature variations of the wall can be used to estimate
BðqÞ b CðqÞ the heat conductance and heat capacitance of the various
yt ¼ q ut þ t . (13) components of the wall. The RC diagram shown in Fig. 2
A1 ðqÞ A2 ðqÞ
represents a frequently used model for this kind of wall.
The term B(q)qb/A1(q) is called the transfer function H1, H2 and H3 are the heat conductances corresponding
component. to the outer wall, the insulating part and the inner wall
In modelling it is often assumed that respectively. C1 and C2 are the heat capacitances of the
A1(q) ¼ A2(q) ¼ A(q), whereby the ARMAX-model (Auto- outer wall and the inner wall. T1 and T2 are the
Regressive-Moving Average with eXogeneous input) is temperature of the outer wall and the inner wall,
obtained (Eq. (14)). respectively. (In this case, the conductances and capaci-
AðqÞyt ¼ BðqÞutb þ CðqÞt , (14) tances are considered per unit area.) U can be obtained
from the relationship 1=U ¼ 1=H 1 þ 1=H 2 þ 1=H 3 .
where A(q), B(q) and C(q) are pth, sth and qth order
polynomials, respectively, in the shift operator q.
Solar radiation
Special cases of the ARMAX model are the ARX-model
(C(q) ¼ 1) and finite impulse response (FIR) (A2(q) ¼ C(q)
¼ 1). The ARMAX model is sometimes referred to as the
CARMA model (Controlled ARMA). gGv
An Output Error Model (OE model) is a model of the Outdoors Q Ti
form U(Ti-Te)
Te
BðqÞ Test room
yt ¼ utb þ N t , (15)
AðqÞ Wall

where there is no model for the noise term. These models Fig. 1. Scheme of wall installed in a PASLINK test cell and main heat
are most often applied in estimation by the Output Error fluxes crossing it.
ARTICLE IN PRESS
M.J. Jiménez et al. / Building and Environment 43 (2008) 170–180 173

T1 T2 Ti Taking the Laplace transform gives


H1 H2 H3 " #" # " #" #
s þ a11 a12 T1 b11 0 Te
¼ (23)
a21 s þ a22 T2 0 b22 Ti

Te C1 C2 gGv Q and by isolating T1 and T2


" #" #
b11 ðs þ a22 Þ a12 b22 Te
" #
T1 a21 b11 b22 ðs þ a11 Þ Ti
Fig. 2. A simple RC network model for the heat dynamics of a wall. ¼ . (24)
T2 det A
For this system different possibilities for selecting the The measurement equation equivalent to (21) is
output (or response variable) exist. Some analysis techni-
ques applied for this type of test were reported in [5,6]. Q ¼ cðT i  T 2 Þ þ e; e 2 Nð0; s2Q Þ. (25)
Most traditional approaches used either the inside tem- Substituting (24) into (25) gives
perature Ti or the heat flux density Q as the output
variable. However, both may be used together as output a21 b11 T e þ b22 ðs þ a11 ÞT i
Q ¼ cT i  c þe (26)
variables. The possibilities for arrangement of inputs and det A
outputs, using single-output and multi-output models, are which is an ARMAX model of the form
described below. AðqÞQ ¼ B1 ðqÞT e þ B2 ðqÞT i þ CðqÞe. (27)
If the solar radiation, Gv, was also available then the
3.1. Using Q as output variable model could easily be extended. This extension allows for a
simultaneous estimation of the g value, as shown later in
The dynamic state space model for this system can be Section 5.
written as Using the RC-network as the starting point, the order of
the polynomials follows directly from the specified RC-
dT 1 do1
C1 ¼ H 1 ðT e  T 1 Þ þ H 2 ðT 2  T 1 Þ þ , (17) network; however using ARMAX models it is very easy to
dt dt
try out different orders of the polynomials. The heat
equation for such a thermal system is a complex equation
dT 2 do2
C2 ¼ H 2 ðT 1  T 2 Þ þ H 3 ðT i  T 2 Þ þ , (18) that can be characterised by a high number of eigenvalues:
dt dt the considered RC model is only a simple approximation of
this complexity.
Q ¼ H 3 ðT i  T 2 Þ þ e; e 2 Nð0; s2q Þ. (19)

Three variables are measured, namely Te, Ti and Q, with 3.2. Using Ti as output variable
measurement errors, which are presented in the dynamic
equations as (do1, do2)T and e, respectively. e is a white It is well known that instead of using Q as the output
noise process, while o1 and o2 are two independent Wiener variable, Ti can be selected as the output variable. In this
processes with incremental standard deviations s1 and s2. case the model becomes
Rearranging terms in Eqs. (17)–(19) leads to AðqÞT i ¼ B1 ðqÞT e þ B2 ðqÞQ þ CðqÞe. (28)
" # 2 1 H2
3" #
dT 1  C 1 ðH 1 þ H 2 Þ C1 T1 Finally, assuming that measurements of solar radiation
¼4 H2
5 dt Gv are available, the ARMAX model is
dT 2 C2  C12 ðH 2 þ H 3 Þ T2
2 H1 3" # AðqÞT i ¼ B1 ðqÞT e þ B2 ðqÞq þ B3 ðqÞG v þ CðqÞe. (29)
" #
C1 0 Te do1
þ4 5 dt þ , ð20Þ
0 H C2
3
Ti do2 3.3. Using both Ti and Q as output variables

If both Ti and Q are selected as output variables, the


Q ¼ H 3 ðT i  T 2 Þ þ e; e 2 Nð0; s2Q Þ. (21) following multiple ARMAX model3 is obtained:
" #" # " #" #
Introducing aij and bij to simplify notation and A11 ðqÞ A12 ðqÞ T i B11 ðqÞ B12 ðqÞ T e
considering only the deterministic part of the state space ¼
A21 ðqÞ A22 ðqÞ Q B21 ðqÞ B22 ðqÞ G v
model, Eq. (20) can be written as " #
" # " #" # " #" # C 11 ðqÞ
dT 1 a11 a12 T1 b11 0 Te þ e, ð30Þ
¼ dt þ dt. C 21 ðqÞ
dT 2 a21 a22 T2 0 b22 Ti
(22) 3
The state space model in Fig. 2 would need some minor modifications.
ARTICLE IN PRESS
174 M.J. Jiménez et al. / Building and Environment 43 (2008) 170–180

where Aij(q) and Bij(q) are polynomials of appropriate The covariance matrix for the parameters estimates is
order. readily obtained using the prediction error method.
Another possibility is the following multiple ARMAX Furthermore, the method provides an estimation of a
model: model for the errors. The parameters belonging to the
" #" # " # " # C-polynomial can be used, for instance, to obtain an error
A11 ðqÞ A12 ðqÞ T i  T e B11 ðqÞ C 11 ðqÞ
¼ G þ e. decomposition; more precisely the total error can be
A21 ðqÞ A22 ðqÞ Q B21 ðqÞ v C 21 ðqÞ divided into measurement error and model error. This fact
(31) enables a powerful tool for model evaluation.

5. Obtaining the physical parameters


4. Estimation methods
In Section 3, it was shown how to obtain an ARMAX
In this paper only the Output Error Method—OEM and model for a specified RC-network model (or state space
the Prediction Error Method—PEM will be described model) as traditionally used for identification of the heat
briefly. In the literature a lot of other methods can be dynamics of building components. A description is now
found. In the MATLAB IDENT toolbox both OEM and given of how to obtain the physical parameters (e.g.
PEM methods are provided. PEM has been used later on in U-value, g-value, time constants, etc.) using ARMAX
this work. models.
As an example the following ARMAX model is
4.1. OEM considered:
AðqÞT i ¼ B1 ðqÞT e þ B2 ðqÞQ þ B3 ðqÞG v þ CðqÞe. (36)
By applying the OEM the unknown parameters (denoted
y) are estimated by
( ) 5.1. U value
XN
^y ¼ arg min SðyÞ ¼ 2
N ðyÞ , (32)
t
y t¼1
The well known steady-state relation is

where Q ¼ UðT i  T e Þ  gG v þ e (37)

BðqÞ b that must coincide with the steady-state equation obtained


N t ðyÞ ¼ yt  q ut . (33) from (36) by putting q ¼ 1. The following two estimates of
A1 ðqÞ
the U-values are obtained by comparing these two
Nt(y) is the simulation error, since it represents the equations:
deviation between yt and the simulated output from the
Að1Þ
model. U1 ¼ , (38)
B2 ð1Þ
The covariance matrix for the parameter estimates is
often very difficult to calculate using the output error B1 ð1Þ
method. Furthermore, the most common validation U2 ¼ . (39)
B2 ð1Þ
techniques cannot be applied, e.g. test for white noise
and normally distributed residuals. Therefore, the method Note that
should only be used under special conditions. ! !
X
r X
s
Að1Þ ¼ 1þ ai ; B1 ð1Þ ¼ b1i ,
i¼1 i¼0
4.2. Prediction error methods ! !
X
s X
s
B2 ð1Þ ¼ b2i ; B3 ð1Þ ¼ b3i . ð40Þ
The prediction error estimate is found by minimising the i¼0 i¼0
sum of the squared prediction errors
( ) In each case the U value is a function of the parameters
XN
^y ¼ arg min SðyÞ ¼ 2
 ðyÞ , (34) U i ¼ f i ðyÞ, (41)
t
y t¼1
where y ¼ (a1, a2,y, ar, b11, b12, yb1s, b21, b22,yb2s, b31,
where b32, y, b3s)T.
The covariance matrix V(y) of the parameter estimates is
t ðyÞ ¼ Y t  Y^ t=t1 ðyÞ (35) provided by the MATLAB IDENT toolbox. The variance
is the one-step prediction error or residual. of the individual U-values can be obtained by the well-
If the predictions are calculated using the correct model, known formula for error propagation
!    T
then the one-step prediction error becomes a white noise v11 v12 qf qf
sequence. Using various tests for white noise this enables a V ðUÞ ¼ ¼ V ðyÞ , (42)
v21 v22 qy qy
powerful possibility for model validation.
ARTICLE IN PRESS
M.J. Jiménez et al. / Building and Environment 43 (2008) 170–180 175

where 5.3. Time constants


!
U1 The time constants are related to the A-polynomial. The
f ðyÞ ¼ . (43) number of time constants is equal to the order of the A-
U2
polynomial.
Therefore
0 1
  qU 1
 qU 1 qU 1
 qU 1 qU 1
 qU 1 qU 1
 qU 1
qf @ qa1 qar qb11 qb1S qb21 qb2s qb31 qb3s
A.
¼ qU 2 qU 2 qU 2 qU 2 qU 2 qU 2 qU 2 qU 2 (44)
qy qa1  qar qb11  qb1s qb21  qb2s qb31  qb3s

The two values estimated for U can be combined into a Assuming that the order of the A-polynomial is r then
single value by a Lagrange weighting as the polynomial A(q) has r roots. For each root pi the
corresponding time constant ti is calculated as
U ¼ lU 1 þ ð1  lÞU 2 . (45)
1
ti ¼ . (49)
lnðpi Þ
Using the variance of each of the two U-values to
determine the weighting, l is obtained from the element of
the covariance matrix vij as 5.4. Impulse and step response functions
v22  v12
l¼ (46) For each combination of inputs and outputs an impulse
v11 þ v22  2v12 response function can be found by a polynomial division of
the relevant polynomials of the ARMAX model.
and the corresponding standard deviation as the square For instance the impulse response function from the solar
root of its variance as radiation to the indoor air temperature is calculated as
sffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi B3 ðqÞ
v11 v22  v212 hðqÞ ¼ (50)
sðUÞ ¼ . (47) AðqÞ
v11 þ v22  2 v12
40
35
Temperature (°C)

5.2. g-value 30
25
The g-value is determined as 20
15
B3 ð1Þ 10
g¼ (48)
B2 ð1Þ 5
0
and the variance of the estimate is again calculated by 14 16 18 20 22 24 26 28 30 32 34 36 38
using the variance propagation approach, as described Time (Days)
above. Te Ti

Fig. 4. Indoor and outdoor air temperatures. Data set no. 2.


1100

900 7
Heat flux density (W/m2)

700 6
Gv (W/m2)

5
500 4
300 3
2
100
1
-100 0
14 16 18 20 22 24 26 28 30 32 34 36 38 14 16 18 20 22 24 26 28 30 32 34 36 38
Time (Days) Time (Days)
Gv Q

Fig. 3. Global solar irradiance on the external surface of the component . Fig. 5. Heat flux density leaving the test room measured at the inside
Data set no. 2. surface of the component. Data set no. 2.
ARTICLE IN PRESS
176 M.J. Jiménez et al. / Building and Environment 43 (2008) 170–180

and the step response function is then found by a 7. Case study


summation of the impulse response function, as described
by Eq. (5). 7.1. Objective of the test

As part of a series of round robin tests carried out at


6. Model validation several European PASLINK test sites, an opaque compo-
nent, described below, was tested under dynamic condition
When building a dynamic model it is important that in order to determine its U-value [9]. Ref. [9] also provides
certain criteria for the model fit are met to ensure an useful, additional information for external validation.
adequate model. Several procedures for model validation
exist [7]. The following criteria for model determination 7.2. Test component
and validation were suggested by Norlén [8]
The component is a simple homogeneous, opaque wall.
1. Fit to the data. The model residuals should be ‘small’ It consists of a sandwich of insulation between plywood,
and ‘white noise’. A necessary condition for ‘white
noise’ is that there should be neither autocorrelation in
the residuals nor correlation between the residuals and
the input variables. Table 1
2. Internal validity. The model should agree with data Identified parameters for an ARX model with na ¼ 10, nb ¼ [10 10 10] and
other than data used for parameter estimation (cross nk ¼ [1 1 1]
validation). ai b1i b2i b3i
3. External validity. The result from the model should not
(without greater motivation) conflict with previous i¼1 5.98E01 1.95E03 7.83E02 3.13E05
experiences or other known conditions. i¼2 3.00E01 5.53E03 5.18E02 6.46E07
i¼3 2.45E01 3.64E03 8.17E03 1.19E05
4. Dynamic stability. From a steady state, the model i¼4 6.80E02 1.16E03 2.35E02 2.13E05
should give an output upon a temporary change in an i¼5 1.53E02 6.33E04 2.82E02 8.03E06
input variable that gradually fades out (if the model is i¼6 4.75E02 3.80E03 6.65E03 2.69E06
intended to describe dynamic characteristics). i¼7 1.70E02 3.68E03 1.37E02 5.83E06
5. Identifiability. It should be possible to determine the i¼8 5.77E02 3.70E03 2.22E02 2.97E05
i¼9 4.63E02 4.73E03 1.08E02 1.29E06
parameters of the model uniquely from the data. i ¼ 10 6.01E02 1.23E03 1.09E02 6.54E06
6. Simplicity. The model should be as small as possible.

Fig. 6. Results of model selection, using Te, Q and Gv as inputs, and Ti as output.
ARTICLE IN PRESS
M.J. Jiménez et al. / Building and Environment 43 (2008) 170–180 177

Table 2
Physical parameters

Parameter Estimate Units

U1 1.86E0173.46E03 W/m2K
U2 1.94E0171.37E02 W/m2K
g 3.32E0377.05E04 —

Table 3
Results

Parameter Estimate Units

U 0.19170.009 W/m2K
g 0.003370.0007 —

28
26
Temperature (ºC)

24
22
20
18
measured output
16 1 step predicted output
1 2 3 4 5 6 7
Time (s) x105

Fig. 7. Measurements and predicted outputs given by the ‘‘Best Fit’’


models versus time.

0.08
0.06
0.04 Fig. 9. Residual autocorrelation and cross-correlation.
Residuals (°C)

0.02
0
uniformly distributed, to mechanically clamp the
sandwich together.
-0.02
-0.04 A more detailed description can be found in [9].
-0.06
-0.08 7.3. Test procedure
0 1 2 3 4 5 6 7
Time (s) x 105 The component was installed in the aperture of a
PASLINK test cell [10]. The following sensors were used
Fig. 8. Residual given by the ‘‘Best Fit’’ models versus time. The average
of the residuals is 0.0002 1C. for measurements:

 A shielded/aspirated platinum resistance sensor (PRT)


and the following materials have been used for its for external air temperature.
construction:  Seven shielded PRTs for test room air temperatures.
 A pyranometer for solar irradiance on the component
 Two hundred mm thick expanded polystyrene (PS30), surface.
density 30 kg/m3, consisting of 4 layers 50 mm thick.  A thermopile-based transducer for heat flux density,
 Two 12 mm thick sheets of phenolic faced plywood. mounted flush with the inside surface of the component.
 White melamine 0.7 mm thick for outdoor face.
 Polyurethane adhesive to glue layers together. Tests were carried out according to the PASLINK test
 Sixteen nylon bolts, washers and nuts size M12, procedure [11]. This procedure consists of a test sequence
ARTICLE IN PRESS
178 M.J. Jiménez et al. / Building and Environment 43 (2008) 170–180

including 3 days of low power, 1.5 days of high power and  Models that do not include Gv, which suppose the value
3.5 days according to a pseudo-random on/off power of g as negligible and therefore cannot be determined by
sequence. The maximum power level is determined by the these models.
weather conditions at the test site in order to avoid  Single output models.
overheating or undercooling of the test cell, whilst  Multi-output models.
maximising the temperature difference between outside
and the test room.
Section 7.6 summarises the results obtained for each of
7.4. Data the considered models. As only steady-state parameters are
required, only plots of residuals, average of residuals and
The following data for the opaque component tested at estimated identification errors have been considered in
two different test sites have been analysed: order to compare the performance of the models.
In this section, an ARX model using Ti as output and Te,
 Data set no. 1: Data analysed corresponding to the Q and Gv as inputs, as described in Section 3.2, has been
component tested at BRE (East Kilbride, near Glasgow, considered as an example to illustrate how to obtain the
Scotland). These data are available at www.paslink.org. U- and g-values.
 Data set no. 2: Data from the experiments on the The MATLAB IDENT toolbox has been used to
component tested at CIEMAT (Tabernas, Almerı́a, Spain). examine data, select model structure and order, fit and
This experiment was carried out in the period 6th–24th of validate the proposed model, and also to generate the
January 2002. Figs. 3–5 show the measured signals. matrix containing information about the selected model
structure, estimated parameters and their estimated accu-
racy. In this section, the notation used in MATLAB for the
7.5. Example of estimation of U- and g-values orders of polynomials and delay between input and output,
has been used. In this notation na represents the order of
This section describes ‘‘step by step’’ the estimation of U polynomial A(q), nb the order of polynomial B(q), and nk
and g, using IDENT in MATLAB, for data set no. 1. the delay between output and input. The study has been
Detailed guidance explaining how each step is done in the limited to models with, na, nb and nk, varying between 1
IDENT toolbox is included in [12]. and 10. The models marked by IDENT as ‘‘Best Fit’’ are
Only ARX models have been considered to simplify the those where orders are na ¼ 10, nb ¼ [10 10 10] and nk ¼
analysis without loss of generality. The following types of [1 1 1]. The results of these estimations are presented in
models have been considered as candidate model to Fig. 6.
estimate U and g: In this case ‘‘Best Fit’’ models have been selected and
used to estimate the required parameters.
 Models including Gv as input. In this case the small The matrix containing information about the selected
value of g can be determined. model structure is then exported to the MATLAB

Table 4
Results obtained for the data set no. 1 using all data for identification and validation: U and g

Model number Inputs Outputs Model U (W/m2K) error_U (W/m2K) g (—) error_g (—)

1 Q Ti–Te arx10101(BF) 0.19 0.03 N/A N/A


2 Q,Gv TiTe arx10101(BF) 0.21 0.03 0.02 0.01
3 Te,Q,Gv Ti arx10101(BF) 0.191 0.009 0.0033 0.0007
4 Te,Q Ti arx10101(BF) 0.20 0.01 N/A N/A
5 Gv Ti–Te,q arx221 0.178 0.007 0.001 0.001

Table 5
Results obtained for data set no. 2. (The first 2/3 of data file has been used for identification and the last 1/3 for validation): U and g

Model number Inputs Outputs Models U (W/m2K) error_U (W/m2K) g (—) error_g (—)

1 Q TiTe arx882(BF) 0.173 0.006 N/A N/A


2 Q,Gv TiTe arx461(AIC) 0.180 0.009 0.0008 0.0007
3 TiTe Q arx2107(MDL,AIC,BF) 0.176 0.004 N/A N/A
4 TiTe,Gv Q arx225(BF) 0.191 0.003 0.0020 0.0002
5 Ti,Te,Gv Q arx136(MDL,AIC,BF) 0.197 0.005 0.0029 0.0003
6 Gv TiTe,q arx111 0.193 0.003 0.0023 0.0002
ARTICLE IN PRESS
M.J. Jiménez et al. / Building and Environment 43 (2008) 170–180 179

2 2
1.5 1.5
1 1
Residuals (°C)

Residuals (°C)
0.5 0.5
0 0
-0.5 -0.5
-1 -1
-1.5 -1.5
-2 -2
1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7
Time (s) x 106 Time (s) x 106

Fig. 10. Residual given by the single output model number 2 of Table 5, Fig. 12. Residual given by the two outputs model number 6 of Table 5,
versus time. The average of the residuals is 0.01065 1C. versus time. The average of the residuals is 0.0002 1C.

0.15 0.15

0.1 0.1
Residuals (W/m2)
Residuals (W/m2)

0.5 0.5

0 0

-0.05 -0.05

-0.1 -0.1

-0.15
1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7
Time (s) x 106 Time (s) x 106

Fig. 11. Residual given by the single output model number 4 of Table 5, Fig. 13. Residual given by the two outputs model number 6 of Table 5,
versus time. The average of the residuals is 0.007 W/m2. versus time. The average of the residuals is 0.003 1C W/m2.

workspace, where the required parameters and their 7.6. Summary of results given by different models
estimation errors have been obtained.
Table 1 presents the identified parameters for the Several models have been tried in both cases and those
selected ARX model. giving the best results are summarised in Tables 4 and 5 for
By using (38)–(48) the values in Table 2 were obtained. data set nos. 1 and 2, respectively.
Finally, applying Lagrange’s method and rounding the In the models that consider Gv, a very low g-value has
result according to the obtained errors the parameter been estimated, with relatively high estimated errors. These
values in Table 3 were obtained. results are not unexpected for the considered insulating and
Afterwards the model was successfully validated using opaque component, due to the weak influence of Gv in the
the criteria described in Section 6. heat flux density through the component, and for the same
Fig. 7 shows a good fit between measured and predicted reason these errors are not very critical.
output, and Figs. 8 and 9 show low and uncorrelated Note the low identification error estimated for U-value
residuals. External validity is guaranteed as these (Tables 4 and 5), and the low average of residuals
results agree with the results obtained for the same (Figs. 10–13) obtained when a two outputs model is
component tested following the same test procedure at considered.
other test sites and also with values estimated from
tabulated values. The model has dynamic stability: 8. Conclusions
instability would trigger a warning message by MATLAB.
The identifiability of the model is self evident and its In this paper, a procedure for using IDENT in MATLAB
simplicity is acceptable. for estimating the thermal characteristics of a wall component
ARTICLE IN PRESS
180 M.J. Jiménez et al. / Building and Environment 43 (2008) 170–180

is suggested. The flexibility of this approach has been [6] SIC 2. System identification competition. In: Bloem JJ, editor.
demonstrated by the use of several models with different Published by the Office for Official Publications of the European
Communities, L-2985 Luxembourg, Ref.: EUR 16359 EN, ISBN 92-
assignment of inputs and outputs and even multiple-outputs
827-6348-X 1996.
models. Very good performance has been found for multiple- [7] Madsen H. Time series analysis. Lyngby, Denmark: Institute
output models giving very low identification errors. A of Mathematical Modelling, Technical University of Denmark; 2001.
different analysis tool (e.g. CTSM [2]) must be applied for [8] Norlén U. Determining the thermal resistance from in-situ
those components where non-linear effects are relevant. measurements. In: Bloem JJ, editor. SIC1. Workshop on appli
cation of system identification in energy savings in buildings.
Luxembourg: Published by the Commission of the European
References Communities, L-2920 Luxembourg, Ref.: EUR 15566 EN 1994;
p. 402–29.
[1] Gutschker O. Parameter identification with the software package [9] Baker PH, Strachan P. WP3 round robin tests as feasibility study for
LORD. Building and Environment, this issue. standardization. Final technical report part 3. IQ-TEST Project,
[2] Kristensen NR, Madsen H. Continuous time stochastic modelling— Contract no. ERK6-CT1999-2003, 2003.
CTSM 2.3 user guide. Technical University of Denmark, Lyngby, [10] www.paslink.org, last viewed August 2006.
Denmark. 2003. www.imm.dtu.dk/ctsm [11] van Dijk HAL, Tellez FM. Measurement and data analysis
[3] Ljung L. System identification. Theory for the user. NJ: Prentice- procedures. Final report of the JOULE II COMPASS Project
Hall; 1999. (JOU2-CT92-0216), 1995.
[4] Box GEP, Jenkins JM. Time series analysis: forecasting and control. [12] Jiménez MJ, Madsen H, Andersen KK. How to get physical
San Francisco, USA: Holden-Day; 1976. parameters using MATLAB. Presented in the conference ‘‘interna-
[5] SIC 1. Workshop on application of system identification in energy tional conference on dynamic analysis and modelling techniques’’.
savings in buildings. In: Bloem JJ, editor. Published by the Organized by PASLINK EEIG and JRC. 13–14 November 2003.
Commission of the European Communities, L-2920 Luxembourg, Proceedings: EUR 21187 EN. ISBN 92-894-7794-6, 2004.
Ref.: EUR 15566 EN 1994.

You might also like