Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
http://sel.me.wisc.edu/trnsys/
http://www.brisdata.se/
3
http://www.eren.doe.gov/buildings/tools_directory/software/spark.htm
4
http://www.eren.doe.gov/buildings/tools_directory/software/doe-2.htm
5
www.strath.ac.uk/Departments/ESRU/esru.html
6
http://www.eren.doe.gov/buildings/energy_tools/energyplus.htm
7
http://www-epb.lbl.gov/comis/
8
http://www.edf.fr/der/html/produits/publications/cherener.en/art17-en.htm
9
An end-user application by Electricit de France based on TRNSYS
10
http://www.brisdata.se/ice/
11
http://www.dynasim.se/
12
http://www.eren.doe.gov/buildings/tools_directory/software/hvacsim.htm
13
http://www.lorsim.be/
2
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
In NMF, models are described with equations. The equations are symbolically processed to generate
executable, assignment based, code according to the specifications of particular simulation environments. Unfortunately, the opposite process, i.e. to automatically extract equations from already existing executable code, is quite impossible. Hence, it is necessary to manually extract and document
equations from existing models and other engineering sources when an NMF library is written.
An important product of IEA SHC Task 22 and the subject of this report is the NMF Models Library. At the core of this library are a detailed and a simplified zone model. The detailed zone model
with full Stefan-Boltzman long-wave radiation has been developed for indoor climate studies and
design tasks. With this model, it is possible to study displacement ventilation as well as operative
temperatures, comfort indices and daylight levels at arbitrary room locations. The simplified zone
model has been developed for energy simulations to speed up execution. Both models have balance
equations for CO2, humidity and energy. The CO2, moisture and heat loads from people are modeled
according to Fanger16.
A key feature of the library is the modelling of airflow as well as thermal problems, which are
highly interdependent phenomena. In this way, the temperature and pressure dependent air flows in
doorways and open windows can be simultaneously solved.
The library also has component models for primary and secondary HVAC systems. These models
are designed to have a minimum number of supplied parameters and include ideal equipment control. For detailed secondary system simulations, the ASHRAE17 secondary toolkit models have been
translated into NMF, and they are compatible with the other models of the library. Models exist for
heating and cooling coils, dampers and valves, to name a few.
Another product of Task 22 is a set of web pages for presentation of NMF libraries--SIMONE
(Simulation Model Network). Through a central index page, individual NMF developers are encouraged to publish their NMF work on a local server according to a prescribed format. To lessen the
work required to contribute to SIMONE, Task 22 experts have developed tools that will automatically convert a set of NMF source code files into structured web pages.
The actual models of the Task 22 Models Library and SIMONE can be viewed at
http://home.swipnet.se/nmf/simone.htm.
14
http://www.it.dtu.dk/~el/ecs/esacap.htm
http://www.Modelica.org
16
ASHRAE Fundamentals, Chapter 8
17
American Society of Heating, Refrigeration and Air Conditioning Engineers
15
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
Contents
1.
2.
PREFACE ................................................................................................................................................................ 7
3.
INTRODUCTION ................................................................................................................................................... 8
3.1
3.2
3.3
3.4
3.4.1
3.4.2
3.4.3
3.4.4
4.
SCOPE ............................................................................................................................................................... 8
STANDARD LINK TYPES ..................................................................................................................................... 8
ALGORITHMIC MODELS ..................................................................................................................................... 9
BASIC DESIGN DECISIONS .................................................................................................................................. 9
Pressure and massflow ................................................................................................................................ 9
Secondary systems ..................................................................................................................................... 10
Primary systems ........................................................................................................................................ 10
Absolute pressure ...................................................................................................................................... 10
TEMPERATURES .............................................................................................................................................. 11
HUMIDITY ....................................................................................................................................................... 11
CO2 -FRACTION ............................................................................................................................................... 12
WIND VELOCITY AND DIRECTION .................................................................................................................... 12
SOLAR TIME .................................................................................................................................................... 13
SOLAR POSITION ............................................................................................................................................. 13
5.
6.
7.
8.
9.
10.
10.1
10.2
10.3
10.4
11.
11.1
P-CONTROLLER WITH PIECEWISE LINEAR CONTROL CURVE PLINSEGM: ALGORITHMIC VERSION, PLINSEGC:
CONTINUOUS VERSION ................................................................................................................................................... 43
11.2
PSMOOTH AND PSMOOTH2: PROPORTIONAL CONTROLLERS WITH SMOOTH CONTROL CURVE .................. 44
11.3
PICONTR: PI-CONTROLLER........................................................................................................................... 46
11.4
PMTCONTR: LIQUID FLOW CONTROLLER (FOR PMT FLOWS)...................................................................... 47
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
12.
ZONE MODELS............................................................................................................................................... 49
12.1
COMMON FEATURES........................................................................................................................................ 49
12.1.1
Convective heat transfer coefficient ..................................................................................................... 49
12.1.2
Heat load from occupants..................................................................................................................... 49
12.1.3
Moisture loads ...................................................................................................................................... 50
12.1.4
CO2 loads.............................................................................................................................................. 50
12.1.5
Local units ............................................................................................................................................ 51
12.2
CEDETZON: DETAILED ZONE MODEL ........................................................................................................... 51
12.2.1
Coordinate system ................................................................................................................................ 51
12.2.2
View factor calculation......................................................................................................................... 52
12.2.3
View factor calculation for Mean Radiant Temperature ...................................................................... 53
12.2.4
Long- and short-wave radiation ........................................................................................................... 53
12.2.5
Long-wave radiation from equipment................................................................................................... 54
12.2.6
Temperature gradient and displacement ventilation ............................................................................ 55
12.2.7
Daylight calculation ............................................................................................................................. 55
12.3
CESIMZON: SIMPLIFIED ZONE MODEL .......................................................................................................... 60
13.
13.1
13.2
14.
14.1
15.
15.1
15.2
16.
16.1
16.2
16.3
16.4
16.5
16.6
16.7
16.8
16.9
16.10
16.11
17.
18.
18.1
18.2
18.3
18.4
18.5
19.
APPENDIX I:
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
2. Preface
The purpose of this work is to provide a framework of mathematical models for thermal building
simulation in the Neutral Model Format (NMF) that can be automatically translated into executable
code for various simulation environments. The intention is that the availability of the present library
and of quality translation tools will enable international cooperation in the successive growth and
improved validation of the library. A general overview of the present work and its potential impact
on the future of building simulation software development is presented in Appendix I.
The development work has, thus far, primarily been done by the authors under the auspices of IEA
Task 22 Subtask B. A general note about IEA and a description of Task 22 are included as appendices III and IV respectively. With the model library, as implemented in the IDA Simulation Environment, the authors have also participated in the ETNA validation exercises of IEA Task 22 Subtask A. The results of the validation work are reported in a separate Task 22 report [Moinard and
Guyon 1999].
The present report deals with the detailed documentation and engineering justification of the individual models and provides an overview of the library architecture. The reader is assumed have a
basic knowledge of NMF and to keep the NMF source code of the models at hand. Basic NMF
documentation as well as NMF translators for TRNSYS, HVACSIM+ and IDA are available at
http://home.swipnet.se/nmf/. The NMF source code of the models library is most easily viewed at
and downloaded from http://home.swipnet.se/nmf/simone.htm.
Only a limited amount of work on the quality control of generated code for TRNSYS v. 14.1 has
been done within the present project. The (free) IDA NMF Translator has been upgraded to
TRNSYS v. 14.2 but only very basic debugging has been carried out. All development and validation work has been done using IDA.
Another part of Task 22 Subtask B was to create a web based network of NMF model libraries and
developers (SIMulation Model Network, SIMONE). The central page of it resides at
http://home.swipnet.se/nmf/simone.htm. From there, modelers can find several completed libraries,
such as the present one, as well as libraries under construction.
As a separate project, Jari Hyttinen and Mika Vuolle from Helsinki University of Technology have
done a basic translation of the ASHRAE Secondary Toolkit components into NMF. The toolkit
models have been adapted to be compatible with the present library. The result of this work is also
available at SIMONE. Some of the Toolkit models have been rebuilt, equipped with internal control
and tested. These models have then been made part of the Task 22 library.
In another parallel project, Task 22 library has been used to develop a new end-user building simulation tool called IDA Indoor Climate and Energy, ICE. A basic account of this work is included in
Appendix II of this report.
The financial means for the Task 22 participation has been provided by the Swedish Council for
Building Research with Conny Roln as supportive contact person.
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
3. Introduction
3.1 Scope
The ultimate scope of the library is to cover all of the models needed to make a fully detailed whole
building simulation. In this first version, all of the basic model categories are covered but some of
them with simplified component examples. The general goal has been to make a useful composition
of models from a practical engineering perspective. This means, for example, that the emphasis has
been on models for which parameters can be found in standard engineering sources.
The ambition has been to find models that are generally recognized and accepted by the international engineering community. Many ASHRAE models have been used, but in cases where they are
insufficient, other well-known models have been selected. In some cases, where no indisputable
models seem to exist, the authors have used models from their own previous projects where there
has been a long and good experience in using them. An example of such a model is that of interior
film coefficients.
Every effort has been made to make the library internationally applicable and not to include remnants of any national building code. However, the Scandinavian tradition of very detailed zone
models has influenced the design at the expense of strongly simplified zone models. The library is
also designed for a rather short timestep of well below an hour, if a fixed timestep is used. A numerical solver which automatically adapts the timestep to the transients of the problem is strongly
recommended.
Detailed models are provided for weather processing, 3D direct beam shading and zone comfort.
The models are compatible with a separate comprehensive library of multizone air flow components; however, but only a powerlaw leak model and a standard model for large vertical openings
are included in the Task 22 library at this stage. A basic selection of easy-to-parameterize models for
secondary systems with built-in local control is included. First approximations of models for primary systems have also been included.
3.2 Standard link types
There are several different link types to connect the models together. The airside of the secondary
system models has a link type called UniAir. It has 5 different variables: pressure, dry air massflow,
temperature, CO2 concentration and absolute humidity and does not allow the air stream to shift
direction. The liquid side of the secondary system as well as the primary system has a link type
called PMT. It has 3 different variables; pressure, massflow and temperature and also supports only
unidirectional flow.
Air supply and exhaust terminals, leaks and large vertical openings are connected by a BiDirAir link
into zone models. There are 8 different variables; pressure, massflow, temperature, heat flux, CO2
concentration, CO2 flow, absolute humidity and humidity flow. Fluid streams connected by this link
type are allowed to change direction.
Another common link type is TQ, containing a temperature and a heat flux. This is the basic vehicle
for heat conduction between, e.g., wall segments.
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
18
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
10
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
name
Tair
Tsky
Tground
HumAir
Pair
Xair
IDirNorm
IDiffHor
WindDir
WindVel
ElevSun
AzimutSun
unit
C
C
C
kg H20/ kg dry air
Pa
g /kg dry air
W/m2
W/m2
m/s
4.1 Temperatures
The air temperature from the source is delivered directly to the recipients.
The sky and ground temperatures are needed to calculate long wave radiation between them and
facades. In the current version, the ground temperature is assumed to be the same as the air temperature. The sky temperature is calculated with the equation [Hensen 1995].
(1)
More sophisticated models for sky as well as ground temperatures are obviously available but have
not yet been incorporated.
Tsky = Tair
4.2 Humidity
The CLIMATE model calculates the absolute humidity (HumAir) from the relative humidity (RelHum) with the ASHRAE Secondary Toolkit functions, SATPRES and HUMRAT.
Psat = SatPres (Tair )
(2)
(3)
(4)
11
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
where
The SATPRES function is taken from ASHRAE Secondary Toolkit. When air temperature is below
zero, saturated pressure is calculated from
C1
Psat = e T
(5)
Psat = e T
where
(6)
T is air temperature, C
-5674.5359
6.3925247
-0.9677843E-2
0.62215701E-6
0.20747825E-8
C6
C7
C8
C9
C10
-0.9484024E-12
4.1635019
-5800.2206
1.3914993
-0.04860239
C11
C12
C13
0.41764768E-4
-0.14452093E-7
6.4559673
The humidity ratio function, HUMRAT, is also obtained from ASHRAE Secondary Toolkit
HumRat = 0.62198
where
p vap
(7)
p pvap
a _ exp
(8)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
The wind direction and wind velocity are passed through the climate model into the face model.
4.5 Solar time
The solar time is calculated from the official time with the equation [ASHRAE Fundamentals 1997]
t sun = t time + 4 ( Ltime - Lloc )/60 + E/60
(9)
(10)
where B = 360 (n - 81) / 364, when n is the number of the day from the beginning of the year.
The format of the equation above is used, but the different formats are described eg. [Clarke 1985]
E = 9.87 sin(1.978n 160.22) 7.53 cos(0.989n 80.11) 1.5 sin(0.989n 80.11)
(11)
where n is the number of the day from the beginning of the year.
For daylight saving, one hour must be subtracted from the solar time.
4.6 Solar position
The elevation of the sun is calculated from the equation [ASHRAE Fundamentals 1997]
sin h = cos L cos cos + sin L sin
(12)
13
(13)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
(14)
PARAMETERS
/* type
name
role
def
min
max
description*/
Angle
Angle
Angle
Lat
Long
LongTimezone
S_P
S_P
S_P
60
-25
-30
-90
-180
-180
90
180
180
"Local latitude"
"Local longitude"
"Time zone longitude"
Factor
Factor
Factor
Factor
HeightRef
Height
a_exp
a0_coeff
S_P
S_P
S_P
S_P
10
6
0.1
1
0
0
SMALL
SMALL
BIG
BIG
BIG
BIG
Factor
Factor
deg2rad
rad2deg
C_P
C_P
0.0175 SMALL
57.296 SMALL
BIG
BIG
VARIABLES
/* type name role def min max description*/
Pressure
Temp
Fraction_y
Factor
Angle
Vel
PAir
TAir
XAir
RelHum
WindDir
WindVelRef
IN
IN
IN
IN
IN
IN
1325
20
594
50
0
1
-50000
ABS_ZERO
0
0
0
0
BIG
BIG
BIG
100
360
BIG
"(Atmospheric press)-1E5"
"Temperature of air"
"CO2 fraction"
"Rel humidity of air"
"Direction of wind"
"Speed of meteorological wind"
RadA
RadA
IDirNorm
IDiffHor
IN
IN
0
0
0
0
BIG
BIG
Pressure
Temp
Fraction_y
HumRatio
Temp
Temp
Angle
Vel
RadA
RadA
Angle
Angle
PAir2
TAir2
XAir2
HumAir
TGround
TSky
WindDir2
WindVel
IDirNorm2
IDiffHor2
ElevSun
AzimutSun
OUT
OUT
OUT
OUT
OUT
OUT
OUT
OUT
OUT
OUT
OUT
OUT
1325
20
594
0.073
20
15
0
1
0
0
27.0
26.05
SMALL
ABS_ZERO
0
0
ABS_ZERO
ABS_ZERO
0
0
0
0
-90
-180
BIG
BIG
BIG
BIG
BIG
BIG
360
BIG
BIG
BIG
90
180
"Atmospheric pressure"
"Temperature of air"
"CO2 fraction"
"Humidity ratio of air"
"Temperature of ground"
"Temperature of sky"
"Direction of wind"
"Speed of on-site wind"
"Direct normal rad"
"Diffuse rad on hor surf"
"Elevation angle of sun"
"Azimut angle of sun"
Pressure
Pressure
PSat
PVap
LOC
LOC
2365
1182
SMALL
SMALL
BIG
BIG
Generic
Generic
Generic
DayNr
DayInYear
DayInFourYears
LOC
LOC
LOC
80
80
80
1
1
1
366
366
366
Generic
DayFrom1901
LOC
80
366
Generic
Generic
Generic
Hour
Seconds
TimeHr
LOC
LOC
LOC
14
0
86400 0
0
-BIG
24
BIG
BIG
AngleR
Declination
LOC
-0.007 SMALL
BIG
"Declination angle"
14
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
Angle
Angle
AngleR
B
E
Omega
LOC
LOC
LOC
-0.017 -BIG
-7.84 -BIG
0.402 -BIG
BIG
BIG
BIG
Hour
Hour
SolTime
SolarTime
LOC
LOC
13.54
13.54
0
0
24
24
Hour
Hour
Dummy1
Dummy2
LOC
A_S
13.54
13.54
-24
-24
24
24
Factor
Factor
SinElevSun
CosAzimSun
LOC
LOC
0.454
0.898
-1
-1
1
1
15
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
name
Pair
Tair
RelHum
WindDir
WindVel
IdirNorm
IdiffHor
unit
Pa
C
%
m/s
W /m2
W /m2
The air temperature varies as a sine function. The average air temperature, amplitude, and time,
when maximum temperature occurs, are the supplied parameters.
Humidity can be specified in either of the two ways:
1. Minimum relative humidity (occurring at maximum dry bulb temperature) can be given.
2. For summer conditions, desired design TWetBulb can be specified. Values can be obtained from
several sources [ASHRAE Fundamentals 1997] or [CIBSE Guide 1982].
Absolute humidity is assumed to be constant, but is reduced temporarily to saturation if the dry bulb
temperature becomes too low.
The direct normal radiation can be calculated in two different ways. The first implemented approach
follows ASHRAE [ASHRAE Fundamentals 1997]
I dirnorm =
A
EXP( B / SIN (h))
16
(15)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
Table 1 . Factors for direct and diffuse solar radiation (ASHRAE Fundamentals).
Month
Jan
Feb
Mar
Apr
May
June
July
Aug
Sep
Oct
Nov
Dec
A
1230
1215
1186
1136
1104
1088
1085
1107
1151
1192
1221
1233
B
0.142
0.144
0.156
0.180
0.196
0.205
0.207
0.201
0.177
0.160
0.149
0.142
C
0.058
0.060
0.071
0.097
0.121
0.134
0.136
0.122
0.092
0.073
0.063
0.057
The other implemented approach is Therkelds equations [Therkeld 1962]. In summer cases, when
the sun's elevation is less than 15
I dirnorm = 1.163 h (87.616 + h (-6.9947 + h (0.32331 + h (-0.005799))))
(16)
921
EXP(0.139 / SIN (h))
(17)
(18)
921
EXP(0.109 / SIN (h))
(19)
The diffuse solar radiation on a horizontal surface is modeled with two different methods as well.
The first method is the ASHRAE method [ASHRAE Fundamentals 1997]
I diffhor = C I dirnorm
(20)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
(21)
(22)
Equation of time and the sun's position are calculated, using the same set of equations as in the climate model.
PARAMETERS
/* type
Pressure
Temp
Temp
Generic
Fraction_y
name
pAirGiven
tDryMean
tDryAmpl
hrMaxTemp
xAirGiven
role
S_P
S_P
S_P
S_P
S_P
def
1325
20
5
15
594
min
-50000
ABS_ZERO
0
0
0
max
BIG
BIG
50
24
BIG
description*/
"(Atmospheric press)-1E5"
"Mean temperature of air"
"Amplitude of air temp "
"Hour (solar) when temp peaks"
"CO2fraction"
Factor
relHumAtMax
S_P
50
100
Temp
tWetBulb
S_P
20
ABS_ZERO
BIG
Angle
Vel
dominDir
avgWindVel
S_P
S_P
0
2
0
0
360
BIG
Angle
Angle
Angle
Lat
Long
LongTimezone
S_P
S_P
S_P
60
-25
-30
-90
-180
-180
90
180
180
"Local latitude"
"Local longitude"
"Time zone longitude"
Factor
Factor
Factor
diff_model
rad_model
RedFac
S_P
S_P
S_P
0
0
1
0
0
0
1
1
1
Factor
Factor
deg2rad
rad2deg
C_P
C_P
0.0175 SMALL
57.296 SMALL
BIG
BIG
C_P
C_P
1182
SMALL
BIG
/* Calculated parameters */
Temp
tDryMax
Pressure
PVapMax
VARIABLES
/*type
name
role
def
min
max
description*/
Pressure
Temp
Fraction_y
Factor
Angle
Vel
PAir
TAir
XAir
RelHum
WindDir
WindVelRef
OUT
OUT
OUT
OUT
OUT
OUT
1325
20
594
50
0
1
SMALL
ABS_ZERO
0
0
0
0
BIG
BIG
BIG
100
360
BIG
"Atmospheric pressure"
"Temperature of air"
"CO2 fraction"
"Rel humidity of air"
"Direction of wind"
"Speed of meteorological wind"
RadA
RadA
RadA
IDirNorm
IDiffuse
IDiffHor
OUT
LOC
OUT
0
0
0
0
0
0
BIG
BIG
BIG
Angle
ElevSun
LOC
27.0
-90
90
Pressure
Pressure
PSat
PVap
LOC
LOC
2365
1182
SMALL
SMALL
BIG
BIG
Generic
Generic
DayNr
DayInYear
LOC
LOC
80
80
1
1
366
366
18
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
Generic
DayInFourYears
LOC
80
366
Generic
DayFrom1901
LOC
80
366
Generic
Generic
Generic
Hour
Seconds
TimeHr
LOC
LOC
LOC
14
0
86400 0
0
-BIG
24
BIG
BIG
AngleR
Declination
LOC
-0.007 SMALL
BIG
"Declination angle"
Angle
Angle
AngleR
B
E
Omega
LOC
LOC
LOC
-0.017 -BIG
-7.84 -BIG
0.402 -BIG
BIG
BIG
BIG
Hour
Hour
SolTime
SolarTime
LOC
LOC
13.54
13.54
0
0
24
24
Factor
SinElevSun
LOC
0.454
-1
RadA
Factor
Factor
A
B1
C
LOC
LOC
LOC
1088
0.205
0.136
1085
0.142
0.057
1233
0.207
0.136
19
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
(23)
(24)
(25)
20
(26)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
where Fss is a view factor between the sky and the surface, i.e. Fss = (1 + cos ) / 2,and the diffuse reflected radiation from the ground can be calculated from the equation
I Re f = F sg ( I DiffHor + I DH )
(27)
where is reflectivity of the ground, Fsg is view factor between the ground and the surface, ie. Fsg = (1 - cos ) / 2, IDiffHor is diffuse solar radiation on the horizontal surface, W/m2
IDH is direct solar radiation to the horizontal surface, W/m2.
6.3.2 Kondratjev
According to investigations at the Finnish Meteorological Institute [Tammelin et al 1987] comparing
the different models against measurements, the isotropic model developed by Kondratjev was the best.
The diffuse solar radiation to the surface is obtained from the equation
2
I d = I diffhor cos + I ref
2
1 - cos2
2
(28)
6.3.3 Perez
The third model was developed by Perez [Perez 1990]. The model is used to calculate solar irradiation
on a tilted surface from the equation
1 + cos
a
+ F2 sin
I dt = I diffhor F1 + (1 F1 )
b
2
(29)
(30)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
Id
I on
(31)
(32)
I d + I bn
+ 1.1041 z 3
Id
(33)
1 + 1.1041 z 3
0.000 1.065
1.065 1.230
1.230 1.500
1.500 1.950
1.950 2.800
2.800 4.500
4.500 6.200
6.200 -
f11
f12
f13
f21
f22
f23
-0.008
0.130
0.330
0.568
0.873
1.132
1.060
0.678
0.588
0.683
0.487
0.187
-0.392
-1.237
-1.600
-0.327
-0.062
-0.151
-0.221
-0.295
-0.362
-0.412
-0.359
-0.250
-0.060
-0.019
0.055
0.109
0.226
0.288
0.264
0.156
0.072
0.066
-0.064
-0.152
-0.462
-0.823
-1.127
-1.377
-0.022
-0.029
-0.026
-0.014
0.001
0.056
0.131
0.251
22
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
(34)
V = 0.3 + 0.05V f
The external convective heat transfer coefficient is calculated with the equation [Clarke 1985]
n
V
hc = 5.678a + b
0.3048
(35)
where a, b and n are 1.09, 0.23 and 1 respectively, when the local wind velocity is less than 4.88 m/s,
otherwise the coefficients are 0, 0.53 and 0.78.
6.5 Pressure at ground level
The pressure coefficient for the current wind direction is interpolated from the coefficients supplied for
the eight main directions.
The pressure at the ground level is calculated with the equation
(36)
name
nWDir
role
SMP
def
1
min
1
max
description*/
BIGINT "Number of given wind directions"
PARAMETERS
/*type
Factor
name
diffuseModel
role
S_P
def
2
min
0
max
2
description*/
"Model alternative for diffuse rad
0 = ASHRAE
1 = Kondratjev
2 = Perez"
Angle
Angle
azimutFace
slopeFace
S_P
S_P
0
0
0
0
360
180
Length
HeightAboveSea
S_P
BIG
Factor
Factor
pCoeff[nWDir]
dirPCoeff[nWDir]
S_P
C_P
0
0
-BIG
0
BIG
BIG
"Pressure coeff."
"Directions where pressure coeff. given"
Factor
Factor
deg2rad
rad2deg
C_P
C_P
0.0175 SMALL
57.296 SMALL
BIG
BIG
VARIABLES
/* type
name
role
def
min
max
description*/
Pressure
PAir
IN
1325
SMALL
BIG
"Atmospheric pressure"
Temp
Temp
Temp
Temp
TAir
TGround
TSky
TAirWal
IN
IN
IN
OUT
20
20
15
20
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
BIG
BIG
BIG
BIG
23
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
Temp
Temp
Temp
Temp
Temp
HeatCondA
TGroundWal
TSkyWal
TAirWdw
TGroundWdw
TSkyWdw
hOutside
OUT
OUT
OUT
OUT
OUT
OUT
20
15
20
20
15
9
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
0
BIG
BIG
BIG
BIG
BIG
BIG
"Ground temp"
"Sky temp"
"Ambient air temp"
"Ground temp"
"Sky temp"
"Conv heat transf coef"
Fraction_y
HumRatio
XAir
HumAir
IN
IN
594
0.073
0
0
BIG
BIG
"Pollutant fraction"
"Humidity ratio"
Pressure
Temp
Fraction_y
HumRatio
PGround
TAirLeak
XAirLeak
HumAirLeak
OUT
OUT
OUT
OUT
1325
20
594
0.073
SMALL
ABS_ZERO
0
0
BIG
BIG
BIG
BIG
Angle
Vel
Vel
WindDir
WindVel
WindVelLoc
IN
IN
LOC
0
1
1
0
0
0
360
BIG
BIG
"Wind direction"
"Wind speed [m/s]"
"Local wind speed"
RadA
RadA
RadA
IDiffHor
IDirNorm
IDirHor
IN
IN
LOC
0
0
0
0
0
0
BIG
BIG
BIG
RadA
RadA
RadA
RadA
IDirWal
IDiffWal
IDirWdw
IDiffWdw
OUT
OUT
OUT
OUT
0
0
0
0
0
0
0
0
BIG
BIG
BIG
BIG
Angle
Angle
Angle
Angle
ElevSun
ElevSunWdw
AzimutSun
AzSun2Face
IN
OUT
IN
OUT
27.0
27.0
26.05
0
-90
-90
-180
-360
90
90
180
360
Angle
AngleIncFace
OUT
-90
90
"Elevation of sun"
"Elevation of sun"
"Azimut of sun"
"Azimut of sun, relative to face, 0
when sun in front"
"Angle of incidence onto surface"
Factor
PressCoeff
LOC
-BIG
BIG
Factor
ReflGround
IN
0.5
"Ground reflectance"
24
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
(39)
where Fss is view factor between the sky and the surface, ie. Fss = (1 + cos ) / 2, Fsg is view factor between the ground and the surface, ie. Fsg = (1 - cos ) / 2, is emissivity of the surface, Thus, the total heat balance is
(40)
PARAMETERS
/*type
Area
Factor
Factor
Angle
name
AWall
absFace
epsFace
slopeWall
role
S_P
S_P
S_P
S_P
def
1.
0.6
0.9
90
min
SMALL
SMALL
SMALL
0
25
max
BIG
1.
1.
180
description*/
"wall surface area"
"absorption factor"
"emissivity"
"surface slope, 90 = vertical
180 = hor upward"
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
VARIABLES
/*type
Temp
HeatFlux
Temp
RadA
RadA
Temp
Temp
HeatCondA
name
TWall
QWall
TAmbient
PDir
PDiff
TSky
TGround
uFace
role
OUT
IN
IN
IN
IN
IN
IN
IN
def
24
146
21
0.
85.
16
21
13.9
min
ABS_ZERO
-BIG
ABS_ZERO
0
0
ABS_ZERO
ABS_ZERO
0
26
max
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
description */
"wall surface temp"
"heat from wall"
"ambient temp"
"direct rad intensity"
"diffuse rad intensity"
"sky temperature"
"ground temperature"
"conv heat transf coef"
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
name
nShade
nPoints
Three
Four
role
SMP
SMP
SMP
SMP
def
1
4
3
4
min
0
0
3
4
max
BIGINT
BIGINT
3
4
decription */
"number of shading surfaces"
"number of shading surfaces * 4"
"The number 3"
"The number 4"
PARAMETERS
Length
Coords[Three,nPoints]
S_P
-BIG
BIG
Factor
Trans[nShade]
S_P
Length
Length
Window[Three,Four]
auxWindow[Three,Four]
S_P
C_P
0
0
-BIG
-BIG
BIG
BIG
VARIABLES
/*type
Generic
Temp
Temp
Temp
HeatCondA
RadA
RadA
Angle
Angle
Angle
name
Transp_Res
TAmb_out
TGround_out
TSky_out
hExt_out
IDiff_out
IDir_out
Azimut_out
Elev_out
Angle_out
role
LOC
OUT
OUT
OUT
OUT
OUT
OUT
OUT
OUT
OUT
def
min
max
0
0
0
1
0
0
0
0
0
ABS_ZERO
ABS_ZERO
ABS_ZERO
0
0
0
0
0
0
BIG
BIG
BIG
BIG
BIG
BIG
360
90
90
description*/
"Transparency"
"ambient temp"
"ground temp"
"sky temp"
"external conv heat coeff"
"incident diffuse rad"
"incident direct rad"
"sun's rel azimuth"
"sun's elevation"
"incident angle of"
Temp
Temp
Temp
HeatCondA
RadA
RadA
Angle
Angle
Angle
TAmb_in
TGround_in
TSky_in
hExt_in
IDiff_in
IDir_in
Azimut_in
Elev_in
Angle_in
IN
IN
IN
IN
IN
IN
IN
IN
IN
0
0
0
1
0
0
0
0
0
ABS_ZERO
ABS_ZERO
ABS_ZERO
0
0
0
0
0
0
BIG
BIG
BIG
BIG
BIG
BIG
360
90
90
"ambient temp"
"ground temp"
"sky temp"
"external conv heat coeff"
"incident diffuse rad"
"incident direct rad"
"sun's rel azimuth"
"sun's elevation"
"incident angle of"
27
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
9. Envelope Models
9.1 CEWIND: Window model
The model calculates radiation and transmission through a window. The effect of internal shading
devices is included; external devices in the plane of the window, i.e. outside blinds, are handled as
internal. On the other hand, fixed external devices, such as fins or overhangs, are not handled in
CEWIND but in the WINSHADE model.
The operation of internal shading can be controlled by time schedule or by irradiation level.
The transmission through the window frame is calculated.
For detailed modeling of a zone, it is desirable that the solar radiation entering through a window can be
divided into two parts, directly transmitted radiation and radiation first absorbed in the window
combination. The first part is distributed as shortwave radiation and the second part heats the window
and reaches the zone as longwave radiation and convection. To serve this purpose, the shading
properties of the window are described by two sets of factors, one concerning total heat load, and one
concerning shortwave heat load
SC shading coefficient for total heat load
SSC shortwave shading coefficient for directly transmitted radiation.
The indirectly transmitted part is calculated from the difference between these two factors.
The variable shading is accounted for by selecting between two alternative shading coefficients in each
set, one valid with shading (SC1, SSC1), one without shading (SC0, SSC0). The reduction due to the
shading device is handled as independent of the reduction due to the particular glazing combination.
Thus
SC1 = mSC SC 0
(41)
SSC1 = mSSC SSC 0
(42)
where mSC is multiplier for total heat load due to shading device
mSCC is multiplier for direct transmission due to shading device.
The selected shading coefficients are applied to the total solar heat gain for a reference window with
unprotected single glazing. This is calculated from incident direct and diffuse radiation, reducing the
direct radiation by a factor which depends on angle of incidence, while the diffuse radiation is reduced
by a constant factor, resulting from averaging over the hemisphere seen by the window
(43)
where FThruDir is reduction factor for direct radiation, IDirInc is direct incident radiation, W/m2
IDiffInc is diffuse incident radiation, W/m2
AGlass is window area, m2.
The angle dependence of FThruDir is handled by using different trigonometric curve fits for different
angle intervals.
28
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
The shortwave radiation passing through the window is calculated from the equation
(44)
The shading coefficients describe the load reaching the zone indirectly via absorption in the window by
the expression
R Indir = (SC SSC ) RThruRef
(45)
However, for the heat balance of the window, we are interested in the total radiation absorbed in the
window, including the part that leaks back out to the ambient. This is given by
Q Absorb =
1
(SC SSC ) RThru Re f + RBack
1 h 0.11
(46)
where RBack is the shortwave radiation reaching the window from inside
h is the u-factor for the window including interior and exterior resistances. It is selected from
u-factor for shaded window
h1
h0
u-factor for unshaded window.
In analogy with the handling of shading coefficients, we put
h1 = mh h0
(47)
29
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
PARAMETERS
/*type
Factor
Factor
HeatCondA
name
SC_0
SSC_0
h_0
role
S_P
S_P
S_P
def
0.87
0.81
3.1
min
SMALL
SMALL
SMALL
max
1.12
1.09
5.9
description*/
"factor SC wo shading"
"factor SSC wo shading"
"U-value wo shading"
Factor
Factor
Factor
m_SC
m_SSC
m_h
S_P
S_P
S_P
0.5
0.3
0.9
SMALL
SMALL
SMALL
1
1
1
Area
Factor
Factor
Factor
Factor
Factor
Angle
a
FrameRat
h_frame
absFrame
emitFrame
emitWind
slopeWind
S_P
S_P
S_P
S_P
S_P
S_P
S_P
1
0.1
2
0.6
0.6
0.9
90
SMALL
SMALL
SMALL
SMALL
SMALL
SMALL
0
BIG
1
BIG
1
1
1
180
"window area"
"Frame area / total window area"
"Frame U-value"
"Absorption of frame"
"Emissivity of frame"
"Emissivity of wind pane"
"Slope of window surf, 90 = vertical
180 = hor upward"
/*shading controls */
Factor
solarCtrl
Angle
ctrlAngle
RadiationA
ctrlLevel
S_P
S_P
S_P
0
0
0
0
0
0
1
180
BIG
/* calculated parameters */
Factor
SC_1
Factor
SSC_1
Factor
h_1
C_P
C_P
C_P
Area
Area
Factor
C_P
C_P
C_P
"
AFrame
AGlass
h_framepure
"factor SC w shading"
"factor SSC w shading"
"U-value w shading"
"Frame area"
Glass area"
"U-value wo inter and outer resistances"
VARIABLES
/*type
Factor
Factor
Factor
name
SC
SSC
hPanes
role
LOC
LOC
LOC
def
0.87
0.81
3.1
min
SMALL
SMALL
SMALL
max
1.3
1.3
5.9
description */
"factor SC"
"factor SSC"
"U-value betw innermost and outermost panes"
Angle
Angle
Angle
AzimutThru
ElevThru
AngleInc
IN
IN
IN
97
19
45
0
0
0
360
90
90
Factor
FThruDir
LOC
HeatFlux
HeatFlux
HeatFlux
HeatFlux
HeatFlux
HeatFlux
HeatFlux
HeatFlux
HeatFlux
HeatFlux
HeatFlux
HeatFlux
Radiation
HeatFlux
QAbsorb
QInside
QGlassInside
QFrameInside
QGlassTransm
QFrameTransm
QLWOutPane
QLWOutFrame
QLWOut
QConvPane
QConvFrame
QConvOut
RBackThru
QSWOut
LOC
OUT
LOC
LOC
LOC
LOC
LOC
LOC
OUT
LOC
LOC
OUT
LOC
OUT
19
18
17
1
-36
-1
0
0
0
0
0
0
0
0
-BIG
-BIG
-BIG
-BIG
-BIG
-BIG
-BIG
-BIG
-BIG
-BIG
-BIG
-BIG
-BIG
-BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
RadA
RadA
IDiffInc
IDirInc
IN
IN
84
0
0
0
BIG
BIG
Radiation
RadiationA
Radiation
Radiation
RThruRef
RThruCurrA
RDiffThru
RDirThru
LOC
LOC
OUT
OUT
156
136
108
0
0
0
0
0
BIG
BIG
BIG
BIG
30
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
Radiation
RBack
IN
0.
BIG
Factor
Factor
ShadingOn
schedShading
LOC
IN
0
0
0
0
1
1
"shading 0=OFF/1=ON"
"time control 0=OFF/1=ON"
Temp
Temp
TAmb
TIn
IN
IN
20
25
ABS_ZERO
ABS_ZERO
BIG
BIG
Temp
Temp
TWindOut
TFrameOut
OUT
OUT
21
23
ABS_ZERO
ABS_ZERO
BIG
BIG
"ambient temp"
"temp of window seen by zone combined frame
And pane temp."
"temp of outermost pane"
"temp of outer frame"
Temp
Temp
TGround
TSky
IN
IN
20
15
ABS_ZERO
ABS_ZERO
BIG
BIG
"ground temp"
"sky temp"
HeatCondA
hExt
IN
13
BIG
31
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
The most common way to model the thermal behavior of a wall is to discreticize it into a number of
nodes by using some finite difference method. The number of nodes is a compromise between the
accuracy of the results and the execution time. If the number of the nodes is increased to obtain better
accuracy, longer execution time is required. The same accuracy can be reached with fewer nodes with
an RC-network, if the thermal resistances, the heat capacitances and the construction of the RC-network
are correctly chosen.
The RCWALL model is based on work by Jan Akander [Akander 1996]. The parameters of the RC
network are calculated by an optimization subroutine, which is called once in the
PARAMETER_PROCESSING. The procedure compares the model behavior to analytical solutions
obtained for simple harmonic boundary conditions and calculates the sum of the squares of the
deviations. The frequencies chosen for the summation are 1, 3, 6, 12, 24, 48 and 96 hour time
periods.
The values of the capacitances and the resistances are calculated by the subroutine RCOPT.NMF. In
some cases, typically for light internal walls, the routine will select a two capacitance model. Thus, the
number of nodes, nNode, is a calculated model parameter (role CMP). In the two node case, R1 and R2
are equal, and either one represents the total resistance between Ca and Cb.
The advantages of the RCWALL model are the decreased calculation time due to fewer nodes and the
fact that the accuracy is known. A disadvantage is the lack of physically meaningful temperatures inside the wall. Note also that this model should not be used in fast thermal process simulations, for example in studying automatic control systems, since the selected optimization aims at lower frequencies.
MODEL_PARAMETERS
/*type
INT
INT
name
n
nNode
role
SMP
CMP
def
1
2
min
1
2
max
description*/
BIGINT "Number of wall layers"
3
"Number of nodes"
role
S_P
S_P
S_P
S_P
S_P
def
5.3
0.01
0.08
1800
790
min
SMALL
SMALL
SMALL
SMALL
SMALL
max
BIG
BIG
BIG
BIG
BIG
PARAMETERS
/*type
Area
Length
HeatCondL
Density
HeatCapM
name
A
l[n]
lambda[n]
rho[n]
cp[n]
/*derived parameters*/
32
description*/
"wall area"
"layer thickness"
"layer
heat conductivity"
"layer density"
"layer spec heat"
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
HeatCapA
HeatCapA
HeatCapA
HeatResA
HeatResA
HeatResA
HeatResA
Ca
Cb
Cc
R1
R2
Ra
Rb
C_P
C_P
C_P
C_P
C_P
C_P
C_P
24800
24800
102560
0.81
0.81
0.03
0.03
SMALL
SMALL
SMALL
SMALL
SMALL
SMALL
SMALL
BIG
BIG
BIG
BIG
BIG
BIG
BIG
role
OUT
OUT
OUT
IN
IN
def
27.3
24.2
24.0
-6
-146
min
ABS_ZERO
ABS_ZERO
ABS_ZERO
-BIG
-BIG
max
BIG
BIG
BIG
BIG
BIG
description */
"Temp at surface A"
"Temp at surface B"
"Temp at capacity [i]"
"Influx at surface A"
"Influx at surface B"
VARIABLES
/*type
Temp
Temp
Temp
HeatFlux
HeatFlux
name
Tpa
Tpb
T[nNode]
Qa
Qb
name
n
role
SMP
def
1
min
1
max
description*/
BIGINT "Number of wall layers"
role
S_P
S_P
S_P
S_P
S_P
def
7.8
0.03
0.22
970.
1090.
min
SMALL
SMALL
SMALL
SMALL
SMALL
max
BIG
BIG
BIG
BIG
BIG
description*/
"wall area"
"layer lenght"
"layer heat conductivity"
"layer density"
"layer spec heat"
*/
C_P
C_P
18000. SMALL
0.03
SMALL
BIG
BIG
role
OUT
OUT
IN
def
27
27
-17
max
BIG
BIG
BIG
description*/
"Temp at term_a"
"Temp at capacity a"
"Influx term_a"
PARAMETERS
/*type
Area
Length
HeatCondL
Density
HeatCap
name
a
l[n]
lambda[n]
rho[n]
cp[n]
/*derived parameters
HeatCapA
Ca
HeatResA
Ra
VARIABLES
/*type
Temp
Temp
HeatFlux
name
Tpa
Ta
Qa
min
ABS_ZERO
ABS_ZERO
-BIG
33
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
rFin
rAir
(48)
34
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
P = m c p (TOut TIn )
TOut TIn
dT
(50)
where dT is logarithmic temperature difference between the air and the water, C.
The total heat absorbed by the unit is modeled with the equation below. This relation is based on
empirical material collected by manufacturers.
P = k l dT n
(51)
where k is a powerlaw coefficient which depends on the width and type of the unit, W / (m Kn)
l is length of the cooling panel, m.
If the temperature difference is less than 1 K, the equation above is replaced by
P = k l dT
(52)
where
QWall is modeled as long wave radiation between the wall and the unit, unless the parameter hBack is
given a non-negative value. In the latter case, hBack acts a constant heat transfer coefficient for the
exchange with the wall; e.g. hBack = 0 can be used to isolate the unit from the back wall.
The massflow can be determined in several ways. Typically, the flow is determined by a control
signal from a controller
m = m max contr + m min (1 contr )
35
(54)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
where contr is the control signal. This regime requires the water side pressure dp to be larger than
the parameter dp0 and contr to be non-negative.
When the waterside pressure drops below dp0 and the control signal contr stays higher than 0.5,
the massflow is calculated with the equation
m = m min
dp
dp0
(55)
If the control signal contr is set less than -0.5, the massflow is calculated with the equation
m = m max
dp
dp0
(56)
PARAMETERS
/*type
name
role
def
min
max
description*/
GENERIC
Factor
Length
Length
HeatCapM
HeatCond
k
n
strip_w
length
cp_liq
hback
S_P
S_P
S_P
S_P
S_P
S_P
4.18
1.28
.5
1
4187
4
SMALL
SMALL
SMALL
SMALL
SMALL
-BIG
BIG
BIG
BIG
BIG
BIG
BIG
Factor
Factor
kFin
eLWRad
S_P
S_P
.2
.9
0
-BIG
0.5
1.0
Factor
eLWWall
S_P
.9
-BIG
1.0
Pressure
dp0
S_P
10
SMALL
BIG
MassFlow
mmax
S_P
0.01
SMALL
BIG
MassFlow
mmin
S_P
1.e-6
SMALL
BIG
Factor
Area
Factor
eLW
area
kF_A
C_P
C_P
C_P
.8
.5
.25
0
SMALL
0
1.0
BIG
1.0
description*/
"Air-to-surface temp difference"
"Surrounding air temperature"
"Average surface temperature"
"Average liquid temperature"
"Total absorbed heat"
"Water massflow"
"Supply water temperature"
"Leaving water temperature"
"Radiative and convective heat
absorbed by panel front"
"Remaining convective heat
absorbed"
"Heat absorbed from wall behind
panel"
"Surface temp of wall behind"
"Panel and valve total pressure
drop"
"Pressure at water inlet"
VARIABLES
/*type
Temp
Temp
Temp
Temp
HeatFlux
MassFlow
Temp
Temp
HeatFlux
name
dT
Tair
Tsurf
TLiq
P
M
Tin
Tout
Qfront
role
LOC
IN
OUT
LOC
LOC
OUT
IN
OUT
IN
def
10
26
15
16
90
0.05
15
15.5
58
min
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
0
0
ABS_ZERO
ABS_ZERO
-BIG
max
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
HeatFlux
Qconv
OUT
30
-BIG
BIG
HeatFlux
Qwall
OUT
-BIG
BIG
Temp
Pressure
Twall
Dp
IN
LOC
15
600
ABS_ZERO
0
BIG
BIG
Pressure
P1
IN
600
BIG
36
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
Pressure
Control
P2
Contr
IN
IN
0
1
0
-BIG
GENERIC
G0
A_S
GENERIC
DpOk
A_S
GENERIC
ExpLoc
LOC
-0.03
BIG
1
-BIG
BIG
P = m c p (TIn TOut )
TIn TOut
dT
(58)
where dT is logarithmic temperature difference between the water and the air, C.
The total heat generated by the unit is modeled with the equation below. This relation is based on
empirical material collected by manufacturers.
P = k l dT n
(59)
where k is a powerlaw coefficient which depends on the width and type of the unit, W / (m Kn)
l is length of the radiator, m.
If the temperature difference is less than 1 K, the equation above is replaced by
P = k l dT
(60)
where
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
QWall is the heat transfer between the back side of the unit and the facing zone surface.
QWall is modeled as long wave radiation between the wall and the unit, unless the parameter hBack is
given a non-negative value. In the latter case, hBack acts a constant heat transfer coefficient for the
exchange with the wall; e.g. hBack = 0 can be used to isolate the unit from the back wall.
The massflow can be determined in several ways. Typically, the flow is determined by a control
signal from a controller
(62)
where contr is the control signal. This regime requires the water side pressure dp to be larger than
the parameter dp0 and contr to be non-negative.
When the water side pressure drops below dp0 and the control signal contr stays higher than 0.5,
the massflow is calculated with the equation
m = m min
dp
dp 0
(63)
If the control signal contr is set less than -0.5, the massflow is calculated with the equation
m = m max
dp
dp0
(64)
PARAMETERS
/*type
name
role
def
min
max
description*/
GENERIC
Factor
Length
Length
HeatCapM
HeatCond
k
n
strip_h
length
cp_liq
hback
S_P
S_P
S_P
S_P
S_P
S_P
4.18
1.28
0.5
1.5
4187
2
SMALL
0.5
SMALL
SMALL
SMALL
-BIG
BIG
2
BIG
BIG
BIG
BIG
Factor
Factor
Factor
Pressure
kFin
eLWRad
eLWWall
dp0
S_P
S_P
S_P
S_P
.2
.9
.9
1
0
-BIG
-BIG
SMALL
0.5
1.0
1.0
BIG
MassFlow
MassFlow
mmax
mmin
S_P
S_P
0.01
1.e-6
SMALL
SMALL
BIG
BIG
Factor
Area
Factor
eLW
area
kF_A
C_P
C_P
C_P
.8
SMALL
.25
1.0
role
LOC
IN
OUT
LOC
LOC
OUT
IN
def
0.2
25
26
30
1
0.001
30
min
-BIG
ABS_ZERO
ABS_ZERO
ABS_ZERO
0
SMALL
ABS_ZERO
max
BIG
BIG
BIG
BIG
BIG
BIG
BIG
description*/
"Air-to-surface temp difference"
"Surrounding air temperature"
"Average surface temperature"
"Average liquid temperature"
"Total emitted heat"
"Water massflow"
"Supply water temperature"
VARIABLES
/*type
Temp
Temp
Temp
Temp
HeatFlux
MassFlow
Temp
name
dT
Tair
Tsurf
TLiq
P
M
Tin
38
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
Temp
HeatFlux
front"
HeatFlux
HeatFlux
Temp
Pressure
Pressure
Pressure
Control
Tout
Qfront
OUT
IN
29
-5
ABS_ZERO
-BIG
BIG
BIG
Qconv
Qwall
Twall
Dp
P1
P2
Contr
OUT
OUT
IN
LOC
IN
IN
IN
6
0
26
600
600
0
0
-BIG
-BIG
ABS_ZERO
0
0
0
-BIG
BIG
BIG
BIG
BIG
BIG
BIG
1
GENERIC
G0
A_S
600
GENERIC
DpOk
A_S
GENERIC
ExpLoc
LOC
-1
BIG
P = control Pmax
(65)
Heat balances for the radiator and the wall surface node are included in the model.
The model calculates convective heat transfers behind the radiator, for both radiator and back wall.
Both these fluxes are delivered to the zone via separate interfaces.
The heat transfer coefficients for these transfers are calculated in an external Fortran subroutine
HCRAD developed by Jan Akander [Akander 1996]. The subroutine is based on a report by Isflt
and Peterson [Isflt et al 1964].
The long wave radiation between the radiator and the wall is modeled with the equation
4
(66)
39
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
PARAMETERS
/*type
Length
Length
Length
Factor
Factor
HeatFlux
name
radHeight
radWidth
dSpace
eLWRad
eLWWall
PMax
role
S_P
S_P
S_P
S_P
S_P
S_P
def
.5
1
.05
.9
.9
2000
min
0
0
SMALL
0
0
0
max
BIG
BIG
BIG
1.0
1.0
BIG
description*/
"radiator height"
"radiator width"
"distance between radiator and wall"
"radiator back emissisivity"
"wall long wave emissisivity"
"Radiator max effect "
/*derived
Area
Factor
parameters
area
eLW
*/
C_P
C_P
5.
.8
SMALL
0
BIG
1.0
"wall area"
"long wave emissisivity"
role
IN
IN
IN
IN
OUT
OUT
OUT
OUT
OUT
OUT
LOC
LOC
LOC
def
1
25
25
25
0
0
0
0
0
0
0
5
5
min
0
ABS_ZERO
ABS_ZERO
ABS_ZERO
-BIG
-BIG
-BIG
-BIG
-BIG
-BIG
0
0
0
max
1
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
description
*/
"Radiator power control"
"Radiator temp"
"Wall exterior surface temp"
"Zone temp entering space"
"Heat transfer atradiator front side"
"Influx wall interior side"
"Radiative flux behind rad"
"Convective flux behind radiator"
"Convective flux at wall"
"Convective flux to space"
"Radiator effect"
"Heat transfer coefficient at radiator back"
"Heat transfer coefficient at wall"
VARIABLES
/*type
Control
Temp
Temp
Temp
HeatFlux
HeatFlux
HeatFlux
HeatFlux
HeatFlux
HeatFlux
ElPowerCons
HeatCondA
HeatCondA
name
Contr
TRad
Tpa
TZone
QRadFront
Qa
QLWBack
QConvBack
QConvWall
QRadConv
PRad
HTCRadBack
HTCWall
This model describes a cooling unit directly connected to the supply air and acting as a terminal with
CAV/VAV modes. The model is a hybrid of the supply terminal, CESUPT, and cooling panel,
CECOLPNL, models.
The combined model is required since the parameters that define the total cooling power vary as a
function of supply air flow. The power is modeled with the equation
P = k l dT n
where k and n are powerlaw coefficients which depend on the current mass flow
l is length of the cooling panel, m.
The cooling power parameters k and n are put in a table
Mass flow
k
n
m1
k1
n1
m2
k2
n2
...
...
...
mp
kp
np
kp+1
np+1
When mi < m < mi +1 , select ki+1 and ni+1, etc, with suitable changes when m < m1 or m p < m .
40
(67)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
For explanations of the other equations, see the two combined models.
MODEL_PARAMETERS
INT
INT
nPoint
nSlot
SMP
SMP
3
4
1
2
PARAMETERS
/*type
Pressure
MassFlow
MassFlow
Factor
name
dp0
mMax
mMin
cLow
role
S_P
S_P
S_P
S_P
def
5
.01
.001
.001
min
SMALL
SMALL
SMALL
0
max
BIG
BIG
BIG
BIG
description
*/
"limit for flow control action"
"max requestable massflow"
"min requestable massflow"
"massflow when 'off',
i.e. CentralMode = 0"
MassFlow
MassFlow
HeatCapM
Pressure
Length
MLiqMax
MLiqMin
cp_liq
dp0Liq
Length
S_P
S_P
S_P
S_P
S_P
.006
.0001
4187
5
1
SMALL
SMALL
SMALL
SMALL
SMALL
BIG
BIG
BIG
BIG
BIG
Factor
Factor
k[nSlot]
n[nSlot]
S_P
S_P
10
1.2
SMALL
SMALL
BIG
BIG
MassFlow
Point[nPoint]
S_P
0.024
SMALL
BIG
VARIABLES
/*type
Pressure
Pressure
massflow
Pressure
name
P1
P2
M
Dp
role
IN
IN
OUT
LOC
def
1375
1325
0.024
50
min
-BIG
-BIG
0
0
max
BIG
BIG
BIG
BIG
description*/
"pressure in"
"pressure out"
"massflow through terminal"
"eff pressure diff"
temp
temp
Enthalpy
HeatFlux
T1
T2
HSupt
Q
IN
IN
LOC
OUT
20
25
40000
0.
ABS_ZERO
ABS_ZERO
-BIG
-BIG
BIG
BIG
BIG
BIG
"temperature in"
"temperature zone"
"enthalpy of supply air"
"heat convected by massflow"
fraction_y
fraction_y
FractFlow_y
X1
X2
Xf
IN
IN
OUT
594
594
0
0
0
-BIG
BIG
BIG
BIG
HumRatio
HumRatio
HumFlow
Hum1
Hum2
Humf
IN
IN
OUT
0.006
0.006
0
SMALL
SMALL
-BIG
BIG
BIG
BIG
Control
Contr
IN
"Controller input
0-> mMin,
1 ->mMax"
Control
CentralMode
IN
-BIG
BIG
"Forcing control, =
>0 local control
0 low flow
<0 natural vent"
/*Liq part */
Control
Pressure
Pressure
LiqContr
PLiqIn
PLiqOut
IN
IN
IN
0
500
0
0
SMALL
0
1
BIG
BIG
MassFlow
Temp
Temp
Temp
Power
Factor
MLiq
TLiqIn
TLiqOut
dT
P
ExpLoc
OUT
IN
OUT
OUT
LOC
LOC
0.001
14
16
0
0
0.1
SMALL
0
0
0
0
SMALL
BIG
BIG
BIG
BIG
BIG
BIG
"Water massflow
"
"Water inlet temperature"
"Water outlet temperature"
"Temp diffrence air and water average"
"Cooling power"
"Help variable"
41
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
Pressure
Pressure
Pressure
Factor
Factor
Factor
DpLiq
DpLiqm
DpOKLiq
kact
nact
Fac[nSlot]
LOC
A_S
A_S
LOC
LOC
LOC
50
1
1
10
1.2
0
BIG
0
SMALL
SMALL
0
1
BIG
BIG
1
42
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
The models are basically the same except for the algorithmic/continuous property. Algorithmic
models can not be used between continuous models, but are used for efficiency reasons in those
parts of a system where causal modelling is adequate. The two main areas are for handling of climate data preparations and for postprocessing.
For both proportional controllers, the control curve is piecewise linear and the breakpoints are given
as parameters. The first and last lines of the curve are extrapolated if needed. The minimum number
of the breakpoints is two (a straight line). Three points define two lines, etc.
The model is used for instance to provide boiler temperature setpoint depending on outdoor temperature.
The events are generated when the input variable changes segment.
The model contains non-standard NMF features. Thus, when translating, the 'Break on errors' option
should be turned off in the NMF Translator.
The figure below shows an example where water supply temperature to radiators is controlled as a
function of outdoor air temperature. The parameters for the coordinate vectors of the control points
are: InCoord 30, -26, 20, 30 and OutCoord 70, 70, 20, 20.
Radiator supply water temperature
70
60
50
40
30
20
10
0
-30
-26
20
Outdoor tem perature
PLinSegm model
43
30
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
MODEL_PARAMETERS
INT
INT
nPoint
nOutLink
SMP
SMP
2
1
2
1
PARAMETERS
/*type
Generic
Generic
name
InCoord[nPoint]
OutCoord[nPoint]
role
S_P
S_P
def
1
1
min
-BIG
-BIG
max
BIG
BIG
description
*/
"X-coordinate of linear segments"
"Y-coordinate of linear segments"
Generic
Generic
Slope[nPoint]
b[nPoint]
C_P
C_P
1
1
-BIG
-BIG
BIG
BIG
role
IN
OUT
A_S
A_S
def
20
1
1
1
min
-BIG
-BIG
1
-BIG
max
BIG
BIG
BIG
BIG
description*/
"Incoming signal"
"Outgoing signal"
"Memory of old interval"
"Event memory"
SMP
SMP
2
1
2
1
VARIABLES
/*type
Generic
Generic
Generic
Generic
name
InSignal
OutSignal
i_old
G0
PLinSegm model
MODEL_PARAMETERS
INT
INT
nPoint
nOutLink
PARAMETERS
/*type
Generic
Generic
name
InCoord[nPoint]
OutCoord[nPoint]
role
S_P
S_P
def
1
1
min
-BIG
-BIG
max
BIG
BIG
description
*/
"X-coordinate of linear segments"
"Y-coordinate of linear segments"
Generic
Generic
Slope[nPoint]
b[nPoint]
C_P
C_P
1
1
-BIG
-BIG
BIG
BIG
role
IN
OUT
A_S
A_S
def
20
1
1
1
min
-BIG
-BIG
1
-BIG
max
BIG
BIG
BIG
BIG
description*/
"Incoming signal"
"Outgoing signal"
"Memory of old interval"
"Event memory"
VARIABLES
/*type
Generic
Generic
Generic
Generic
name
InSignal
OutSignal
i_old
G0
11.2 PSMOOTH and PSMOOTH2: Proportional controllers with smooth control curve
Both P-controllers replace the linear proportional band by a sine-shaped approximation. This is done
to avoid the need for event handling when the input variable passes the ends of the band.
The library has two versions of the model: PSMOOTH and PSMOOTH2. In the first one, the proportional band is defined by parameters, hi and lo. In the latter one, the band is variable and is defined
by two inputs, SetPoint and PropBand, giving band midpoint and band width, respectively.
A normalized ramp position is calculated by
RampPos = Measure
44
( hi + lo) / 2
hi lo
(68)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
In the Psmooth2 model, the hi and lo values are calculated from SetPoint and PropBand
hi = SetPoint +
PropBand
2
(69)
lo = SetPoint
PropBand
2
(70)
In the case where PropBand is negative, the controller is used as a radiator type control, i.e. the outsignal is increasing if the measured value is decreasing.
The OutSignal is calculated with the equation:
OutSignal = (sin( RampPos * ) + 1) / 2
(71)
If RampPos is higher than 0.5, OutSignal will be set to 1, and if RampPos is less than -0.5, OutSignal will be set to 0.
The smoothed curve is presented in the figure below.
1
0,9
0,8
0,7
0,6
OutSignal
0,5
Linear
0,4
0,3
0,2
0,1
0
-0,5
-0,3
-0,1
0,1
0,3
0,5
Psmooth model
MODEL_PARAMETERS
INT
SMP
PARAMETERS
GENERIC
hi
S_P
23
-BIG
BIG
GENERIC
lo
S_P
21
-BIG
BIG
45
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
VARIABLES
GENERIC
GENERIC
GENERIC
GENERIC
RampPos
Measure
OutSignal
OverRide
LOC
IN
OUT
IN
2
20
0.5
1
-BIG
-BIG
0
-BIG
BIG
BIG
1
BIG
Psmooth2 model
MODEL_PARAMETERS
INT
SMP
VARIABLES
GENERIC
GENERIC
GENERIC
GENERIC
RampPos
Measure
OutSignal
OverRide
LOC
IN
OUT
IN
GENERIC
GENERIC
SetPoint
PropBand
IN
IN
GENERIC
hi
LOC
GENERIC
lo
LOC
The setpoint of the controller is taken from an input variable. The sign of the error signal can be
reversed by a parameter Mode, to select between heating or cooling type control.
The out signal is calculated with the equation
OutSignal = k ( E + I )
where
(72)
k is gain parameter
E is control difference
I is integrator term
E OutSignal OutSignalTemp
+
ti
tt
(73)
OutSignalTemp is the unlimited OutSignal, which can be go outside the interval (0,1).
ti integration time
tt tracking time
46
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
MODEL_PARAMETERS
INT
SMP
role
S_P
S_P
S_P
S_P
def
0.3
30
300
0
min
SMALL
SMALL
SMALL
0
max
BIG
BIG
BIG
1
description */
"Gain parameter"
"Integration time in seconds"
"Tracking time in seconds"
"Control mode
role
IN
IN
OUT
OUT
LOC
LOC
def
18
18
1
0.5
0
0.5
min
-BIG
-BIG
-BIG
0
-BIG
-BIG
max
BIG
BIG
BIG
1
BIG
BIG
description*/
"Reference signal"
"Input signal"
"Integrator term"
"Control signal"
"Control difference"
"Control signal (temp)"
PARAMETERS
/*type
Generic
Generic
Generic
Generic
name
k
ti
tt
mode
0 heating type control
1 cooling type control"
VARIABLES
/*type
Generic
Generic
Generic
Generic
Generic
Generic
name
SetPoint
Measure
Integ
OutSignal
E
OutSignalTemp
The ASHRAE Secondary Toolkit contains a large group of models without built-in control, in contrast to many of the models developed specifically for the IEA Task 22 library. When combining
models from both groups, PMTCONTR is a suitable model for control of liquid flow in the
ASHRAE models. The name is derived from the type of link (PMT) used for the controlled flow.
If the massflow control signal contr is positive, ideal internal massflow control is enabled according
the equation below:
m = m max * contr + m min (1 contr )
(74)
When dp drops below dp0, linear (laminar) flow is assumed and the requested massflow is no longer
maintained
dp
(75)
m = m min
dp 0
The flow control can also be turned off by giving a negative control signal, in which case
m = m max
p
p 0
47
(76)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
PARAMETERS
Pressure
dp0
longer maintained"
MassFlow
mmax
MassFlow
mmin
S_P
50
BIG
S_P
S_P
0.01
1.e-6
SMALL
SMALL
BIG
BIG
"Fluid massflow"
"Fluid temperature"
"Valve total pressure drop"
"Pressure at inlet"
"Pressure at outlet"
"Pressure drop at previous timestep"
"Controller input 1 -> mmax,
0 -> mmin,
a negative value (< -0.5) turns off control action"
"Mode memory"
VARIABLES
MassFlow
Temp
Pressure
Pressure
Pressure
Pressure
Control
M
T
Dp
P1
P2
Dpm
Contr
OUT
IN
LOC
IN
IN
A_S
IN
0.01
30
0
0
0
0
-BIG
0
0
0
BIG
BIG
BIG
BIG
BIG
0.5
-BIG
BIG
GENERIC
Mode
A_S
48
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
The convective heat transfer coefficient is calculated with an external Fortran subroutine U_FILM.
The coefficient is a function of temperature difference between the air and the surface and the slope
of the surface [Brown & Isflt, 1974]. See Figure below. The X-axis is the temperature difference
between air surface. In the floor case, the temperature difference is between surface and air.
4.5
4
3.5
3
2.5
2
1.5
1
0.5
0
-1.0
Horizontal
Vertical
1.0
3.0
5.0
7.0
dT
The models below used for heat load from occupants were developed by Fanger [ISO 7730 1984].
The convective heat load from occupants is
Qcv ,occ = f cl hcl 1.8(Tcl TAir ) + 1.8 0.014 M (34 TAir )
where fcl is ratio of surface area while clothed to surface area while naked, 49
(77)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
2.38 (t cl t a ) 0.25
12.1 var
(78)
1.00 + 1.29 I cl
1.05 + 0.645 I cl
(79)
(80)
where Tmrt is the mean radiant temperature in the point of the occupant, C
(81)
50
(82)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
The zones can have local convective units for heating and cooling. Power is calculated by the equation
QLocUnit = CtrLocUnit QLocMax
(83)
where CtrLocUnit is the control signal of the unit, QLocMax is maximum power of the unit, W.
The control signal is provided via a link. Typically, the local unit is controlled by a PI-controller,
which takes input from zone air temperature.
In the case of a cooling unit (QLocMax is less than 0) a fictitious airflow through the unit is calculated in order to estimate possible condensation in the unit. Condensation will occur if the coil surface temperature is below the dewpoint temperature of the air. The coil surface temperature is given
as a parameter.
The electricity needed to produce the actual cooling power is calculated with the equation
QEl =
QLocUnit
COP
(84)
The enclosure of the zone is made up of a number of quadrangles that currently have to be rectangular. The description of the geometry uses a list of vertices, described by coordVert[3,nVert], where
nVert is the number of vertices. The surfaces are described by specifying their vertex numbers in
vertSurf[4,nSurf], where nSurf is number of surfaces. The vertices should be listed anticlockwise
viewed from outside of the zone.
To describe the vertices of a shoebox room with floor dimensions 4 by 5 and height 3 m, the needed
vertices could be placed in coordVert for instance in the following order
51
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
coordVert
X
0
4
4
0
0
4
4
0
Y
0
0
5
5
0
0
5
5
Z
0
0
0
0
3
3
3
3
and the surfaces, with floor, ceiling first, could then appear in vertSurf
vertSurf
1
4
3
2
5
6
7
8
1
2
6
5
2
3
7
6
3
4
8
7
4
1
5
8
The surfaces have to be in a certain order described in the figure below.
|
|
|
|
mains |
walls
surfaces
|
subsurfaces
|
| light | windows | HC surfaces |
|
SW rad surfs |
|
First the walls are listed. Among the walls, the main surfaces have to be listed first, then follow subsurfaces, for instance doors. After the walls, the light surface and windows are defined. They make
up the short-wave radiative surfaces. The last group of surfaces are heated-cooled surfaces, occupied
by radiators or cooling panels.
A shoebox shaped room with a door, a light, two windows, a radiator and a cooling panel gets the
following model parameters:
nSurf
12
nMain
6
nWall
7
nLite
1
nWind
2
nHCSurf 2
nSub
6
nRad
3
The subroutines used to calculate the view factors were developed by Li Yuguo [Yuguo 1992]. The
subroutines have several limitations:
= all surfaces have to be rectangular
= all surfaces have to see each other
52
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
The calculation of mean radiant temperature is based on view factors calculated between the zone
surfaces and an infinitely small cube. For each side of the cube, only the view factor for the parallel
surface directly in front is calculated. The sum of this first set of view factors is not 1, and thus, a
second corrected set is obtained by dividing with the sum of the first set.
There are two classical methods available for the radiative exchange within a diffuse-gray enclosure:
the net radiation method and the absorption method. The net radiation method is used here to calculate the internal radiation flows.
The internal radiation flows used in the model are absolute (W). All view factors, material properties
and surface sizes have been incorporated into two matrices of total absorption factors. In the model
equations, these matrices are multiplied by naked source terms (black body emission, short-wave
radiation from sun and lighting) to generate net energy flows to each surface.
The derivation of these equations is only indicated here.
In an enclosure, we can express the irradiance onto one surface as a function of the radiosities from
all surfaces
Gi =
Fij J j
(85)
where J is radiosity, W / m2
F is view factors, G is irradiation, W / m2.
We write radiosity as a sum of emitted and reflected fluxes;
for long-wave
J i = i Wb + (1 i ) Gi
(86)
Pi
+ i Gi
Ai
53
(87)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
(88)
(89)
The previous section describes handling of radiation emanating from zone surfaces. Inside the zone
we also generate long-wave radiation from equipment and occupants. This radiation is handled in
the same way as in the previous section and contributes to net long-wave radiation by a second
source term
Q lw = psi lw Wb + psi lwrad (Q lwEquip + Q lwOcc )
where psilwrad is long-wave net absorption matrix for internal sources, QlwEquip is long-wave radiation from equipment, W
QlwOcc is long-wave radiation from occupants, W.
54
(90)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
Currently the exact location of the internal sources is not specified; for this reason, no extra view
factors are calulated but the distribution of their radiation is primarily, i.e. before the first reflection,
set proportional to the surface areas. The calculation of the absorption matrix is done in subroutine
LWFACRAD during PARAMETER_PROCESSING.
12.2.6 Temperature gradient and displacement ventilation
The model can handle well mixed air or a linear vertical gradient. The gradient can either be constant, specified by a parameter, or calculated from a model for displacement ventilation developed
by Elisabeth Mundt [Mundt 1995].
The zone air volume is described by an air node with heat capacity. The temperature of this node is
valid at the ceiling of the zone. All heat transfer to the zone air feed into this node. If the gradient is
non-zero, whether given or calculated, an air temperature at floor level is calculated and temperatures at zone surfaces and air terminals are interpolated between air temperatures at floor and ceiling
levels.
When displacement ventilation is specified, the air temperature at floor level is calculated from a
heat balance between supply air flow and convection at the floor
m air c pair (TAirFloor TSupply ) = hc A (TFloor TAirFloor )
(91)
The daylight calculation subroutine, LITEFAC, finds surface areas located above desk level, calculates view factors between these surfaces and the desk and puts the factors in a matrix. With this
matrix, the short-wave irradiation from windows onto the desk surface is calculated and converted to
55
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
illuminance. The conversion factors used are 103 lum/W for direct solar radiation and 133 lum/W
for diffuse radiation [Johnsen and Grau 1994].
MODEL_PARAMETERS
/* type
INT
INT
INT
INT
INT
INT
INT
INT
name
nSurf
nMain
nWall
nLite
nWind
nHCSurf
nSub
nRad
role
SMP
SMP
SMP
SMP
SMP
SMP
SMP
CMP
def
6
6
6
1
0
0
1
1
min
2
1
1
1
0
0
0
1
max */
BIGINT
BIGINT
BIGINT
1
BIGINT
BIGINT
BIGINT
BIGINT
"all surfaces"
"main surfaces"
"walls"
"lighted surfaces"
"windows"
"heated or cooled surfaces"
"subsurfaces"
"SW-emitting surfaces"
INT
INT
INT
INT
nC
nV
nVert
nCSurf
SMP
SMP
SMP
SMP
3
4
8
12
3
3
8
9
3
BIGINT
BIGINT
BIGINT
"coordinates/vertex = 3"
"vertices/surface"
"vertices"
"coordinates/surface"
INT
INT
nUnit
nOp
SMP
SMP
0
0
0
0
INT
INT
nTerminal
nSensor
SMP
SMP
1
1
0
0
INT
nLocUnit
SMP
PARAMETERS
/*type
name
role
def
min
max
description*/
/*Load
Power
Factor
Factor
sources
liteRatedInput
liteFractVisible
liteFractLw
*/
S_P
S_P
S_P
150
.1
.6
0
0
0
BIG
1
1
HeatFlux
Radiation
HumFlow
FractFlow_y
QSrcCvEquip[nUnit]
QSrcRadEquip[nUnit]
VapFSrcEquip[nUnit]
CO2FSrcEquip[nUnit]
S_P
S_P
S_P
S_P
100
50
0.01
50
-BIG
-BIG
-BIG
-BIG
BIG
BIG
BIG
BIG
Factor
nOcc[nOp]
S_P
BIG
"number of occupants"
S_P
S_P
S_P
.9
.9
90
SMALL
SMALL
0
1
1
180
Factor
mainSurf[nSub]
S_P
BIG
Length
Factor
coordVert[nc,nVert]
vertSurf[nv,nSurf]
S_P
S_P
0
1
-BIG
1
BIG
BIG
"coordinates of vertices"
"vertices of surfaces"
S_P
S_P
S_P
S_P
0
1
0
1
-BIG
.8
0
0
BIG
4
BIG
2
Velocity
Factor
AirVel[nOp]
fCl[nOp]
S_P
C_P
.1
"locations of op points"
"Activity[Met], 1 Met = 58 W/m2"
"Outer work, normally 0"
"Heat res[clo] of clothes
1 clo = 0.155 (m2 K)/W"
"Air velocity"
"Factor for area increase thru clothes"
/*
Factor
Length
Gradient
nfloor
zOp[nOp]
part
S_P
S_P
*/
6
.6
1
0
BIG
BIG
Factor
Displace
S_P
56
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
Factor
fixGradient
S_P
-1
-1
*/
S_P
S_P
S_P
1
1
0.85
SMALL
SMALL
SMALL
BIG
BIG
BIG
""
""
""
/* Air terminals */
Length
zTerm_0
Length
zTerm[nTerminal]
S_P
S_P
2.4
2.4
SMALL
SMALL
BIG
BIG
"Height of terminal"
"Height of terminal"
/* Furniture */
Factor
generic
levelFurn
furnDens
S_P
S_P
0.2
50
0
SMALL
BIG
BIG
Length
zSensor[nSensor]
S_P
2.4
SMALL
BIG
"Height of sensor"
/* Local units */
HeatFlux
QMaxLoc[nLocUnit]
Temp
TCoil[nLocUnit]
Factor
COP[nLocUnit]
S_P
S_P
S_P
0
5
1
-BIG
-BIG
1
BIG
BIG
BIG
/* CALCULATED PARAMETERS */
Length
zSurf[nsurf]
C_P
Area
Area
Area
ASurf[nSurf]
ALite
ATot
C_P
C_P
C_P
"Surface area"
"Light surface area, parallel and close to ceiling"
"Total surface area for zone"
Length
Area
Volume
zAir
AFloor
VZone
C_P
C_P
C_P
Factor
Factor
Factor
Factor
Factor
Factor
Factor
Factor
fi[nSurf,nSurf]
sumFi[nSurf]
psiLw[nSurf,nSurf]
psilwrad[nSurf]
psiSw[nSurf,nRad]
fiMrt[nSurf,nOp]
SumfiMrt[nOp]
SumfiMrtDir[nMain]
C_P
C_P
C_P
C_P
C_P
C_P
C_P
C_P
"View factors"
"Row sum of view factors"
"LW absorption matrix [from,to]"
"internal source LW absorption coeff"
"SW absorption matrix [to,from]"
"View factors for operative points"
"Sum of view factors for operative points"
"Sum of view factors from 1st operative point to main
surfaces include it's subsurfaces"
Factor
Area
Factor
fiDesk[nSurf]
ASeesDesk[nSurf]
jSw[nSurf,nSurf]
C_P
C_P
C_P
Mass
HeatCap
HeatCap
HeatCond
MassAir
CAir
CFurn
hAFurn
C_P
C_P
C_P
C_P
VARIABLES
/*type
name
/*WINDOWS*/
Angle
AzimutIn[nWind]
Angle
ElevIn[nWind]
role
def
min
max
description*/
IN
IN
0
0
0
-90
360
90
Radiation
Radiation
Radiation
Radiation
Radiation
QDfWind2Zone[nWind]
QDrWind2Zone[nWind]
QSwWind2Amb[nWind]
QSwWind2Zone[nWind]
QDayLite
IN
IN
OUT
LOC
LOC
0
0
0
0
0
0
0
-BIG
0
0
BIG
BIG
0
BIG
BIG
/*LIGHT*/
ElPowerCons
HeatFlux
HeatFlux
HeatFlux
HeatFlux
QLite
QSwLite
QCvLite2AirUp
QLwLite2Ceil
QLc2CeilLit
LOC
LOC
LOC
LOC
LOC
0
0
0
0
0
0
0
0
-BIG
-BIG
BIG
BIG
BIG
BIG
BIG
57
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
HeatFlux
HeatFlux
QLiteDown
QLcLiteUp
LOC
LOC
0
0
-BIG
-BIG
BIG
BIG
Temp
Temp
Temp
TLite
TAirCeilLit
TCeilLit
OUT
LOC
LOC
27
27
27
ABS_ZERO
ABS_ZERO
ABS_ZERO
BIG
BIG
BIG
Factor
Factor
hLite
hCeilLit
LOC
LOC
2
2
0
0
-BIG
-BIG
*/
OUT
LOC
OUT
LOC
OUT
IN
LOC
0
0
0
0
0
0
0
-BIG
-BIG
-BIG
-BIG
-BIG
-BIG
-BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
HeatFlux
Radiation
Radiation
HeatFlux
RadiationA
QCv2Zone
QLw2Surf[nSurf]
QSw2Surf[nSurf]
Q2SurfSpec[nWall]
M0[nSurf]
LOC
LOC
LOC
LOC
LOC
0
0
0
0
462
-BIG
-BIG
-BIG
-BIG
SMALL
BIG
BIG
BIG
BIG
BIG
ElPowerCons
ElPowerCons
HeatFlux
QCvEquip2Zone
QRadEquip2Zone
QEquip2Zone
LOC
LOC
LOC
0
0
0
-BIG
-BIG
-BIG
BIG
BIG
BIG
HeatFlux
HeatFlux
HeatFlux
QCvOcc2Zone
QLwOcc2Zone
QOcc2Zone
LOC
OUT
LOC
0
0
0
-BIG
-BIG
-BIG
BIG
BIG
BIG
HeatFlux
QFurn2Zone
LOC
-BIG
BIG
HeatCondA
h[nSurf]
LOC
BIG
/*TEMPERATURES*/
Temp
TAir
Temp
TAirMean
Temp
TAirSurf[nsurf]
Temp
TAirHCSurf[nHCSurf]
OUT
LOC
LOC
OUT
25
25
25
25
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
BIG
BIG
BIG
BIG
Temp
TFurn
OUT
25
ABS_ZERO
BIG
"Furniture temp"
Temp
Temp
Temp
Temp
TSurf[nSurf]
TWall[nWall]
TWind[nWind]
THCSurf[nHCSurf]
LOC
IN
IN
IN
25
25
25
25
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
BIG
BIG
BIG
BIG
"Surface temp"
"Wall surface temp"
"Window surface temp, innermost pane"
"Heating or Cooling surface temp"
/*CONTROLS*/
Temp
TSensor[nSensor]
OUT
25
ABS_ZERO
BIG
Control
Control
Control
IN
IN
IN
0
0
0
0
0
0
1
1
1
"Occupancy On / Off"
"Equipment On / Off"
"Lite On / Off"
/*STRATIFICATION*/
MassFlow
MSupply
HumRatio
HumSupply
Temp
TSupply
Enthalpy
HSupply
Temp
TAirFloor
Temp
TAirFloorChk
Factor
Gradient
LOC
LOC
LOC
LOC
LOC
LOC
OUT
0
0
25
40000
25
25
-1
-BIG
0
ABS_ZERO
-BIG
ABS_ZERO
ABS_ZERO
-BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
Control
Generic
A_S
A_S
0
0
-1
0
1
1
schedOcc[nOp]
schedEquip[nUnit]
LiteOn
ChgStrat
GradOn
58
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
/*PMV AND PPD CALCULATION
Temp
TAirOp[nOp]
Temp
TMrtOp[nOp]
*/
LOC
LOC
25
25
ABS_ZERO
ABS_ZERO
BIG
BIG
Temp
Temp
TMrtOpDir[nMain]
TOpDir[nMain]
LOC
LOC
25
25
ABS_ZERO
ABS_ZERO
BIG
BIG
Temp
Factor
Factor
Factor
Temp
TOp[nOp]
PMV[nOp]
PPD[nOp]
hCl[nOp]
TCl[nOp]
LOC
LOC
LOC
LOC
OUT
25
0
5
4
30
ABS_ZERO
-3
5
0
ABS_ZERO
BIG
3
100
BIG
BIG
"Operative temperature"
"PMV index"
"PPD index"
"Heat transfer coeff clothes to air"
"Temp of clothes"
/* DAYLIGHT */
Radiation
QSwSurf2Zone[nSurf]
Generic
EWorkplane
Factor
lmPerW
LOC
LOC
LOC
0
0
118
0
0
0
BIG
BIG
BIG
/*TERMINALS */
Temp
TAirTerm_0
Temp
TAirTerm[nTerminal]
MassFlow
MF_0
MassFlow
MF[nTerminal]
HeatFlux
Q_0
HeatFlux
Q[nTerminal]
HeatFlux
QTerm2Zone
HeatFlux
QTerm2Air
OUT
OUT
OUT
IN
IN
IN
LOC
LOC
20
20
0.024
0.024
917
917
917
917
ABS_ZERO
ABS_ZERO
-BIG
-BIG
-BIG
-BIG
-BIG
-BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
/*FRACTION C02 */
Fraction_y
XCO2
FractFlow_y
XF_0
FractFlow_y
XF[nTerminal]
Generic
XCO2Vol
OUT
IN
IN
LOC
594
0
0
330
SMALL
-BIG
-BIG
SMALL
BIG
BIG
BIG
BIG
/*
HumRatio
[kg/kg]"
HumFlow
HumFlow
HumFlow
HUMIDITY
XHum
*/
OUT
0.002
SMALL
BIG
VapFOcc2Zone
VapF_0
VapF[nTerminal]
LOC
IN
IN
0
0
0
0
-BIG
-BIG
BIG
BIG
BIG
HumRatio
XHumLoc
OUT
0.002
SMALL
BIG
HumRatio
HumRatio
Factor
HumSat
HumAS
Saturated
LOC
A_S
A_S
0.005
-0.1
0
SMALL
-BIG
0
BIG
BIG
1
"Saturated humidity"
"Sat memory
"
"0 = Normal 1 = Saturated"
/*
Pressure
Pressure
Pressure
Factor
PRESSURE
P
PVap
PVapSat
RelativeHum
*/
IN
LOC
LOC
OUT
1325
1300
4000
0.3
SMALL
SMALL
SMALL
SMALL
BIG
2700
BIG
1
NumFlow_h
ACH
LOC
0.5
BIG
/*
Enthalpy
Enthalpy
HeatFlux
HeatFlux
Control
HumRatio
Local
HAir
HChillCoil[nLocUnit]
QLocalUnit[nLocUnit]
QLocUnit
CtrLocUnit[nLocUnit]
WChillCoil[nLocUnit]
units
LOC
LOC
LOC
LOC
IN
LOC
*/
20000
20000
0
0
0
0.003
-BIG
-BIG
-BIG
-BIG
0
SMALL
BIG
BIG
BIG
BIG
1
BIG
MassFLow
ElPowerCons
HumFLow
MAir[nLocUnit]
QEl[nLocUnit]
Wf[nLocUnit]
LOC
LOC
LOC
0
0
0
0
0
0
BIG
BIG
BIG
"Air enthalpy"
"Leaving air enthalpy"
"Heatflux from local unit[i]"
"Heatflux from all local units"
"Local unit On / Off"
"Moisture cont of cooling coil
leaving air"
"Ficticious air assflow throug the unit"
"El. consumption"
"Condesation in local unit"
59
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
The simplified zone model is intended for energy simulations. It sacrifices some detail in order to
gain execution time. Thus, all internal walls are combined into one thermal capacity. The internal
walls are assumed adiabatic i.e. there is no net transmission through them. The calculation of the
active capacity of the internal walls is done in subroutine ACTIVCAP, based on methods developed
by Jan Akander and Gudni Johannesson. [Johannesson 1982]
The long-wave radiation is modeled with mean radiant temperature
nSurf
i =1
Ai (Tsurf [i ] Tmrt ) = 0
(92)
name
nSurf
nWall
nExtWall
role
SMP
SMP
SMP
def
9
6
1
min
2
1
0
max
BIGINT
BIGINT
BIGINT
INT
nIntWall
SMP
INT
INT
INT
nLite
nWind
nHCSurf
SMP
SMP
SMP
1
1
1
1
0
0
description*/
"all surfaces"
"walls"
"external walls, modelled as
separate"
BIGINT "internal walls, combined to
one in parameter proc"
1
"lighted surfaces"
BIGINT "windows"
BIGINT "heated or cooled surfaces"
INT
INT
INT
INT
nUnit
nOp
nTerminal
nSensor
SMP
SMP
SMP
SMP
0
0
2
1
0
0
0
0
BIGINT
BIGINT
BIGINT
BIGINT
INT
INT
nMaxLayr
nRad
SMP
CMP
4
1
1
0
role
S_P
S_P
S_P
def
0
.5
.5
min
0
0
0
max
BIG
1
1
"equipment loads"
"operative points"
"air flow terminals"
"temperature sensors"
PARAMETERS
/*type
HeatFlux
Factor
Factor
name
liteRatedInput
liteFractVisible
liteFractLw
60
description*/
"Lite rated input"
"Fraction short wave (Lite)"
"Fraction long wave (Lite)"
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
HeatFlux
Radiation
HumFlow
FractFlow_y
QSrcCvEquip[nUnit]
QSrcRadEquip[nUnit]
VapFSrcEquip[nUnit]
CO2FSrcEquip[nUnit]
S_P
S_P
S_P
S_P
0
0
0
0
0
0
0
0
BIG
BIG
BIG
BIG
"Convective load"
"Radiative load"
"Humidity load"
"CO2 load"
Factor
nOcc[nOp]
S_P
BIG
"Number of persons"
90
180
HeatcondA
HeatcondA
hLw
hIntWalls
S_P
S_P
5
1
SMALL
SMALL
BIG
BIG
Area
Length
Factor
ASurf[nSurf]
height
nfloor
S_P
S_P
S_P
10
2.5
1
SMALL
SMALL
1
BIG
BIG
BIG
S_P
S_P
S_P
1
0
1
.8
0
0
4
BIG
2
S_P
C_P
.1
"Air velocity"
"Area increase factor"
S_P
S_P
0.2
50
SMALL
SMALL
BIG
BIG
1
SMALL
SMALL
SMALL
SMALL
BIG
BIG
BIG
BIG
BIG
"Number of layers"
"Layer thickness"
"Layer density"
"Layer heat cond"
"Layer heat cap"
*/
Mass
HeatCap
MassAir
CAir
C_P
C_P
60
SMALL
60360 SMALL
BIG
BIG
"Mass of air"
"Heat capacity of air"
HeatCap
HeatCond
CFurn
hAFurn
C_P
C_P
80000 SMALL
72
SMALL
BIG
BIG
"Cap of furniture"
"Effective transfer coeff"
Area
Area
Area
Area
Area
AExtWall[nExtWall]
AIntWall[nIntWall]
AIntWalls
AFloor
ALite
C_P
C_P
C_P
C_P
C_P
6
20
75
20
.8
SMALL
SMALL
SMALL
SMALL
SMALL
BIG
BIG
BIG
BIG
BIG
Area
Area
Area
AWind[nWind]
AHCSurf[nHCSurf]
ATot
C_P
C_P
C_P
2.5
1.3
86
SMALL
SMALL
SMALL
BIG
BIG
BIG
HeatCapA
Ca[nIntWall]
C_P
27774 SMALL
BIG
HeatCapA
Cb[nIntWall]
C_P
27774 SMALL
BIG
HeatCap
walls"
CIntWall
C_P
653997 SMALL
BIG
VARIABLES
/*type
Angle
Angle
name
AzimutIn[nWind]
ElevIn[nWind]
role
IN
IN
def
97.2
19.9
min
0
0
max
360
90
description*/
"Az of incident direct"
"Elev of incident direct"
Radiation
Radiation
Radiation
Radiation
QDfWind2Zone[nWind]
QDrWind2Zone[nWind]
QSwWind2Amb[nWind]
QSwWind2Zone
IN
IN
OUT
LOC
0
0
0
108.9
0
0
-BIG
0
BIG
BIG
0
BIG
61
POS_IN
"
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
Radiation
QDayLite
LOC
BIG
/* LIGHT */
ElPowerCons
HeatFlux
HeatFlux
Temp
QLite
QSwLite
QLcLite
TLite
LOC
LOC
LOC
OUT
0.
0.
0.
24.26
0
0
0
ABS_ZERO
BIG
BIG
BIG
BIG
OUT
LOC
LOC
LOC
OUT
LOC
7
-5
216
212
-64
0
0
-BIG
-BIG
-BIG
-BIG
-BIG
BIG
BIG
BIG
BIG
BIG
BIG
HeatFlux
HeatFlux
HeatFlux
QHCSurfFront[nHCSurf]
QHCSurfBack[nHCSurf]
QHC2Zone
OUT
IN
LOC
0.3
7
1.5
-BIG
-BIG
-BIG
BIG
BIG
BIG
HeatFlux
from
HeatFlux
HeatFlux
QRad2Zone
lite,occ,equip"
QCvHC2Zone
QCvHCFront[nHCSurf]
LOC
-BIG
BIG
"Source radiation,
LOC
LOC
7
0.4
-BIG
-BIG
BIG
BIG
ElPowerCons
ElPowerCons
HeatFlux
QCvEquip2Zone
QLwEquip2Zone
QEquip2Zone
LOC
LOC
LOC
0
0
0
-BIG
-BIG
-BIG
BIG
BIG
BIG
HeatFlux
HeatFlux
HeatFlux
QCvOcc2Zone
QLwOcc2Zone
QOcc2Zone
LOC
LOC
LOC
0
0
0
-BIG
-BIG
-BIG
BIG
BIG
BIG
HeatFlux
QFurn2Zone
LOC
-BIG
BIG
LOC
LOC
LOC
LOC
1.8
2
2.8
1.1
0
0
0
0
BIG
BIG
BIG
BIG
OUT
OUT
IN
OUT
IN
IN
23.23
23.2
24.12
25.23
19.6
23.45
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
BIG
BIG
BIG
BIG
BIG
BIG
"Furniture temp"
"Zone air temp, well mixed"
"External wall temp"
"Temp of internal walls"
"Window surface temp, innermost pane"
"Heating or Cooling surface temp"
/*CONTROLS*/
Control
schedOcc[nOp]
Control
schedEquip[nUnit]
Control
LiteOn
IN
IN
IN
0
0
0
0
0
0
1
1
1
"Occupancy On / Off"
"Equipment On / Off"
"Lite On / Off"
OUT
LOC
LOC
LOC
LOC
OUT
24.95
24
0
0
5
25
ABS_ZERO
ABS_ZERO
-3
0
0
ABS_ZERO
BIG
BIG
3
100
BIG
BIG
/* TERMINALS */
MassFlow
MF_0
MassFlow
MF[nTerminal]
HeatFlux
Q_0
HeatFlux
Q[nTerminal]
HeatFlux
QTerm2Zone
OUT
IN
IN
IN
LOC
0.03
-0.03
100
-100
-100
-BIG
-BIG
-BIG
-BIG
-BIG
BIG
BIG
BIG
BIG
BIG
hExtWall[nExtWall]
hLite
hWind[nWind]
hHC[nHCSurf]
/* TEMPERATURES */
Temp
Temp
Temp
Temp
Temp
Temp
TFurn
TAirMean
TExtWall[nExtWall]
TIntWall
TWind[nWind]
THCSurf[nHCSurf]
62
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
MassFlow
NumFlow_h
MExhTot
ACH
LOC
LOC
-0.03
1.7
-BIG
0
BIG
BIG
/* FRACTION C02 */
Fraction_y
XCO2
FractFlow_y
XF_0
FractFlow_y
XF[nTerminal]
Generic
XCO2Vol
OUT
IN
IN
LOC
594
17
-17
330
SMALL
-BIG
-BIG
SMALL
BIG
BIG
BIG
BIG
/* HUMIDITY */
HumRatio
XHum
HumFlow
VapFOcc2Zone
HumFlow
VapF_0
HumFlow
VapF[nTerminal]
OUT
LOC
IN
IN
0.005 SMALL
0
0
0.00017 -BIG
-0.00017
BIG
BIG
BIG
-BIG
HumRatio
XHumLoc
OUT
0.002
SMALL
BIG
HumRatio
HumRatio
Factor
HumSat
HumAS
Saturated
LOC
A_S
A_S
0.005
-0.1
0
SMALL
-BIG
0
BIG
BIG
1
"Saturated humidity"
"Sat memory "
"0 = Normal 1= Saturated "
IN
LOC
LOC
OUT
1324
956
2876
0.3
SMALL
SMALL
SMALL
SMALL
BIG
2700
BIG
1
/* PRESSURE */
Pressure
P
Pressure
PVap
Pressure
PVapSat
Factor
RelativeHum
63
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
These two terminals will provide idealized air flow control, provided that the available pressure drop
stays above a limit. In addition to this CAV/VAV mode, the terminals can operate in natural ventilation mode, and can be turned off. The mode is selected by the control signal CentralMode.
In the normal CAV/VAV case, CentralMode is greater than zero. VAV flow is then controlled by
the control signal contr, while CAV uses a constant value of contr. CentralMode acts like a multiplier to the control signal. It can be used, for instance, to reduce air flow when outdoor temperature
is very low. The air flow is calculated with the equation
m = CentralMode(contr m max + (1 contr )m min )
(93)
Due to the definition of the other modes, found below, it is practical to use m min combined with
contr = 0 to define a CAV flow.
If CentralMode is less than zero, a linearized pressure loss equation is used to describe natural ventilation behavior
m = m max
dp
dp0
(94)
(95)
The energy, contaminant fraction and moisture transports are modeled with the equations
Q = m h
x f = m x
(96)
(97)
hum f = m hum
(98)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
For the exhaust terminal, the set of variables on the two links represent the same air properties. For
the supply terminal, however, different sets of variables appear on the links; the terminal sees the
properties of the zone air, but makes no reference to them.
CESupt model
PARAMETERS
/*type
Pressure
MassFlow
MassFlow
Factor
name
dp0
mMax
mMin
cLow
role
S_P
S_P
S_P
S_P
def
5
.01
.001
.05
min
SMALL
SMALL
SMALL
0
max
BIG
BIG
BIG
BIG
description*/
"limit for flow control action"
"max requestable massflow"
"min requestable massflow"
"massflow when 'off', i.e. CentralMode = 0"
VARIABLES
/*type
Pressure
Pressure
massflow
Pressure
name
P1
P2
M
Dp
role
IN
IN
OUT
LOC
def
1375
1325
0.024
50
min
-BIG
-BIG
0
0
max
BIG
BIG
BIG
BIG
description */
"pressure in"
"pressure out"
"massflow through terminal"
"eff pressure diff"
temp
temp
Enthalpy
HeatFlux
T1
T2
HSupt
Q
IN
IN
LOC
OUT
20
25
40000
0.
ABS_ZERO
ABS_ZERO
-BIG
-BIG
BIG
BIG
BIG
BIG
"temperature in"
"temperature zone"
"enthalpy of supply air"
"heat convected by massflow"
fraction_y
fraction_y
FractFlow_y
X1
X2
Xf
IN
IN
OUT
594
594
0
0
0
-BIG
BIG
BIG
BIG
HumRatio
HumRatio
HumFlow
Hum1
Hum2
Humf
IN
IN
OUT
0.006
0.006
0
SMALL
SMALL
-BIG
BIG
BIG
BIG
Control
Contr
IN
-BIG
Control
CentralMode
IN
-1
BIG
"Forcing control, =
>0 local control
0 low flow
<0 natural vent"
role
S_P
S_P
S_P
S_P
def
5
.1
.01
.05
min
SMALL
SMALL
SMALL
0
max
BIG
BIG
BIG
BIG
description*/
"limit for linear flow"
"max requestable
massflow"
"min requestable massflow"
"massflow when 'off', i.e. CentralMode = 0"
CEExht model
PARAMETERS
/*type
Pressure
MassFlow
MassFlow
Factor
name
dp0
mMax
mMin
cLow
VARIABLES
/* type
MassFlow
Pressure
Pressure
Pressure
name
M
P1
P2
Dp
role
OUT
IN
IN
LOC
def
0.026
1321
1275
45
min
0
-BIG
-BIG
0
max
BIG
BIG
BIG
BIG
description*/
"massflow through terminal"
"zone air pressure"
"outlet pressure"
"eff pressure diff"
Temp
Enthalpy
HeatFlux
T
HExht
Q
IN
LOC
OUT
15.
ABS_ZERO
42700 -BIG
1111. -BIG
BIG
BIG
BIG
"temperature"
"enthalpy of exhaust air"
"heat convected by massflow"
Fraction_y
FractFlow_y
X
Xf
IN
OUT
594
15
BIG
BIG
"pollutant fraction"
"pollution transport"
0
-BIG
65
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
HumRatio
Hum
IN
.006
SMALL
BIG
"moisture fraction"
HumFlow
Control
Humf
Contr
OUT
IN
.0001
0
-BIG
-BIG
BIG
1
Control
CentralMode
IN
-1
BIG
"moisture transport"
"Controller input (for CentralMode >0)
0 -> mMin, 1 -> mMax"
"Mode control, = >0 local control
0 low flow (off)
<0 natural vent"
The relation between mass flow through the leak and pressure difference across the leak is written:
if the pressure difference dp is positive
m = c dp n
(99)
m = c dp n
(100)
if it is negative
If the absolute value of the pressure difference is smaller than dp0, the linear equation is used
m = c0 dp
(101)
The pressure difference between the zone and the ambient is calculated with the equation
dp = ( Pin in g z rin ) ( Pout in g z rout ) g dz
(102)
where Pin and Pout are the floor and the ground level pressures respectively
( g z) terms take care of the pressure change at the leak level
(leak g dz) term takes care of the pressure change inside the leak
The energy, contaminant fraction and moisture transports are modeled with the equations
Q = m h
x f = m x
(103)
(104)
hum f = m hum
(105)
where h is enthalpy, x is contaminant fraction and hum is humidity. If the flow direction is towards
the zone, the properties are the properties of the outdoor air and vice versa.
Thermal bridges are modeled within the leak model. The term below is added in the heat transfer
equation
Qbridge = ua (Tin Tout )
66
(106)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
PARAMETERS
/*type
Generic
Generic
Area
name
c_t
n
ela
role
S_P
S_P
S_P
def
1
.5
0
min
0
.5
0
max
BIG
1.0
BIG
HeatCond
length
length
Length
Pressure
Density
uaBridge
dz
zr_in
za_in
dp0
rho_20
S_P
S_P
S_P
S_P
S_P
S_P
0
0
0
0
.01
1.2
0
-BIG
0
-BIG
SMALL
SMALL
BIG
BIG
BIG
BIG
BIG
1.3
/*derived
Generic
Generic
Length
parameters*/
c
c0
zr_out
C_P
C_P
C_P
description*/
"powerlaw coeff [kg/(s Pa**n)]"
"powerlaw exponent [dimless]"
"equivalent leakage area at Dp=4 Pa
(C_d = 1)"
"UA-value for conductive cold bridge"
"rise fr in to out (may be <0)"
"leak height from floor zone"
"absolute floor level of zone"
"limit for linear flow"
"density at ground pressure"
"powerlaw coefficient [kg/(s Pa**n)]"
"linear coefficient"
"leak height from ground level"
VARIABLES
/*type
Density
Density
Density
MassFlow
MassFlow
Pressure
Pressure
Temp
Temp
Enthalpy
HeatFlux
Fraction_y
Fraction_y
FractFlow_y
HumRatio
HumRatio
HumFlow
Pressure
name
Rho
Rho_in
Rho_out
M
Mm
P_in
P_out
T_in
T_out
HLeak
Q
X_in
X_out
Xf
Hum_in
Hum_out
Humf
Dp
role
A_S
LOC
LOC
OUT
A_S
IN
IN
IN
IN
LOC
OUT
IN
IN
OUT
IN
IN
OUT
LOC
def
1.2
1.2
1.2
-0.002
-0.002
1310
1325
25
20
40000
-80
594
594
0
.006
.006
0
15
min
.5
.5
.5
-BIG
-BIG
-BIG
-BIG
ABS_ZERO
ABS_ZERO
-BIG
-BIG
0
0
-BIG
SMALL
SMALL
-BIG
-BIG
67
max
3
3
3
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
1
1
BIG
BIG
description*/
"density of leak air"
"density of zone air"
"density of outside air"
"massflow through leak"
"massflow memory"
"inside floor pressure"
"outside grnd pressure"
"inside temperature"
"outside temperature"
"enthalpy of leak air"
"heat moved by massflow"
"zone fraction"
"environment fraction"
"fraction moved"
"zone hum"
"environment hum"
"fraction hum"
"effective pressure diff"
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
The vertical flow profile through the opening will be slanted, if the density differs between the adjoining spaces, otherwise flat. In the case of a slanted profile, the mass flows depend on the neutral
level, i.e. the level where the pressures are equal.
The pressure difference over the opening is calculated at the bottom of the opening with the equation
dpbottom = ( P1 1 g z b1 ) ( P2 2 g z b 2 )
(107)
where zb1 and zb2 are the heights of the opening bottom above the reference levels on either side
P's are pressures at reference levels
s are densities;
and at the top of the opening
dp top = dpbottom 1 g z t + 2 g z t )
(108)
cd w z t 2 1 ( P1 P2 )
0
P1 > P2
P1 < P2
(109)
m 21 =
0
2 2 ( P2 P1 )
P1 > P2
P1 < P2
(110)
cd wzt
where cd is a discharge coefficient, currently set constant = 0.65, but generally dependent on size
and location of the opening relative to wall areas on both sides
w is width of opening, m.
In case of a slanted velocity profile, the calculations depend on the sign of density difference. The
neutral level is calculated with the equation
Zn =
dpbottom
g ( 1 2 )
Two help variables top and bot are then calculated with the equations
68
(111)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
cd 2 3 w dptop 2
Top =
g( 1 2 )
(112)
c d 2 3 w dpbot 2
Bot =
g( 1 2 )
(113)
If the neutral level is below the bottom of the opening, the mass flows are
m 12 =
0
( Bot Top) 2 1
1 > 2
1 < 2
(114)
m 21 =
(Top Bot ) 2 2
0
1 > 2
1 < 2
(115)
0
( Bot Top) 2 1
1 < 2
1 > 2
(116)
m 21 =
(Top Bot ) 2 2
0
1 < 2
1 > 2
(117)
In the neutral level is located somewhere between top and bottom, the mass flows are
m 12 =
Bot 2 1
Top 2 1
1 > 2
1 < 2
(118)
m 21 =
Top 2 2
Bot 2 2
1 > 2
1 < 2
(119)
Finally, for both flat and slanted profiles, the net mass flow and other flows are calculated with the
equations
69
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
m = m 12 m 21
Q = m 12 h1 m 21h2
x f = m 12 x1 m 21 x 2
(120)
(121)
(122)
hum f = m 12 w1 m 21w 2
(123)
PARAMETERS
/*type
Length
Length
Length
name
z_t
w
z_z
role
S_P
S_P
S_P
def
2
1
2.4
min
SMALL
SMALL
SMALL
max
100
100
BIG
descr.*/
"Opening height"
"Opening width"
"Average zone height"
Length
Length
zb_1
zb_2
S_P
S_P
0
0
-5
-5
100
100
Pressure
dPLin
S_P
0.001
SMALL
BIG
/* derived parameter */
Factor
cd
C_P
.6
SMALL
"Discharge coefficient"
min
ABS_ZERO
ABS_ZERO
SMALL
SMALL
-BIG
-BIG
-BIG
-BIG
max
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
descr.*/
"Zone 1 Temperature"
"Zone 2 Temperature"
"Zone 1 density"
"Zone 2 density"
"Pressure diff top of opening"
"Pressure diff, floor level"
"Zone 1 floor level pressure"
"Zone 2 floor level pressure"
1
BIG
VARIABLES
/*type
Temp
Temp
Density
Density
Pressure
Pressure
Pressure
Pressure
name
T1
T2
Rho1
Rho2
Dp_t
Dp_b
P1
P2
role
IN
IN
LOC
LOC
LOC
LOC
IN
IN
def
20
20
1.2
1.2
0.1
0.1
1325
1325
Control
Length
Length
Contr
Z_n
Width
IN
LOC
LOC
0
0
1.1
0
"Current width"
GENERIC
GENERIC
MassFlow
MassFlow
MassFlow
HeatFlux
FractFlow_y
Fraction_y
Fraction_y
HumRatio
HumRatio
HumFlow
Top
Bot
M_12
M_21
M
Q
Xf
X1
X2
Hum1
Hum2
Humf
LOC
LOC
LOC
LOC
OUT
OUT
OUT
IN
IN
IN
IN
OUT
"Help variable"
"Help variable"
0.001 0
0.001 0
0
-BIG
0
-BIG
0
-BIG
594
0
594
0
0.006 SMALL
0.006 SMALL
0
-BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
Generic
Generic
Generic
G0
G1
Slanted
A_S
A_S
A_S
1
1
0
0
0
0
1
1
1
Generic
Generic
SlantOn
SlantOff
LOC
LOC
1
1
-BIG
-BIG
BIG
BIG
"Slanted n"
"Slanted Off"
Generic
Generic
G2
P1On
A_S
A_S
1
1
0
0
1
1
""
""
Generic
Generic
G3
Rho1On
A_S
A_S
1
1
0
0
1
1
""
""
70
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
This is a simplified model of boiler plus water pump with ideal control.
The boiler heats incoming water to a set point, with a given efficiency and within a specified maximum capacity, using a primary energy source.
It pressurizes the outgoing water to a specified pressure, using electricity with a given pump efficiency.
The model includes a simplified power control. The boiler tank mass is handled as if it were just a
tank after the boiler. The current tank temperature has no impact on boiler control.
The model has three different modes:
= off
= normal range
= full capacity
The outgoing water pressure is controlled by the PumpOn variable. When the pump is off, a minimum pressure is used. The inlet pressure is set to zero to 'ground' the water loop.
The power needed for domestic hot water is modeled. Domestic hot water supply temperature and
maximum water flow are given as parameters. Incoming water temperature and demand variation
are variables, typically specified by schedules.
Energy consumption is calculated for primary energy and electricity separately.
MODEL_PARAMETERS
/*type
Int
Int
name
nIn
nOut
role
SMP
SMP
def
1
1
min
1
1
max
description */
BIGINT "Number of inlet terminals"
BIGINT "Number of outlet terminals"
PARAMETERS
/*type
Factor
Factor
Power_k
Pressure
Pressure
name
etaPrimary
etaPump
QMax
pSetMax
pSetMin
role
S_P
S_P
S_P
S_P
S_P
def
min
0.66
SMALL
1
SMALL
99999 0.001
3000 SMALL
1
SMALL
max
10
1
BIG
BIG
BIG
HeatCapM
Mass
cpLiq
mass
S_P
S_P
4187
100
SMALL
SMALL
BIG
BIG
Temp
VolFlow_m
TDomWatOut
DomWatF
S_P
S_P
55
0
SMALL
0
99
BIG
71
description*/
"Boiler Overall efficiency"
"Pump efficiency"
"Maximum heating capacity (excl. DHW)"
"Outlet pressure at full pump speed"
"Outlet pressure at PumpOn = 0
(>0 for numerical reasons)"
"Liquid specific heat"
"Boiler and circuit mass"
"Domestic hot water supply temperature"
"Maximum domestic hot water vol
flow [l/s]"
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
VARIABLES
/*type
Pressure
Pressure
name
POut
PIn
role
OUT
OUT
def
min
10000 0
0
0
max
BIG
BIG
description*/
"Outlet pressure"
"Inlet pressure, fixed, as from
expansion vessel"
MassFlow
MassFlow
MassFlow
Mtot
M_Out[nOut]
M_In[nIn]
LOC
IN
IN
0.002
0.002
0.002
0
0
0
BIG
BIG
BIG
"Total massflow"
"Outlet[i] massflow"
"Inlet[i] massflow"
Temp
Temp
Temp
TOut
TOutReq
TIn[nIn]
OUT
IN
IN
60
70
50
ABS_ZERO
ABS_ZERO
ABS_ZERO
BIG
BIG
BIG
PrimPowerCons QSup
ElPowerCons
PPump
Control
PumpOn
LOC
LOC
IN
1186
0.6
1
0
0
0
BIG
BIG
BIG
Power
Temp
Temp
Qtemp
LOC
LOC
-40
0
-BIG
0
BIG
BIG
"Temporary variable"
"Temporary variable"
Generic
Mode
A_S
Generic
G0
A_S
BIG
Power
Q[nOut]
LOC
-40
-BIG
BIG
Temp
Control
Power
TDomWatIn
DomWatSch
QDomWat
IN
IN
LOC
5
0
0
SMALL
0
0
BIG
1
BIG
This is a simplified model of a chiller plus water pump with ideal control.
The model handles two water streams with different temperature setpoints. The chiller chills the
incoming water to these setpoints, with fixed COP and within a specified maximum capacity, using
a primary energy source.
It pressurizes the outgoing water to a specified pressure, using electricity with a given pump efficiency.
The model has three different modes:
= off
= normal range
= full capacity
The outgoing water pressure is controlled by the PumpOn variable. When the pump is off, a minimum pressure is used. The inlet pressure is set to zero to 'ground' the water loop.
Energy consumption is calculated for primary energy and electricity separately.
72
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
PARAMETERS
/*type
Factor
Factor
Power_k
Pressure
Pressure
name
cOP
etaPump
QMax
pSetMax
pSetMin
role
S_P
S_P
S_P
S_P
S_P
def
2
0.8
99999
3000
1
min
SMALL
SMALL
0.001
SMALL
SMALL
max
100
1
BIG
BIG
BIG
Mass
HeatCapM
Density
mass
cpLiq
rhoLiq
S_P
S_P
S_P
100
4187
1000
SMALL
SMALL
SMALL
BIG
BIG
BIG
description*/
"Overall coefficent of performance (efficiency)"
"Pump efficiency"
"Maximum cooling capacity"
"Outlet pressure at full pump speed"
"Outlet pressure at PumpOn = 0
(>0 for numerical reasons)"
"Chiller and piping mass"
"Liquid specific heat"
"Liquid density"
VARIABLES
/*type
Pressure
Pressure
name
POut
PIn
role
OUT
OUT
def
600
0
min
0
0
max
BIG
BIG
description */
"Outlet pressure"
"Inlet pressure, fixed, as from expansion
vessel"
MassFlow
MassFlow
MassFlow
MassFlow
MassFlow
Mtot
MOut1
MOut2
MIn1
MIn2
LOC
IN
IN
IN
IN
0.8
0.75
0.05
0.75
0.05
0
0
0
0
0
BIG
BIG
BIG
BIG
BIG
"Total massflow"
"Outlet 1 massflow"
"Outlet 2 massflow"
"Inlet 1 massflow"
"Inlet 2 massflow"
Temp
Temp
Temp
Temp
Temp
Temp
Temp
Temp
TChil
TIn1
TIn2
TLiqEnt
TOut1
TOut2
TOutReq1
TOutReq2
OUT
IN
IN
LOC
OUT
OUT
IN
IN
4.3
15
9
14
15
9
15
9
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
ElPowerCons
ElPowerCons
HeatFlux
QSup
PPump
QCond
LOC
LOC
LOC
1100
0.6
3500
0
0
0
BIG
BIG
BIG
Control
PumpOn
IN
BIG
Power
Power
Temp
Q
LOC
LOC
2373
2373
0
0
BIG
BIG
"Temporary variable"
"Temporary variable"
Generic
Mode
A_S
Generic
G0
A_S
BIG
Power
Power
Q1
Q2
LOC
LOC
2373
2373
0
0
BIG
BIG
73
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
This is a simplified latent heat exchanger with control. It can be used to recover heat or coldness
from exhaust air, and saturation is handled in both air streams.
An effectiveness parameter eta characterizes performance. For dry operation, eta is defined as the
supply side temperature effectiveness. It is assumed to be constant, regardless of actual capacity rate
relation.
Wet operation assumes an apparatus dewpoint which equals the entering temperature of the opposite
stream (rather crude, but allows us to interpret a dry eta as (1 - the bypass factor)). Leaving air state
lies on a straight line between entering air state and the apparatus dewpoint.
If possible, the supply air temperature is adjusted to the given setpoint. Capacity control is attained
by limiting the actual eta to the specified maximum eta. A lower temperature limit is specified for
the exhaust air stream to avoid freezing; current default is 1 C.
Three mode variables take note of capacity mode and wet mode in either stream.
The maximum heat exchange is the minimum of the possible heat exchanges at both sides. If the
heat exchanger is dry, the maximum is
Qmax = MIN (msup , mexh ) h(TExhIn ,WExhIn ) h(TSupIn ,WSupIn )
74
(124)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
wexhin wsupin
Texhin
Tsupout
Texhout
Tsupin
wexh
wsupout wsupin
Texhin
Tsupout
Texhout
Tsupin
wsupadp
75
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
PARAMETERS
/*type
Factor
Temp
name
eta
TExhOutMin
role
S_P
S_P
def
0.6
1
min
0
ABS_ZERO
max
1
5
description */
"Supply side effectiveness at capacity"
"Minimum achievable leaving drybulb"
VARIABLES
/*type
Pressure
Pressure
name
PSup
PExh
role
IN
IN
def
1325
1325
min
-BIG
-BIG
max
BIG
BIG
description*/
"Pressure of entering and leaving supply air"
"Pressure of entering and leaving exhaust air"
MassFlow
MassFlow
MSup
MExh
IN
IN
3.2
3.2
0
0
BIG
BIG
Temp
Temp
Temp
TSupIn
TSupOut
TSupadp
IN
OUT
LOC
10
15
25
ABS_ZERO
ABS_ZERO
ABS_ZERO
BIG
BIG
BIG
Temp
Temp
Temp
TExhIn
TExhOut
TExhadp
IN
OUT
LOC
25
20
10
ABS_ZERO
ABS_ZERO
ABS_ZERO
BIG
BIG
BIG
Temp
Temp
TSet
Tattain
IN
LOC
18
14
ABS_ZERO
ABS_ZERO
BIG
BIG
HumRatio
HumRatio
HumRatio
WSupIn
WSupOut
WSupadp
IN
OUT
LOC
0.01
0.01
0.01
SMALL
SMALL
SMALL
1
1
1
HumRatio
HumRatio
HumRatio
HumRatio
dewpoint"
WExhOutMin
WExhIn
WExhOut
WExhadp
OUT
IN
OUT
LOC
0.01
0.01
0.01
0.01
SMALL
SMALL
SMALL
SMALL
1
1
1
1
""
"Humidity ratio of entering exhaust air"
"Humidity ratio of leaving exhaust air"
"Humidity ratio of exhaust air at apparatus
Enthalpy
Enthalpy
Enthalpy
Enthalpy
hSupIn
hSupHeated
hSupadp
hSupOut
LOC
LOC
LOC
LOC
20
20
20
20
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
BIG
BIG
BIG
BIG
Enthalpy
Enthalpy
Enthalpy
Enthalpy
Enthalpy
hExhIn
hExhHeated
hExhadp
hExhOut
hExhMin
LOC
LOC
LOC
LOC
LOC
20
20
20
20
20
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
BIG
BIG
BIG
BIG
BIG
Fraction_y
Fraction_y
XSup
XExh
IN
IN
594
594
0
0
BIG
BIG
HeatFlux
HeatFlux
HeatFlux
HeatFlux
Qavail
Qactual
QMax
QMaxExh
LOC
LOC
LOC
LOC
100
100
100
100
-BIG
-BIG
-BIG
-BIG
BIG
BIG
BIG
BIG
GENERIC
GENERIC
GENERIC
GENERIC
On
Cap
WetSup
WetExh
A_S
A_S
A_S
A_S
1
0
0
0
0
0
0
0
1
1
1
1
"On/Off mode"
"Cap/Modulated mode"
"Wet supply side mode"
"Wet exhaust side mode"
GENERIC
GENERIC
GENERIC
GENERIC
G0
G1
G2
G3
A_S
A_S
A_S
A_S
1
1
1
-1
-BIG
-BIG
-BIG
-BIG
BIG
BIG
BIG
BIG
"G-stop On"
"G-stop Cap"
"G-stop WetSup"
"G-stop WetExh"
76
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
The mixing box is in principle a mixing model with temperature control and moisture content checking features. The model could be used for both heating and cooling. Minimum fresh air flow is
specified with a parameter.
The first equations are air mass balance equations
m fresh = m supply m return
(125)
(126)
The return air massflow can vary from 0 to a maximum determined by the fresh air requirement
(supply air massflow - fresh air massflow). If the fresh air temperature falls between the setpoint
temperature and the exhaust temperature, the return air mass flow is 0. Otherwise, an ideal return air
rate is calculated, and, when necessary, reduced to the maximum permissible.
Other balance equations are the usual energy, moisture and contaminant fraction balances. In the
moisture balance, a check on saturation is included and condensation is handled.
The minimum fresh air requirement can be varied during the day via a control variable.
PARAMETERS
/*type
MassFlow
name
MFreshPar
role
S_P
def
3.2
min
0
max
BIG
description*/
"Dry air supply massflow rate"
description*/
"Pressure of entering and leaving supply
air"
"Pressure of entering and leaving exhaust
air"
VARIABLES
/*type
Pressure
name
PSup
role
IN
def
1325
min
-BIG
max
BIG
Pressure
PExh
IN
1325
-BIG
BIG
MassFlow
MassFlow
MassFlow
MassFlow
MSup
MReturnMax
MFreshMin
MFresh
IN
LOC
LOC
OUT
3.2
3.2
3.2
3.2
0
0
0
0
BIG
BIG
BIG
BIG
MassFlow
MassFlow
MassFlow
MExhOut
MExh
MReturn
OUT
IN
LOC
3.2
3.2
3.2
0
0
0
BIG
BIG
BIG
Enthalpy
Enthalpy
HSupIn
HExh
LOC
LOC
10000 -BIG
30000 -BIG
BIG
BIG
Temp
Temp
Temp
Temp
TSupIn
TSupOut
TExh
TSet
IN
OUT
IN
IN
10
15
25
18
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
BIG
BIG
BIG
BIG
HumRatio
HumRatio
HumRatio
WSupIn
WSupOut
WSupMax
IN
OUT
LOC
0.01
0.01
0.01
SMALL
SMALL
SMALL
1
1
1
HumRatio
WExh
IN
0.01
SMALL
HumRatio
WSupCtr
LOC
0.01
SMALL
77
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
Fraction_y
Fraction_y
Fraction_y
XSupIn
XSupOut
XExh
IN
OUT
IN
594
594
594
0
0
0
BIG
BIG
BIG
Factor
Factor
MFreshOn
X
IN
OUT
1
0
0
0
BIG
BIG
Generic
Generic
Generic
Generic
On
Cap
G0
G1
A_S
A_S
A_S
A_S
1
1
1
1
-BIG
-BIG
-BIG
-BIG
BIG
BIG
BIG
BIG
(127)
When the attainable maximum temperature is less than TSet, coil runs at full capacity.
The liquid side leaving temperature is TLiqIn - dTLiq unless limited by the incoming air temperature
TAirIn, in which case we talk of saturation mode.
Liquid massflow will supply required heat, provided that available pressure head exceeds a parameter dp0
m LiqBal =
78
(128)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
wair
Tliqin
Tairout
Tliqout
Tairin
name
cpLiq
mmin
dP0
etaAir
dTLiq
role
S_P
S_P
S_P
S_P
S_P
def
4187
1e-4
200
1.0
20
min
SMALL
SMALL
SMALL
0
SMALL
max
BIG
BIG
BIG
1
BIG
description */
"Liquid specific heat"
"Liquid mass flow when coil is off"
"Water Dp limit for coil operation"
"Air side effectiveness at capacity"
"Liq side temperature drop"
min
-BIG
SMALL
SMALL
max
BIG
BIG
BIG
description*/
"Pressure of entering and leaving air"
"Pressure of entering liquid"
"Pressure of leaving liquid"
VARIABLES
/*type
Pressure
Pressure
Pressure
name
PAir
PLiqIn
PLiqOut
role
IN
IN
IN
def
1325
1000
900
MassFlow
MassFlow
MassFlow
MAir
MLiq
MLiqBal
IN
OUT
LOC
0.36
0
0.0001 0
0.06
0
BIG
BIG
BIG
Temp
Temp
Temp
Temp
Temp
Temp
Temp
HumRatio
Fraction_y
Pressure
GENERIC
GENERIC
GENERIC
GENERIC
GENERIC
GENERIC
TAirIn
TAirOut
TLiqIn
TLiqOut
TSet
TMax
dTLiqAct
WAir
XAir
dP
On
Cap
Sat
G0
G1
G2
IN
OUT
IN
OUT
IN
LOC
LOC
IN
IN
LOC
A_S
A_S
A_S
A_S
A_S
A_S
20
25
30
29
20
25
5
0.007
594
100
1
0
1
-1
1
1
BIG
BIG
BIG
BIG
BIG
BIG
BIG
1
BIG
BIG
1
1
1
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
SMALL
0
0
SMALL
0
0
0
79
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
(129)
A temperature setpoint signal selects leaving air dry bulb temperature, within the band limited by
entering air temperature (TAirIn) and lowest attainable temperature (TMin).
Leaving coolant temperature, in normal operation, is TLiqIn + dTLiq. When this temperature would be
higher than incoming air temperature TAirIn, the latter temp is chosen, and the coil is operating in
saturation mode.
The liquid massflow is selected to remove required heat, if available pressure head exceeds a parameter dp0, and is calculated from the heat balance
m LiqBal =
(130)
Four mode variables take note of on/off, capacity mode, saturation mode, and wet/dry operation.
The coil is off, when there is
= pressure difference smaller than dp0 parameter
= no need
= no chill available
The coil is wet, when Wadp is smaller than WAirIn. Wadp is moisture content at apparatus dewpoint
W Adp = HumRat ( PAir , SatPres (TAdp ))
(131)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
wairout wairin
Tairout
Tliqout
Tliqin
wadp
PARAMETERS
/* type
HeatCapM
Factor
Temp
MassFlow
Pressure
name
cpLiq
eta
dTLiq
mmin
dP0
role
S_P
S_P
S_P
S_P
S_P
def
4187
1
5
1e-4
200
min
SMALL
0
SMALL
SMALL
SMALL
max
BIG
6
BIG
BIG
BIG
description */
"Liquid specific heat"
"Air side effectiveness at capacity"
"Liq side temp rise"
"Liquid mass flow when coil is off"
"Water Dp limit for coil operation"
VARIABLES
/*type
Pressure
Pressure
Pressure
name
PAir
PLiqIn
PLiqOut
role
IN
IN
IN
def
1325
1000
900
min
-BIG
SMALL
SMALL
max
BIG
BIG
BIG
description*/
"Pressure of entering and leaving air"
"Pressure of entering liquid"
"Pressure of leaving liquid"
MassFlow
MassFlow
MassFlow
MAir
MLiq
MLiqBal
IN
OUT
LOC
0.36
0.06
0.06
0
0
0
BIG
BIG
BIG
Temp
Temp
Temp
Temp
Temp
Temp
Temp
Temp
TAirIn
TAirOut
TLiqIn
TLiqOut
Tadp
TSet
TMin
dTLiqAct
IN
OUT
IN
OUT
LOC
IN
LOC
LOC
25
19
5
9
7
18
9
5
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
ABS_ZERO
SMALL
BIG
BIG
BIG
BIG
BIG
BIG
BIG
BIG
HumRatio
HumRatio
HumRatio
WAirIn
WAirOut
Wadp
IN
OUT
LOC
0.007
0.007
0.006
0
0
0
1
1
1
81
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
Fraction_y
Pressure
GENERIC
GENERIC
GENERIC
GENERIC
GENERIC
GENERIC
GENERIC
GENERIC
XAir
dP
On
Cap
Wet
Sat
G0
G1
G2
G3
IN
LOC
A_S
A_S
A_S
A_S
A_S
A_S
A_S
A_S
594
3000
1
0
1
1
1
1
1
1
0
SMALL
0
0
0
0
-BIG
-BIG
-BIG
-BIG
BIG
BIG
1
1
1
1
BIG
BIG
BIG
BIG
"Pollutant fraction"
"Pressure difference of water stream"
"On/Off mode"
"Cap/Modulated mode"
"Wet/Dry mode"
"Saturated/normal mode"
"G-stop On"
"G-stop Cap"
"G-stop Wet"
"G-stop Sat"
GENERIC
GENERIC
GENERIC
G4
CoilOn
CoilOff
A_S
LOC
LOC
1
1
1
-BIG
-BIG
-BIG
BIG
BIG
BIG
"G-stop On"
"Coil is On"
"Coil is off"
The model assumes an adiabatic process to humidify and cool the air, while interacting with water
having the temperature of the outlet air. It uses a constant overall saturation transfer coefficient, UA,
which is calculated in the PARAMETER_PROCESSING from rated values. The model is adapted
from ASHRAE Secondary Toolkit model EVAPHUM.
The effectiveness is calculated from the equations
= 1 e NTU
(132)
UA
m Air
(133)
NTU =
where NTU is number of transfer units, m Air is air mass flow, kg/s. .
The maximum moisture content of the leaving air stream is calculated from the equation
w AirOutMax = w AirIn + ( wSat w AirIn )
(134)
(135)
(136)
82
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
PARAMETERS
/* Rated condition */
MassFlow
MEvapRat
Temp
TEvapRat
HumRatio
wEvapRat
Factor
EffEvapRat
S_P
S_P
S_P
S_P
1.8
26.7
.11E-1
.8
SMALL
ABS_ZERO
SMALL
SMALL
BIG
BIG
1
1
C_P
C_P
C_P
C_P
C_P
19.2
.014
.045
2.89
0
ABS_ZERO
SMALL
-BIG
SMALL
0
BIG
1
BIG
BIG
1
VARIABLES
MassFlow
MassFlow
mAir
mWater
IN
OUT
2.0
.6E-2
0
0
BIG
BIG
Temp
Temp
Temp
TAirIn
TAirOut
TWat
IN
OUT
IN
25
17.5
10
ABS_ZERO
ABS_ZERO
ABS_ZERO
BIG
BIG
BIG
Temp
Temp
Temp
TSet
TMin
TLim
IN
LOC
OUT
16
16
16
ABS_ZERO
ABS_ZERO
ABS_ZERO
BIG
BIG
BIG
"Set temperature"
"Minimum temperature"
"RH limited temperature"
HumRatio
HumRatio
HumRatio
HumRatio
HumRatio
HumRatio
HumRatio
WAirIn
WAirOut
WAirOutMax
WAirInLim
WSet
WAirCapLim
WLim
IN
OUT
LOC
LOC
LOC
LOC
LOC
0.007
0.10
0.10
0.10
0.10
0.10
0.10
SMALL
SMALL
SMALL
SMALL
SMALL
SMALL
SMALL
BIG
BIG
BIG
BIG
BIG
BIG
BIG
HumRatio
Pressure
WAirSat
PSat
LOC
LOC
0.11
1595
SMALL
SMALL
BIG
BIG
Enthalpy
Temp
hAirIn
tWetBulbIn
LOC
LOC
42973 -BIG
15.32 ABS_ZERO
BIG
BIG
Factor
NTU
LOC
1.448
BIG
Factor
Eff
LOC
0.7651 SMALL
Factor
RHMax
IN
99
99
HeatFlux
qSen
LOC
15499 -BIG
BIG
Control
Contr
IN
Generic
Generic
On
G0
A_S
A_S
0
1
0
-BIG
1
BIG
Generic
Generic
FullCap
G1
A_S
A_S
0
1
0
-BIG
1
BIG
/* Pressure related */
Pressure
PAir
Pressure
PWat
IN
IN
1325
1
SMALL
SMALL
BIG
BIG
/* Pollution related */
Fraction_y
XAir
IN
594
BIG
"Pollutant fraction"
SMALL
SMALL
83
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
The model calculates the dry steam massflow required to reach the desired absolute humidity. The
model is adapted from the ASHRAE Secondary Toolkit. The model works in on/off mode. The humidifier is turned off, if a control signal is less than 0.5 or it the incoming absolute humidity is
greater than the setpoint
wSet = RHMax ( HumRat(p Air +1e5, SatPres(TAirOut ))
(137)
name
mAir
mSteam
role
IN
OUT
def
1.35
1.2
min
SMALL
0
max
BIG
BIG
description*/
"Dry air massflow rate"
"Steam mass flow"
Temp
Temp
Temp
Temp
TAirIn
TAirOut
TSteam
TWat
IN
OUT
IN
IN
15.5
17.25
100
5
ABS_ZERO
ABS_ZERO
100
SMALL
BIG
BIG
BIG
BIG
Pressure
Pressure
PAir
PWat
IN
IN
1325 SMALL
50000 SMALL
BIG
BIG
HumRatio
HumRatio
WAirIn
WAirOut
IN
OUT
0.005
0.012
SMALL
SMALL
BIG
BIG
HeatFlux
HeatFlux
HeatFlux
Qtot
Qsen
Qel
LOC
LOC
LOC
1000
1000
1000
-BIG
-BIG
0
BIG
BIG
BIG
Fraction_y
XAir
IN
594
SMALL
BIG
"Pollutant fraction"
HeatCapM
cpMoist
LOC
SMALL
BIG
HumRatio
WSet
LOC
0.012
SMALL
BIG
Control
Factor
Contr
RHMax
IN
IN
0
1.0
0
SMALL
1
1
"0=Off 1=On"
"Outlet air max rel hum"
GENERIC
GENERIC
On
G0
A_S
A_S
0
0
0
-BIG
1
BIG
"On / Off"
"Memory of On"
84
(138)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
(139)
mair dp
(140)
PARAMETERS
/* type
Pressure
Pressure
name
dpMax
dpMin
role
S_P
S_P
def
500
0.1
min
SMALL
SMALL
max
BIG
BIG
Temp
Factor
TRise
eta
S_P
S_P
2
0.9
0
SMALL
BIG
1
description*/
"Pressure head at FanOn = 1"
"Pressure head at FanOn <= 0
(for numerical reasons)"
"Temp rise in fan"
"Fan efficiency"
VARIABLES
/*type
Control
Pressure
Pressure
Pressure
MassFlow
name
FanOn
PAirIn
PAirOut
dP
MAir
role
IN
IN
OUT
LOC
IN
def
1
1325
1425
100
3.2
min
0
-BIG
-BIG
0
0
max
1
BIG
BIG
BIG
BIG
description*/
"0=FanOff 1 = Fan On"
"Pressure of entering air"
"Pressure of leaving air"
"Pressure rise in fan"
"Dry air massflow rate"
Temp
TAirIn
IN
18
ABS_ZERO
BIG
Temp
TAirOut
OUT
20
ABS_ZERO
BIG
HumRatio
WAir
IN
0.01
Fraction_y
XAir
IN
594
BIG
"Pollutant fraction"
ElPowerCons
QSup
LOC
296
BIG
VolFlow_m
VolFLow
LOC
2666
BIG
In the air split model there is one input link and several output links that serve different zones. The
air flows to the different zones are summed, and each modeled zone can represent several identical
zones, by using a multiplier on each flow.
The supply air flows required for the different zones are calculated in their respective supply terminal models.
85
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
Since the air properties are the same for all leaving flows, the only equation needed is the mass balance equation
m in =
ni m i, out
(141)
MODEL_PARAMETERS
Int
nOut
SMP
S_P
BIG
IN
IN
IN
IN
1375
16
0.01
594
-BIG
ABS_ZERO
SMALL
0
BIG
BIG
BIG
BIG
OUT
0.024
BIG
*/
IN
0.024
BIG
PARAMETERS
Factor
mult[nOut]
VARIABLES
In the air merge model, one output link and several input links serve different zones. The air flows
from the different zones are summed, and each modeled zone can represent several identical zones,
by using a multiplier on the each flow.
The exhaust air flows required for the different zones are calculated in their respective exhaust terminal models.
Since incoming flows have different properties, four different balance equations are needed:
=
=
=
=
mass balance
energy balance
humidity balance
fraction balance
m out =
m out hout =
m out wout =
m out x out =
ni m i, in
ni m i, in hi, in
ni m i, in wi, in
ni m i, in x i, in
(142)
(143)
(144)
(145)
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
MODEL_PARAMETERS
Int
nIn
SMP
S_P
BIG
IN
1375
-BIG
BIG
IN
IN
IN
IN
0.026
16
0.006
594
0
ABS_ZERO
0
0
BIG
BIG
1
BIG
OUT
OUT
OUT
OUT
0.026
16
0.006
594
0
ABS_ZERO
0
0
BIG
BIG
1
BIG
PARAMETERS
Factor
mult[nIn]
VARIABLES
The purpose and the equation are similar to those of the air split model.
MODEL_PARAMETERS
/*type
Int
name
nOut
role
SMP
def
1
min
1
max
description*/
BIGINT "Number of outlet streams"
role
S_P
def
15
min
SMALL
max
BIG
description */
"Outlet stream multiplier, see abstract"
role
IN
IN
IN
OUT
def
600
15.0
0.05
0.75
min
0
ABS_ZERO
0
0
max
BIG
BIG
BIG
BIG
description */
"Pressure of entering and leaving water"
"Temperature of entering and leaving water"
"Leaving dry water rate"
"Entering dry water rate"
PARAMETERS
/*type
Factor
name
mult[nOut]
VARIABLES
/* type
Pressure
Temp
MassFlow
MassFlow
name
P
T
MOut[nOut]
M_In
The purpose and equations are similar to those of the air merge model, although with just mass and
energy balance.
MODEL_PARAMETERS
/*type
Int
name
nIn
role
SMP
def
1
min
1
max
description
*/
BIGINT "Number of inlet streams"
role
S_P
def
15
min
SMALL
max
BIG
PARAMETERS
/*type
Factor
name
mult[nIn]
87
description */
"Inlet stream multiplier see abstract"
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
VARIABLES
/* type
Pressure
MassFlow
Temp
MassFlow
Temp
name
P
M_In[nIn]
T[nIn]
MOut
TOut
role
IN
IN
IN
OUT
OUT
def
600
0.05
15.0
0.75
15.4
min
0
0
ABS_ZERO
0
ABS_ZERO
88
max
BIG
BIG
BIG
BIG
BIG
description */
"Pressure of entering and leaving water"
"Entering water massflow rate"
"Temperature of entering water"
"Leaving water massflow rate"
"Temperature of leaving water"
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
Purpose
Calculate the dewpoint temperature for given humidity ratio
Calculate the dry bulb temperature of moist air from enthalpy and humidity
Calculate the enthalpy of moist air
Calculate the enthalpy at saturation for given dry bulb temperature
Calculate the humidity ratio from water vapor pressure and atmospheric
pressure
Calculate the humidity ratio of moist air from dry bulb temperature and enthalpy
Calculate the relative humidity from saturation and atmospheric pressures
Calculate dry air density
Calculate moist air density from dry bulb temperature and humidity ratio
Calculate saturation pressure of water vapor as a function of temperature
Calculate the saturation (boiling) temperature of water at given pressure
Calculate the dry bulb temperature given enthalpy at saturation
Calculate wet bulb temperature from dry bulb temperature and humidity
ratio
89
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
The model adds an arbitrary number of input signals. The model has multiple output links.
18.2 COMP: comparator
Compares two input signals, selects between two output levels defined by parameters. Retains old
output as long as difference between inputs stays within a dead band.
18.3 MULT: multiplier
The model multiplies an arbitrary number of input signals. The model has multiple output links.
18.4 SWITCH: switch
Switches between several input signals. One input signal is selected by the integer value nearest to
the selector signal. The model has multiple output links. The model does not have any event calls.
The component that feeds the selector is assumed to signal an event when switching.
18.5 MinMax: Find Min or Max value
The MinMax model finds the minimum or maximum value among several input links and delivers
this value to the output link. When the source selection switches, an event is signaled.
90
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
19. References
Akander, J., "Effective Modelling of Energy Flow in Building Components", Licentiate Thesis,
KTH, Stockholm, 1996
ASHRAE Handbook of Fundamentals. Atlanta, 1997
ASHRAE: HVAC Secondary Toolkit. A Toolkit for Secondary HVAC System Energy Calculations Atlanta, 1993
Brown, G., "The BRIS Simulation Program for Thermal Design of Buildings and Their Services",
Energy and Buildings, 14, p385-400, 1990
Brown, G., Isflt, E., "Solinstrlning och solavskrmning (Solar Irradiation and Sun Shading Devices)", Nat. Swedish Inst. for Building Res., Report 19:1974 (in Swedish w an English summary),
Stockholm, 1974
CIBSE, Guide Section A2, Weather & Solar Data, London, 1982
Clarke, J.A., "Energy Simulation in Building Design", Adam Hilger Ltd., Bristol & Boston, 1985
Duffie, J.A., Beckman, W.A., "Solar Engineering of Thermal Processes", John Wiley & Sons, New
York, 1974.
Hensen, J., personal communication
International Energy Agency, "Demand Controlled Ventilating Systems", Stockholm, Sweden, 1993
Isflt, E., Peterson, F., "Vrmeavgivning frn radiatorers baksida" Byggnads-Ingenjren 11-12,
pp.40-43, 70 (in Swedish), 1969.
ISO / DIS 7730, Moderate Thermal Environments - Determination of the PMV and PPD indices
and specification of the conditions for thermal comfort, 1984
Jhannesson, G., "Active Heat Capacity - Models and Parameters for Thermal Performance of Buildings" , Report TVBH - 1003, LTH, Sweden, 1981
Johnsen, K., Grau, K., "Tisb3 Computer program for thermal simulation of buildings" Users Guide
vers B.05, Danish Building Research Institute SBI, 1994
Kondratjev, K., "Radiation Regime of Inclined Surfaces", WMO Technical Note 152, Geneva, 1977
Li, Y., "Simulation of Flow and Heat Transfer in Ventilated Rooms", Doctoral Dissertation, KTH,
Stockholm, 1992
Moinard, S. and Guyon, G. "Empirical validation of EDF ETNA and GENEC test cells models"
Report IEA SHC Task 22, Project A3 Empirical validation, February 1999
91
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation
Mundt, E., "The Performance of Displacement Ventilation Systems", PhD Thesis, KTH, Stockholm,
1996
Perez, R., & al., "Modelling daylight availability and irradiance components from direct and global
radiance", Solar Energy, Vol. 44, pp.271-289, 1990
Suvanen, M., "Passivisten aurinkotalojen laskennallinen simulointi", PhD Thesis, Espoo, Finland,
1982
Tammelin, B., Erki, E., "Weather Data for Energy Calculations - The Finnish Test Year", Finnish
Meteorological Institute, Report No. 7 (in Finnish), Helsinki, 1987
Threldkeld, J., "Solar Irradiation on Surfaces on Clear Days", Ashrae Journal, Vol. 4, 1962
92
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation - APPENDIX I
ABSTRACT
Object-oriented or modular simulation methods represent a concrete alternative to present monolithic
building simulation technology. Modular methods
have previously been used primarily for component
based systems modeling, while envelope models
have remained monolithic. In this paper, the advantages of the new technology are reviewed and an
equation-based models library for systems as well as
envelope modelling is introduced. The new library
has been developed within IEA SHC Task 22 and is
available as NMF source code. Airflow network
models are combined with thermal. Model fidelity is
generally higher than for present tools. When used in
IDA, the library has been validated and shown to be
sufficiently fast and robust for commercial application.
INTRODUCTION
Today most industrial decision-makers agree that the
use and impact of building simulation is likely to
grow. A primary driving mechanism in this process is
the emerging generation of computer-aware engineers. Several workshops have been held to discuss
the future directions of the field and the requirements
that will have to be fulfilled by the tools of the future
[Crawley 1997, Clarke 1985]. The conclusion of
these discussions is clear: the present generation of
building simulation software is unlikely to be able to
meet the needs of the future.
It is now possible to take full advantage of stateof-the-art methods, such as computer algebra,
modern numerical solution techniques and parallel computing, without being an expert in these
fields. The developer is allowed to concentrate on
application specific issues.
Present tools are too rigid in their structure to accommodate the improvements and flexibility that
will be called for. Each added feature to the existing
tools requires a larger implementation effort than the
previous one. Basic methodological improvements,
such as a complete change in solution strategy, are
close to impossible to carry out since most of the
program structure is affected.
Several groups are working to find alternatives to the
present approaches to building simulation. The resulting tools are sometimes called equation-based,
object-oriented or modular simulation environments.
We will not attempt to provide a thorough presentation of this body of work here. An overview of new
building simulation technologies is given in [Gough
1999]. Here, we will focus on consequences of the
equation-based technology for end-users and devel-
AI-1
The tool can easily be customized to suit a particular study. Experienced users know that most
projects contain some twist that cannot be adequately modelled in any of the programs, that are
practically available in the project. With an equation-based tool, the user can then access the development tools directly or, at a reasonable cost,
have someone carry out the required change.
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation - APPENDIX I
Terminals
with P-control
Supply air
temperature Exhaust
control
fan
Heat
exchanger
Heating
coil
Cooling
coil
Adjacent
walls
Window and
shading
object
Supply fan
http://www.brisdata.se/
http://sel.me.wisc.edu/trnsys/
http://www.eren.doe.gov/buildings/tools_directory/software/hvacsim.htm
4
http://www.lorsim.be/
5
http://www.eren.doe.gov/buildings/tools_directory/software/spark.htm
6
http://www.it.dtu.dk/~el/ecs/esacap.htm
2
3
AI-2
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation - APPENDIX I
lated, weighted with the view factors from the location point to the zone surfaces. Thus, the comfort
indices will differ between locations close to the
windows or in the middle of the zone.
Comfort indicators supplied by the model are the
standard PPD- and PMV-indices and mean radiant
and operative temperature. Average air velocity is
needed to calculate these indices and is currently
given by the user as a parameter.
Both models have balance equations for CO2, humidity, air mass and energy. The moisture and heat
loads from people are modeled with the equations
from ISO 7730. Loads are a function of the activity
and clothing levels, air moisture contents and so on.
The convective heat load from occupants is calculated with the equation [ISO 7730]
Qcv
(1)
-
12.1 vair
1.00 + 1.29 I cl
1.05 + 0.645 I cl
(3)
In the simplified zone model, the internal constructions, which connect to similar zones or else can be
assumed to lack net heat transfer, have been combined into one active heat capacity.
The radiative heat load from the occupants is calculated with the equation [ISO 7730]
Q rad ,occ = 1.8 3.96 10 8 f cl (Tcl 4 Tmrt 4 )
(4)
The envelope constructions are modelled as RCnetworks, and optimization of their parameters is
made within the frequency domain. The analytical
responses of the RC-networks are known as functions
of frequency, and the active heat capacities are calculated to give optimum response over a frequency
interval. The optimization assumes that the oscillations are identical at both sides of the wall. The active heat capacity of the walls is optimized for 24
hours oscillation. [Akander 1995]
(5)
X CO = M / 3.6 1.8
(6)
AI-3
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation - APPENDIX I
A Simulation Example
The system shown in Figure 1 is used as an example.
The schema shown in the figure was generated from
the standard user interface of the IDA ICE application. As an example, the P-controller of the radiator
is replaced first by a PI-controller and then by a
thermostat. The results are presented in Figure 2. The
temperature variations observed are reasonable relative to the change.
Airflows
One of the main features of the library is simultaneous solving of temperatures and airflows, which are
highly dependent phenomena. Using this feature, the
temperature and pressure dependent air flows in
doorways and openable windows can be solved.
The number of parameters has been kept low, in order to provide a full system simulation with minimum required effort. This means that no specific
design information, only efficiencies, are given for
heating and cooling coils, etc. If detailed sizing of
these devices is desired, the ASHRAE Secondary
Toolkit models could be used instead.
22.00
21.80
21.60
Temperature [C]
21.40
21.20
Thermostat
PI-control
21.00
P-control
20.80
20.60
20.40
20.20
20.00
336
341
346
351
356
Time [h]
AI-4
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation - APPENDIX I
Validation
During the implementation process normal verification has been done. The view factor calculation has
been checked against known analytical solutions. The
energy balance has been checked.
Extensive comparative studies have been done
against the BRIS program [Brown 1990]. BRIS is a
heat balance program for room climate studies; it was
developed in Sweden in the early sixties. The program is based on detailed non-linear physical relations. BRIS has been validated against measurements
in a number of studies. After several extensions, it is
still widely used and well trusted by the Swedish
building industry.
Usability
Availability
It is difficult to assess execution times for these models, since no relevant points of comparison exist. In a
previous project [Vuolle and Bring 1997] a direct
comparison was made with a special purpose program. A penalty factor of two to four was then estimated for the general purpose implementation. The
factor is likely to have decreased since then, based on
improvements made.
CONCLUSIONS
NMF and IDA technology has been used to develop a
comprehensive library for thermal building simulation. The library contains more detailed models than
most comparable simulation tools.
AI-5
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation - APPENDIX I
Vuolle, M., Bring A., An NMF Based Model Library for Building Climate and Energy Simulation,
Proceedings to the Building Simulation 97, Prague,
Czech Republic. 1997
NOMENCLATURE
REFERENCES
fcl
hcl
HumOcc
metabolic rate, -
Pvap
Tair
air temperature, C
Tcl
Tmrt
vair
external work , W / m2
XCO2
ACKNOWLEDGEMENTS
Tech. Lic. Jan Akander is gratefully acknowledged as
author of the optimization routines for active heat
capacity and RC-wall and for many fruitful discussions.
AI-6
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation - APPENDIX I
Last modified:
global.nmf
29 Mar 1999
Name:
Last modified:
Abstract:
Name:
Last modified:
Adder
29 Mar 1999
activcap
29 Mar 1999
AdWall
31 Mar 1999
adiawall
29 Mar 1999
AirMerge
29 Mar 1999
CalcShad
29 Mar 1999
AirSplit
29 Mar 1999
DEWPNT
7 Apr 1999
CCSimCtr
31 Mar 1999
DEWPNTJ
7 Apr 1999
CeBeam
31 Mar 1999
DRYBULB
7 Apr 1999
CeColPnl
7 Apr 1999
DRYBULBJ
7 Apr 1999
CeDetZon
7 Apr 1999
ENTHAL
7 Apr 1999
CeExhT
31 Mar 1999
ENTHALJ
7 Apr 1999
CeFan
1 Apr 1999
FAN w On/Off control (low flow when off). Efficiency & temp rise given.
ENTHSAT
7 Apr 1999
CeLeak
7 Apr 1999
ENTHSATJ
7 Apr 1999
CeLVO
7 Apr 1999
hcout
29 Mar 1999
CeSimZon
31 Mar 1999
SIMplified ZONe, single mass for parts of envelope, MRT w area factors.
hcrad
29 Mar 1999
CeSupT
31 Mar 1999
HUMRAT
29 Mar 1999
CeSurf
31 Mar 1999
HUMRATJ
29 Mar 1999
CeWatHet
7 Apr 1999
HUMTH
29 Mar 1999
CeWind
1 Apr 1999
HUMTHJ
29 Mar 1999
Comparator
31 Mar 1999
litefac
29 Mar 1999
dummy
31 Mar 1999
lwfac
29 Mar 1999
Elrad
1 Apr 1999
lwfacrad
29 Mar 1999
EnvLeak
31 Mar 1999
Perez
29 Mar 1999
EnvLVO
31 Mar 1999
rcopt
29 Mar 1999
EvHumCtr
31 Mar 1999
RELHUM
29 Mar 1999
HCSimCtr
31 Mar 1999
RELHUMJ
29 Mar 1999
HXSimCtr
1 Apr 1999
RHODRY
29 Mar 1999
MinMax
1 Apr 1999
RHODRYJ
29 Mar 1999
MixBxCtr
1 Apr 1999
RHOMOIS
29 Mar 1999
Multiplier
1 Apr 1999
RHOMOISJ
29 Mar 1999
PIContr
1 Apr 1999
SATPRES
7 Apr 1999
PLinSegC
1 Apr 1999
SATPRESJ
7 Apr 1999
PMTContr
1 Apr 1999
SATTEMP
7 Apr 1999
PSmooth
1 Apr 1999
SATTEMPJ
7 Apr 1999
PSmooth2
1 Apr 1999
sw_fac
29 Mar 1999
RCWall
1 Apr 1999
TAIRSAT
7 Apr 1999
SimBoil
1 Apr 1999
TAIRSATJ
7 Apr 1999
SimChil
1 Apr 1999
U_film
29 Mar 1999
StatSens
1 Apr 1999
view_fac
29 Mar 1999
StInjCtr
1 Apr 1999
view_mrt
29 Mar 1999
Switch
1 Apr 1999
WETBULB
7 Apr 1999
Thermost
1 Apr 1999
WETBULBJ
7 Apr 1999
Timer
29 Mar 1999
XITERATE
29 Mar 1999
TqFace
1 Apr 1999
WatMerge
1 Apr 1999
WatSplit
1 Apr 1999
Name:
Last modified:
Abstract:
Climate
1 Apr 1999
Process CLIMATE data from file; calc sun pos; send data to facade.
EMeter
1 Apr 1999
Face
1 Apr 1999
Process climate data for FACadE. Calc wind, film coeff & solar radiation.
MultA
1 Apr 1999
PLinSegm
1 Apr 1999
Schedule
1 Apr 1999
Fetch data from SCHEDULE. Handle leap yrs & DST. Generate events.
Shade
7 Apr 1999
SyntClim
1 Apr 1999
WinShade
7 Apr 1999
CONTINUOUS_MODELS:
FUNCTIONS:
ALGORITHMIC_MODELS:
AI-7
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation - APPENDIX I
EQUATIONS
/*********
**********/
END_IF;
END_FOR;
END_SUM / SumFiMRT[j];
END_FOR;
FOR j = 1, nOp
END_FOR;
ELSE
0
END_IF
END_SUM;
THEN
12.1 * SQRT(AirVel[i])
(3.96E-8 * fCl[i] *
2.38 * ABS(0.001)**0.25
((TCl[i]-ABS_ZERO)**4-(TMrtOp[i]-
ELSE
ABS_ZERO)**4))
2.38 * ABS(TCl[i]-TAirOp[i])**0.25
ELSE
END_IF;
0
END_IF
END_SUM;
(35.7+TAir)/2
END_IF;
(0.303*EXP(-0.036*M[i]*58)+0.028) *
( ( M[i]*58-W[i]) -
ELSE
END_IF
END_SUM / HF_VAP;
3.96E-8 * fCl[i] *
( (TCl[i]-ABS_ZERO)**4 - (TMrtOp[i]-ABS_ZERO)**4 ) fCl[i] * hCl[i] * (TCl[i]-TAirOp[i]) )
ELSE
0
END_IF;
AI-8
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation - APPENDIX II
ABSTRACT
INTRODUCTION
IDA Indoor Climate and Energy is a recently developed tool for building performance modelling and
simulation. It represents a new generation of BPM
software in several ways. (1) It is entirely implemented in a general-purpose simulation environment,
IDA. (2) All models are available as NMF source
code. (3) It covers a range of advanced phenomena
such as integrated airflow and thermal models, CO2
modelling, and vertical temperature gradients. (4) It
has a multi-level GUI to accommodate different types
of users. An overview of the new tool is given and the
paper is concluded with a discussion of CAD integration issues.
Figure 1. A wizard for single zone cooling load calculations. Data objects,
which have been selected from the database, may be opened and edited.
e-mail: per.sahlin@brisdata.se;
AII-1
http://www.brisdata.se
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation - APPENDIX II
Figure 2. In the standard level interface, building parameters are defined graphically or numerically according
to user preference.
mercial product. The models are not tailored to Scandinavian needs but seek to capture the international
state-of-the-art in building performance modelling.
Whenever appropriate, models recommended by
ASHRAE (American Society of Heating, Refrigerating, and Air-conditioning Engineers) have been used.
A principal requirement has been usability by nonexperts. The user interface has been designed to support an infrequent user as well as the company simulation expert. Wizards provide easy access to key input fields for common simulation tasks such as sizing
of cooling equipment (Figure 1). Such a simulation
can be carried out from scratch in just a few minutes.
Tailored editors are used to describe geometry. Advanced database features support model reuse.
IDA ICE may be used for most building types for calculation of:
-
AII-2
Solar influx through windows with full 3D account for local shading devices as well as surrounding buildings and other objects
Air and surface temperatures
Operating temperature at multiple arbitrary occupant locations, e.g., in the proximity of hot or
cold surfaces. Full non-linear Stephan-Bolzmann
radiation with view factors is used to calculate
radiation exchange between surfaces.
Directed operating temperature for estimation of
asymmetric comfort conditions
Comfort indices, PPD and PMV, at multiple arbitrary occupant locations
Daylight level at an arbitrary room location
Air CO2 and moisture levels, both which may be
used for control of VAV system air flow
Air temperature stratification in displacement
ventilation systems
Wind and buoyancy driven airflows through
leaks and openings via a fully integrated airflow
network model. This enables study of, e.g., temporarily open windows or doors between rooms.
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation - APPENDIX II
Figure 3. In the advanced level interface, the user may interconnect NMF models at will. User-defined models
may be included. Equations may be examined.
-
AII-3
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation - APPENDIX II
WEATHER DATA
ICE handles two types of weather data: design days
and yearly weather files. Design days are based on
daily extreme wet and dry temperatures and some
additional parameters that are readily found for most
locations. Models are provided to calculate climate
conditions for any time during the day based on the
given parameters.
Weather files are stored in the standard text format of
IDA time-series (*.PRN). Time resolution is arbitrary,
but most sources of data are based on hourly
measurements. Each file is associated with a database
entry to provide additional information about the data.
Interpolation is by default linear, but the user may
select higher order interpolation.
A range of Scandinavian weather files are provided,
in addition to a set of Test Reference Years for
Europe. (These lack information about wind direction).
Weather files based on monthly averages and
interpolation between stations can be generated with,
e.g.,
the
METEONORM
software
(http://www.meteotest.ch), for most international locations.
ICE is delivered with a separate utility program for
conversion of some of the established weather data
file formats into PRN-files, e.g. European TRY,
TMY, Swedish SMHI, and METEONORM output.
The conversion program is also provided as C source
code. This enables advanced users to process any file
format.
VALIDATION
Validation is an ongoing exercise that has been
carried out throughout the development of ICE. A
large number of inter-model comparisons has been
made against the BRIS program [Brown 1990], which
in turn has been extensively validated against
measurements over the years and which therefore is
well trusted by Swedish professionals. BRIS is a heat
balance program that models non-linear radiation and
convection. Model options are available in ICE which
more or less exactly reproduce BRIS results. These
are normally not selected by default.
An extensive empirical validation exercise based on
test cell measurements has recently been carried out
within IEA SH&C Task 22 [Guyon, Moinard and
Ramdani 1999]. A beta version (build 28 of 49) of
ICE 2.00 was used. In spite of very careful test cell
construction and measurements by Electricit de
France, a problem with significant thermal bridges
were discovered at a late stage in the exercise. The
ICE models were not among the models that were
compensated for this, resulting in a systematic overprediction of air temperatures by about a degree C.
CAD INTEGRATION
It is hardly controversial to claim that 3D CAD models will play an increasingly important role in the
building design process of the future. The natural
boundaries between different types of tools in such a
scenario is by no means clear today. Nevertheless, decisions regarding these issues must be dealt with
when designing a new tool with ambition to survive
into the product modelling era. In this section, we will
outline our basic position with respect to CAD integration and present some prototype work that has
been done.
In a future product model based design scenario, a
user must be able to comprehend and interact with
multiple representations of the design at hand. A typical chain of such representations is:
AII-4
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation - APPENDIX II
3. A Mathematical Representation. In a
modern, modular simulation tool, the
simulation model is expressed as a large
system of differential-algebraic equations
(or some equivalent representation.)
AII-5
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation - APPENDIX II
All SMOG spaces are mapped to ICE zones. Additional work done in ICE, e.g. deleting some
zones and furnishing the model with missing
data, such as loads, setpoints, HVAC-system etc.,
has to be repeated each time a revision is done in
the SMOG model.
REFERENCES
ASHRAE: HVAC Secondary Toolkit. A Toolkit for
Secondary HVAC System Energy Calculations.
1993
domain-independent equation
model descriptions (NMF)
based
formal
Brown, G., "The BRIS Simulation Program for Thermal Design of Buildings and Their Services", Energy
and Buildings, 14, p385-400, 1990
Crawley, D.B., Lawrie, L.K., Winkelmann, F.C., Buhl
W.F., Erdem, A.E., Pedersen, C.O., Liesen, R.J.,
Fisher, D.E., What Next for Building Energy Simulation - a Glimpse of the Future, Proceedings to the
Building Simulation 97, Prague, Czech Republic.
1997
Guyon, G., Moinard, S., and N. Ramdani "Empirical
Validation of Building Energy Analysis Tools by
AII-6
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation - APPENDIX II
AII-7
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation - APPENDIX II
user benefit
This enables long-term maintenance and cooperative model development. This way, users and independent developers may contribute to
development without strict coordination, c.f., the collective development of the LINUX operating system.
The NMF description serves the dual purpose of being both model
documentation and source code. (See also the Simulation Model Network http://www.brisdata.se/nmf/simone.htm).
CAD integration has the potential of enhancing accessibility of building performance evaluation (BPE) software in the development process. The general benefits of modular tools are explained above.
Using the same approach for all models enables usage of domainindependent methods as far as possible.
Users of different levels, cultures, languages and objectives need different things from the tool.
Customizable interface
Same as above.
Same as above.
This is a given feature of any reasonably modern simulation tool. Decoupling of the solution process works only if the room temperature is
close to constant.
Many sites provide natural shading that have significant impact on the
optimal design.
Daylighting
AII-8
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation - APPENDIX III
*Task 3:
*Task 4:
*Task 5:
*Task 6:
*Task 7:
*Task 8:
*Task 9:
*Task 10:
*Task 11:
*Task 12:
*Task 13:
*Task 14:
Task 15:
*Task 16:
*Task 17:
*Task 18:
Task 19:
Task 20:
The Netherlands
New Zealand
Norway
Mexico
Spain
Sweden
Switzerland
Turkey
United Kingdom
United States
Task 21:
Task 22:
Task 23:
Task 24:
Task 25:
Task 26:
A total of twenty-five projects or "Tasks" have been undertaken since the beginning of the Solar Heating and
Cooling Program. The overall program is monitored by an
AIII-1
* Completed
IEA SHC Task 22 - Subtask B - Models for Building Indoor Climate and Energy Simulation - APPENDIX IV
TASK 22 DESCRIPTION
AIV-1
PARTICIPANTS
The participants in the Task are: Finland, France, Germany, Spain, Sweden,
Switzerland, United Kingdom, and United States. The
United States serves as
Operating Agent for this Task, with Michael J. Holtz of
Architectural Energy
Corporation providing Operating Agent services on behalf
of the U.S. Department of
Energy.
This report documents work carried out under Subtask B,
Model Documentation.