You are on page 1of 270

THE ESP-r COOKBOOK

Strategies for Deploying Virtual Representations


of the Build Environment

Jon William Hand B.Sc., M.Arch., PhD

Energy Systems Research Unit


Department of Mechanical Engineering
University of Strathclyde, Glasgow, UK.

15 November, 2008
COPYRIGHT DECLARATION
The copyright of this publication belongs to the author under the terms of the
United Kingdom Copyright Acts as quali!ed by the University of Strathclyde
Regulation 3.49. Due acknowledgement must always be made of the use of any
material contained in, or derived from, this publication.

This document is designed to be printed in one of the following formats:


Two pages per sheet of A4 or B4 paper
At 85% scale on A4 paper (wide margins for notes)
At 100% scale on A5 or B5 paper
It is designed to take less space on the screen than the previous edition.
Table of Contents

Abstract . . . . . . . . . . . . . . . . . . . . . . . v
Acknowledgements . . . . . . . . . . . . . . . . . . . vi
1 Introduction . . . . . . . . . . . . . . . . . . . . . 1
1.1 Tactical approaches . . . . . . . . . . . . . . . . . 4
1.2 The client speci!cation . . . . . . . . . . . . . . . 6
1.3 Design questions . . . . . . . . . . . . . . . . . 8
1.4 Model planning . . . . . . . . . . . . . . . . . . 9
1.5 Model coordinates . . . . . . . . . . . . . . . . . 10
1.6 How the building is used . . . . . . . . . . . . . . . 14
1.7 Environmental controls . . . . . . . . . . . . . . . 18
1.8 Model composition . . . . . . . . . . . . . . . . . 21
2 Building a model . . . . . . . . . . . . . . . . . . . 23
2.1 Review of climate patterns and databases . . . . . . . . . . 27
2.2 Locating constructions for our model . . . . . . . . . . . 32
2.3 Zone composition tactics . . . . . . . . . . . . . . . 34
2.4 Model topology . . . . . . . . . . . . . . . . . . 51
3 Geometry alternative inputs . . . . . . . . . . . . . . . . 54
3.1 To the keyboard . . . . . . . . . . . . . . . . . . 55
3.2 Clicking on a bitmap . . . . . . . . . . . . . . . . 59
3.3 Examples of approaches to take . . . . . . . . . . . . . 60
4 3D Modelling . . . . . . . . . . . . . . . . . . . . 64
4.1 Modelling approaches . . . . . . . . . . . . . . . . 65
4.2 Steps to create a roof space . . . . . . . . . . . . . . 69
4.3 Shading obstructions . . . . . . . . . . . . . . . . 74
5 Schedules . . . . . . . . . . . . . . . . . . . . . 76
5.1 Scheduled air "ows . . . . . . . . . . . . . . . . . 80
5.2 Importing operation schedules . . . . . . . . . . . . . 80
6 Climate data . . . . . . . . . . . . . . . . . . . . 83
6.1 Importing climate data . . . . . . . . . . . . . . . . 83
6.2 De!ning seasons and typical periods . . . . . . . . . . . 84
6.3 Climatelist entries . . . . . . . . . . . . . . . . . 88
7 Zone environmental control . . . . . . . . . . . . . . . . 91
7.1 Introduction . . . . . . . . . . . . . . . . . . . 91
7.2.1 Abstract representations . . . . . . . . . . . . . . 91
7.2.2 Abstract example . . . . . . . . . . . . . . . . 93
7.3 Zone control laws . . . . . . . . . . . . . . . . . 95
7.4 Exploring building control issues . . . . . . . . . . . . 97
7.4.1 Basic (ideal) control . . . . . . . . . . . . . . . 97
7.4.2 Interpreting control predictions . . . . . . . . . . . . 102
7.5 Controls implementing boundary zones . . . . . . . . . . 107
8 Thermophysical resolution . . . . . . . . . . . . . . . . 112
9 Preparation for simulation . . . . . . . . . . . . . . . . 114
10 Understanding performance predictions . . . . . . . . . . . . 117
11 Flow networks . . . . . . . . . . . . . . . . . . . . 120
11.1 Limitations of Scheduled Flow . . . . . . . . . . . . . 120
11.2 Fluid Flow Networks . . . . . . . . . . . . . . . . 120
11.3 Building blocks . . . . . . . . . . . . . . . . . 122
11.3.1 Flow components . . . . . . . . . . . . . . . . 123
11.3.2 Flow connections . . . . . . . . . . . . . . . . 124
11.4 Steps in creating a network . . . . . . . . . . . . . . 126
11.5 A simple network . . . . . . . . . . . . . . . . . 128
11.6 To the keyboard... . . . . . . . . . . . . . . . . . 131
11.7 Calibrating "ow models . . . . . . . . . . . . . . . 135
11.8 Flow control . . . . . . . . . . . . . . . . . . 138
11.9 To the keyboard... . . . . . . . . . . . . . . . . . 140
11.10 Window representations . . . . . . . . . . . . . . 144
11.10.1 Component selection . . . . . . . . . . . . . . 146
11.11 Schedules vs networks . . . . . . . . . . . . . . . 148
11.12 Hybrid ventilation . . . . . . . . . . . . . . . . 154
11.13 Limitations of Network "ow models . . . . . . . . . . 158
12 Detailed "ow via CFD . . . . . . . . . . . . . . . . . 160
13 Plant . . . . . . . . . . . . . . . . . . . . . . . 163
13.1 Using a component network to represent mechanical ventilation
. . . . . . . . . . . . . . . . . . . . . . . . 164
13.2 De!ning containments . . . . . . . . . . . . . . . 170
13.3 Finishing off the model and testing . . . . . . . . . . . 170
13.4 Moving from ideal demands to thermal zone demands . . . . . 173
13.5 Links to zones and controls . . . . . . . . . . . . . . 177
14 Working procedures . . . . . . . . . . . . . . . . . . 182
14.1 How can the vendor help? . . . . . . . . . . . . . . 183
14.2 Responsibilities within simulation teams . . . . . . . . . . 183
14.3 Classic mistakes . . . . . . . . . . . . . . . . . 184
14.4 Planning simulation projects . . . . . . . . . . . . . 186
14.5 Team manager . . . . . . . . . . . . . . . . . . 189
14.6 The quality manager . . . . . . . . . . . . . . . . 191
14.7 Simulation staff . . . . . . . . . . . . . . . . . 195
14.8 The mentor . . . . . . . . . . . . . . . . . . . 198
14.9 The domain expert . . . . . . . . . . . . . . . . 200
14.10 Staff productivity . . . . . . . . . . . . . . . . 202
14.11 Summary . . . . . . . . . . . . . . . . . . . 203
15 Model Quality . . . . . . . . . . . . . . . . . . . . 204
15.1 How can the vendor help? . . . . . . . . . . . . . . 204
15.2 Responsibilities within simulation teams . . . . . . . . . . 206
15.3 Model planning . . . . . . . . . . . . . . . . . 209
15.4 Complexity . . . . . . . . . . . . . . . . . . . 210
15.5 Multi-criteria assessments . . . . . . . . . . . . . . 211
15.6 Semantic checks . . . . . . . . . . . . . . . . . 215
15.7 Team Checklists . . . . . . . . . . . . . . . . . 217
15.8 Simulation outputs . . . . . . . . . . . . . . . . 223
15.9 The model contents report . . . . . . . . . . . . . . 226
15.10 Summary . . . . . . . . . . . . . . . . . . . 233
16 Install Appendix . . . . . . . . . . . . . . . . . . . 235
17 Version Appendix . . . . . . . . . . . . . . . . . . . 242
17.1 Text mode . . . . . . . . . . . . . . . . . . . 242
17.2 Legacy X11 graphics . . . . . . . . . . . . . . . . 245
17.3 GTK+ graphics . . . . . . . . . . . . . . . . . . 247
18 ESP-r capabilities . . . . . . . . . . . . . . . . . . . 250
18.1 General modelling features . . . . . . . . . . . . . . 251
18.2 Zone Loads . . . . . . . . . . . . . . . . . . . 252
18.3 Building envelope and day-lighting . . . . . . . . . . . 253
18.4 In!ltration ventilation and multi-zone air "ow . . . . . . . . 254
18.5 Renewable energy systems and electrical systems . . . . . . . 255
18.6 Ideal environmental controls . . . . . . . . . . . . . 256
18.7 Component based systems . . . . . . . . . . . . . . 257
18.8 Environmental emissions . . . . . . . . . . . . . . 258
18.9 Climate data . . . . . . . . . . . . . . . . . . 258
18.10 Results reporting . . . . . . . . . . . . . . . . . 259
18.11 Validation . . . . . . . . . . . . . . . . . . . 260
ABSTRACT
This Cookbook uses the general purpose simulation suite ESP-r as a platform to
explore strategies for deploying virtual representations of the built environment to
answer questions posed in the real world of design and research groups.
The Cookbook talks about translating client questions into virtual representations
that are no more and no less complex than is required for the task. It talks about re-
discovering the power of pencils and paper and it dares to mention the word method-
ology. And discovering valuable patterns in the clutter and then learning the art of
responding to what if questions. And since the author is professionally paranoid you
might pick up some new de!nitions of the word QA.
Almost all of the strategies presented can be applied to the task of creating elegant
virtual representations in other simulation suites. Readers might alert their col-
leagues to take a peak.

v
ACKNOWLEDGMENTS

This book could have been completed only within the exceptional group envi-
ronment of the Energy Systems Research Unit of the University of Strathclyde
in Glasgow Scotland. Where else could an architect compose tens of thousands
of lines of source code and then use the resulting virtual edi!ce to explore and
support the design process and then turn the process on its head to return to the
written page to explore strategies of its use.
The author would also like to acknowledge the time which Samsung Construc-
tion allowed the author during a period of secondment in Seoul.

vi
Chapter 1
INTRODUCTION

1 Introduction
The design process proceeds on the Although we can test whether a partic-
basis of the beliefs the design team ular design variant alters performance
holds about how the current design sat- criteria that are important to the client,
is!es the needs of the client. Sketches the process of undertaking such assess-
indicating interactions of heat and light ments has a cost. We need criteria to
and the movement of air are statements guide us in determining when a design
of belief. Simulation can be used to test variant warrants attention, how we
the beliefs of the design team. might approach such assessments, how
For example, some Architects and best to employ numerical tools, how to
Engineers operate on the assumption interpret the performance data and then
that buildings constantly require translate what we learn into the real
mechanical intervention. Is this world.
assumption true? Rather than assume Learning how to use simulation tools
that buildings do not work, let’s test for design decision support and for
how often buildings work well enough research has tended to follow three
to satisfy occupant requirements with- paths - the mentor path, the workshop
out intervention. path and the there-be-dragons path.
Many design methods focus on The mentor path works exceedingly
extreme conditions and ignore what well and is an ef!cient, if not particu-
happens at other times. What is the larly inexpensive way of gaining the
cost of this? Instead of ignoring transi- skills and tactics needed to apply simu-
tion seasons, let’s explore the nature of lation to real-time projects.
the building’s response to these tran- Workshops are another successful
sient climate patterns and, by under- approach to simulation training. Two or
standing the pattern of demands, devise three days of initial sessions, supple-
environmental control regimes which mented by advanced topic workshops
work well in part-load and intermittent and the occasional email allows many
scenarios. practitioners to productively use simu-
Some design methods assume that lation. Both of these approaches rely
changes dictated by value engineering on personal contact with an expert and
have little or no impact on systems and iterations of demonstration, followed
control response or running costs or hands-on experience and dialogue for
comfort. Folk-lore suggests there is skills acquisition.
considerable risk in this assumption. Many practitioners rely on mentoring
and workshops to keep them up to date
1
as tools evolve and for exploring new r.net/espr/esp-
facilities. Documentation tends to lag r/branches/development_branch
the evolution of simulation tools and and compiled your own version. Most
many lesser-used tasks may not be well of the instructions needed to get a
documented or documented in ways working distribution can be found on
accessible only to geeks. the download page. Additional instruc-
What you are reading now (and the tions are included with the source and
companion Cookbook Exercises is there are discussion lists that might
addressed primarily at those who are provide additional clues.
taking the path of confronting the drag-
ons. It has also been used to support And the ESP-r download pages do not
workshops in conjunction with the really tell you much about what to do
exercise volume. once you have ESP-r on your com-
The Cookbook strives to be generic in puter. This statement is probably appli-
its discussion. As the title suggests, cable to most other vendors. Of course
where speci!c examples are needed there are web based tutorials and exer-
they are based on the ESP-r suite. cises as well as manuals that approach
Some blocks of text apply only to ESP- telephone directory proportions.
r and occasionally you may notice the Most vendors went through a phase
following icon... where they believed that web based
tutorials would supplant mentoring and
workshops. From the author’s perspec-
If you are reading this from the point tive, web pages work less well than the
of view of another application skip mentor/workshop paths. The Cookbook
down a few paragraphs. is an attempt to bridge this gap. It
The Cookbook also includes sections of evolves, as does ESP-r itself, from
interest to technical support staff and observations of practitioners who are
uber-geeks. These are marked with the attempting to support real-time design
following icon... assessments of real-world issues.
Simulation tools almost always arrive
with a range of example models of two
broad types - abstract models which
If you have downloaded one of the pre- are composed so as to illustrate seman-
compiled ESP-r distributions for Linux tics and syntax and those models
(most distributions), Mac OSX, Win- derived from consulting projects which
dows (native GUI), Cygwin (emulation focus on speci!c building performance
under Windows) from the ESRU web design issues. The !rst type is often
site <http://www.esru.strath.ac.uk> or used by novices to get used to the sim-
acquired the source from the source ulation tool, the second type for those
code control repository via the uber- who are looking for examples of best
geek command (on one line): practice models. Vendors do not always
svn checkout https://esp- make clear which is which.
2
Example models contain a wealth of opinionated. And for readers who are
information for those who know what users of other tools there will be much
they are looking for, for those who are of value even if the details of imple-
persistent or for those who are using menting the methods differs. Who
them as reference materials within the knows, someday there may be an Ener-
context of a workshop or in mentor gyPlus Cookbook and an EE4 Cook-
based training. For these users example book.
models can act as:
• a mechanism for exploring the tool
A word about ESP-r versions
(e.g. where do I !nd out information ESP-r is under active development. On
about environmental controls, the any given day there may be a half
composition of walls) dozen commits of code or documenta-
tion or updates to exemplar models to
• to explore the sequence of tasks
the repository. This Cookbook evolves
required to run an assessment and
at a slower pace. This 2008 version
recover speci!c performance metrics
has been revised to match the evolved
• to explore incremental changes in interface of ESP-r but that match is
the description of the model and the likely to be imperfect. Interface entities
performance implications of such and paths such as Model Management
changes -> browse/edit/simulate ->
Creating a model from scratch under composition -> geometry &
close supervision and with commen- attribution may have a different
tary on the approach taken does reduce syntax. If you don’t !nd a match,
the frequency of encounters-with- please look around for something simi-
dragons. In ESRU workshops almost lar.
all participants !rst model works cor- You may also notice is that some inter-
rectly the !rst time it is simulated. face related !gures in the Cookbook
What you are currently reading look different from what you see on the
expands on existing workshop materi- monitor. There are currently three dif-
als and years of mentoring, recast for ferent interfaces for ESP-r. There is
the resolution of the printed page. the traditional X11 interface which has
The goal is not simply to act as a dic- its roots in the world of UNIX and
tionary or reference but as a guide to Linux. There is an almost complete
how to approach realistic design deci- port of ESP-r to a graphic library called
sion support in real time, delivering GTK. GTK is implemented on a dozen
real information and still have time for operating systems and this allows ESP-
a cup of coffee at the end of the day. r to be run as a native Windows
executable. It also has a more familiar
This document is based on the premiss look and feel and once the port is com-
that readers will already have an intu- plete it will be the primary interfaces to
ition about the physics of buildings and ESP-r. The third interface is a pure-text
environmental systems. A future revi- interface which tends to be used for
sion is planned for those who are less scripted production work or to enable
3
ESP-r to act as a background engine The !rst table is a powerful dragon
for other software. Look in the Version slayer. Clients ask us questions - but
Appendix to see typical dialogues from what are the questions we ask our-
the different interfaces. selves as we plan and then compose
With the exception of !le browsing our virtual worlds?
facilities, the command sequence
needed to undertake most tasks is
almost identical across each of the
interfaces. Where facilities differ you
may see one of the following icons fol-
lowed by speci!c instructions...

1.1 Tactical approaches


Depending on your personal prefer-
ences, getting acquainted with a simu-
lation tool either begins with exploring
existing models (in ESP-r these are
called exemplars) or in the context of
creating a model from scratch.
If you are taking the from scratch route
grab a note-pad and some sketch paper.
The following sections explore how
you can use ESP-r to arrive at a work-
ing simulation model and a growing set
of simulation skills. If you are using a
different simulation suite keep reading.
Tactics can almost always be applied
universally.
Lets begin by deciding what kind of
model we are going to make and then
plan the work so that it !ts our
resources. This is a tactical approach
to simulation which concentrates on
the art of making concise models to
answer our clients questions without
delaying the design process.

4
Table 1.1 Initial tactics:

Design Question Simulation questions

What do we want to What thermophysical issues should be addressed by


know about the design? the model?
How do I know if the What performance can I measure to inform my
design works? judgements?
What level of model detail is required for this?
How might the design What boundary conditions and operating regimes
fail? would be a reasonable test?
How do I match the What is the essence of the design in terms of form,
information I have with composition, operation and control?
the requirements of the What essential interactions need to be represented?
tool? What facilities can be employed and what skills are
needed to use them?
Is our approach ok? Can I sketch out my model and explain it to others?
Are the performance What assessments need to be undertaken to gain
predictions credible? con!dence in the model?
What is expected of a best practice design?
How can I deliver the What else would clarify how the design works?
most value for my How might the design and the model evolve during
client? the design process?
What would I do now to make it easier to work with
this model again after a four month delay?

Without tactics we will miss out on the type of model(s) the speci!cation
value-added aspects of simulation implies as well as the assessment(s)
which cost us little to implement but that need to be done to answer the
deliver substantial bene!ts. A tactical clients questions or further our research
approach keeps you in charge of the goals. The plural is intentional - real
simulation tool. projects are iterative and models either
Simulation models have a context evolve or spawn the next generations of
within which they are created and model.
evolve. In the next section the clients
speci!cation and design questions form
the context. From this we decide what
5
1.2 The client specification
The following section provides the 80% 1.5
speci!cation of our !rst project. It is
designed to allow an exploration of the 0.75
best-practice choices made while plan-
3.0
ning simulation projects. 2.0 2.1

Section looking west

3.0 x 0.75
No matter what simulation tool you 3.0
are using, there is always more than
one approach to a given task. Work- 7.0
shops typically use sequences that 1.5
are known to work. Mentors will
4.0
encourage you to explore alternative 1.0
approaches. Enlightened managers
3.0 x 0.75 1.5 3.0x0.75
allocate time for such explorations.

This initial simulation project is part of 4.0 4.0


a general practitioner’s of!ce. The
Figure 1.1 Plan and section of general
client speci!cation is intentionally
practitioner of!ce.
terse so as to demonstrate typical deci-
sions made by simulation teams in
practice. Clients have beliefs about
how buildings work and simulation is
one approach which can be used to
con!rm or refute such beliefs.
Figure 1.1 shows a plan and section
(looking from the east) of the general
practitioners of!ce. The reception has a
"at roof and the examination room has
a sloped roof with a skylight to the
north.
Figure 1.2 is a wireframe perspective
view (looking from the south-west).
Note the strip windows on the north of
Figure 1.2 Wire-frame view of general
the reception and the two strip win-
practitioner of!ce.
dows on the south facade.
Figure 1.3 is a colour rendering (look-
ing from the south-west) which was
created by exporting the ESP-r model

6
to Radiance.

This project represents a portion of a


general practitioner’s of!ce. Focus-
ing initially on a portion of a building
is a powerful strategy and one which
is applicable to almost all simulation
tools.

The client indicates that this medical


practice has a brisk turn-over of clients
and that, on average, there are two peo-
ple in the examination room during the
hours of 9h00 to 16h00 on weekdays
(200W sensible, 100W latent). The
Figure 1.3 South-west view of general reception area serves other portions of
practitioner of!ce. the building which are not included in
Figure 1.4 is a view from the north- this model and there might be up to
west through the examination room. !ve people. Lighting in the reception
The white surfaces represent walls is 150W during the hours of 8h00 to
which are partitions to a portion of the 19h00 and there are no small power
building which has not been included loads in either room for purposes of
within the model. this model.
The heating set point is 20°C and the
cooling set point is 23°C between 9h00
and 17h00 on weekdays with frost pro-
tection (15°C) on weekends. The
client has no speci!c opinion as to how
this is to be achieved.
ESP-r, unlike some simulation suites,
includes both ’ideal zone controls’ and
component based descriptions of envi-
ronmental systems. In this exercise we
will start with a minimalist ’ideal’
description and assume that both heat-
ing and cooling are assumed to be
delivered convectively. ESP-r demands
Figure 1.4 North-west view of general an initial guess at the heating and cool-
practitioner of!ce. ing capacity, but otherwise we will
maintain our focus on demand side
issues.

7
form, composition and use as described
in the client speci!cation. The model
need not be particularly detailed and
Questions to ask about auto-size our goal is to maintain the volume of
functions: the spaces as well as the orientation,
a) what boundary condition(s) and area, distribution of mass and general
operational regime(s) are associated shape of the room surfaces.
with peak conditions? Review Table 1.1. If the client asked
b) what method(s) are used to assess different questions the nature of the
intra-component dependencies as assessments might well be different.
components are sized?
c) what criteria are used to determine So, what sort of assessments will
which sub-optimal set of component address the question of typical heating
sizes works best? and cooling demands, capacity and
d) what criteria might you use to con- comfort? If we weren’t thinking tacti-
!rm the suggested sizes? cally we might run an annual simula-
tion and then get bogged down in scan-
ning the predictions for useful informa-
tion.

Components might seem unambigu-


ous. Be sceptical until you can con-
!rm that they match your expecta-
A tactical approach limits the quan-
tions.
tity of information we have to deal so
Back to our initial model. Even the best both the model and its performance is
of buildings have in!ltration. There is a easier to understand and the QA bur-
discussion about air "ows in a later den is reduced. Lets look !rst on
section. For now lets use an initial seasonal patterns to highlight perfor-
engineering assumption that there will mance issues. Computers may
be 0.5 ac/hr in!ltration at all hours. process a year in seconds but QA
staff costs are greater.

The key initial objective is to support


1.3 Design questions our own understanding of performance
The client wants to know what the typ- by looking at patterns in a limited set
ical demands for heating, heating of data and so be able to spot glitches
capacity, thermal comfort in the winter in our model as well as opportunities
and summer, whether it is likely to for improvements to the design (or the
overheat and if the daylight distribution clients speci!cation) as soon as possi-
is ok. ble.
To answer these questions we require a Value added: The client did not ask for
model which represents the general it, but it takes little extra effort to check

8
for typical spring and autumn perfor- To answer the question about day-
mance might provide useful feedback lighting we can look at daylight factors
to the design team. across a grid in each of the rooms. To
Another tactic is to de!ne performance build a model that will answer ques-
metrics (e.g. what can we measure in tions of thermal and lighting perfor-
our virtual world) early in the process. mance we need to decide how much
Some metrics e.g an energy balance geometric resolution if required. In the
within a zone, might contribute to our case of daylight factors the level of
own understanding of the design and detail needed for the thermal assess-
other metrics e.g. thermal comfort ment should suf!ce. If glare was to be
might be useful to report to others in assessed the model would need to
the design team. include additional visual geometric
details. Later on we will consider tac-
ESP-r workshops typically devote as tics that anticipate probable future
much time to exploring building per- design performance questions.
formance issues as is spent on model
creation. Simulation suites which do QA tip: Write down these decisions,
not include an interactive exploration we will want to review them as the
facility will include a descriptive lan- project progresses to make sure we
guage to specify what performance are working to-the-plan.
metrics are to be captured during each
assessment - so learn that language!
1.4 Model planning
The metric for heating and cooling
demands is kWhr (integrated) over the Get out your grid paper and note pads
week and for capacity the metric is and keep the laptop lid closed for now.
diversi!ed kW (the peak capacity Pre-processing information and sketch-
required for this portion of the build- ing the composition of our model will
ing). Just to be sure that the pattern of limit errors and make it easier for oth-
demand is reasonable we will want to ers to understand what we intend to
graph this. In addition to a table of create, and, after we have made it, to
demands and capacity we might help check that it is correct. This rule
include the graph in our report if it applies whether we are going to import
proves of interest. CAD data or use the in-built CAD
functions of our simulation tool.
Resultant temperature is a common
comfort metric. A frequency bin of It also saves time and removes another
resultant temperatures during the occu- source of error if we convert the impor-
pied periods would inform the client tant horizontal and vertical dimensions
about the distribution of comfort. For (such as those shown in Figure 1.1) to
our own use, we also want to check the model co-ordinates and include them in
number of hours over 24°C and graph our planning sketches. This avoids
the temperatures, we might include jumping between a keyboard and a cal-
these in our report if they prove inter- culator during model de!nition as well
esting. as helping in QA tasks

9
can produce useful models.
The approach we take to create the
form of the model is as dependant on
User friendly software does not the questions we wish to address with
reduce the need for planning or the model as it is on the speci!cs of the
robust QA. If anything, it is even building blocks and input facilities that
more important to guard against are offered by the simulation suite.
needless complexity. Lets call this
• questions about general comfort and
avoiding the dark side.
energy demands at peak and moder-
An exercise related to model planning ate climate conditions require only a
is included in the Cookbook Exercises moderate geometric resolution e.g.
within Exercise 1. correct volume of the space, approx-
imate location of doors and windows
• questions related to comfort at a spe-
1.5 Model Co-ordinates ci!c location require higher geomet-
Novice practitioners often proceed ric resolution, especially if surface
under the assumption that geometric temperatures are likely to be vary
input consumes the bulk of their across a surface
project time. Seasoned simulationists • question related to visual comfort
know that geometry takes about a third will require higher geometric resolu-
of their project time and they evolve tion for facades and may require that
strategies to help them limit the time furniture within rooms and outside
spent on creating and checking geo- obstructions be accounted for
metric entities (so they will have the • questions related to the distribution
time and attention to leverage value- of air temperature within a physical
added opportunities that might arise). space may require that it be repre-
An experienced user can generate mod- sented by more than one thermal
els with scores of thermal zones that !t zone or that it include a CFD domain
together correctly the !rst time. Such • questions related to passive solar
skills can be acquired over time. We performance may require a higher
are going to walk before we run, and level of geometric and construction
our initial goal is to create a correct detail to assess the impact of mass
three zone model for the doctors of!ce. and the distribution of solar radiation
In workshops nine out of ten partici-
Each of these issues require that we
pants create models which simulate
!rst consider the physics underpinning
correctly the !rst time. If asked, most
the assessment. Second we must search
are able to re-create this model with
the available model building blocks for
minimal support and in 25-35% less
relevant entities. Lastly we must con-
time. So even though an experienced
sider what resolution to apply those
user will outpace a novice, good work-
entities within our model.
ing practices ensure that even novices

10
For example, a passive solar design measure from the inside face of exte-
will be sensitive to heat stored in the rior walls.
fabric of the room as well as details of • Measuring partitions at each face is
glazing in the facade and in partitions common where the co-ordinates are
to adjacent rooms. The surface temper- taken from CAD drawings and at the
atures in a sun patch might be substan- centre line during the sketch stage.
tially elevated. To !nd out where the
sun falls in the room at different times • Ceiling voids or raised structural
of the year we might create a rough "oors with little or no air movement
model and then check what we can see are often represented as layers of air
in a wire-frame view at different times in constructions. Where air
of the year. Our goal would be to !nd movement is likely or there are sig-
out if we need to subdivide surfaces to ni!cant heat gains within the void
better re"ect the temperature differ- they may be better represented as a
ences in insolated and un-insolated separate thermal zone.
portions. We can then make a variant • As ceiling (below) to "oor (above)
of the zone with higher geometric reso- distances increase it makes sense to
lution and compare the predicted sur- take the height co-ordinates literally
face temperatures. and geometrically separate levels
As a general rule the design of models within buildings.
should ensure that the volume of the air There are ESP-r exemplar models
is close to the correct value just as we which have the zones on each side of a
want to ensure that the surface area is partition in the same plane and other
correct and that mass within the rooms exemplars have zones separated in
is appropriately distributed. space. In most simulation tools it is a
In the doctors of!ce the windows are matter of personal preference because
not large and the questions are general the heat "ow between zones is estab-
and so the exact location of the win- lished by speci!c directives partn_cor
dows is not critical (but it costs us in office is connected with partn_off in
nothing to place them accurately). corridor which are separate from the
geometric de!nition.
The dimensions shown in Figure 1.1
should be straightforward to represent. Most simulation tools represent geom-
Looking closer, there is no thickness etry as polygons and separately repre-
indicated so the criteria used to arrive sent their composition. Wire-frame
at the dimensions is unclear. If you displays often present models as hav-
were tasked with determining dimen- ing walls of little or no thickness. For
sions from information supplied by a modern (thin) construction the wire-
client a set of rules would be useful. frame display may provide an image
that allows us to forget that real walls
• Where the volume of the space is have thickness.
large with respect to the thickness of
the facade and where the complexity
of the facade is low it is common to
11
Consider the modern of!ce construc-
tion in Figure 1.5 there will be little or
no change in predictions whether the
centre line or the actual location in
space is used. Given that there are
doors in the partition there is a strong
case for adopting the centre line to
avoid visual confusion.

Figure 1.6 Plan of a historic building.

Translating the historical plan into a


model required a number of decisions
Figure 1.5 Plan of a modern building. to represent in one dimensional heat
"ow paths a building which is a sub-
At the other extreme, historical build- stantially three dimensional heat "ow
ings can have exterior walls and parti- problem. The result, shown in Figure
tions which vary in thickness and are 1.7, substantially retains the volume
substantially different from the thick- and positions of the spaces rather than
ness of doors. In Figure 1.6 the inside the exterior form of the building. Thin
and outside faces are multi-faceted the partitions are taken to the centre line.
shape of the window surround in"u- Some plan detail has been omitted and
ences the distribution of light within minor spaces amalgamated into adja-
the room. Some partitions are thin cent rooms.
enough to be treated as centre lines and Having sketched on an overlay what
others suggest a separation of the ther- we wanted to transcribe, the actual cre-
mal zones. ation of the initial extruded form of the
rooms was accomplished in a matter of
minutes via a click-on-bitmap facility.

12
• would more sunlight enter the room
if a window was lowered by 5cm?
• is it necessary to include the frame
of the window?
• is it necessary to include the furni-
ture within the rooms?
Essentially our concern is to ensure
that the uncertainty in the model is
constrained to the point where it would
be unlikely to change a design deci-
sion. Each of the above bullet points
could, in fact, be tested by creating
model variants and then looking at the
performance differences. There are
many simulation groups who have
undertaken such parametric studies to
Figure 1.7 Model of a historic building. arrive at their rule set. For this initial
exercise the rule is keep it simple.
The geometry at the window heads and The X axis in ESP-r is towards the East
sills was then adapted and the doors and the Y axis is towards the North.
inserted. When attributing the surfaces, Most users !nd it convenient to keep
the associated construction was their model in positive co-ordinates
selected to account for the local cross and to de!ne their model using cardi-
section. nal orientations and later rotate and
A further discussion about options for transform the model to re"ect condi-
interpreting complex three dimensional tions at the site.
designs into appropriate models can be Figure 1.8 shows critical co-ordinates
found in Chapter 4. (X,Y) derived from Figure 1.1. To sim-
The Cookbook is concerned with the plify our task let us assume that the ori-
art of composing models which are gin of the model is at the lower left cor-
speci!cally adapted to the needs of the ner of the examination room. The criti-
design process. Not all projects are as cal vertical points to record on your
demanding as the historic building. notepad are 0.0 (ground), 2.0 (window
There is also an art to creating models sill), 3.0 (ceiling), 4.5 (top of sloped
which are !t for the sort of general roof).
questions posed in the doctors of!ce.
While planning a model we might ask
ourselves:
• would patterns of temperature and
heating change if the volume of the
space was off by the width or a wall?

13
single assessment. Why bother?
Because a few minutes effort can give
early clues of how buildings may fail
Taking the time to gather and con!rm and how the building fabric and its sys-
critical co-ordinates in the plan and tems respond.
sections before going to the keyboard Another reason to bother is that "all
is a key technique in getting-it-right- staff are here all the time and copy
the-!rst-time. machines have a constant queue of
telephone directory length reports" is
not usually how buildings are used. It
might be a secondary question to ask
when testing risk to have such an
extreme as an alternative, but not as the
primary operational regime.
The examination and reception spaces
have a simple schedule of occupancy
which includes some diversity. For
example, there is a lunch hour and
there is a ramp-up and ramp-down of
gains at the start and end of the day to
represent cleaning staff in the morning
and stragglers at the close of work. In
Figure 1.8 Critical dimensions taken both cases there are periods during the
from the plan. morning and afternoon with full loads
so that capacity issues and the potential
for overheating are addressed.
1.6 How the building is used ESP-r represents internal (casual) gains
Our next stage in the planning process as a schedule which applies to each
is to deal with how the building is used de!ned day type. By default there are
(schedules of occupants, lighting, small weekdays, Saturdays and Sundays. For
power). The client speci!cation must this exercise lets stick with a default set
be transformed into schedules. Experi- of day types.
enced user will either sketch the day You can lump all casual gains together
schedules or record the time and values for de!nition and reporting purposes or
for each casual gain data for each day use up to three separate types of casual
type just like they did for the co-ordi- gains. Typically the !rst type is for
nates. occupants, the second is for lights and
Just as de!ning an appropriate level of the third is for small power (equip-
geometric detail is important, sched- ment).
ules can be crafted to test a number of Each of the days has one or more peri-
performance characteristics within a ods associated with each type of casual
gains. Periods must not overlap and
14
should cover the entire day (0h00 to
24h00. Each period has a sensible load
(W), a latent load (W) as well as the
fraction of the sensible load which is During model planning sketch the
radiant and convective. pattern of the various casual gains for
In the reception occupant sensible each of the day types indicating the
gains are 80W from 7h-8h, 240W from different periods and the magnitude
8h-9h and 12h-14h and 400W from of the gains. This information can
9h-12h and 14h-17h. For purposes of then be used when inputting data as
this exercise occupant latent loads in well as during model checking.
the reception are assumed to be half the Sketches save time. Try it for the data
sensible loads. Consider though what described above and compare this
might be happening in such spaces. with Figure 1.9 for the reception and
What is the latent gain from several Figure 1.10 for the examination
cups of tea or a boiling kettle? room.
For purposes of this exercise we will This overview of how the building is
treat all casual gains as having a 50% used will be your reference material for
convective component. In a real project much of the discussion of working
you would use values appropriate to practices in Chapter 5.
the type of occupant, light or small
If you want to explore a variety of
power device.
schedules for different building types,
The notes !eld allows space for record- browse through the exemplar models
ing assumptions and the intent of the and focus on how schedules are
data. Such notes help others decode the treated. Although not discussed in the
numbers within the schedules and are Cookbook there are additional options
an essential part of QA. If the note for de!ning schedules of greater com-
mentions how many people or light !x- plexity. For example, there is a short
tures this could be used to subse- time-step data facility which allows
quently scale the data. casual gains to be speci!ed at each
time-step.

15
Figure 1.9 Pro!les for reception.

16
Figure 1.10 Pro!les for examination.

17
1.7 Environmental controls • Ideal system descriptions which
The Cookbook advocates a fast-tack de!ne a generally recognised pattern
strategy to establish: (e.g. VAV terminals with a perimeter
trench heater), via high-level param-
• patterns of heating and cooling eters which are then associated with
demand over time, a number of thermal zones in the
• the frequency of extreme conditions, model. Depending on the simulation
• the frequency of minimal demand, tool there will be a different !nite
list to select from.
• what might happen if heating or
cooling failed, • Libraries of detailed system compo-
nents e.g. fan coils and valves, which
• what might happen if heating or
can be assembled by the user into a
cooling was critically undersized,
variety of environmental systems as
• how often will the building work sat- required and linked with control
isfactorily without mechanical inter- components and logic.
vention.
• Templates which de!ne an environ-
Such early indicators are valuable to mental control system from detailed
other members of the design team. components. The template expand a
Deriving them may also result in well- limited number of descriptive terms
founded opinions about demand side into scores, if not hundreds of com-
improvements and likely environmen- ponents of a known topology, typi-
tal control regimes. cally including control components
Section 1.1 it did not include a speci!- and control logic. Templates often
cation for an environmental control use a high level language to support
system other than the set points to be the creation of component networks.
maintained. Even if the brief had been Software vendors have had mixed luck
speci!c it might not be well founded with each of these approaches. From
and would need to be evaluated. the user perspective each has pros and
Each simulation suite implements envi- cons.
ronmental controls via one or more • Ideal zone controls can mimic any
arbitrary conventions: number of real systems but present
• Ideal control laws which de!ne what users with a mix of abstract terms
is sensed e.g. dry bulb air tempera- e.g. radiant/convective splits and be-
ture, control logic that responds to haviour e.g. proportional/integral
the sensed condition and some form action rather than physical devices.
of actuation e.g. the injection of "ux Frustratingly, ideal zone controls
at some point in the model. Usually often ignore the parasitic losses and
there are a limited number of param- electrical demands that many practi-
eters that can be set by the user and tioners are interested in.
such controls tend to be applied to • Ideal systems, often only roughly
individual thermal zones. approximate what the practitioner
has in mind. Vendors have reacted
18
by adding more variants and/or pro- composition and using it to support
viding additional input parameters. the design process. For others who
The chat lists for tools are full of have any level of curiosity about a
practitioners confronted by the black newly created system the QA impli-
art of tweaking an existing system to cations are substantial. Does the
mimic a different design variant. interface support understanding of
Occasionally the mimicry takes on what was created? If the practitioner
elements of a farce. needed to adapt or revise the param-
• Libraries of components are, in eters within components within such
many ways a reaction to the con- a network what methodology might
straints of pre-de!ned system lists. they use to ensure this was done cor-
Opinionated practitioners are able to rectly?
be speci!c and evaluate alternative If you think your tool only offers
designs and explore many more detailed components, look closer to
aspects of system performance. see if there are abstract components
Unfortunately detailed descriptions available. In the early stage of design
are tedious to set-up, dif!cult to cali- they may be more than adequate.
brate and can approximate a black ESP-r supports the following options
hole if they need debugging. Few for environmental controls within a
interfaces or QA reports are able to model:
communicate fully the attributes and • Ideal zone controls (to be covered in
relationships within a network of this section)
components. Somewhat to the sur-
prise of software vendors, there are • Ideal systems expressed as ideal
practitioners that lack the back- zone controls with additional param-
ground, opinions or tenacity neces- eters to support post-processing of
sary to create systems from scratch. additional performance data e.g. "ue
losses, fan power. There is no inter-
• Which brings us to component net- face to this facility and it is not sup-
works created from templates. They ported on all computing platforms (a
offer the detailed performance char- shameful state of affairs)
acteristics of components with most
of the tedium removed. Whereas the • Detailed system components,
older ideal systems approach might optionally in conjunction with mass
have expanded a score of user inputs "ow network components and elec-
into a score of equations to be trical power networks (to be covered
solved, the template approach can in a later section)
generate a network of scores, if not At this point, many practitioners
hundreds of components, and gener- would, no doubt, feel compelled to
ate thousands of lines of description. jump into the details of their usual
Clearly the author of a template environmental control system. Round-
would have an advantage in under- ing up the usual suspects is the antithe-
standing the resulting network sis of a strategic use of simulation.
First, establish patterns of demand.
19
Second, explore options quickly by • How does one validate a template-
delaying speci!city and detail in envi- based system design? Is a systematic
ronmental control systems. Delivering exploration of templates and compo-
information quicker and with less nents possible?
effort than our competitors is a good • Does the interface support detailed
business plan. modi!cations of an initial template-
Actually, many simulation tools make based design?
it dif!cult not to be speci!c in the early • Does the interface support suf!cient
stages of a simulation project. Vendors variants of an ideal control to allow a
sell Wizards that offer scores of pre- design team to pose relevant what-if
de!ned system templates which expand questions?
into networks of wondrous detail.
Wow, so much from so little work (and • What support is available to move
it didn’t crash so it must be a good from an abstract representation to
design)! Vendors have less to sell with one with a higher resolution?
an abstract ’purchased air’ option or Since the focus is on learning about
ideal zone controllers. patterns of demand, an abstract
So what approach to take? Here is a list description of the system is all that is
of questions which might help identify required. ESP-r’s ideal zone controls
whether a network of system compo- supports abstract descriptions of how
nents is suitable at the current stage of heat or cooling is generated.
the design process: For purposes of this exercise an ideal
• Do we have suf!cient information to zone control will characterise the
generate a network? response of a convective heating and
cooling system to the client’s set
• What performance indicators of the points. We do not know the capacity, so
network and/or components are we we will make an initial guess (say
interested in? 4KW heating and 4KW cooling) and
• Can we explore broad-brush ’what- see how well that matches the
if ’ questions? demands.
• Can we tweak component details Once these patterns are known our
during the detailed design phase? experience might suggest a sub-set of
• Are the physics within an idealised approaches. We can then explore dif-
control or abstract component suf!- ferent types of control logic and begin
cient to explore a design issue? E.g. to be speci!c about the equipment that
mimicking a radiant cooling system would be appropriate.
with ’purchased air’ might be tortur- If the environmental controls have a
ing the physics. schedule this should be recorded in
• What form of tool-generated docu- much the same way as occupancy
mentation is available to support QA schedules. Indeed, there are often
tasks? dependencies between occupancy pat-
terns and environmental controls that
20
should be resolved at the planning Exercises within Exercise 5.
stage. This completes the planning phase and
If there are options for the type of sys- our next task is to create a model which
tem or the control actions which can be matches the requirements set out in the
applied, ESP-r can accept alternate planning stage.
controllers which can be tested in sub-
sequent assessments with little addi-
tional effort.

1.8 Model composition


The client has not speci!ed what the
building is to be made of. We are going
to have to select placeholders from an
existing database until such time as
there is a clearer de!nition. Given the
building type most professional prac-
tices will have available a number of
likely constructions.
The following general types of con-
structions will be required for the
building discussed in section 2.3:
• an exterior wall
• an internal lightweight partition
• double glazing for the windows
• a "oor which includes some ground
layers
• a ceiling for the sloped roof of the
examination room which also acts as
a roof
• a ceiling for the reception
One of our initial tasks will be to
review the current contents of the con-
struction and materials databases to
locate existing entities which may be
used as well as decide which ones can
be adapted via copy and edit and which
need to be added.
An example of the steps needed to do
this are included in the Cookbook
21
Chapter 2
BUILDING A MODEL

2 Building a model
With planning complete we can take
the client’s speci!cation and our
sketches and notes and begin a new
project. If you are using another simu-
lation tool adapt your keystrokes and The following sequence will
!nd equivalent facilities to create your take you to your home folder
model. and start up the ESP-r Project
Manager:
There are several exercises in the
cd
Cookbook Exercises volume which esp-r
focus on this Chapter. Look at Exercise
2 as you start to create your model and
complete Exercises 3-6 to ensure the
databases are prepared with the entities
you will need to build your model.
Interface interactions and typing are
Use Windows Explorer to select
shown in typewriter text.
C:\Esru\Models or another folder
First select a folder for your model. that is not deeply nested and which
Consider appropriate access privileges, has a minimum of spaces in the path.
how models will be archived and how In the C:\Esru\Models folder there
models might be shared. A discussion is an esp-r.cmd !le which will
of such issues can be found in the start-up the ESP-r project manager.
Install Appendix.
Give one of the following sets of com- Figures 2.1 thru 2.4 illustrate (via the
mand depending on the operating sys- X11 interface) the steps we are going
tem your are using: to take. Those using a GTK based
interface will be asked the same ques-
tions, in the same order.
Our tasks is to create a new model so
select menu option Model Manage-
ment -> create new

23
Figure 2.1 First steps in creating a new model.

24
Figure 2.2: Folders to be created.

Figure 2.3: Further registration tasks.


25
A dialogue will open at the bottom of
the project manager which will ask you
for a root name to use when creating
the model and its folders (Figure 2.1).
For this exercise lets use doctor_of!ce.
This root name will also appear in
many of the model !les so choose
something which is short and clear.
You have the choice of placing your
model !les within a single folder or a
standard set of folders. The single
folder choice might be appropriate for
a simple model. Since ESP-r separates
model information into a number of
!les the standard approach is to use
multiple folders to hold different types
of information. For example, informa-
tion about controls is held in a ctl
folder and zone related information is
held in a zones folder. For this exer-
cise choose standard. You will be asked
for a descriptive title for the model
which is included in reports and above
the wire-frame view.
There is a text log !le associated with
the model where you can keep track of
Figure 2.4: Model management menu.
who does what and when. You might
also include in it a summary of the
assumptions that you are making (in
case someone asks). QA tasks are so
much easier if you take a few
moments documenting your model.
Notice in Figure 2.3 that the Longi-
tude difference? dialogue shows
a pop-up help message. All dialogues
and menus have contextual help. When
in doubt use the ? button.

26
2.1 Review of climate patterns and the options shown in Figure 2.5 select
databases the annual climate option.
At this point we have registered a new Once a database is selected then there
simulation project (the terms project are a (mostly) common set of tasks
and model are often used interchange- which are available (see Figure 2.6).
ably in ESP-r). There are a number of Some databases include functions to
tasks that we want to complete before convert between binary and ASCII ver-
we begin to de!ne the form and com- sions. Databases which require fre-
position of the general practitioners quent random access typically have a
of!ce. This section and Exercise 3 in binary form. ASCII versions are useful
the Cookbook Exercises are concerned for transport between computers.
with the following tasks: For climate databases there are also
• Find a climate !le and typical cli- options to convert EnergyPlus EPW
mate periods for our assessments. !les and Korean MET of!ce !les to
• Review construction and materials ESP-r format !le.
databases. Assuming ESP-r was installed cor-
• Select or create places holders for rectly, you will now be presented with
constructions and materials. a list of known climate !les (see Figure
2.7). Adding additional sets is a sepa-
The Cookbook advocates the use of rate topic.
short climate sequences for model cali-
bration and focused explorations. For For purposes of this exercise we want
example, a Monday morning start-up to select an existing climate data !le.
after a cold weekend can tell us much Choose the Birmingham IWEC cli-
about the characteristics of a building. mate, look at the summary in the text
Do peak summer demands coincide feedback area and con!rm the selec-
with the hottest day or is it a function tion. The ESP-r climate module (clm)
of several hot days in sequence? There will start, and your !rst task is to con-
is no point in using an annual assess- !rm the climate !le name in the initial
ment to address such issues and, more dialogue.
importantly, great advantage to front- The ESP-r climate module (clm) pro-
loading simulation tasks so that models vides facilities to explore climate data
are calibrated as soon as possible. sets via graphs, statistics and pattern
The following discussion includes cli- analysis facilities (see Figure 2.8). Our
mate data search techniques for identi- initial task is to use these facilities to
fying an appropriate week in winter better understand the climate patterns
with a cold weekend and a summer in Birmingham and identify useful
week with a sequence of warm days. assessment periods.

To work with climate databases, select


the menu option Model Management
-> Database Maintenance and in

27
Figure 2.5 List of ESP-r databases.

Figure 2.6: Typical options for databases.

28
of the is an option find typical
weeks.
This facility works as follows:
• the average & total heating and cool-
ing degree days (HDD & CDD) and
solar radiation are determined for
each season,
• for each week, average HDD &
CDD and solar data is found and
compared with the seasonal values
and the week with the least deviation
(using user supplied weighting fac-
tors) is reported. For this climate and
with the default heating and cooling
base temperatures the best-!t weeks
start on 27 Feb, 10 April, 19 June, 5
Oct and 4 Dec. Write these dates
down and then go review these peri-
ods by graphing and/or gathering
statistics about them.
• The climate module provides several
ways of looking at the data so see
which ’view’ tells you the most!
The provision of different views of the
climate data can assist in locating pat-
terns within the climate data and
answering different questions that
clients might pose.
Time spent exploring this module can
Figure 2.7: Available climate sets. provide critical clues as to patterns
There are a number of options under within a climate that may be used in
synoptic analysis (Figure 2.9) which the design process.
are useful for !nding climate patterns
with which to test our building.
To generate a statistical report as in
Figure 2.10, !rst select the climate data
you wish to analyse e.g. dry bulb
temperature and then the type of
analysis e.g. maximum & minimum
and then the reporting frequency e.g.
day/week/month. Near the bottom

29
Figure 2.9: Synoptic analysis.
Figure 2.8: Clm module opening menu.
Another example is Figure 2.12 where
An example is the graph of tempera-
the psychrometrics of the outside air
tures over the year (Figure 2.11) with
have been plotted over the whole year
the current seasons indicated across the
for the same location.
top of the graph. There are a number of
times when it is below freezing, but the Most companies who regularly deploy
graph indicates that these tend to be simulation will have evolved proce-
brief. This might support the use of dures for selecting climate data for spe-
brief performance assessments for win- ci!c design assessments. The acquisi-
ter heating demands and capacity. It tion of climate data is covered in a later
also indicates scope for testing whether chapter.
a design might be optimised to cope
with brief rather than extended cold
periods.

30
Figure 2.10: Weekly statistics.

Figure 2.11: Annual plot of temperatures.

31
Figure 2.12: Annual psychrometrics.

2.2 Locating constructions for our Typically material and construction


model databases are managed at a corporate
Our next task is to do a quick review of level but ESP-r also allows model spe-
available constructions so that we will ci!c databases and possible working
be able to attribute our model as we practices are also discussed.
create it. You will want to look at Exer- So, return to Model Management ->
cise 4 which focuses on a review of database maintenance -> con-
materials which may be needed and the structions select the current (e.g.
steps required to take an existing mate- standard) database and note the list of
rial and create a variant which is appro- constructions (see Figure 2.13) and
priate for the current project. Exercise details (see Figure 2.14) of those you
5 will give you practice at the review of might associate with this new model.
constructions as well as in adapting One tactic, if you don’ t !nd what you
existing constructions and creating new are looking for, is to make a project
constructions. The exercise uses the copy of one of the standard databases
standard ESP-r constructions database. and then add in place-holder construc-
If you are working with a different set tions. A place-holder is a named con-
of databases the process is the same but struction which either does not have a
you will have to adapt the details to !t. full set of thermophysical properties or
It is possible to con!gure ESP-r to load uses an approximation. This can be
an initial set of databases that are associated with the surfaces in the
appropriate for a given region and model and later, when the actual infor-
building type (see Install Appendix). mation is available it can be updated
32
and all of the surface which use it will
take on the revised properties.

Figure 2.14 Construction data.


When you complete Exercise 5 add to
your project notes the names of the
existing and new constructions which
you wish to associate with your model.
This saves time and reduces the chance
of error!

Figure 2.13 List of available construc-


tions in database.

33
2.3 Zone composition tactics scraps of paper and you always
Before we begin de!ning our zones lets remember the assumptions you made
review tactics. For purposes of this about that model four months ago and
exercise we are going to use the in- your clients solicitor will never ask you
built CAD facilities. We are going to to prove you followed procedures or
use these facilities tactically so as to used the correct values for that com-
minimise the number of keystrokes and puter lab.
avoid errors. Later on you can adapt A surface in a simulation model is not
the techniques for even greater ef!- just a polygon, it has a name, it is made
ciency. Here are the tactics: of something, it has speci!c boundary
• plan for maximum re-use of existing conditions and it must conform to the
information (virtual) laws of physics. QA gets a lot
easier if something that looks like a
• use information on your planning door in a wireframe image, is named
sketches and notes door and is composed of a door type of
• take opportunities to embed docu- construction. The tactic is for these
mentation in the model attributes to reinforce each other so it is
• give entities meaningful names and easy to notice if we get something
use attribution early-on in the pro- wrong and to be able to easily focus on
cessing the correct portion of our model.
• learn the tool well enough to use in- Defining the reception
built facilities to copy, edit and trans-
form Returning to the Model Management
menu !nd the *preferences menu
The order we de!ne a model can allow option and set ESP-r to use the most
us to build new zones from portions of recent geometry !le format as in Fig-
adjacent zones. In this exercise if we ures 2.4 and 2.15. The option labelled
begin with the reception we can make upgrade files -> scan and
use of this information when creating update all zones sets the prefer-
the examination room. ence.
If we take the information from our Next we want to traverse the menu
planning sketches rather than improvis- structure to focus on the geometry of a
ing or using a calculator, we will make new zone as shown in Figures 2.16 -
fewer errors, we will be less likely to 2.18. Select Model Management ->
loose track of where we are when the browse/edit/simulate -> compo-
phone rings and we will be less likely sition -> geometry & attribu-
to !nd we need two more surfaces than tions. Since there are no existing
the interface allows. zones you will be asked whether you
ESP-r has numerous places where you want to input dimensions or load
can document your assumptions. Of existing (ESP-r), load exist-
course you would never want to use ing (CAD) or cancel. Choose to
such facilities because you never loose input dimensions, name the zone

34
e.g. reception is a good choice. ceiling (3.0m).
How many walls? Figure 2.17 indicates
an additional point at X=4.0 and Y=7.0
where there is a break in the wall. To
the West of this break the wall is a par-
tition which faces another portion of
the building which we are not going to
bother to de!ne. To the East of this
point the wall faces the outside. We
need to de!ne two walls along the
north side of the reception and so the
total number of walls that we are going
to extrude from the "oor plan is 7.

The arrows shown in Figure 2.17


indicate the ordering of the walls.
Remember this rule: when extruding
a "oor plan proceed anticlockwise.
Write down the critical co-ordinates
!rst and don’t answer the phone.

In this case we will start with 0.0,4.0


and then 4.0,4.0 etc. around to 0.0,7.0
(we need not repeat the initial point).
When the walls co-ordinates have been
Figure 2.15: Browse/Edit prior to de!ned you have the option to accept
adding zones. them. If you are in any way worried
Next you will be asked to describe this about having made a mistake, say no
zone - so lets paraphrase of the clients and you will have a chance to check
de!nition. and edit the data.
The next dialogue asks whether we The Rotation angle? dialogue
want to start with an rectangular allows you to de!ne co-ordinates in a
plan, polygon plan, general cardinal orientation and then rotate to
3D, bitmap. For purposes of this re"ect site conditions. You can also
exercise select polygon plan and perform transforms and rotations later.
!nd your sketch which corresponds to To skip the rotation, leave the rotation
Figures 1.1 and 1.8. angle at zero in Figure 2.18.
This type of input requires the height
(in real space) of the "oor (0.0m) and

35
Figure 2.16: Zone name, description, shape.

36
Figure 2.17: List of plan coordinates.

Figure 2.18: Steps required for extrusion.

37
Figure 2.19: And here is what it look like!

Figure 2.20: Initial list of co-ordinates.

38
origin. Spend a few moments explor-
ing this. The GTK+ interface
includes a pro-forma for adjusting
viewing parameters (see Version Ap-
pendix)
• The text feedback shown in Figure
2.19 includes a synopsis of the
geometry of the zone and a list of
the attributes and derived values for
each of the surfaces. This report is
designed to complement the wire-
frame image and you will notice that
the word UNKNOWN shows up
many times so there is still some
work to be done!
• You will notice that the surfaces
have been given names like Wall-1
and Base-9. These are unambiguous
without being particularly helpful.

Doors and windows


Figure 2.21: Initial list of surface edges.
In ESP-r, windows and doors should be
Once you accept the points the project included as surfaces in a model if they
manager display will update to what is are thermally important. A tactical
shown in Figures 2.19 and 2.20 with a approach also includes windows and
listing of the vertex associations in Fig- doors if they make it easier for others
ure 2.21 are several things to notice to understand the model. The door
about the graphic feedback and the probably falls into the latter category -
command options. we save time because we will not have
• Items in the menu which start with a to explain why we have omitted it.
character can be selected and those Essentially a surface is a window or
that start with a blank in the !rst col- door if you decide it is and give it a
umn are reporting derived values name that reminds you of this decision.
(which will be updated as you mod- This is somewhat different than other
ify the model). simulation tools so it is worth review-
• Under the graphic feedback area (of ing the rules:
the X11 interface) are a number of • any surface in a model can be glaz-
buttons for altering the viewpoint, ing or a door with the exception that
altering the size of the graphic feed- a transparent surface cannot be used
back area and controlling the image. for a back-to-back connection repre-
The latter allows you to turn on and senting mass within a zone
off names and vertices and the site
39
• their shapes are constrained only by a solar heat gain fraction might be used
normal polygon rules rather than explicitly treating the radia-
• if glazing has no frame there is no tion and convention from glazed sur-
requirement that it be a child of faces.
another surface You have several choices in the treat-
• doors and glazing can be bounded ment of window frames. You can
by more than one surface (e.g. glaz- explicitly represent frames as one or
ing could have a frame on the left more surfaces in the zone. A frame
and top and right but adjoin a span- may wrap around the glazing or you
drel panel on the bottom edge) can take an abstract approach and lump
all of the framing facing one direction
• the base of a door (or glazing) can in a room into a single surface.
be at "oor level or it can have a
raised sill You also have several choices for glaz-
ing. If the accurate positioning is
• door and window composition can important then create zones with
be any valid construction (e.g. doors explicit representations. If you only
can be transparent or opaque and require that the area and orientation of
windows can be opaque even though the glazing is important then you could
that would tend to confuse others) choose an abstract approach and lump
• if you want to represent the adja- all of the glazing of one type and orien-
cent-to-frame portion of glazing dif- tation into a single surface.
ferently from the centre glass then One issue which you may wish to con-
you can either adjust the thermo- sider is the relative size of surfaces in a
physical and optical properties or zone and the interactions between sur-
create two separate glazing surfaces faces:
In ESP-r, solar radiation will pass • if a large pane of glass is used in a
through any surface which has an opti- room with small surfaces (e.g.
cal attribute set. This is the case for explicit blinds) then you may wish to
surfaces facing the outside as well as subdivide the glass
surfaces which are acting as partitions
with another zone. A construction can • if you are calculating view-factors
use glass as a material and will con- then small dimensions may confuse
sider the glass as opaque if it is these calculations - a frame 20mm
matched to an OPAQUE optical prop- wide around a large glazing or door
erty. surface may not get enough grid
points for an accurate calculation.
Thermophysically a door is treated like
any other surface in ESP-r. Surfaces • if you are interested in local comfort
with an optical property will transmit then you should consider increasing
and absorb solar radiation but are oth- the geometric resolution in the por-
erwise treated as any other surface. tion of the zone where comfort is
Other simulation tools may treat doors being assessed.
and windows as simpli!ed entities e.g.
40
• if the impact of solar distribution is identify which of the variants might be
important (e.g. a passive solar used in different situations. The inter-
design) then you may want to subdi- face also provides an option to insert a
vide the "oor and the major thermal door into a surface. It does this by
mass to account for the patches of wrapping the existing surface around
sunlight as well as using explicit rep- the sides and top of the door.
resentations of glazing. In both cases you will be asked to pro-
In ESP-r, air passes between rooms vide an offset and a width and height of
ONLY if you de!ne an air "ow sched- the rectangle to be inserted. The offset
ule or create an air "ow network. It is is from the lower left corner of the
optional to include a door, grill or win- existing surface (looking from the out-
dow surface at the air movement entity side). These inbuilt facilities support
location. Such visual clues may help to the insertion of rectangular child sur-
clarify a model. face. There is no speci!c requirement
in ESP-r that doors and windows must
be rectangular. If the design includes
an arched opening or a round window
you can do this (but the surface will
If your ESP-r model is going to be have to be made of a number of
exported to an application which has straight segments).
a different set of rules for windows
and doors then also take those rules According to Figure 1.1, the window in
into account (if possible). For exam- Wall-3 starts 2.0m above the "oor and
ple, Energy Plus requires glazing to is centered in the wall. So the offset X
be a child surface of an opaque par- is 0.5m and the offset Z is 2.0m and the
ent surface so ensure that glazing in window size is 3.0m x 0.75m (see Fig-
ESP-r models are also represented ure 2.24). The same offsets and size
this way. Test various approaches to apply to the window to be inserted into
!nd which works best. Wall-5. The door is 1.5m from the edge
of Wall-2 and is 1.0m wide (see Figure
Our next tasks (shown in Figures 2.22 - 2.26). No height is given in the speci!-
2.27) is to insert a window into Wall-3 cation so lets assume 2.1m.
and Wall-5 and a door into Wall-2. The Beginning with the window in Wall-3,
interface provides a way to make a select surface list and edges ->
rectangular ’hole’ in an existing sur- add/insert/copy/extrude_from
face and place a new surface into that and then choose inserted into a
hole. The original (parent) surface surface -> within surface.
wraps around all sides of the child sur- Notice there are also options to insert a
face. surface as percentage of parent
In Figure 2.22 there are a number of surface.
options for creating new surface. You
will use these options frequently so it is
worth the time to explore them to
41
used for documentation.

Figure 2.23: Use for window.


Repeat this process for the window in
Wall-5. Remember that you can rotate
Figure 2.22: Options for creating surfaces. the wire-frame viewpoint to get a better
Provide the dimensions from the para- view of your work.
graph above and the proposed location For the door, use the inserted into
of the window will be shown on the a surface->at base option. Wall-2
wireframe. If it is not ok you can re- is 4m wide and if the door is to be
enter the data, otherwise a new surface 1.0m wide (this is a medical facility)
will be added and the existing Wall-3 then the offset for the door will be
which started out with 4 edges 1.5m in Figure 2.26. When you have
becomes a 10 edge surface which done this the display should look like
wraps around the new surface. You will Figure 2.27.
be asked to name the new surface
(south_glz or something similar) and What might you look for in the inter-
pick a construction for it (there is an face at this point? The wire-frame
entry dbl_glz in the constructions data- image complements the text in the
base). report below. The wire-frame and the
report are designed to be used together.
A recent addition to ESP-r is the con-
cept that surfaces have a usage For example, a surface in the wire-
attribute (Figure 2.23). Code compli- frame might look ok but the report
ance tasks are assisted if we identify indicates it is facing the opposite direc-
the WINDOW as a code compliant tion. The data included in the text feed-
facade. Work is underway to use these back area report is similar to that
usage attributes when exporting ESP-r included in a model QA report (dis-
models. A future version of ESP-r will cussed later).
also make use of an opening type
attribute (Figure 2.25) to help form air
"ow network (currently they are only

42
Figure 2.24: Size and offsets for window.

Figure 2.25: Window opening type.

Figure 2.26: Door dimensions.

Figure 2.27: Reception after the addition of windows and doors.

Of course, at this point all of the initial our attention to in the next section.
entities have default names and many
of their attributes are UNKNOWN.
Surface attribution is what we will turn

43
Completing attribution will be updated as in Figure 2.29.
Tactically, we would prefer that others
!nd it easy to understand our models.
If we can also reduce errors and speed
QA tasks we have a winning combina- To name something is to own it.
tion. One successful pattern of model
attribution is to begin with the names Tactically we want to take possession
of the surfaces so that subsequent of our models. Giving entities names is
selection tasks and reports take less a key step especially if it helps the
mental effort. Of course if you want to design team. The pattern used in this
do it the hard way... room is one of many possible patterns
and the rule is roughly:
• names like "oor, ceiling, entry_door
have almost instant recognition
• if the "oor or ceiling is represented
by several surfaces then append a
unique identi!er e.g. "oor_a, "oor_b
or "oor_1, "oor_2 (but the latter
might be misinterpreted)
• walls that face the outside might
indicate which way they face via
north_wall, east_wall but if a model
might be rotated such names can be
confusing so front_wall is better
• partitions can be named based on the
zones on each side e.g.
kitchen_partn, coridor_partn, some
prefer partn_a, partn_b.
Figure 2.28: Surface(s) attribution. The pattern above uses the name to
As shown in Figure 2.28, the surface give a clue about the location and com-
attributes menu includes an position of the surface. Note: ESP-r is
*attribute many option (this uses a looking for unique combinations of
list selection dialogue described in the characters, so other languages are ok as
Version Appendix). You have a choice long as the ASCII character set is used.
of attribution types name, composi-
tion, boundary condition,
Select name and you will be asked to
de!ned the name of each of the
selected surfaces (note the surface is
highlighted in the wire-frame drawing).
After attributing the names the display

44
Figure 2.29: Surface naming.

45
Typically adding construction attribu-
tions, for those surfaces that you have
an opinion about, would be the next
task. Use the list of useful construc-
tions you wrote down when you were
reviewing the databases). Where sev-
eral surfaces have the same construc-
tion use the *attribute many
option. Otherwise select the surface
you wish to attribute as in Figure 2.30
where all of the attributes of the sur-
face are reported on and are available
for editing. After you have selected the
constructions the interface will look
like the second part of the Figure.
Skip boundary conditions for the
moment - there is an automatic process
to assign this attribute later in the
process.
The point of careful attribution is that
the combination of the graphic image
and surface attribution ensures that the
model is correct. If something called
door is composed of concrete
and you see it as a horizontal in the
image someone is likely to notice!

Figure 2.30: All the attributes of a sur-


face and list.

46
Figure 2.31: Initial box shape of examination room.

Adding the examination room it will give you a chance to work with a
The examination room is rectangular in range of transformation facilities.
plan, but has a sloped roof and it shares Referring back to Figures 1.2 and 1.8
partitions with the reception. There are the initial box has an origin of 0.0, 0.0,
a number of approaches to creating this 0.0 and a width of 4m (East along the
zone: X axis) and depth of 4m (North along
• start with a simple shape and evolve the Y axis) and is 3m high.
it So return to Model Management ->
• use the co-ordinates and link them browse/edit/simulate -> compo-
together to form the surfaces of the sition -> geometry & attribu-
zone tions. Select the option to add a
zone via input dimensions.
For purposes of this exercise we are
going to start with a simple shape (a You will be asked for a name (say
box) and transform it into the !nal examination) and a description (say
shape. For additional practice look at something like examination room with
Exercise 9 in the Cookbook Exercises doctor and one patient during of!ce
volume. The transformation is going hours). You will be offered a choice of
to involve changing two coordinates to initial form and this time choose rect-
elevate the roof, deleting a couple of angular plan.
surfaces and then copying surfaces You will be asked for the origin (0.0
from the reception. For purposes of this 0.0 0.0) and dimensions (4.0 4.0 3.0)
exercise it is an ef!cient approach and and orientation (0.0). The result is
47
shown in Figure 2.31. Wall-3. The place to do this is the sur-
To make the roof sloped we need to face list & edges -> add/
alter the Z value of vertex 7 and 8 to delete/ copy/ extrude_from
4.5m. option. After you delete these surfaces
the wireframe image will look like Fig-
If you cannot see the vertices in ure 2.33.
the X11 version select image con-
trol and toggle the vertices option.
In the GTK version use the pull
down view tab and toggle the ver-
tices option.
Select the vertex coordinates menu
option and pick vertex 7 and 8 and
change the Z value to 4.5m. As you do
this the wireframe image will be
updated (see Figure 2.32).

Figure 2.33: After deleting surfaces.


Our next task is to add surfaces to the
zone by copying the relevant surfaces
from the reception zone. Figure 2.34
shows the available options. We will be
using several of these as we progress,
!rst select copy surface from
another zone. A list of known
zones is presented (select reception)
and then select surfaces part_a part_b
Figure 2.32: After editing vertices. and door.
ESP-r has a rule: every surface has one You are then presented with a set of
boundary condition. So what is the transform options for these copied sur-
boundary condition for Wall-2 and faces. These options allow you to re-
Wall-3? How does this compare to the use existing surfaces in many ways
initial sketch in Figure 1.2? The exami- without having to get out a calculator.
nation room has partitions adjacent to
the reception zone as well as external
walls and clear-story glazing.
One quick way to make this transform
by !rst deleting both Wall-2 and

48
Figure 2.34: Copy options. Figure 2.36: Examination room after
There is a rule in ESP-r: partitions and door have been copied.
the order the edges of a surface Another ESP-r rule is:
are de!ned in tells ESP-r which is If you see the outside face of a
the outer face of the surface. surface in the wireframe de!ne
For example, part_a in reception had the edges anticlockwise from the
an azimuth of 180°. We need to reverse lower left corner. If you see the
this and we select the invert option. inside face of the surface in the
wireframe then de!ne the edges
You will be asked to con!rm this clockwise.
choice for the other two surfaces that
you copied. You will also be asked if it From this rule vertices 6 9 7 are of
is ok to update the edges of some of the interest. Do the same for the wall on
existing surfaces to take account of the the upper North face. In the wireframe
new vertices that have been included we see the inside face so the vertices
(say yes). After copying the surfaces are 9 10 8 7. This will become the
your model should look like Figure frame around the clear-story window
2.36. so name this surface something like
north_frame.
Our next task is to !ll in the upper
external portion of examination. We Our !nal task is to insert the clear-story
already have most of the information glazing. Select the inserted into a
we need. One of the surface addition surface -> as percentage option
options is from existing vertices. We and give 80%. This will centre the
must supply the vertices for the trian- glazing in the surface and is a quick
gular shaped surface on the East side of approach when the exact position of
examination. the glazing is not an issue. Attribute the
glazing with dbl_glz.
49
Follow the steps you used in the !rst and after attribution.
zone to complete the attribution of the Now look back at your initial sketches.
composition of the surfaces that still Is the model that you created correct?
have UNKNOWN attributes and to Look again...isn’t there supposed to be
give names. Notice that there are fewer a window in the south wall?
surfaces requiring attribution. Copied
surfaces will be partially attributed.
You should see something like 2.37
after you have completed the attribu-
tion.

Figure 2.37: Examination room before

50
2.4 Model topology The topology facility scans the poly-
Having completed the form of the gons of a model looking for surfaces in
zones there remains the task of de!n- various zones which are close matches
ing the boundary conditions which in terms of shape and position and
apply to each surface in the model. makes inferences from this to complete
There is an automated process for this the boundary condition attribute of
and our next task is to use this facility. each surface. You control the tolerance
For additional practice complete Exer- and the extent of the search parameters
cise 10 in parallel with reading this and if the tool is unsure of what to do it
section. Go to Zones composition will pause and ask for con!rmation
-> surface connections & (Figure 2.39).
boundary (see Figure 2.38). The
option you will want to select (after
reading a bit further) is check via
vertex contiguity but !rst
click on the ? help option and read
about the facilities.

Figure 2.39: Topology checking con!r-


mation options.
One by-product of checking model
topology is that it checks every surface
in your model in sequence so it makes
a great way to review your model. If
you periodically invoked the topology
facility (say after adding two zones)
you will have a chance to review the
model at the same time it is searching
for matches to the new surfaces you
Figure 2.38: Topology options within have added.
the project manager. Up to this point the strategy has been to
follow working procedures which help

51
us to create correct models. How do we
know they are correct? One of the
steps in checking the quality of our
models is to generate a QA report and
then review this against our initial
sketches. Exercise 12 of the Cookbook
Exercises volume is all about QA and
this point in the model creation process
is an appropriate time to complete that
exercise.
In order to run a simulation, each zone
in a model must include full thermo-
physical data for each layer in each
surface. To practice creating these zone
!les read and complete Exercise 14 of
the Cookbook Exercises volume. If
your initial zone geometry is properly
attributed the task of creating these
zone !les will only take a moment for
each zone.

52
Chapter 3
GEOMETRY ALTERNATIVE INPUTS

3 Geometry alternative inputs


ESP-r offers several options for geo-
metric input: creating rectangular bod-
ies, extruding "oor plans, working with
polygons, clicking on points on a grid,
clicking on points on a bitmap image If you are using the Native windows
(e.g. site plan, building plan or ele- graphic interface or the GTK version
vation) or importing CAD drawings. of ESP-r on any platform this alterna-
tive graphic input facility is not yet
It is up to you to select the approach or available.
mix of approaches which are appropri-
ate for your skills and for the model The planning stage for re-creating the
you wish to create. In planing your doctor of!ce is essentially the same:
simulation tasks consider the regularity • review the available information
of the plan, the quality of the bitmap
image and the level of clutter in the • establish the level of detail required
CAD !le. A plan with a 1.3m x 1.7m • sketch the model (use your previous
repeating pattern will not easily !t sketch)
within ESP-r’s gridding options. A bit- • identify critical dimensions and/or
map with only a few pixels per metre points on the sketch
will be dif!cult to accurately select
points on and a CAD model that • decide on the sequence of zone and
includes thousands of extra surfaces for surface creation
furniture might be a good candidate for Begin with a review the model from
converting into a bitmap. Also consider the !rst exercise and !nd your notes
whether you might use the facilities from the previous exercise. The overall
discussed in this section to acquire crit- dimensions of the model are 8m (east-
ical points on curved elevations and in west) and 7m (north-south). Corners
non-rectilinear plans. fall on a 1m grid. The exemption is the
This section focuses on clicking on windows and doors but these will be
points on a grid with the goal of creat- added later. For this exercise use a
ing the same model as the !rst exer- 0.5m grid for generating the zones.
cise. Later there will be examples As with the !rst exercises, the identi!-
shown of using images from historical cation of critical dimensions, perhaps
records and maps as the source of by marking on an overlay of your ini-
points in a model. tial sketch, is also a key step for this
alternative mode of input. You will be
54
shifting your attention between the • !ll in the site data
sketch and the screen so you will want After the site details have been entered
to !nd ways to record your progress. select browse/edit/simulate ->
In this exercise you will extrude both composition-> geometry &
zones in sequence and then use the nor- attribution.
mal geometric manipulation facilities Select dimensional input and provide
to make the examination roof sloped the name and a description for the !rst
and add the windows and doors into zone (reception).
each zone. Typically one would want to
create a sequence of zones (or even a Lets start clicking...
whole model) in one session. To use the click on grid approach to
A skilled user might expect an average geometry de!nition choose the bit-
rate of one surface every few seconds map option. This opens up an initial
and might input a couple of dozen (blank) command window as shown in
zones in one session. This exercise is Figure 3.1 which allows you to select
intended to help you acquire the skills one of several pre-de!ned grids or to
needed to use the click-on-grid facility. supply your own bitmap (scanned from
It will likely take you several iterations a document or created from a CAD
to acquire the necessary habits. tool).
Before using your keyboard and mouse
have a read of the next pages and look
at the !gures. There are multiple steps
involved. Those who plan their work
and then implement the plan without
interruption have the best chance of
success.

3.1 To the keyboard...


Begin this new project by exiting any
open versions of esp-r. Return to where
you keep your models and then invoke
esp-r.
To create a new model following the
same process as you initially used:
• select Model Management ->
create new with gp_grid as the
root name.
Figure 3.1: Opening menu of click-on-bitmap
• accept the folders for this new model
!ll in the high level description of Before selecting the grid !le, adjust the
the project size of the graphic feedback area to be
closer to square. You might also use

55
the window manager to resize the initial origin.
Project Manager so that you have Now that the scale is de!ned the ’real’
plenty of room to work. This will pre- grid can be overlaid by selecting the
vent you having to ’pan-around’ the gridding option (choose 0.5m) and then
grid as you work. turn on the snap-to option.
For this exercise select the large The mode >> menu option (Figure 3.3)
for gridding option and accept lists a number of choices for entering
the suggested !le name in the dialogue data points. The !rst two options are
box. This option gives 23 horizontal useful for topographic/site data. The
and 17 vertical so considering each tick "oor plan extrusion option is equiv-
is 0.5m will give plenty of space. alent to the "oor plan extrusion used in
The initial grid requires further infor- the initial exercise to create the recep-
mation in order for you to use it as a tion zone. However, this time rather
basis for creating new zones: than typing in coordinates, you will be
• identify the origin (X=0.0, Y=0.0) clicking on points on the grid you cre-
typically slightly in from the lower ated.
left corner - say at the left + mark.
• de!ne the scale of the grid by draw-
ing a line of a know length. If each
of the + are 1.0m apart draw a line
from the left + to the fourth + and
give the distance as 4.0.

Figure 3.3: Which input mode


Once you have selected the "oor plan
extrusion input mode (see Figure 38)
Figure 3.2: Origin and scale and grid set the "oor elevation to 0.0 and the
ceiling elevation to 3.0 (to match Fig-
If you plan to de!ne zones which ure 1.2)
extend into the negative X or Y dimen-
sion you would adjust the position of Just before starting to de!ne points it is
the origin to re"ect this. Note that you worth noting that you are able to inter-
can pan to the right and/or upwards as rupt the input process and move around
necessary but you cannot pan any far- a bitmap.
ther left or down after you set-up the

56
Use the start option to begin Note that three of the corners of the
de!ning points in the same order you examination room are at the same grid
used in the previous chapter. Start at points as used by the reception and
the grid nearest x0.0, y4.0 and then unless you specify otherwise, those
x4.0, y4.0 etc. until you reach x0.0, coordinates will be used. Note also that
y7.0 (see Figure 3.4) after which you the edges of the reception are still visi-
will type the character e to end the ble so that it is easy to create new
input. zones adjacent to (including above or
With the snap-to option you only need below) prior zones. Since you are
to click near the point and it will snap extruding a "oor plan you will proceed
to the nearest grid. If the snap-to option anti-clockwise from the origin typing
is off the Project Manager will accept the character e when you have done all
the actual point where you click. four corners.
If you make a mistake or the point When you started clicking on each sub-
snaps to an incorrect grid point then sequent zone, a message is included in
immediately type the character d to the text feedback to remind you of the
delete the last entry (multiple deletes keyboard control options. When you
are possible. signal that you have !nished selecting
points for the examination room (by
After you have signalled the end of typing the character e) you will be pre-
points for the initial zone (by typing sented with options to save or repeat
the character e) you can save the zone the zone de!nition.
data (if you did it correctly) or try
again if you are not satis!ed. While As the examination room is the last
saving the zone data, an additional !le zone, exit from the click-on facility and
is created to hold the ’topology’ of the you will be presented with a wireframe
model and you can safely accept the view of the zones you have created
!le name offered for con!rmation. (Figure 3.6). These zones still require
surface attribution as well as the addi-
A new option create another zone tion of doors and windows and raising
will be displayed in the menu once the the roof in the examination room. Such
initial zone is saved. This can be used tasks can be accomplished by using the
as many times as required to extrude geometry & attribution facilities intro-
zones (using the current "oor and ceil- duced in the previous chapter. And this
ing height attributes). In the current would also be a good time to revisit
exercise the examination room needs to Exercise 12 in the Cookbook Exercises
be added. It has the same initial "oor volume, generate a QA report and
and ceiling height as the reception zone compare it with the original model.
so those attributes need not be altered.
When you are ready, select the cre-
ate another zone option and
supply a name and description for the
examination room.

57
Figure 3.4: Just before !nishing the !rst zone.

Figure 3.5: After !nishing the second zone.

58
Figure 3.6: Another view of extruded model.

3.2 Clicking on a bitmap


A variant of the click-on-grid approach
is to supply your own bitmap (plan/sec-
tion/elevation/site-plan) and click on
points found in that image to create one
or more thermal zones.
In Figure 3.7 an UK Ordnance Survey
map has been converted into an X11
bitmap !le and used with the click-on-
bitmap facility to create ground topog-
raphy surfaces to associate with a
model. Note that the solid lines (repre-
senting the contours selected) is an
approximation of the contours on the
map because ground representations
supports several hundred surfaces Figure 3.7: Using a contour map bit-
rather than several thousand surfaces. map !le.
The option used to within the bitmap Several tactical warnings should be
facility were points with dif- given:
ferent Z.
• try a small portion of a map until
you are comfortable with converting
such contours into surfaces.
• there is an automated triangulation
facility but many users report that
complex arrays of points can be
59
problematic. examples below there were two issues -
• using a click on bitmap approach is creating models which the client would
no excuse for skimping on the plan- recognise and also models which cap-
ning of your model! tured the spacial characteristics of the
building.
It is far to easy (bitter experience) to
get carried away with the clicking and An example of using a scanned image
to import information that is only avail-
• include more complexity than neces- able in hard-copy form (no CAD data).
sary The theatre shown in was initially con-
• get lost while doing the clicking structed in the mid seventeen hundreds
• collect points in such a way that the and the last set of drawings available
time taken to post-process the sur- were from the mid nineteen seventies.
faces is greater than that associated It is also notable in that almost nothing
with the clicking. is rectilinear.
So ALWAYS... The mode in Figure 3.9 was initially
composed by clicking on a set of points
• mark-up your image with indications
from Figure 3.8 which were placed in
of the critical points you want to
dummy zones. Surfaces and points
capture and the bounds of the zones
from those dummy zones were then
you will be creating,
used to build up the model zones.
• if you have bitmaps for more than There was a detailed plan of the zoning
one level make sure you can keep worked out prior to the use of the click-
the points in-register and that the on-bitmap facility. Even with this, con-
scale can be set-up to be equivalent, siderable care was required and post-
• sketch your model in three dimen- processing and reconciliation of the
sions so that you can plan how parti- partition surfaces was required. This is
tions between zones work, an example of what can be accom-
If you have ceilings and/or "oors that plished by an experienced user and is
are not level there are several possible just the sort of project which would be
approaches, some of which will save cruel and unusual punishment for a
you time and some will not. Experi- novice.
ment with constrained models to see
what approach to the click-on-bitmap
works best for you. Keep a note of
what works so that you can follow this
tactic when confronted with a similar
project in the future.

3.3 Examples of approaches to take


Once you have the requisite skills it
should be possible to create substantial
models with some speed. In the
60
Figure 3.8: Bitmap image from historic building.

Figure 3.9: Bitmap image from historic building.

The model in Figure 3.10 and 3.11 was phase. It would have been faster, but
largely composed by a clicking on a one drawing was off-scale and several
mix of Ordnance survey maps, old zones had to be adjusted to bring them
planning documents and drawings. The into alignment.
model, including zone geometry, shad-
ing obstructions and ground topogra-
phy was created and initial simulations
commissioned within 12 hours of the
completion of the simulation planning
61
Figure 3.10: Layout of a museum and park.

Figure 3.11: Rendering of a museum and park.

If you want additional practice (highly own exercise!


recommended) try to complete Exer- These facilities are useful for many
cise 11 in the Cookbook Exercises vol- models and the fact that they have not
ume. It describes a four zone model to been ported to the GTK interface is a
create. See how much time it takes you limitation which needs to be addressed.
to create that model. There is no exer- The next chapter approaches the topic
cise that explores clicking on a plan of model geometry from a different
image from a CAD tool - make up your perspective.

62
Chapter 4
3D MODELLING

4 3D modelling

Figure 4.1 Section and view of house


64
The geometric forms discussed thus far thermophysical issues and deciding
use polygons as the building blocks of what needs to be included in our
our virtual built environment. While model(s).
modern (thin) constructions, such as
those used in Figure 1.5 are often 4.1 Modelling approaches
approximated by conventional poly- The geometric and compositional reso-
gons, historical buildings (see Figure lution of a simulation model depends
1.6) and the thick walls and insolation on the questions being asked and the
seen in Figure 4.1 highlight the limita- resources available. Some thermo-
tions of this convention. physical relationships may require sim-
Focusing on Figure 4.1, there are sev- pli!cation and other might not be pos-
eral aspects of the section which need sible to represent within our model. All
to be considered during the planning virtual environments are abstractions.
and creation of models: Simulation tools support one or more
• the thickness of insulation is sub- levels of abstraction for each of the
stantial and at the edge is somewhat domains they solve. Options allow
less thick experts freedom at the cost of a steep
learning curve for novices.
• the wall section comprises a number
of material types A tactical approach to simulation uses
the planning phase to constrain
• there is an overhang which will act options. The following is one possible
to shade the facade of the building ranking of what to preserve while
• the overhang is thermally isolated abstracting a design into a model:
from the air within the roof space • the volume of air
• the overhang forms a boundary for • the slope of the roof
the upper section of the wall.
• the location of mass within the roof
• there appears to be an air space
below the tiles which is separate • the surface area in contact with the
from the air within the roof space. air
• the portion of the roof with the A low resolution model might treat the
tapering insulation is in direct con- overhang as a solar obstruction and
tact with the layer of wood below ignore the different thickness of the
the tiles insulation. It might assume the air is
well mixed within the roof space (i.e.
• it is not clear from the section there is no temperature strati!cation).
whether the roof space is well venti- It would also not explicitly represent
lated. the overhang as a boundary condition
• the area at the top of the insulation for the upper portion of the wall.
layer is somewhat different from the A medium resolution model might sub-
surface area at the ceiling. divide the surfaces to represent full
The list of bullet points could be much thickness and the partial thickness
longer. We need strategies for ranking insulation and extend the roof zone to
65
allow it to form a boundary at the covered elsewhere.
upper wall section. If the user is constrained in time, the
A high resolution model might repre- user could form the base of the roof
sent the overhang portion of the roof as space by copy and invert the existing
a separate zone or zones because there ceiling surfaces and then create the
will be times when the air temperature sloped roof above that (see Figure 4.2).
in the overhang is different from that of This approach results in a model that is
the main section. A high resolution crude visually. The surface of the roof
model would have an upper and lower is at the correct slope, but the height of
section so that the temperature near the the building is not correct.
peak of the roof can be different from
the air adjacent to the insulation layer.
By default, ESP-r assumes one-dimen-
sional conduction. The thickness of the
insulation in Figure 4.1 poses a chal-
lenge in comparison to a suspended
ceiling. Do we choose to ignore the
ceiling thickness when de!ning geom-
etry? Use of physical co-ordinates
would help to preserve the volume of
the roof space and the surface areas
and takes more time to describe.
Many example models distributed with
ESP-r appear to ignore the thickness of
partitions while other example models
indicate a separation between rooms. Figure 4.2: Constrained model
Such differences are typically related
to the method of data input. Geometry Given a bit more time the user could
digitised from CAD drawings will have add a number of perimeter surfaces so
rooms separated in space. Zone geome- as to raise the roof (at the expense of
try created from dimensioned data or an inaccurate air volume) as in Figure
sketches may tend to have partitions at 4.3. Such trade-offs might not alter the
the centre line of walls and the inner overall performance of the building but
face of a faade. may be useful to make the model less
The good news is that such differences crude visually.
typically have little or no impact on
predicted performance. The solver
knows from the thermophysical com-
position of the partition whether or not
the two faces are separated in the co-
ordinate system or lie in the same
plane. There are exceptions which are
66
Figure 4.4: Surface transform options

Figure 4.3: Variant placing roof at cor-


rect height

To move from treating the ceiling as a


geometrically thin plane towards a
model that uses explicit coordinates Figure 4.5: Wire frame control dialogue.
requires an additional step. The initial
copy and invert of surfaces is followed
by a surface transforms (along the sur-
face normal). This facility, and several
other types of rotation and transform
are available in the interface (see Fig-
ure 4.4). If you !nd it dif!cult to see all
of the lines or labels in the wireframe
view use the GTK view facility to
rotate or highlight portions of the
model (see Figure 4.5).
If there is a gap between the roof zone
and the occupied zone (as in Figure
4.6) this might be visually confusing to
some users and their clients (if the
ESP-r model was exported to Radi-
ance). This gap could be !lled with an
appropriately sized solar obstruction
Figure 4.6: Variant using coordinates.
block.

67
The above approach might be a reason- would be tedious to retro!t into the
able thermophysical representation. It existing zones shown in Figure 4.1.
is, none-the- less quite abstract for As mentioned in the introduction, the
users expecting a CAD representation. air within the overhang could be at a
To approximate the 3D geometry of an different temperature than the roof
actual roof requires that the initial space. If such temperature differences
copy, invert, transform of the ceiling were an issue, the overhang could be
polygons is followed by the addition of represented as a separate zone as in
surfaces to represent the roof overhang Figure 4.8. This overhang zone could
as in Figure 4.7. wrap around the main roof space zone
(one overhang zone could represent the
overhangs on the North, South, East
and West. Again the existing wall will
have to be revised to represent the con-
nection to the outside and the connec-
tion to the overhang.
One could be pedantic and argue that
the temperature of the North overhang
might differ from that of the South
overhang and require separate zones.
Few users would be confronted by
projects where such detail is warranted.

Figure 4.7: Variant extending overhang.

Note that the surfaces forming the


overhang do not (in the current ver-
sion) shade the wall. Shading requires
the use of shading obstruction blocks
(as included in the earlier !gures).
And this more-explicit approach intro-
duces a problem for the occupied
space. The overhang, as drawn in the
building section is in contact with the
upper portion of the wall. The geome-
try of the walls should be adapted to Figure 4.8: Variant with separate over-
sub-divide the wall into surfaces that hang zone.
face the outside and surfaces which
connect to the overhang. Clearly this
68
Investing resources to increase model review their contents and ensure that
resolution is a decision that should not the ceiling surfaces are attributed (to
be made lightly. Some differences in save time in later steps).
performance predictions can be subtle Next in the geometry & attribu-
rather than dramatic. A user who tion menu select
wishes to explore this could de!ne add/delete/copy. After electing
variant models at different levels of to add a zone, select input dimen-
resolution to test the sensitivity of pre- sions and enter a name such as
dictions. roof_space as well as a description
to clarify to others the intent of this
4.2 Steps to create a roof space zone.
Because most of the initial surfaces
will be borrowed from the existing
zones it saves time to use the general
A tactical approach to simulation re- 3D option for the initial shape.
uses existing entities where possible.
The initial X Y Z position of the !rst
This roof is one example of using the
surface is not applicable so just accept
existing ceilings to compose the base
whatever is included in the dialogue
of the roof space. Experienced users
because this surface will be deleted
plan their work for maximum re-use!
later on. Ignore the warning about the
A low resolution model of a roof space volume of the zone being zero.
over the occupied rooms shown in Fig- An initial wire-frame image with a sin-
ure 4.1, and making use of the existing gle surface will be displayed (see Fig-
ceiling surfaces, and which follows the ure 4.10). Your !rst task is to go into
pattern of Figure 4.2 has the following the surface list & edges menu
critical dimensions: and select + add/insert/copy sur-
face. Use the copy surface(s)
• the height at the peak of the roof from another zone option several
4.35m times to form the base of the
roof_space zone. It does not matter
• the lower face of the ceiling 2.35m
what order you copy the surfaces as
• the width of the overhang 0.6m long as your work pattern avoids dupli-
The following sequence will minimise cation and ensures that all of the ceil-
keystrokes and limit the risk of error. ings are copied.
Other sequences are possible - so try
variants until you evolve a sequence
that works for you.
Enter the menu browse/edit/simu-
late -> composition -> geome-
try & attribution menu and
select each of the existing zones and

69
Figure 4.9: Occupied rooms in house (to place roof over).

Figure 4.10: Initial dummy surface in roof_space.

70
Figure 4.11: After import and inversion of a surface.

Figure 4.12: roof_space with imported ceilings.

Figure 4.13: roof_space with two ridge vertices.

71
Figure 4.14: Zone with roof surfaces.

Figure 4.15: Better QA via combined wireframe and text report.

When you select a surface in another For each surface being copied, the wire
zone you will be asked if there are any frame view is updated to show the
transforms to apply. The key transform other zone as an aide to selecting the
is ’invert’ which takes the polygon correct surface. It helps if the surfaces
de!ned in the other zone and reverses in such lists are clearly named.
the order of the edges so that it faces Remember to select the ’invert’ option
the correct way within the roof_space. as seen in Figure 4.15. After the !rst
copy the roof space will look like
72
Figure 4.10. dummy surface. It will save time and
limit confusion if you exit from the
Surface topology menu and go
into the vertex coordinates menu
and identify vertex 1, 2, 3 and 4 for
removal.
While you are in the Vertices in
menu take a note of the Z values. The
current position of the surfaces is at
2.35m. We want the ridge of the roof
to be 2m above this point. The roof is
Figure 4.15 The invert dialogue. a hip type and the dimension from
south to north is 7.2m so the so the
During the import you might !nd a ridge will start 3.6m from the East and
source surface with a duplicate name. West and South edge of the building
You will be asked to specify a new facade. These two coordinates are
unique name. Tactical hint: if you fol- then:
low a clear naming strategy, subse- • left ridge point X=3.6, Y=3.6,
quent tasks will go faster. At some Z=4.35
point remember to remove the initial • right ridge point X=15.77, Y=3.6,
dummy surface. When all of the ceil- Z=4.35
ings have been imported the
For a gable roof the X co-ordinate
roof_space will look like Figure 4.11.
would not be altered to form a pair of
Each surface name provides a clue as
triangular walls. The next step is to ’+
to what is on the other side of the ceil-
add’ two more vertices to the
ing. Typically, each imported surface
roof_space zone. The result should
will require between 5 and 10 seconds
look like Figure 4.13 (look for v17 and
for an experienced user and if there are
v18).
name clashes it might require 20 sec-
onds per import. The next step is to compose the South,
East, North and West surfaces of the
There are a number of steps which you
roof by creating new surfaces made up
can take at this point which will pre-
of existing vertices. With reference to
vent the propagation of errors. For
Figure 4.14
example, the wire frame image will
have open circles drawn at each vertex • south surface should include vertices
that is referenced once - so open circles 9 14 18 17 1 and 2.
are to be expected at the borders. The • east surface should include vertices
wire frame image will have solid cir- 15 16 18 and 14.
cles at vertices not referenced by any
• north surface should include vertices
surface. You will see four such circles
6 7 17 18 16 12 and 13.
in the wire frame - these are orphan
vertices associated with the initial

73
• west surface should include vertices syntax and order and that the zone if
8 1 17. fully bounded by polygons.
There are patterns in the above de!ni- A further check could be done by turn-
tions. What are they? ing on the surface normal arrows in the
• Each surface is de!ned in an anti- wire frame drawing (in the X11 inter-
clockwise order (looking from the face this is found in the ’wire-frame’
outside) button and in the GTK interface the
option is within the pop-up dialogue
• the !rst edge is horizontal and the (as in Figure 4.5).
second edge is not horizontal
Almost !nished. Now is a good time
• intermediate vertices (e.g. 2 and 9 to contrast the visual information in the
and 15 etc.) are included in the list wire frame with the zone & surface
The !rst edge horizontal rule is details report (see Figure 4.14).
required by the shading and insolation The few seconds that it takes to gener-
analysis. Look at the surfaces in any of ate this report and review it with the
the simple exemplar models and you wire frame will typically save tens of
will see this pattern. With simple minutes later.
shaped surfaces there is usually only Having created the polygons and given
one edge along the base of a wall and them names, the next task is to attribute
for such surfaces the normal rule of the surface composition. A copied sur-
’start from the lower left edge going face already has inherited attributes’.
anti-clockwise’ applies. In this case The new surfaces of the roof are par-
because there are several edges in tially attributed at this point.
sequence so the rule has to be adapted.
If you miss out one of the intermediate Remember that there is a automated
vertices (e.g. vertex 15 along the east process which looks at the co-ordinates
faade) ESP-r will detect a mismatch of each surface to !nd thermophysical
and warn you to check the polygon adjacency. It may be quicker than
edges. attributing each surface in the
roof_space manually. Generate a QA
If you followed these steps, the inter- report and check the contents before
face should look like Figure 4.14. An you continue.
experienced user will require about 10
seconds to create a new surface from 4.3 Shading obstructions
existing vertices and will also be dou-
ble checking that data glitches are The roof is formed and attributed but
caught early and corrected before pro- the walls will not be shaded until
gressing to the next task. Practice until obstruction blocks are added to the
you feel con!dent with the technique! model. This section is incomplete.
Notice the enclosure: properly Other attribution such as casual gain
bounded message at the top of the and air "ow schedules are covered
menu. This signals that all of the edges elsewhere.
in the zone are following the rules of
74
Chapter 5
SCHEDULES

5 Schedules
The form and composition of a model another thermal zone) and there are a
is one part of the simulation process. limited number of controls you can
Many users think they have almost impose on in!ltration and ventilation
completed their work when the geome- schedules.
try is done. Far from it, buildings are What are casual gains in ESP-r? The
almost always places where people are lower portions of Figures 1.9 and 1.10
coming and going and lights are being show the attributes of the casual gains -
turned on and off and all manner of each has a day type (Wkd/Sat/Sun) a
electrical devices are found. casual gain type label
Usually we lack both the detailed infor- (Occupt/Lights/Equipt) a period (start
mation and the resources to undertake hour and end hour) a sensible and
an exhaustive de!nition. It is, however, latent magnitude, and for the sensible
in our interest to de!ne the essential portion the fraction of the gain which is
characteristics of what goes on in a radiant and the fraction which is con-
building and learn from the perfor- vective. The convective and radiant
mance patterns that emerge suf!cient fraction defaults should be adjusted to
clues to imagine the circumstances re"ect the properties of speci!c light
where the building would perform !ttings and occupants.
poorly. Just before creating a schedule be
ESP-r supports zone operational char- aware that groups who frequently work
acteristics in terms of weekdays and with a particular building type will
two separate weekend days (typically likely have historical data as well as
labelled as Saturday and Sunday). prior models which could contain use-
Work is underway to implement more ful patterns of occupancy and small
day types but for this exercise lets stick power use. There are several tech-
with the basics. It is also possible to niques for helping to re-use such infor-
de!ne unique values for each time-step mation and this will be covered later in
of a simulation, but lets not go there this section.
yet. Casual gains (e.g. people, light, To give you more practice with creat-
small power) are one operational char- ing zone schedule also have a look at
acteristic of a zone and schedules of Exercise 13 in the Cookbook Exercises
in!ltration (air from the outside via volume.
intentional sources such as fans or
unintentional sources such as cracks in For the current building a brief descrip-
the facade) and ventilation (air from tion was given in the ’How the building

76
is used’ section, speci!cally Figure relationship between building use and
1.10 and 1.11. Re-read that section. system demands. Quite a lot of value
Also look at Figure 53 for reception for a few minutes thought at the plan-
data. Before we de!ne the operational ning stage.
characteristics of the reception and In the reception the peak occupant sen-
examination room within the Project sible gain is 400W and in the examina-
Manager a bit of planning will (you tion room the peak is 200W equating to
guessed it) save time and reduce the 100W per person. The latent magni-
chance of errors later on. tude is roughly half the sensible value.
In the reception there is ’one staff and Such assumptions, if documented,
up to 3 visitors with 10W/m2 lighting really do help clarify the numbers held
and 1 50W’ From the !gure it is clear in the !le and can speed up later QA
the occupancy changes throughout the tasks.
day (ramping up from 7h00 and with a One of the !rst questions you will be
dip for lunch and almost nothing hap- asked when you begin to de!ne the
pening after 17h00) but the lights are operational characteristics of zones is
on during of!ce hours plus some time the number of periods for each day
for cleaning staff (8h00-19h00). In the type and the start time of each period.
examination room there is one staff and For weekdays the reception has 8 occu-
one visitor with 10W/m2 lighting and 1 pant periods and 3 periods for lighting
100W computer ’. From the !gure it is and 3 periods for small power. Accord-
clear that occupancy varies during the ing to Figure 1.9 the occupant periods
day and that both lights and small would start at 0, 7, 8, 9, 12, 14, 17 and
power (labelled as equipment) are on 21 hours. On Saturday and Sunday
from 8h00-19h00 and nothing happens there are zero periods.
on the weekend.
In the Project Manager go to Model
Why bother with varying the occu- Management - browse/edit/simu-
pancy during the day? Several reasons late -> composition -> opera-
- full time peak loads usually do not tional details. Select the zone
happen in reality so a bit of diversity is reception and you will be presented
more realistic, reducing the load during with an initial !le choice with an
a lunch hour allows us to check option to browse for an existing !le
whether the building is sensitive to within your model (you could use this
brief changes in gains and the ramp-up if you have several rooms which use
just before of!ce hours and the ramp- the same pattern). The !le name is sug-
down after of!ce hours approximates gested based on the name of the zone.
transient occupancy. The peak Accept the suggested name and then
demands are long enough to indicate you are presented with a number of
whether heat will tend to build up in options for how to de!ne the schedules
the rooms. Such patterns will also exer- (Figure 5.1).
cise the environmental system and per-
haps provide an early clue as to the

77
Figure 5.1 Options for generating schedules.

For this exercise we will use the


start from scratch option. Figure 5.2 Opening zone operations menu.
You can also import patterns from
Fill in the description of the zone oper-
other existing zones in your model as
ations using words and phrases which
well as from zone operation !les that
will clarify what is happening (note the
have been placed in a standard ’pat-
X11 editing box has < > arrows so you
tern’ folder.
can scroll to a more text). Next select
You will be reminded about planning option c to !ll in the rest of the casual
your schedules (do read this because it gain period details. You will be pre-
is a useful reminder). And then for sented with a menu with period data
each of the day types you will be asked which you need to !ll in based on your
for the number of periods for occu- notes.
pants, lights and small power. This will
As you were !lling in the period data
be followed by dialogues which ask for
you will note that you have a choice of
the start hour of each of the periods for
units. From the notes occupants are
each of the casual gain types (get this
Watts, lighting would be 3.75 W/m2 if
from your notes).
we used that unit (the notes say 150W
Do the same for for Saturdays and Sun- and the "oor area is 40m2), and small
days. You are now presented with the power as Watts.
menu in Figure 5.2.
After you have de!ned the magnitude
of the sensible and latent gains and
accepted the default radiant and con-
vective split you should see something
like Figure 5.3.

78
Figure 5.3 Weekday casual gains.

Figure 5.4 Weekday in!ltration schedules.

Using the information on your notes


you could also de!ne the casual gains
for the examination room.
79
5.1 Scheduled air flows If you have already !lled in the sched-
Early in the design process building ules for the examination room repeat
details may not support a detailed the process but change the name of the
description of how air moves within !le slightly so as not to mess up your
buildings or how tight the facade might prior work. When the selections in Fig-
be so engineering approximations are ure 5.1 are shown pick air and
often used. The brief didn’t actually gains < from pattern and a
mention anything so an initial assump- list of !les will be shown. Select one of
tion needs to be made. In an actual them (remember which one) and look
project discussions would be made at the summary and answer the ques-
within the design team to quantify this tions about air "ow and then about
!gure. For purposes of this exercise casual gains. Since it does not know
lets have a rather leaky facade and the volume or the "oor area associated
assume that the doors are closed with the pattern !le it needs informa-
between the reception and examination tion from you. If the author of the !le
room. you are getting the pattern from was
really clued-up such information would
We can represent this with one period be included in the documentation.
each day covering the 24 hours with a
value of 1 ac/h in!ltration and no ven- You will have a opportunity to edit the
tilation (see Figure 5.4). Use the documentation and this is you chance
add/delete/copy import to ensure that what is included in your
flow option and select add for all model is clearly de!ned, especially if
day types. Later we might decide to you need to scale some of the values.
lower the in!ltration rate to see if the Figure 5.5 is the result of importing a
building is sensitive to an upgrade in pattern !le. Such patterns can be
the quality of the facade. altered easily - note that the peak value
for occupants and lighting and small
Other sections of the Cookbook outline power are each 100W. To upscale the
options for treating air movement via small power for use in your current
mass "ow networks which can assess zone would require only that you select
pressure and buoyancy driven "ows the scale existing gains
between thermal zones or via Compu- option and provide a scaling factor.
tational Fluid Dynamic Domains.

5.2 Importing operation schedules


Creating zone operations from scratch
is time consuming so many users will
collect their best zone operation pat-
terns and store them in the pattern
folder (located with the training mod-
els).

80
Figure 5.5 Imported pattern !le data.

Once a model includes the zone geom-


etry and the thermophysical data !les
and the schedules of use it is possible
to run a simulation. If you think you
are at this point then have a look at
Exercise 15 in the Cookbook Exercises
volume and see if you can assess your
models performance. If you have not
de!ned environmental systems then the
assessment will be based on a free "oat
assumption.

81
Chapter 6
CLIMATE DATA

6 Climate data
Unless we !nd ways to focus and con- Seasons are partly based on local con-
strain our models and the assessments ventions and partly on science. We pos-
we carry out, simulation tasks risk sible the demarcation between seasons
demanding more computing and staff is based on input from the simulation
resources then we have available. In community. There are several
this section the focus one one way to approaches to deriving a typical assess-
deliver information faster (and without ment period from the climate data !le
exhausting ourselves) by resisting our and then placing it where it is easy to
impulse to run long assessments early access.
in the design process.
ESP-r has a number of facilities which
allow us to scale our models and 6.1 Importing climate data
assessments - so we get, for example, To better understand how this works
annual heating and cooling for a whole our !rst task is to install a new climate
building without simulating every day !le and specify the days in each season
of the year or every "oor of an of!ce and then use clm facilities to discover
building. typical assessment periods in each sea-
For many building types there is a son. After this we will derive scaling
strong correlation between predictions factors for heating, cooling, lighting,
over one or two weeks in each season small power etc. demands to use in our
and seasonal demands. If we can estab- model.
lish that this is the case for a building, Downloading a new climate data set
scaling of performance predictions from a United States DoE web site (on
from short periods to whole season val- one line)
ues becomes an option. <http://www.eere.energy.gov/
The ESP-r climate data sets can be sup- buildings/energyplus/
plemented with information about sea- cfm/weatherdata.cfm>. The site
sons (early-year winter, spring, sum- offers US locations, Canadian Loca-
mer, autumn, late-year winter in the tions and International Location. Lets
Northern Hemisphere, early-year sum- choose an international location -
mer, autumn, winter, spring later-year Geneva Switzerland. The !le for this
summer in the Southern Hemisphere) site is CHE_Geneva_IWEC.zip. Down-
as well as typical assessment periods. load it and save to a convenient loca-
tion and unpack the zip !le. One of the
!les will be CHE_Geneva_IWEC.epw.
83
clm -file CHE_Geneva_IWEC
Most current EPW !les can be
imported directly into the ESP-r clm
If the conversion was correct you
module.
should see the lines
Climate data: GENEVA CHE
46.2N 8.9W: 1984 DN

in the text feedback area of the inter-


For Linux/Mac/Unix use a face. And for good measure try to
command window, go to the graph temperatures and solar radiation.
location of the EPW !le and If there is an issue with the !le then
issue the command (as one open it in a text editor (nedit is used in
line): clm -mode text Figure 6.1). There are several changes
-file CHE_Geneva_IWEC we might need to make in the !le.
-act epw2bin silent Line 6 include a # character before the
CHE_Geneva_IWEC.epw. WMD number and this should be
replaced by a blank character. Line 6 is
This creates a new ESP-r climate !le
also 702 characters long and ESP-r can
CHE_Geneva_IWEC. The message
only read text lines that are less than
error reading line 1 is some-
248 characters. After reading the
times seen when doing the conversion,
ASHRAE notice, edit the notice text
but does not usually affect the conver-
shorten it. The last change is that some
sion. The command given to the clm
EPW !les have a blank line at the end
module includes the name of the new
of the !le (line 8769). Remove this line
binary climate !le to be created after
and save the !le. Further instructions
the key word -!le. The words -act
for working with EPW !les will be
epw2bin silent tells it to under-
found in the ESP-r source distribution
take the conversion without further
in the climate folder.
interactions.

6.2 Defining seasons and typical


periods
For the Native Windows version you Our next task is to de!ne the days asso-
will have to start up the clm.exe mod- ciated with each season. There are any
ule interactively and set the new number of approaches one might take
ESP-r climate !le and and provide and we will use a combination of look-
the name of the EPW !le and use the ing at the patterns of temperatures over
import option. the year and the solar radiation. In the
climate module choose graphical anal-
To check that the conversion worked, ysis from the menu options. Then pick
invoke the clm module with the new dry bulb temperature and draw graph to
!le or use the !le browser to locate the get a display similar to that in Figure
new !le: 6.2.

84
Figure 6.1 Editing of EPW !le.

Figure 6.2 Annual dry bulb temperatures.


The axis at the bottom of the graph is and then weekly. Take the default base
weeks. There are extreme low tempera- heating and cooling temperatures This
tures in weeks 4, 9, 46 and 52. There is will produce a table as Figure 6.3.
a late cool period in week 12. In week
14 it reaches 22°C. The warmest period
is between week 26 and week 32.
Another way to look at climate infor-
mation is to look at weekly heating and
cooling degree days. To to this select
synoptic analysis and then choose dry
bulb temperature and then degree days
85
that preference what we need to do is
to change the year of the climate set so
that January happens on a Monday
(e.g. 2001). This change can be found
in the edit site data menu
option of the main clm menu. Once
this is changed, return to synoptic anal-
ysis and ask for the weekly degree day
table again.
Using these cut-offs the seasons are as:
• early-year winter 1 January - 11
March
• spring 12 March - 24 June
• summer 25 June - 26 August
• autumn 27 August - 18 November
• late-year winter 19 November - 31
December.
To record this information go to the
manage climatelist option on
the main menu. You will be presented
with the options shown in Figure 6.4.
Figure 6.3 Heating and cooling degree days.
What is shown are initial default dates
The average heating degree days is for seasons and typical periods which
roughly 15.0 for the !rst nine weeks you will need to update. If the menu
and then drops to roughly 8.0 (except string item and the menu aid
for week 13). Weeks 27 to 34 have are not clear then start by editing the
cooling degree days between 10 and menu selection and documentation
23. This follows the same pattern as text.
seen in the graph. If we set a winter
For example the menu aide memoir
heating degree day cut-off point of 12
could be Geneva CHE was source from
and a summer cooling degree day cut-
US DoE. Menu option c is the full path
off of about 10 then the de!nition of
and name of the climate !le that ESP-r
seasons is straightforward.
will access after it has been installed in
Before we actually set the dates, note the standard location. For the !le we
that 1 January is on a Sunday and the have been working with this is
start of each subsequent week is also a /usr/esru/esp-r/cli-
Sunday. Later, when we search for typ- mate/CHE_Geneva_IWEC. Menu
ical weeks they will begin on a Sunday. option d is a toggle which tells ESP-r
Some practitioners prefer to run assess- whether the !le is ONLINE or
ments that begin on Mondays and end OFFLINE. Set this to ONLINE. If it is
on Sundays. If we wanted to enforce
86
OFFLINE then others will not see this The criteria for heating and cooling are
!le. based on a combination of heating and
cooling degree days and solar radia-
tion. For example, the seasonal aver-
age weekly heating degree days and
cooling degree days (102 and 0 for
early year winter) as well as the solar
radiation (11.05). It will then look for
the week with the least deviation after
con!rming the weighting we want to
give to heating DD, cooling DD and
radiation. These are initial set to 1.0 to
give an equal weighting (but you can
change this if you want). It !nds the
smallest deviation (0.14) for the week
eight which starts on Monday 19
February. This method can result in a
good estimate of the energy use over a
season although it will be less accurate
for worst case peak assessments.
Use the scan climate for best-
bit weeks option to search for the
typical weeks. After con!rming each
of the seasonal suggestions and select-
ing the graph ambient T and sea-
sons option the interface should look
like Figure 6.5.

Figure 6.4 Menu for creating a cli-


matelist entry.
The section of the menu under seasons
allows us to edit the beginning and
ending date of each season. After
de!ning each season we can then use
the scan climate for best-!t weeks to
search for weeks that are closest to the
seasonal average conditions. Notice
that in this case, each season begins on
the same day of the week. You could
also de!ne seasons that do not start at
the same day of the week.

87
Figure 6.5 Seasons of the year.

6.3 Climatelist entries available and the seasons and typical


The !nal tasks are to record this infor- weeks should be registered.
mation via the list/generate/edit Before closing the clm module, it is
documentation option initialise useful to save the ESP-r climate data
option and then use the save option into an ASCII format !le. Do this via
to write out the data to a !le. It will the export to text file option of
give it a name based on the original cli- the main menu. Accept the default !le
mate !le with a .block extension. The name CHE_Geneva_IWEC.a and the
block of text that was generated is period. The climate !le
listed below. It needs to be pasted into CHE_Geneva_IWEC should be placed
the so-called climatelist !le. There is in the standard folder (e.g.
an edit option. Also open the block !le, /usr/esru/esp-r/climate) and the ASCII
check the entries and to add any text version CHE_Geneva_IWEC.a should
you want to have displayed to users (in be kept as a backup in case the binary
the *help_start to *help_end). climate !le becomes corrupted. Again,
Insert the text (carefully) between an on some systems, you may have to ask
existing *help_end and *item line and administrative staff to copy to !le to
save it. Don’t forget to copy your /usr/esru/esp-r/climate (or wherever the
newly created climate !le to the stan- !le climatelist is located on your
dard folder. The next time ESP-r is machine).
used the new climate !le should be
88
*item
*name GENEVA - CHE
*aide GENEVA - CHE was sourced from US DoE
*dbfl
*avail OFFLINE
*winter_s 1 1 11 3 19 11 31 12
*spring_s 12 3 24 6 27 8 18 11
*summer_s 25 6 26 8
*winter_t 19 2 25 2 17 12 23 12
*spring_t 21 5 27 5 1 10 7 10
*summer_t 6 8 12 8
*help_start
Climate is GENEVA - CHE
Location: 46.25N 8.87W : 2001
Month Minimum Time Maximum Time Mean
Jan -6.8 @ 4h00 Fri 26 11.1 @16h00 Sun 14 1.1
Feb -5.8 @ 7h00 Tue 27 11.7 @16h00 Wed 7 2.4
Mar -2.7 @ 7h00 Tue 27 16.8 @16h00 Sat 10 5.9
Apr 1.4 @ 7h00 Wed 11 22.4 @16h00 Wed 4 10.1
May 1.6 @ 4h00 Tue 8 25.5 @16h00 Tue 15 13.4
Jun 7.7 @ 1h00 Tue 19 29.0 @16h00 Mon 25 16.7
Jul 10.5 @ 4h00 Thu 5 32.1 @16h00 Mon 9 20.3
Aug 7.1 @ 4h00 Thu 30 31.4 @13h00 Wed 22 19.9
Sep 8.3 @ 7h00 Fri 7 27.6 @16h00 Sat 22 15.7
Oct 0.1 @ 7h00 Wed 31 21.1 @13h00 Mon 1 10.6
Nov -4.1 @ 7h00 Sun 25 14.7 @16h00 Fri 2 4.7
Dec -4.0 @22h00 Mon 31 9.8 @13h00 Mon 17 2.8
Annual -6.8 @ 4h00 26 Jan 32.1 @16h00 9 Jul 10.4
---Seasons & typical periods---
Winter season is Mon 1 Jan - Sun 11 Mar
Typical winter week begins Mon 19 Feb
Spring season is Mon 12 Mar - Sun 24 Jun
Typical spring week begins Mon 21 May
Summer season is Mon 25 Jun - Sun 26 Aug
Typical summer week begins Mon 6 Aug
Autumn season is Mon 27 Aug - Sun 18 Nov
Typical autumn week begins Mon 1 Oct
Winter season is Mon 19 Nov - Mon 31 Dec
Typical winter week begins Mon 17 Dec
*help_end

89
Chapter 7
ZONE CONTROLS

7 Zone controls
7.1 Introduction
As stated at the beginning of The
Cookbook, the use of simulation can
test the beliefs of the design team. The Understand options for controlling a
design of environmental controls is building by observing how it works
particularly rich in beliefs. For exam- without mechanical intervention.
ple: Focus on demand side management -
exploring architectural options and
• Some Architects and Engineers alternative operational regimes.
operate on the assumption that build- Focus on transition seasons and envi-
ings constantly require mechanical ronmental controls that can ef!-
intervention. Is this assumption true? ciently cope with part-loads and
• Many design methods focus on intermittent demands.
extreme conditions and ignore what Discover patterns that stress the
happens at other times. What is the building and explore how interven-
cost of this? tions that mitigate the extremes can
• Some design methods assume that be integrated with the results of the
changes dictated by value engineer- prior steps in the methodology.
ing have little or no impact on sys- Re-check demand-side management
tems and control response or running options and iterate as required.
costs or comfort. Is this a low-risk
assumption?
The Cookbook approach limits the cost 7.2.1 Abstract representations
of design by ensuring that such ques- In ESP-r, environmental control sys-
tions are dealt with as early as possible. tems can be represented as either ide-
It also provides opportunities to notice alised zone controls or as a network of
patterns that lead to breakthroughs. system components (often called a
plant system within the interface). The
choice of which approach to take is
dependent on the stage of the design
process, how much detail is needed to
assess performance and how much
information is available. There is also
the issue of time. Control based on sys-
tem components tends to take longer to
91
setup and can be more dif!cult to cali- • heat injections and extraction are
brate. based on user supplied capacity
The !rst step in understanding how ranges rather than performance
ESP-r deals with idealised zone con- curves and fuel "ow rates.
trols is to decode the jargon. The inter- • there are no attributes such as the
face does not present you with a list of spacing of !ns in a fan coil unit,
entities such as perimeter trench floor rather you de!ne the location and
heating. What you see are choices the radiative and convective split
relating to: associated with the actuator.
• what is sensed e.g. temperature, • performance is in terms of "ux
humidity, radiation, "ux added or extracted at the point of
• where is the sensor e.g. zone air actuation. Parasitic electrical use
node, within a construction, within a and part load ef!ciency is a post-
component processing task.
• what control logic is applied to the There are basic controllers which can
sensor signal at different times of the be used to identify demand patterns.
day Other controls represent real-world
scenarios such as equipment with mini-
• what action is taken e.g. "ux injec- mal cycle times or multiple stages of
tion or extraction, capacity.
• where is the point of interaction e.g. Typically a number of zone control
zone air node, within a construction, loops are speci!ed for the building,
within a system component each one having a unique index. These
loops are then linked to one or more
building zones. Zone control loops can
Sensor (location) Actuator (location) exhibit near-real-time response. With a
one minute time-step, the response of a
PID controller to a step change in
demand may demonstrate many of the
Control Law artefacts which would be observed in a
(schedule) real control device. A controller which
is critically undersized can provide
useful clues as to whether the building
Figure 7.1 sensor - law - actuator. is capable of absorbing brief extremes
Together these form a control loop. in boundary conditions or building use
Zone control loops in ESP-r are patterns.
abstract. Control engineers would view In buildings where air movement is
the approach as idealised because there important models may require a mix of
are no time lags in the control system zone controls and air "ow controls.
although there may be lags in response This is especially true in buildings with
due to heat storage etc. hybrid ventilation systems.

92
ESP-r’s abstract approach was initially - actuator de!nitions.
designed for "exibility and the ability The component based approach is
to represent the performance character- complicated by the dozens of possible
istics of a number of environmental combinations of boiler, pump and heat-
control systems at an early stage of the ing circuit layout and is burdened by
design process. In a European context, the need to attribute each of the com-
where there are few standard ponents. At an early design stage such
approaches to environmental controls, details are a distraction from what is
such "exibility was pragmatic. essentially a high level decision. An
If one were to look at the code of simu- abstract approach allows us to delay
lation tools which do not use discrete our investment in detail. It also allows
components to represent environmental us more time to understand the patterns
controls, one would see that their sys- of demand and thus make more
tem template descriptions are being informed decisions during the detailed
translated into instructions which are design stage.
roughly equivalent to the control loops
of sensors, control logic and actuators
used in the ESP-r’s zone controls.
zone_node
You are asked to manually de!ne what
other tools infer from high level window
descriptions. So what is this process
like and how does it compare with a
component based approach (see Chap-
ter 13)?

7.2.2 Abstract example


Imagine that you wanted to test the Sensor (location) Actuator (location)
idea of a "oor heating system which
was capable of injecting ˜40W/m2 into
the middle of the top layer of the "oor
Control Law
slab during of!ce hours and which
sensed the air temperature of the room (schedule)
as in Figure 7.2. Your other option
might be to use radiators in the room.
Although the boiler and thermostat Figure 7.2 representing an abstract
might be the same, the two choices "oor heating system.
required different components and dif- The data required by a control loop is
ferent controls. We could either de!ne as in Figure 7.3. In the case of "oor
networks of components for the two heating the sensor location is at the air
designs or we could represent their node of the zone, the schedule is a free-
general characteristics via sensor - law "oat at the start and end of the day with
93
a ramp-up period in the morning prior but limited so as not to cause conden-
to the occupied period. The control sation. Some control combinations
law during the occupied period could found in BEMS are dif!cult, if not
be a basic controller with 4kW of heat- impossible to represent.
ing capacity and a set-point of 20°C.
The actuator is in a speci!c layer of the
"oor surface of the zone. During the Sensor (deg C Actuator (heat
simulation 4kW will be injected until @ air point) injection @ floor)
the room air temperature reaches 20°C
and then a reduced "ux will be injected
to maintain the set-point.
Although it is abstract, it has many of Control data
Control Law Capacity, set points
the characteristics of a "oor heating
system. Both the time lag and the Algorithm/logic
altered radiant environment of the
Timing data
room are part of the simulation. If the
periods, start times
response is not optimal then altering
the control attributes allows design
variants to be checked. For example, if Figure 7.3 data requirements.
the response is slow, the position in the
slab of the heat injection could be
raised by re-de!ning the location of the
actuator.
Once the required characteristics of the Delaying details until after we see the
"oor heating system have been pattern of demand and interaction
assessed then these can be used in the with an abstract environmental con-
detailed design stage if the resources trol can help us make informed
and goals of the project warrant it. choices of system type and compo-
nents.
The down side of this abstract
Conventional approaches force us to
approach is that some performance cri-
be speci!c before we have reached
teria are not available and some aspects
an understanding of supply and
of the thermophysical response are
demand patterns.
simpli!ed. For example the time taken
Testing via abstract representations
by a real system to alter the tempera-
increases the chance that environ-
ture of the working "uid is absent. The
mental controls and buildings are bet-
minimum time-step for a zone control
ter matched.
is one minute so systems that respond
in the order of seconds are not well Readers who are working with other
represented. There are some control simulation environments may also have
regimes which cannot be represented - options in how they approach environ-
e.g. a chilled ceiling would be con- mental controls. There are almost
trolled both for the room temperature always options to delay detail.
94
7.3 Zone control laws speci!cation. This control can be as
The following is a summary of the unstable as a badly tuned real con-
most often used control laws. troller. The attributes are: maximum
and minimum heating capacity, set-
• basic control is an ideal controller point and throttling range, maximum
which will exactly maintain a set- and minimum cooling capacity,
point if it has suf!cient capacity. cooling set-point and throttling
This is often used to identify range. Integral and derivative times
demand patterns. The attributes are: are optional.
maximum and minimum heating
capacity, maximum and minimum • linkage with plant component is a
cooling capacity, heating and cool- zone controller that is used in con-
ing set-point. Humidity control is junction with a plant component net-
optional and is achieved via mois- work to identify interactions
ture injection or dehumidi!cation at between the plant network and
a maximum g/s rate. There is an zones. The attributes of this control
option to relax temperature control are the component in the network
in order to maintain humidity con- and the node of the component and
trol. the type of coupling. If the air
stream of the system components
• free float disables control for the interacts with a zone then the source
period. There are no attributes for component and down-stream com-
this controller. ponents are identi!ed.
• fixed injection or extract implements • multi-stage with hysteresis imple-
a control with a !xed heating or ments a staged controller in which
cooling rate if the logic requests an additional capacity is brought on-
ON state. Many heating and cooling line if the set point is not reached.
devices are not able to adjust their There are three stages for heating
operation and respond to transient and three stages for cooling. The
conditions with an ON/OFF control attributes include a heating and cool-
action. This controller is sensitive to ing set-point as well as a delta tem-
the simulation time-step (which perature for heating and cooling
should be modi!ed to represent the capacity changes.
response of the device). The
attributes of this control are heating • separate ON/OFF flux is a controller
injection, heating set-point, cooling which implements a heating-on-
extraction and cooling set-point. below and heating-off-above logic as
well as a cooling-on-above and cool-
• basic proportional control is an pro- ing-off-below strategy. This approxi-
portional controller which works mates a classic thermostat response
within in a throttling range and pattern. The attributes are heating
optionally implements PI control and cooling capacity as well as two
with an integral action time or a PD set-points for heating and two set-
control (dangerous) with a derivative points for cooling.
action time or a full PID
95
• temperature match (ideal) imple- • multi-sensor controller is designed
ments a controller which will to implement a control in one loca-
attempt to match the evolving tem- tion based on actions taken in
perature at another location or a another location. An example of this
weighted temperature at several is to represent a HVAC system as a
locations. This is useful in validation mixing box which is controlled
or calibration studies where recorded between a range of temperatures in
boundary conditions need to be order to control conditions in
matched. To represent a well venti- another zone linked to it via an air
lated roof space, a control can heat "ow network. Another use of this
or cool the roof space to match the control is to abstractly represent a
current ambient temperature. "oor heating system as a geometri-
Another example is to force an cally thin thermal zone into which
abstract boundary zone for a ceiling heat is injected in order to control
void to match the current tempera- the temperature of an occupied
ture of a fully de!ned ceiling void space. The attributes of this con-
found elsewhere in a model. The troller are minimum and maximum
attributes are a maximum and mini- heating and cooling capacity, heating
mum heating and cooling capacity, setpoint, cooling set-point and num-
the number of sensors to pay atten- ber of auxiliary sensors and their
tion to and their locations. locations.
• temperature match (ON/OFF) • slave capacity controller implements
implements a controller which will a common residential control strat-
attempt to match a temperature at egy where a thermostat in one part
another location via an ON/OFF of a residence controls the operation
control action. Attributes are similar of HVAC in other rooms. Typically
to the above control. such controls, if not carefully bal-
• optimal start implements an optimal anced, will result in poor control in
start heating controller which some of the slave zones. Several
attempts to reach a desired tempera- control loops are required to imple-
ture at a speci!ed time. This con- ment a master-slave control in a
troller works by trying one scenario building. One control loop repre-
and if it fails it re-winds the simula- sents the master control and there is
tion to the start of the day and then one slave control loop for each of
attempts a different scenario. It can the slave zones. The attributes of the
be operated with a 4h00 start or a controller are the index of the con-
user de!ned start or a start time trol loop that represents the master
tested by iteration. The attributes are controller and the slave heating
heating capacity and set-point, the capacity and slave cooling capacity.
desired time of arrival, minimal time • variable supply temperature imple-
difference and temperature differ- ments a controller for a constant vol-
ence for testing. ume air supply rate which adjusts

96
the supply temperature to maintain a a control loop. Attributes can be
room set-point. This controller is adjusted to better approximate the
abstract (it is not part of an explicit characteristics of environmental con-
air "ow network). Details of the per- trols. Sometimes performance is best
formance are available if the simula- understood by altering the control
tion trace option is invoked. The description and looking at how pre-
attributes are maximum supply tem- dicted performance evolves.
perature, minimum supply tempera-
ture, air "ow rate, room heating set-
point, room cooling set-point.
• VAV with CAV heating implements a
controller which uses VAV for cool- Explore controls with simple models
ing and CAV for heating. This con- before implementing them in full
troller is abstract (it is not part of an scale models or using them in con-
explicit air "ow network). The con- sulting or research projects.
troller assumes a constant supply Spend time with the results analysis
temperature and uses a terminal re- module. Look at a range of perfor-
heat. It is intended for early design mance metrics and forms of report-
stage studies of VAV characteristics. ing.
Details of performance are available Those who have experience will be
via simulation trace functions. The looking for con!rmation of expecta-
attributes are reheat capacity, air tions, whether it needs calibration or
supply temperature, room set-point, is unsuitable.
maximum air "ow rate, minimum air
"ow rate. Working practices in simulation groups
should ensure that each likely control
is tested and notes on their use is
7.4 Exploring building control issues recorded so that it can be available for
review during the planning stage.
The ESP-r distribution includes exem-
plar models which implement various
zone control regimes. Example models
7.4.1 Basic (ideal) control
are a good starting point for exploring
the use of zone controls as well as Let’s have a look at the zone control
understanding interactions between facilities by exploring an example
buildings and environmental controls. model which uses a combination of
free-"oat and basic controllers. The
After selecting an exemplar and study-
model con!guration !le is cellu-
ing the documentation, run assessments
lar_bc/cfg/cellular_bc.cfg and
at different times of the year to charac-
in the list of exemplar models it is in
terise the temporal response of the
the technical features menu as
building and controls.
the !rst item.
Remember, an exemplar model con-
tains one expression of the attributes of
97
coridor

manager_b
manager_a

Project: base case model of two adjacent cellular offices

Figure 7.4 Basic mechanical ventila-


tion system.

The intent of this environmental con-


trol is to heat each of the rooms to 19C
during of!ce hours and 15C at other
times of weekdays. On Saturday the
timing is different and after 17h00 the
temperature is allowed to free-"oat. On
Sundays there is only a frost protection
heating to maintain 10C and an over-
heat control which cools the room if
the temperature goes over 30C. There
is 2500W of sensible heating capacity
and 2500W of sensible cooling capac-
ity and no humidity control.
The control loop that implements this
speci!cation has a number of
attributes. These are held in a !le in the
model and both the interface and the
model contents report uses a standard
reporting convention to describe con-
trol loops (see next report fragment):

98
The model includes ideal controls as follows:
Control description:
Ideal control for dual office model. Weekdays normal office hours,
saturday reduced occupied hours, sunday stand-by only. One person per
office, 100W lighting and 150W small power.

Zones control includes 1 functions.


this is a base case set of assumptions

The sensor for function 1 senses the temperature of the current zone.
The actuator for function 1 is air point of the current zone
The function day types are Weekdays, Saturdays & Sundays
Weekday control is valid Sun-01-Jan to Sun-31-Dec, 1967 with 3 periods.
Per|Start|Sensing |Actuating | Control law | Data
1 0.00 db temp > flux basic control
basic control: max heating capacity 2500.0W min heating capacity 0.0W max cooling
capacity 2500.0W min cooling capacity 0.0W. Heating setpoint 15.00C cooling setpoint
26.00C.
2 6.00 db temp > flux basic control
basic control: max heating capacity 2500.0W min heating capacity 0.0W max cooling
capacity 2500.0W min cooling capacity 0.0W. Heating setpoint 19.00C cooling setpoint
24.00C.
3 18.00 db temp > flux basic control
basic control: max heating capacity 2500.0W min heating capacity 0.0W max cooling
capacity 2500.0W min cooling capacity 0.0W. Heating setpoint 15.00C cooling setpoint
26.00C.
Saturday control is valid Sun-01-Jan to Sun-31-Dec, 1967 with 3 periods.
Per|Start|Sensing |Actuating | Control law | Data
1 0.00 db temp > flux basic control
basic control: max heating capacity 2500.0W min heating capacity 0.0W max cooling
capacity 2500.0W min cooling capacity 0.0W. Heating setpoint 15.00C cooling setpoint
26.00C.
2 9.00 db temp > flux basic control
basic control: max heating capacity 2500.0W min heating capacity 0.0W max cooling
capacity 2500.0W min cooling capacity 0.0W. Heating setpoint 19.00C cooling setpoint
24.00C.
3 17.00 db temp > flux free floating
Sunday control is valid Sun-01-Jan to Sun-31-Dec, 1967 with 1 periods.
Per|Start|Sensing |Actuating | Control law | Data
1 0.00 db temp > flux basic control
basic control: max heating capacity 2500.0W min heating capacity 0.0W max cooling
capacity 2500.0W min heaing capacity 0.0W. Heating setpoint 10.00C cooling setpoint
30.00C.

Zone to contol loop linkages:


zone ( 1) manager_a << control 1
zone ( 2) manager_b << control 1
zone ( 3) coridor << control 1

The contents report parses the data Each control loop is divided into sec-
associated with each control loop and tions that describe the sensor and actu-
expresses this as a short statement. ator as well as data for each period in
Some abbreviation is needed because each day type. What you might notice
the length of each statement is con- is that there is repetition of the capacity
strained. The use of abbreviations also information at each period. The data
happens in the interface - there is not structure allows all attributes to change
enough room to display many words so at each period although most models
the menu presents numbers and echoes only alter set-points. Notice that on
the longer phrases in the text feedback Saturday, the last period of the day
area. uses a different control law to signal a
99
change from controlled to free "oating practices should enforce documenta-
conditions. tion to set the context of the many
The last item in the report is the link- arrays of numbers that make up control
ages between the de!ned control loops loop de!nitions.
and the zones of the model. In this case
one control loop is de!ned and the pat-
tern it represents is used in all of the
zones of the model. Note that the
description of the sensor and actuator
in the above control loop uses the
phrase in the current zone.
The column in Figure 7.5 marked day
type allows the user to implement
different control actions based on the
concept of day types. A hospital emer-
gency room is a classic example of a
single day type. Often it is convenient
to treat weekends differently from
weekdays and ESP-r offers this option.
Day types can be used to de!ne, for Figure 7.5 Top level zone control menu.
example, a different control pattern for
each day of the week, but doing this for There is a centre section of the menu
a period longer than about ten days is which allows access to the speci!cs of
impractical. the each control loop. On !rst glance it
Work is underway to link the concept is dif!cult to make sense of the num-
of day types to the calendar of the bers and abbreviations. The three num-
model. A holiday day type could then bers under the sensor location col-
be assigned to speci!c days of the cal- umn and the actuator location
endar. columns de!ne the speci!c location
To explore how this basic control based on user selections. Selecting the
appears in the interface go to control law brings up the choice of
browse/edit/simulate -> con- sensor details, actuator
trols -> zones and the interface details, period of validity
will look like Figure 7.5 and period data.
There are menu items for describing Each control loop has one de!ned loca-
the included controls, linking speci!c tion for its sensor (although some con-
controls to speci!c zones in the model trol laws will supplement this de!ni-
and managing the controls (add/delete tion) and one location for the actuator.
etc.), checking controls and saving the There are a number of choices for a
control de!nition to !le. As with other zone control loop sensor (shown in
facilities in ESP-r, documentation is an Figure 7.6). Once you select the choice
integral part of the model. Working and answer some supplemental
100
questions the three indices are gener- alternatives to link to at a future point
ated. in time.
The references temporal file
item allows you to associate a sensor
with time-step based data e.g. from an
experiment.
There are fewer choices for the actua-
tor of an ideal zone control loop.
Unlike other domains which might
control two phase "ow or a damper
position, a zone control either adds or
removes "ux from a node within the
simulation solution matrix as shown in
Figure 7.7.

Figure 7.6 Sensor choices.

There are two choices senses cur-


rent zone db temp and senses
temp in a specific zone which
need clari!cation. Some controls are
generic and could be referenced by
many zones in which case the formeer Figure 7.7 Actuator choices.
choice is used. If you have a control
that senses conditions at a speci!c sur- Periods (Figure 7.8 and 7.9) are
face then the latter is needed. There are de!ned by their start time and the con-
some control laws that also require that trol law to use during the period. Con-
a speci!c zone be identi!ed for the trol logic is used until there is a subse-
sensor and actuator location. quent period statement or until the end
Some models will be able to use of the day (which ever comes !rst).
generic control loops and other models Some control laws have few attributes
will require separate control loops with and other have upwards of twenty
speci!c location information for sen- attributes.
sors and actuators.
And you can also de!ne control loops
which are not linked to any zone in the
model, but which are available as

101
Figure 7.8 Control periods.

7.4.2 Interpreting control predic-


tions
The winter performance of this model
should indicate rooms are controlled
during of!ce hours and a set-back tem-
perature is maintained overnight with a
free "oat from late Saturday till early
Monday. Most of these expectations
are con!rmed in the performance data
included in Figure 7.10.
Note that the set-point in the two
of!ces is maintained or slightly
exceeded on most days and the night
time temperature drifts down to the set-
back. The corridor is warmer than the
heating set-point and even reaches the
cooling set-point for a few hours.
There are two deviations in the control
which need to be explained. Why is
Wednesday suf!ciently warm in the
Figure 7.9 Control period details. room to reach the cooling set-point and
should the free-"oat condition on Sun-
day coincide with the warmest pre-
dicted temperatures in addition to the
expected coldest temperatures?

102
Figure 7.10 Winter performance predictions.

Figure 7.11 Winter performance predictions.

103
Figure 7.12 Winter heating and cooling peak statistics.

Figure 7.13 Winter heating and cooling energy delivered.

Strategies for what-else-do-I-look-at which is reproduced in Figure 7.12.


are covered in Chapter 10. Essentially, The information in this report should
we are looking for something that is be used in conjunction with the graph
happening at the same time that might in Figure 7.10 when considering the
cause the thermophysical state that we capacity needed. The statistics provide
are trying to explain. Those with expe- a value and a time of occurrence. As in
rience will have opinions as to the most buildings the peak condition hap-
usual suspects. pens at different times in different
In the case of this model, the light- rooms. The total is a diversified total
weight construction and the large area which is based on the simultaneous
of glazing would suggest that one of peak rather than a summary of the indi-
the usual suspects for overheating is vidual peaks.
solar radiation. The graph in Figure The graph is important because the
7.11 shows that there is a peak solar shape of the response of the environ-
occurrence that coincides with mental control allows us to better inter-
Wednesday and Sunday. One might pret the statistics as well as providing
conclude that these of!ces are sensitive an early clue as to likely equipment
to solar gains. choices or architectural interventions.
If we want to evaluate the capacity The heating pattern is an early morning
required in these rooms we can use the peak which rapidly decreases. The
Summary Statistics -> cooling demand is also a brief peak
heat/cool/humidify report which decreases over several hours.
104
In this case there not a sustained above 5C.
demand for either heating or cooling. • altering the area of glazing to limit
The graph indicates a classic pattern the solar radiation entering the room
for which there are several classic solu-
tions. • adding an outside shading device to
moderate solar radiation falling on
The other report which may be of inter- the facade
est is the integrated energy demand
which is found in the Enquire about • adding internal mass to the room to
-> energy delivered report (Fig-
reduce the rapid change in tempera-
ure 7.13). ture.
In this report the heating and cooling is The temperature pattern in the corridor
expressed in kWhrs and the number of is also instructive. The rise in tempera-
hours that heating and cooling were ture after the control period indicates
active. Those with experience will be that there is excess heat stored in the
looking for options to deal with inter- fabric of the corridor. On warm days
mittent system use. There are stand-by (say above 15°C) the subsequent day
costs and start-up costs which may !nds the corridor temperature just
need to be considered. Where the aver- below the cooling set-point. It is likely
age rate of delivery is considerably dif- that this pattern will also be found in
ferent than the peak then there are a the summer and thus cooling will be
number of classic solutions which required from the start of business.
experienced practitioners will want to Once a model exists the marginal cost
begin to consider. of testing ideas tends to be low. It takes
If we turn our attention to a typical only moments to run focused simula-
spring week we !nd that in Figure tions. It also only takes moments to use
7.14, there are few hours that heating is the results analysis module to generate
required (brie"y on Wednesday morn- and capture a sequence of graphs. Such
ing and Friday morning) and, depend- patterns of performance can be valu-
ing on the temperature outside, quite a able feedback to the design process.
few hours when cooling is required in In the early chapters of the Cookbook
all rooms. the planning process included a review
The graph in Figure 7.14 indicates that of climate patterns and if the selected
there are only brief requirements for periods are included in the model then
heating and there is a short time it is easy to re-run assessments as the
between the demand for heating and design and the model evolve. Experi-
the demand for cooling. This poses enced practitioners use such techniques
several issues for the design team. An to support interactive explorations.
experienced practitioner might con-
sider several alternative scenarios for
spring:
• disabling heating other than as a
frost protection on days that start
105
Figure 7.14 Spring performance predictions.

Figure 7.15 Spring switch from heating to cooling.

106
7.5 Controls implementing bound- de!ned occupied space.
ary zones The approach is as follows:
One of the strategies of the Cookbook • Create a basic (ideal) controller for
is the use of focused models. Models the occupied space manager_a
which represent a portion of a building which is the same as that used in the
are predicated on robust boundary con- previous example.
ditions. A classic case is an of!ce
building with a suspended ceiling • Create a variant of the manager_a
which acts as a return plenum and controller for manager_b which
which has gains from ducts and pipes uses a smaller dead-band.
and lighting !ttings. Below the occu- • Create a control law for
pied level is likely to be another ceiling floor_below which uses an ideal
plenum. temperature match controller
The temperature in the ceiling voids which pays attention to the current
will tend to deviate from the air tem- temperature in ceiling_above and
perature of the occupied space. Thus forces floor_below to the same
the standard boundary condition of temperature.
dynamic (similar) which is • Create a control law for bound-
offered by ESP-r is less accurate than ary_up which uses an ideal tem-
the boundary conditions provided by a perature match controller which
fully described zone. pays attention to the current temper-
Indeed, if the design question focused atures in manager_a and man-
ager_b and forces boundary_up
on whether a night purge of the ceiling
void might provide useful structural to the mean temperature.
cooling, the boundary condition above To demonstrate the temperature match,
the suspended ceiling is critical. the temperature in boundary_up is
One technique to reduce the number of show in Figure 7.17 as the mean of the
fully de!ned zones is to de!ne an current temperatures in manager_a
and manager_b. The use of a
abstract representation of the lower
ceiling void as well as the upper occu- mean temperature of several rooms for
pied space as in Figure 7.16. the boundary condition above the slab
is one approach. If there are substantial
If the occupied space and the ceiling differences in temperature expected it
void above it are well represented we might be necessary to create multiple
can use a control law to force the lower upper boundary zones. For those who
ceiling void to follow the predicted are attempting to push the boundaries
temperature of the well represented of simulation such "exibility may be
ceiling void. We can de!ne another useful.
control which takes the mean tempera-
ture of the manager_a and man-
ager_b rooms and conditions the
upper low-resolution occupied space to
follow the predicted temperature of the
107
Figure 7.16 Bounding control logic.

The summary report of the controls are listed below:

Control description:
Ideal control for dual office model. Weekdays normal office hours,
saturday reduced occupied hours, sunday stand-by only. One person per
office, 100W lighting and 150W small power. Tighter setpoints for
manager_b (so the mean control in boundary_up works).

Zones control includes 4 functions.


The floor_below zone is controlled to the temperature of the suspended ceiling
zone (to act as a boundary). The boundary_up zone is controlled to the mean
temperature of manager_a and manager_b.

The sensor for function 1 senses the temperature of the current zone.
The actuator for function 1 is air point of the current zone
The function day types are Weekdays, Saturdays & Sundays
Weekday control is valid Sun-01-Jan to Sun-31-Dec, 1967 with 3 periods.
Per|Start|Sensing |Actuating | Control law | Data
1 0.00 db temp > flux basic control
basic control: max heating capacity 2500.0W min heating capacity 0.0W max cooling
capacity 2500.0W min cooling capacity 0.0W. Heat setpoint 15.00C cool setpoint 26.00C.
2 6.00 db temp > flux basic control
basic control: max heating capacity 2500.0W min heating capacity 0.0W max cooling
capacity 2500.0W min cooling capacity 0.0W. Heat setpoint 19.00C cool setpoint 24.00C.

108
3 18.00 db temp > flux basic control
basic control: max heating capacity 2500.0W min heating capacity 0.0W max cooling
capacity 2500.0W min cooling capacity 0.0W. Heat setpoint 15.00C cool setpoint 26.00C.
Saturday control is valid Sun-01-Jan to Sun-31-Dec, 1967 with 3 periods.
Per|Start|Sensing |Actuating | Control law | Data
1 0.00 db temp > flux basic control
basic control: max heating capacity 2500.0W min heating capacity 0.0W max cooling
capacity 2500.0W min cooling capacity 0.0W. Heat setpoint 15.00C cool setpoint 26.00C.
2 9.00 db temp > flux basic control
basic control: max heating capacity 2500.0W min heating capacity 0.0W max cooling
capacity 2500.0W min cooling capacity 0.0W. Heat setpoint 19.00C cool setpoint 24.00C.
3 17.00 db temp > flux free floating
Sunday control is valid Sun-01-Jan to Sun-31-Dec, 1967 with 1 periods.
Per|Start|Sensing |Actuating | Control law | Data
1 0.00 db temp > flux basic control
basic control: max heating capacity 2500.0W min heating capacity 0.0W max cooling
capacity 2500.0W min cooling capacity 0.0W. Heat setpoint 10.00C cool setpoint 30.00C.

The sensor for function 2 senses dry bulb temperature in floor_below.


The actuator for function 2 is the air point in floor_below.
There have been 1 day types defined.
Day type 1 is valid Sun-01-Jan to Sun-31-Dec, 1967 with 1 periods.
Per|Start|Sensing |Actuating | Control law | Data
1 0.00 db temp > flux senses dry bulb tem
match temperature (ideal): max heat cp 2000.W min heat cp 0.W max cool cp 2000.W min
heat cp 0.W Aux sensors 1. mean value @senses dry bulb T in ceiling_abv. scale 1.00
offset 0.00

The sensor for function 3 senses dry bulb temperature in boundary_up.


The actuator for function 3 is the air point in boundary_up.
There have been 1 day types defined.
Day type 1 is valid Sun-01-Jan to Sun-31-Dec, 1967 with 1 periods.
Per|Start|Sensing |Actuating | Control law | Data
1 0.00 db temp > flux senses dry bulb tem
match temperature (ideal): max heat cp 2000.W min heat cp 0.W max cool cp 2000.W min
heat cp 0.W Aux sensors 2. mean value @senses dry bulb T in manager_a. & senses dry bulb
T in manager_b.

The sensor for function 4 senses the temperature of the current zone.
The actuator for function 4 is air point of the current zone
The function day types are Weekdays, Saturdays & Sundays
Weekday control is valid Sun-01-Jan to Sun-31-Dec, 1967 with 3 periods.
Per|Start|Sensing |Actuating | Control law | Data
1 0.00 db temp > flux basic control
basic control: max heating capacity 2500.0W min heating capacity 0.0W max cooling
capacity 2500.0W min cooling capacity 0.0W. Heat setpoint 16.00C cool setpoint 26.00C.
2 6.00 db temp > flux basic control
basic control: max heating capacity 2500.0W min heating capacity 0.0W max cooling
capacity 2500.0W min cooling capacity 0.0W. Heat setpoint 20.00C cool setpoint 23.00C.
3 18.00 db temp > flux basic control
basic control: max heating capacity 2500.0W min heating capacity 0.0W max cooling
capacity 2500.0W min cooling capacity 0.0W. Heat setpoint 16.00C cool setpoint 26.00C.
Saturday control is valid Sun-01-Jan to Sun-31-Dec, 1967 with 3 periods.
Per|Start|Sensing |Actuating | Control law | Data
1 0.00 db temp > flux basic control
basic control: max heating capacity 2500.0W min heating capacity 0.0W max cooling
capacity 2500.0W min cooling capacity 0.0W. Heat setpoint 15.00C cool setpoint 26.00C.
2 9.00 db temp > flux basic control
basic control: max heating capacity 2500.0W min heating capacity 0.0W max cooling
capacity 2500.0W min cooling capacity 0.0W. Heat setpoint 19.00C cool setpoint 24.00C.
3 17.00 db temp > flux free floating
Sunday control is valid Sun-01-Jan to Sun-31-Dec, 1967 with 1 periods.
Per|Start|Sensing |Actuating | Control law | Data
1 0.00 db temp > flux basic control
basic control: max heating capacity 2500.0W min heating capacity 0.0W max cooling
capacity 2500.0W min cooling capacity 0.0W. Heat setpoint 10.00C cool setpoint 30.00C.

109
Zone to contol loop linkages:
zone ( 1) manager_a << control 1
zone ( 2) manager_b << control 4
zone ( 3) coridor << control 1
zone ( 4) floor_below << control 2
zone ( 5) ceiling_abv << control 0
zone ( 6) boundary_up << control 3

Figure 7.17 Mean temperature in boundary_up zone.

In summary, the "exibility of zone con- broader exploration of design ideas


trol loops has both costs and advan- during the early design stages.
tages. There are currently no wizards to
automate the process so some tasks are
tedious. Care and attention to detail is
needed to ensure that the control logic
is working well under a variety of oper-
ating regimes.
The advantage of a "exible approach is
that the facility can support the early
exploration of novel design ideas. It
may also reduce the complexity of
other aspects of the model and support
scaling of focused model predictions.
And by delaying the requirement for
speci!c details it may allow for a
110
Chapter 8
THERMOPHYSICAL RESOLUTION

8 Thermophysical resolution
In ESP-r there are essential elements of resolution is required, techniques to
the model description which must exist determine the resources needed and
for the simulator to be invoked. These then back to methods for taking advan-
relate to the form and composition of tage of the additional information.
the model, schedules of occupancy, ESP-r, like other simulation tools is
lighting and small power and option- over-functional. It is also a general tool
ally environmental control systems. that can be coerced to carry out either
And the tag-line for ESP-r has long something close to magic or end up
been: !lling up hard disks for little or no ben-
functionality follows description e!t to the simulation team. Tool-driven
practitioners push buttons because they
This chapter discuss optional facilities exist. Readers of the Cookbook might
to alter the thermophysical resolution be more inclined to be selective in their
of a model so that, for example, radia- button pressing.
tion exchange is represented explicitly
or convective heat transfer is evaluated This chapter will be completed at a
by an alternative computational later date.
approach.
There are many such choices available
within simulation tools. They are typi-
cally invoked by including additional
descriptive terms in the model and/or
additional directives to the numerical
engine. They are often treated as
optional facilities because there are
resource (computing and staff time)
implications in invoking them.
The user is confronted with the need to
understand the functionality of such
facilities. This chapter will provide an
overview of optional facilities available
within ESP-r. And, because this is The
Cookbook, we are going to balance
functionality with methods for deciding
when additional thermophysical

112
Chapter 9
PREPARATION FOR SIMULATION

9 Preparation for simulation


In ESP-r the model description can the causal factor was found to be the
include a number of directives about number of pre-simulation days that
the nature of the numerical assessments were used. That particular value had
to be carried out as well as where to not been recorded in the project notes.
store the performance predictions for And thus it became clear that the
each of the analysis domains. There are description of the model would be
a number of reasons why such infor- much more robust if it included a
mation is embedded in the model: description of the speci!c assumptions
• decisions made in the planning stage and directives used by the simulation
can be recorded engine.
• clarify working practices One of the side-effects of recording
• support for automation and produc- such information is that it simpli!es
tion tasks the task of carrying out production runs
and reduces the chances of errors.
• to allow performance predictions to
be re-generated at a later date It also supports implementing the plan.
If, at the planning stage, the team
• information embedded in a model is decide that speci!c weeks will be a
safer than scraps of paper good test of building performance there
The idea of simulation directive sets is a way to record these preferences so
came about because a highly compe- that when the model is ready to test is
tent user of ESP-r was asked by a client isvery easy to implement the test.
to re-run a historical project to extract Further text to be added here.
some additional information. The ar-
chive of the model was found and the Integrated performance views
notes about the project were scanned
and the simulation was re-run. Then In addition to directives about the
business became complicated and frus- nature of the simulation to be run ESP-
trating. The predictions did not match r also supports directives about the per-
what was in the initial client report. formance issues which the simulation
team is interested. The jargon that the
What had changed? Where did the fault ESP-r community uses to describe
lie? Had the model become corrupted? directives describing what we want to
Had the numerical engine changed in a measure and where we want to mea-
way that would cause different predic- sure it is Integrated Performance Views
tions? Eventually, after days of tests (IPV). Essentially, this is a formal

114
language which supports multi-criteria
assessments. Multi-criteria assessments
provide a rich set of information that
can help simulation teams identify
unintended consequences of design
decisions as well as identify opportuni-
ties for improvements in a design.
How does this differ from the meters
implemented in other tools? The what
and where is a similar idea. The differ-
ence is in how the raw values are used
after they have been extracted. Each
item included in the IPV has a statisti-
cal report and tabular data and a sum-
mary produced. Multiple report types
are generated because different users
recognise patterns in different forms.
And the IPV has similar risks to any
prior-speci!cation scheme. If it does
not include a range of topics it will fail
as technique for enforcing multi-crite-
ria assessments.
This chapter will be completed at a
later date.

115
Chapter 10
UNDERSTANDING PERFORMANCE PREDICTIONS

10 Understanding performance predictions


As ESP-r workshops have evolved over databases and present them in graphi-
the years a pattern has emerged. Partic- cal and statistical and tabular form.
ipants spend almost as much time in Other simulation tools tend to write out
the task of understanding the perfor- pre-selected performance data and rely
mance of models they created as they on third party applications to parse and
did in creating the model. This same process and display such information.
pattern is also found in simulation There are advantages and disadvan-
teams that deliver information that tages in the approaches taken by differ-
exceeds client expectations. Under- ent simulation suites.
standing performance predictions is
critical for testing that the semantics of The essential difference is of philoso-
the model are correct. phy. In one case you direct the simula-
tion engine what type of data and the
Essentially, we invest our time and location of the data to record before
energy in the creation of models in you run the simulation and in the other
order to get to the point where we can case the user directives are essentially
explore the temperatures and "ux and delayed until the point of data extrac-
"ow that were generated by the simula- tion.
tion engine. The better our skills as
identifying patterns and looking at the Risk: if the simulation engine only
chain of thermophysical dependencies records what you ask it to record
within our virtual world the better we unintended consequences or oppor-
can reach that AH! point where we tunities may not be identi!ed
can tell someone else a good story Risk: performance data needed for
about what we have found. clari!cation may not be available
ESP-r differs from other simulation and require altering the save direc-
tools in that it records the thermophysi- tives and re-running the simulation
cal state of the model at each time-step 3 Bene!t: for standard reports and for
into one or more random access !le cases where you already know what
stores (depending on the number of you want to measure then user direc-
analysis domains processed by the sim- tives and third party tools can be
ulation engine). Some would call these more ef!cient.
random access !le stores databases.
The ESP-r suite include a module res The res module
which is able to recover the values of Res is a tool for interactive exploration
the thermophysical state from these of a rich data store. It allows users to
117
create ad-hoc collections of informa-
tion and view them in different formats
or perform statistical operations on the
data or !lter it in various forms. Such
facilities are used by practitioners to
react to ad-hoc questions and to
explore dependencies within the
model.
Because the display of graphs and
tables and tabular data is optimised for
interactive work it tends not to be at a
display resolution which is suitable for
presentation reports and the typical
approach taken is to export the relevant
data in a format that can be processed
by a third party application.
This chapter will review the types of
information that is held in the data
store as well as the various views of the
data that can be generated. And, of
course, the core purpose of the chapter
is in methodologies of exploration
which have been proven successful in
identifying unintended consequences
and opportunities.
This chapter will be completed at a
later date.

118
Chapter 11
FLOW

11 Flow
This Chapter focuses on air"ow model- • Where there are highly dynamic
ling techniques in ESP-r: variations in ventilation rate, e.g.
• overview of network air "ow model- natural ventilation
ling; • Where control strategies are impor-
• the art of planning "ow networks; tant, e.g. opening or closing win-
dows based on temperature and/or
• de!ning and calibrating "ow net- wind speed.
works;
If these are descriptive of your design
• control of "ow networks; then consider "ow networks as a way
• project management. to better represent the dynamics of "ow
At the simplest level, air "ow within an interactions.
ESP-r model can be imposed via
schedules of in!ltration and ventila- 11.2 Fluid Flow Networks
tion. For example a user could stipulate Fluid "ow networks offer considerable
0.5 air changes of in!ltration for all "exibility in describing a range of
days and all hours or a schedule that designs and the potential to increase
changes at each hour for each day type. the resolution of models to support
These schedules may be subjected to assessments which are dependant on
control (e.g. increase in!ltration to 1.5 the movement of mass or "ux or power
air changes if zone temperature goes within a model.
over 24° C). Scheduled "ow is appro- Rather than imposing "ows, a network
priate for engineering approximations, describes possible "ow paths (e.g.
initial design studies and basic opera- doors, cracks, fans, ducting, pipes,
tional regimes. valves), points where boundary condi-
tions apply (e.g. an opening to the out-
11.1 Limitations of Scheduled Flow side) and locations where measure-
The critical word above is imposed. ments of "ow performance are required
Schedules impose a "ow regime which (e.g. internal and boundary nodes).
may have no basis in the physics of ESP-r’s "ow network solver dynami-
buildings. This is particularly true in cally calculates the pressure-driven
the following cases: "ows within zones and/or environmen-
• Where there is strong coupling tal control systems that are associated
between heat and air "ow, e.g. stack with the network. The "ows at nodes
and wind driven "ow are a function of nodal pressures and

120
the connected components’ characteris- flow Modelling Within Dynamic
tics. The mass balance at each node is Whole-Building Simulation (I Beau-
solved using a customised Newton- soleil-Morrison 2000), On the thermal
Raphson approach. The solution iter- interaction of building structure and
ates until it converges and the pressure heating and ventilating system (J L M
at each node and the mass "ow through Hensen 1991) are books or PhD thesis
each connection are saved. which discuss some aspects of "ow
The solution takes into account the simulation.
change in driving forces as conditions An ESP-r model may have one or more
within the building and boundary con- de-coupled "ow networks - some
ditions evolve. Information exchange describing building air "ow and others
between the domain solvers ensures representing "ow in a hot water heating
that changes in "ow will in"uence con- system. In models which include sepa-
ditions in associated zones, controls, rate buildings the "ow network can
systems and CFD domains within a include one or more of the buildings.
model. For example, opening a win- The solver is ef!cient and thus, even
dow on a cool day introduces cool air with scores of nodes and components,
into a zone, which depresses the tem- there is only a slight increase in com-
perature of the walls which then alters putational time. Assessing thousands of
the buoyancy forces driving the "ow. time-steps of "ow patterns in support
Although the "ow of air in real build- of natural ventilation risk assessments
ing continually adapts to conditions is one use of "ow networks. Flow net-
and self-balances, simulation re-evalu- works are often used as pre-cursors to
ates conditions at !xed intervals. Thus CFD studies.
there is the possibility that differences The "exibility of "ow networks brings
in temperatures can build up during the both power and risk. The discussion
simulation time step which would not that follows presents methodologies to
be observed in real buildings. This help you decide when networks are
results in exaggerated air "ows, or called for, planing tips for "ow net-
oscillating "ows, especially for large works and techniques for understand-
openings between thermal zones. Thus ing the predicted patterns of "ow
the choice of simulation time step is a within your model.
topic worthy of discussion.
ESP-r differs from some other simula-
Those who wish to know more about tion tools in that it asks the user to
the solution technique should look at de!ne "ow networks explicitly. An
publications page on the ESRU web explicit description allows knowledge-
site. For example, On the Conflation of able users to control the resolution of
Contaminant Behaviour within Whole the network as well as the choice of
Building Performance Simulation (A "ow components and their details.
Samuel, 2006), Energy Simulation in
Building Design (J A Clarke 2001), This approach assumes that the user
The Adaptive Coupling of Heat and Air has opinions about "ow paths as well
as access to relevant information about
121
the "ow components used in the net- • boundary known pressure (rarely
work. As with the geometric resolution used);
of a model, creating "ow networks is • boundary with wind induced pres-
as much an art as it is a science. sure (air only).
Scaling up skills and working practices A "ow node has one temperature just
to cope with the level of complexity as the volume of air associated with a
found in realistic projects has tradition- thermal zone has one temperature. Typ-
ally been accomplished via mentors or ically there will be a one-to-one map-
workshops. This has limited the ping between thermal zones and "ow
deployment of the facility. nodes. Internal nodes can either take
The Cookbook aims to de-mystify the their temperature from a thermal zone
topic of "ow networks as well as pro- or they can be de!ned to track the tem-
viding hints about where the dragons perature of a speci!c "ow node. Lets
tend to hide. call the former real nodes and the latter
extra nodes.
11.3 Building blocks Wind induced boundary nodes repre-
The building blocks we can use to sent wind pressure at one point on the
de!ne a mass "ow network are "ow facade of a building. It is a function of
nodes, "ow components and "ow con- the wind velocity, direction, terrain,
nections. The least complex network building height, surface orientation and
that the solver will work with includes position within the facade. Typically, a
a zone node and two boundary nodes "ow network would include a bound-
connected by two components (see ary node for each location where air
Figure 11.1). may "ow into a building.
Good practice places a boundary node
component component at the height of each opening to the
outside. If you follow this pattern the
process of locating "ow components
boundary node zone_node boundary node
representing the opening is simpli!ed.
Figure 11.1: The least complex network.
Pressure coefficients
Flow Nodes The jargon we use to express changes
in pressure due to changes in wind
Nodes in a "ow network are measuring
direction is a pressure coef!cient Cp.
point for pressure, temperature and
In ESP-r, Cp values for standard angles
rate-of-"ow. These bookkeeping enti-
of incidence (16 values to represent
ties are of four types:
360°) for a speci!c location are held as
• internal unknown pressure; a set.
• internal known pressure (rarely ESP-r has a database of Cp coef!cient
used); sets for different types and orientations
of surfaces derived from the literature.

122
Lets be clear about this, one of the non-linear function of the pressure dif-
greatest points of uncertainty in "ow ference across the component based on
simulation is in the derivation of pres- experimental and analytical studies
sure coef!cient sets. Some groups taken from the literature.
reduce this uncertainty by undertaking ESP-r has a set of in-built "ow compo-
wind tunnel tests or creating virtual nents including ducts, pipes, fans and
wind tunnel tests via the use of CFD. pumps as well as cracks, ori!ces and
ESP-r offers a so-called Cpcalc func- doors. Generic !xed volume or mass
tion to generate pressure coef!cients "ow components as well as quadratic
but it is one of those places where and power law resistance models are
dragons live. also included. Details of the methods
used are included in the source code in
Wind Speed Reduction Factors the folder src/esrumfs. Some com-
The ratio of the climate wind velocity monly used components (reference
(usually at a standard height of 10m) numbers in brackets) are:
and wind in the locality of the building • Power law volume "ow (10) can be
is known as the wind speed wind used where "ow is well described by
reduction factor such that a power law
V = Vclim x Rf
Rf is calculated from some assumed • Self regulating vent (11) is a Euro-
wind speed pro!le and accounts for pean vent to embed in a window
differences between wind measurement frame which moderates "ow across a
height and surrounding terrain (urban, range of pressures
rural, city centre) and building height • Power law mass "ow (15 & 17) can
and surrounding terrain. be used where "ow follows a power
Wind pro!les can be calculated using law.
three different models: power-law, • Quadratic law volume (20) and mass
LBL, logarithmic. (25) can be use where "ow follows a
Caution is advised in the use of Rf val- quadratic !t.
ues as the pro!les they are derived • Constant volume "ow (30) and mass
from are invalid within the urban "ow (35) are abstract representations
canopy. In such cases, it is advisable of a fan (can be controlled to
to use a small value for Rf in cool- approximate variable speeds).
ing/air quality studies and high values • Common ori!ce (40) can be used for
for in!ltration heating studies to repre- openings with a user de!ned dis-
sent worst case conditions. charge coef!cient
• Speci!c air "ow opening (110) has a
11.3.1 Flow components
!xed discharge coef!cient and only
Flow components (e.g. fans, pumps, requires an area.
ducts, cracks, valves, ori!ces etc.)
• Speci!c air "ow crack (120) is use-
describe the "ow characteristics
ful for openings up to 12mm wide.
between "ow nodes. Flow is usually a
123
• Bi-directional "ow component (130) In the upper part of Figure 11.2 is a
is useful for doors and windows crack under a door that connects to
which are door shaped where tem- zones (where the zone nodes are at dif-
perature and pressure differences can ferent heights). In the lower part of
result in "ow in two directions. Figure 11.2 is a representation of a
• Roof outlet/cowl (211) is based on sash window (where there is one "ow
measurements of typical ceramic component representing the upper
units found in Europe. opening and another representing the
lower opening. The sash window is
• Conduit with converging 3-leg (220) associated with two separate boundary
and diverging 3-leg (230). There are nodes.
lots of parameters needed to describe
this and dragons live here. door
zone_node
• Conduit with converging 4-leg (240)
zone_node
and diverging 4-leg (250). There are
lots of parameters needed to describe !1.5m
this and dragons have been sighted !1.2m
here.
• Compound component (500) points crack under door
to two components e.g. an opening
and a crack with parameters needed
for control actions.
boundary node
11.3.2 Flow connections sash window

Flow connections link the nodes and boundary node


zone_node
the components via a descriptive syn-
tax that takes the form: boundary node
’south’ is linked to internal node Figure 11.2: A crack under a door and
’of!ce’ via component ’door’. a sash window.
A connection also de!nes the spacial Some people !nd the syntax used to
relationship between the node and the describe the relationship between
component e.g. that a "oor grill is 1.5m nodes and components a bit of a chal-
below the node. If nodes and connec- lenge. Here is one technique that works
tions are at different heights, then the for quite a few users.
pressure difference across the connec-
tion will also include stack effects. Imagine yourself at the position of
the "ow node (e.g. in the centre of
Good practice places a boundary node the zones air volume) and looking
at the height of each opening to the at the component. If you are look-
outside. If you follow this pattern the ing horizontally then the height
delta height is zero for components difference is zero. If you are look-
from the point of view of the boundary ing up then the height difference
node. is positive. If you are looking
124
down (e.g. to the crack under the well as a parallel path with a crack. If
door) then the height difference is the window is controlled and open then
negative. the crack has little or no impact on pre-
For example, if a zone node is at 1.5m dictions. When the window is closed
above the ground and the lower win- then the crack becomes the connection
dow opening is at 1m above the ground to the boundary node.
and the upper window opening is at Recent versions of ESP-r support the
2.1m above the ground. Look at the concept of a compound component
lower window opening from the point which is made up of, for example, an
of view of the zone node it is 0.5m opening and a crack. The use of com-
below the zone node and at the same pound components can simplify "ow
height as the lower boundary node. The networks by reducing the need to par-
upper window opening is 0.6m above allel connections.
the zone node and at the same height as
the upper boundary node.

Path to boundary window crack

The other rule about creating networks window boundary node


is that every internal node must some-
how have a path to a boundary node. zone_node
The solver treats air as incompressible
(for all practical purposes) and the
solution is of the mass transfer within
the network. When the temperature
changes the volume must change and if
the pressure has no point of relief then compound window & crack
the solver breaks. boundary node

The design of the network must take zone_node


this rule into account, especially if con-
trol applied to components would have
the effect of totally isolating a node. Figure 11.3: A crack & window and a
The risk of breaking the rule increases compound component.
with network complexity so the Cook- Up to this point the networks have been
book emphasises working procedures linked via a single component or com-
which are robust enough to scale with ponents in parallel. Suppose we wanted
the complexity of the models we cre- to open a window if the temperature at
ate. the zone node was above 22°C AND
the outside temperature was below
Parallel and sequential connections 19°C. How might we implement the
Figure 11.3 is a portion of a network above AND logic? One technique is to
which uses a common ori!ce to repre- use components in series.
sent the window when it is opened as
125
If zone_node is linked to bound- networks of dozens of nodes and com-
ary_node by component window ponents which work correctly the !rst
and we wish to insert a second time. Plan carefully and then imple-
component control it would be ment the plan! Successful practitioners
necessary to create extra_node, use the following set of rules:
assign it to track the temperature Rule one
of zone_node. The new "ow com- sketch out the network either as a 2D
ponent control should be of a type layout or as a 3D overly of the wire-
that would present little resistance frame view of the model
to "ow when open. The existing
connection would be re-de!ned Rule two
and the second connection in the give informative names to the nodes
sequence would be created as in and components on the sketch and
Figure 11.4. The window compo- use these same names when using
nent would take one control logic the interface
and the control component would Rule three
take the second control. The origi- identify portions of the network
nal window crack connection where control will be applied
would remain. Rule four
if there are likely to be design vari-
ants, use overlays on the sketch to
lay out alternatives and ensure that
window crack
boundary node
the sketch provides a summary of
window the intent of the overlay
zone_node control Rule !ve
extra node if there is room on the sketch include
critical attributes of the components,
Figure 11.4: Use of additional if there is not ensure you separately
nodes and components for control record component attributes before
you start on the interface
When control is imposed, considera-
tion should be given to adjusting the
simulation time step to take into A good sketch is worth hours of
account the response of the sensor and debugging - trust us on this!
"ow actuator. If we observe "ow rates
oscillating it is usually in indicator that ESP-r does not graphically represent
we need to shorten the simulation time the network (yet). The sketch makes it
step. easier to interpret the story told by the
names of the nodes and components.
11.4 Steps in creating a network When we plan a network we should
The ESP-r Cookbook recommends a account for how "ow is induced or
methodical approach to the creation of restricted, where control might be
network. It is possible to design imposed as well as where we expect
126
there to be differences in air tempera- Linking the nodes and components is a
ture within a building. critical step which bene!ts from a
For example, if you believe that a methodical approach as well as consis-
perimeter section of an of!ce will often tent pattern for typical relationships.
be at a different temperature consider
creating a separate zone for the perime- A good sketch is still worth hours
ter. Some practitioners include addi- of debugging!
tional vertices in the model and subdi-
vide "oor and ceiling surfaces in their In deciding which components to use
initial model so that it is easy to subdi- our initial task is to review the features
vide a zone at a later stage. of the available components and con-
Experience indicates that last minute trol options which can be applied to
subdivision of zones can take longer them as well as their data requirements.
than one might expect and require time There is also the option of browsing
for testing that has not been budgeted existing models which include "ow
for. networks and running assessments and
The design of the "ow network should reviewing the predictions. A great way
take into account what-we-want-to- to understand how "ow works is to
measure. Typically there is a one-to- take these exemplar models and sys-
one matching of internal nodes and tematically adapt the network and/or
thermal zones. However, if there were control description and observe the
many openings in a room on the east changed performance.
and to the south facades and we were
interested in the aggregate "ow at each
facade then we might plan a network
which had extra internal nodes as
shown in Figure 11.5. In the sketch the
west node and east node nodes take
their temperatures from zone_node.

boundary node

boundary node

east_node boundary node


zone_node
west node

boundary node
boundary node
boundary node

Figure 11.5: network with extra nodes


127
examination
reception

Node

Crack_under_doof

Crack_at_wingow

Window

Figure 11.6: simple network for doctor’s of!ce

11.5 A simple network ESP-r the description of the zone and


To illustrate the process lets create a the "ow network can differ as long as
simple network for the doctors of!ce we remember the intent of the differ-
that you worked on earlier. ence.
Air can also "ow around the frames of
Where could air flow the windows. It is dif!cult to know if
Air can "ow under the door between there are differences in the leakage
the reception and the examination paths of the three horizontal windows.
rooms. When we created the initial For this project lets assume that they
zone a decision was made to exclude have the same leakage characteristics.
the door as being unimportant in terms There are three locations on the facade
of the overall heat "ow in that portion with these windows - but each can be
of the building. An entrance to the represented by the same crack compo-
reception would be place where air nent. The north window is a different
would "ow. Does this require that we size and lets assume that it has a differ-
go back into the geometry and add a ent leakage characteristic so that needs
door? Not necessarily. to be a different component.
Consider if there was a 5mm crack in The next issue is how long is the typi-
the wall. The handful of missing mor- cal crack and where is it. If we wished
tar would not change the thermophysi- to be pedantic there are cracks at the
cal state of the wall, but the air moving top and bottom and left and right of
through the crack might be noticed. In each window. For this exercise lets

128
assume the crack is along the centre ESP-r offers a pre-de!ned window
line of the window and is the same component which only requires the
length as the width of the window. opening area, it also includes a com-
mon ori!ce which requires an area and
What kind of window opening? a discharge factor. If one had the data
If someone was to open a window then the opening could be a polynomial or a
there might be "ow IF there was some- power law. A sash window is two
place for the air to go. A mass "ow net- openings and some users also represent
work has limitations when attempting a horizontally pivoting window as two
to represent single sided ventilation. In separate openings. Some windows have
some cases it is possible to use a bi- an width to height which is similar to a
directional component to represent a door and in that case some users may
window (there are arguments in the decide to use a bi-directional "ow com-
community about the validity of such ponent (more on that later). For now,
an approach). If two windows are lets use the air "ow opening compo-
opened the driving forces are better nent and assume that the component is
represented within a mass "ow net- centred within the window surface.
work.
What kind of extract fan?
Depending on the size and physical
details of the opening there are several Air can be induced to "ow by an
"ow components which might be use- extract fan. And here our choices begin
ful. And before we look at the compo- to expand because there are both
nent details it is worth considering abstract and detailed components for
whether the windows in this doctors the extractor. And since there are times
of!ce will be operated by the staff and when the extractor is not required we
whether they will do this with a pre- will need to control it.
dictable logic (e.g. will they open the Early in the design process our tactic
window if it reaches 22°C and will should be to con!rm whether forced
they open the window fully)? ventilation in the doctors of!ce will
For this project lets start with the help and the magnitude of the "ow
assumption that we will eventually required and perhaps the turn-on set
want to test out a window opening point. This is most quickly accom-
regime that involves opening the win- plished via an abstract volume "ow
dows twenty !ve percent. We can rate component and a simple control
include the relevant components in our law. Once we con!rm the general char-
planning so that they will be easy to acteristics and response of the building
include at a later date. How the win- we can consider whether a speci!c fan
dow operates will determine the types curve should be applied to the model.
of "ow components we should use as
well as the connections we establish What kind of room?
within the "ow network. What else might require our attention?
Looking back at the dimensions of the

129
doctors of!ce the sloped ceiling of the south - boundary 2.375m
examination room increases the vol- north - boundary 2.375m
ume of the space and raises the centre exam_north - boundary 3.75m
of the air volume in comparison to the exam_extract - boundary 3.0m
examination room. The earlier decision east - boundary 0.1m
to represent the examination room as a
single volume of air which is well- component name - type data
mixed (i.e. at a single temperature) long_win - air "ow opening 1.0mˆ2
does introduce an element of risk long_cr - crack 5mm x 3.0m
because there will be times when the door_cr - crack 10mm x 0.8m
air near the peak of the ceiling is at a upper_win - ori!ce 1.5mˆ2 0.5 coef
different temperature to the occupied upper_cr - crack 5mm x 3.0m
portion of the space. extract - volume "ow ˜1 air change
Given the initial design brief the single
volume decision was appropriate. If the node - to - node component
question becomes occupant comfort south to reception via long_win
and !ne-tuning of window opening or south to reception via long_cr
extract fan use then a subdivision of the north to reception via long_win
physical space into multiple thermal north to reception via long_cr
zones could be done. For the current east to reception via door_cr
project lets not alter the zones. exam_north to examination via upper_win
exam_north to examination via upper_cr
When we sketch out the network we reception to examination via door_cr
will need names for the nodes and the examination to exam_extract via extract
components (Figure 11.6). At some
point we must record the attributes of height differences:
the components so that this information long_win is 0.875m above reception
will be available when we create the long_cr is 0.875m above reception
network and we will also want to pass upper_win is 1.5m above examination
our notes to the person checking the upper_cr is 1.5m above examination
model. door_cr is 1.5m below reception
This is also a good time to get out a door_cr is 2.25m below examination
calculator and focus the project man-
ager on the geometry of the zones so
that we can record the height differ- Which connection comes first?
ences between the nodes and compo- In addition to what we include in the
nents. The table below provides several sketch we also need to consider the
of the relevant dimensions: order that we link the nodes and com-
ponents. The connection associated
Component names and locations. with the extract fan should being at a
zone node and end at a boundary node
node name - type height so that the "ow is outwards. For other
reception - internal 1.5m connections the order is not
examination - internal 2.25m
130
numerically important.
It does help to have a consistent policy
with openings to the outside because a
"ow along a connection is reported as a
positive number if it is in the same
direction as the connection de!nition
and negative if it is "owing from the
end point to the start point. If you con-
ceptually consider air entering the
building as positive "ow then you
would choose to de!ne connections
with the outside as beginning at the
boundary node and ending at the zone
node.
Our task is to record our decisions and
attributes on the "ow network sketch
and then to use the interface to !rst
de!ne the nodes and then the compo-
nents and then to link the network
together.

11.6 To the keyboard


Having planned and recorded the infor- Figure 11.7: interface at start of process
mation associated with our network we
can now use the interface to increase Initial nodes
the resolution of the model. In the Select the nodes option and allow an
Project manager look for Model man- auto-generation of the nodes for the
agement -> browse/edit -> net- current zones. The initial list includes
work flow and choose flow net- the two items shown in Figure 11.8.
work (menu) and con!rm the sug- The auto-generate assumes that each
gested !le name and then choose make thermal zone will have a node and the
new file and then specify that the zone name is given to the node and the
network is all air. And you will centre of the zone becomes the height
be presented with the initial menu as of the "ow node.
shown in Figure 11.7. At the start there
are no nodes or components or connec-
tions and no nodes have been linked to
the zones. The descriptive sequence is
to de!ne the nodes !rst and then de!ne
the components and lastly the connec-
tions between the nodes.

131
Figure 11.8: auto-generated nodes

Figure 11.9: adding boundary nodes

Figure 11.10: the completed components

132
Boundary nodes Connecting nodes and components
The next step is to de!ne the boundary The next step is to link the nodes and
nodes. Do these based on the informa- components together to form the net-
tion in the table above. For each work. Each connection has an initial
boundary node you will be asked to node and component and a second
nominate a surface where the opening node. You are asked to specify the
is found. This sets the orientation of height difference to the component
the boundary node so that wind direc- from the point of view of each node.
tions can be resolved. The centre of the The order you give is not critical
surface becomes the height of the node. except for the extract fan. Flow in the
When asked to con!rm the height direction of the initial to the second
check the notes (aren’t you glad you node is reported as a positive number.
made a note of this). You will also be It does help to have a consistent pattern
asked about which pressure coef!cient when de!ning connections. One com-
set to use and for this exercise select mon pattern for connections which
1:1 sheltered wall for each con- involve boundary nodes - use the
nection. The result should look some- boundary node as the initial node so
thing like Figure 11.9. This is a good that "ow into the room is reported as a
time to save the network! positive number. Some users de!ne all
of the links with boundary nodes !rst
Components and then they de!ne links between
The next task is to create the compo- internal nodes.
nents. Do this based on the information Another pattern is in the de!nition of
in your notes. Each component height differences. The boundary nodes
requires a name and, depending on the were de!ned at the height of the open-
type of component, there will be one or ing so that the delta height from the
more attributes to de!ne. The order position of the boundary node is
you create the components is not always zero. And if a connection uses a
important. When you de!ne the component where buoyancy will not be
extract fan as a constant volume "ow an issue (like the constant volume "ow
rate component note the various ways component) give zero as the height dif-
you can de!ne the "ow rate. The air ference.
changes per hour is particularly useful
at an early stage so use that (which is
equivalent to 0.01667mˆ3/s based on
the volume of the examination room).
When the components are completed
they should look similar to that shown
in Figure 11.10. Save your network
again. You may also want to use the
browse network option to review the
data that you have provided.

133
Figure 11.11: the completed connections
7 6 9 1.000 (nodes, components, connections, wind reduction)
Node Fld. Type Height Temperature Data_1 Data_2
reception 1 0 1.5000 20.000 0.0000 120.00
examination 1 0 2.2500 20.000 0.0000 60.001
south 1 3 2.3750 0.0000 9.0000 180.00
north 1 3 2.3750 0.0000 9.0000 0.0000
exam_north 1 3 3.7500 0.0000 9.0000 0.0000
exam_extract 1 3 3.5000 0.0000 9.0000 90.000
east 1 3 0.10000 0.0000 9.0000 90.000
Component Type C+ L+ Description
long_win 110 2 0 Specific air flow opening m = rho.f(A,dP)
1. 1.
long_cr 120 3 0 Specific air flow crack m = rho.f(W,L,dP)
1. 0.00499999989 3.
door_cr 120 3 0 Specific air flow crack m = rho.f(W,L,dP)
1. 0.00999999978 0.800000012
upper_win 40 3 0 Common orifice flow component m = rho.f(Cd,A,rho,dP)
1. 1.5 0.5
upper_cr 120 3 0 Specific air flow crack m = rho.f(W,L,dP)
1. 0.00499999989 3.
extract 30 2 0 Constant vol. flow rate component m = rho.a
1. 0.0166670009
+Node dHght -Node dHght via Component
south 0.000 reception 0.875 long_win
south 0.000 reception 0.875 long_cr
north 0.000 reception 0.875 long_win
north 0.000 reception 0.875 long_cr
east 0.000 reception -1.500 door_cr
exam_north 0.000 examination 1.500 upper_win
exam_north 0.000 examination 1.500 upper_cr
reception -1.500 examination -2.250 door_cr
examination 0.000 exam_extract 0.000 extract

Figure 11.12: the ESP-r "ow network !le

Take your time to avoid having to re- connections involving the windows and
de!ne connections. For this exercise the cracks. The interface will ask for
there are three sets of parallel con!rmation when you de!ne the

134
parallel connection. The interface will directions.
ask you if you want to auto-generate We might also wish to identify some
the connections. For this exercise say days where overheating is likely so that
no. after we add controls to the windows
Hint: as you create the connec- and extract fan we can simulate the
tions, mark your sketch so that same period when we are looking at
your progress is recorded. It is how window opening or the use of an
easy to duplicate a connection, or extract fan might improve conditions.
even worse, to miss out a connec- For the initial assessment, select a sim-
tion. ulation period of a week in April and
reset the simulation time step to 10
Checking your data minutes.
The last step is to con!rm the linkages
between the "ow nodes and the thermal
zones. Look for the link nodes and
zones option in the interface. When
you have completed this it should look
similar to that shown in Figure 11.11.
Save the network again. After exiting
the network menu it is also a good idea
to generate a new QA report. When
looking at the QA report pay particular
attention to the Z values for the compo-
nents. If the two Z values differ you
might have made a mistake about the
delta height from each of the nodes.
The description of the network is writ-
ten to an ESP-r !le in the nets folder of
your model. The !le shown in Figure
11.12 is for the doctor’s of!ce.

11.7 Calibrating flow models


Having added a "ow network to the
model, lets see if the model will run
and then if the predicted air "ows make
sense. What might we look for? The Figure 11.13: simulation parameters
windows are open so we would expect for a spring assessment
signi!cant "ows, especially on days We we ask for an integrated simu-
with some wind where up to one air lation a number of checks will be
change per minute might occur. We carried out on the model to ensure that
want to include in our assessment days it it both syntactically correct and that
that have a variety of wind speeds and the model dependencies are correct.
135
During the simulation, if the monitor- total entering node for the two
ing is turned on (as in Figure 11.14) the rooms. The "ow rates shown in Figure
inside temperatures is close to ambient 11.16 should be similar to the pattern
(black line) in the reception (where you see in your model.
there is cross ventilation) with higher Consider that time spent in the results
temperatures in the examination room analysis module working out for your-
where the "ow is constrained by the self which reports and graphs help you
single sided ventilation and the crack to understand the patterns of "ow as an
under the door. Clearly there is a need investment. Many a practitioner has be
to control the opening of windows to caught out by a cursory inspection of
prevent chilling of the room. "ow data!
Graphs and tables It is now time to introduce some con-
trol into our "ow network so that win-
Before adding control to the "ow net- dows are only open when appropriate.
work, have a look at the predictions of And if we !nd that "ows are insuf!-
"ow to see which of the reports or cient then some control of the exhaust
graphs provide useful performance fan will be added.
information. Start of the results analy-
sis module and the last simulation pre-
dictions will be used.
A good place to start is the graph
facilities and the Time:var
graph where we can look at the
energy embodied in the movement of
air. Selecting climate -> ambient
temperature and temperatures ->
zone temperature and zone flux
-> infiltration will provide an
overview (Figure 11.15). As expected
the in!ltration cooling in the examina-
tion room is minimal. The in!ltration
cooling (the energy implication of the
air movement) in the reception varies
between 0W and 1000W. As the tem-
perature differences decrease the
energy implication is reduced.
And it is also the case that the volume
of "ow changes the magnitude of the
energy implication. To look at that we
need to use a different graphing facil-
ity. Use the Network flow -> option
and request volume flow rates ->

136
Figure 6.14: temperatures during spring assessment

Figure 6.15: temperatures and air cooling during spring assessment

137
Figure 6.16: temperatures and air cooling during spring assessment

11.8 Flow Control Control logic is tested at each time


As with ideal zone control, "ow net- step. If we are approximating fast act-
work control uses a sensor > controller ing "ow actuation devices then the
> actuator structure to de!ne "ow con- simulation frequency should re"ect this
trol loops. A control loop senses a spe- as far as is possible within the con-
ci!c type of data at a speci!c location, straints of the project. Currently a one
the sensed value is evaluated by a con- minute time step is the highest fre-
trol law and the control actuation is quency that is supported by ESP-r for
applied to the component associated the zone and "ow domains.
with a speci!c "ow network connec- In terms of the doctors of!ce, a 10
tion. A day can be sub-divided into minute time step was used in the
several control periods with different uncontrolled version of the model. This
laws or control law details. A number will result in a slightly sticky control so
of control loops can be used in we should pay close attention to the
sequence or in parallel to implement predictions to see if this is an issue.
complex control regimes.
At each simulation time step the "ow Flow sensors and actuators
solver takes the current conditions and In ESP-r a "ow sensor is de!ned by its
predicts the "ow. The "ow predictions location and the values which it can
are passed to the zone solver which sense. These include temperature, tem-
then generates a new set of conditions perature difference, pressure, pressure
to be used by the "ow solver at the next difference, "ow rates, humidity, etc. at
time step. nodes within the network. It is also

138
possible to sense temperatures in zones rate if below low set point; mid rate if
or climate data. above a mid-range set point; high rate
Most "ow components are able to be if above maximum set point as is
controlled. Control is expressed as a shown in Figure 11.17.
modi!cation to an attribute of the com-
ponent. For example, a control actua-
tion value of 0.6 applied to a window
with an area of 1.0mˆ2 would result in
an opening area of 0.6mˆ2.
Control is imposed on speci!c
instances of a component so it is possi-
ble to control the south facing window
in the reception using different control
logic from that used for the north fac-
ing window.

Flow control laws


The range of control laws includes
on/off, range based and proportional
control as well as a multi-sensor con-
trol where the control law can include
AND or OR logic from several sensed
conditions.
An ON/OFF control has a single set
point and attributes that determine if
the control is direct-acting (ON above
set point) or indirect (ON below set
point) as well as the fraction of the
nominal area to use when ON.
A multi-sensor "ow control is an Figure 11.17: overview of range based control
ON/OFF controller which includes the
de!nition of more than one sensed In terms of the doctors of!ce, the initial
location as well as and AND or OR "ow network included window "ow
logic to apply. In some cases a multi- components that represented a full-
sensor "ow control can replace a series open state. In reality, occupants would
of individual controls (as described in probably open a window only as much
Figure 11.4). as was necessary. Unlike automatic
controls, occupants would tend to
Range-based control uses the nominal implement a sticky control (i.e. they
area or "ow rate of the component - but delay adjustments). What types of con-
switches to an alternative rate/area as a trol could approximate this?
function of the sensed condition - low

139
• ON/OFF with ON expressed as a each of the windows allowing them to
fraction of nominal opening area - open 25% of their de!ned area if the
this would be equivalent to closing temperature rises over 22°C. We will
the window below a set point value de!ne the control once and then copy
and open to X percent of nominal the control loop and associate it with
area above this value. the other windows. And lets turn on
• Proportional control where the per- the extract fan if the temperature in the
centage opening area varies between Examination room goes over 24°C. At
two values. Some occupants would night we will keep the windows closed
not exercise such !ne (and continu- by setting the set point for the windows
ous) control. to 100°C.
• Range based control could be used 11.9 To the keyboard...
for a control that reduced the win-
dow opening area if the temperature First things !rst. Make a backup of
in the room is close to the heating or your model. To de!ne "ow controls use
cooling set points. In the dead-band the Browse/Edit -> Controls
between heating and cooling it network flow and accept the sug-
would allow natural ventilation cool- gested control !le name. Begin by edit-
ing by !rst using the nominal area of ing the description line for the "ow
the window and then additional control and give a synopsis of the "ow
opening area if required. It would be controls included. Add the !rst loop
necessary to re-de!ne the nominal which will be used to de!ne the win-
area of the window to represent dow opening regime (closed at night
slightly open rather than fully open. and weekends and open 25% if over
22°C) during 8h00-18h00 weekdays
If occupants are manipulating the win- (Figure 11.18).
dows then the control periods should
match the occupied period with an
alternative control law for the unoccu-
pied period. Some building may oper-
ate a policy of limiting window open-
ing after hours to limit the potential for
rain damage. If automatic dampers are
manipulating the openings then it
would be necessary to !nd a combina-
tion of control law and simulation time
step that re"ected the regime.
Hint: once you specify a "ow con-
trol loop it can be copied and then
associated with other "ow connec-
tions.
For our !rst implementation of "ow Figure 11.18: control loop interface
control lets use an ON/OFF control for
140
prior to adding periods been de!ned save the control !le. To
use similar logic for the north window
in reception copy the !rst loop and re-
assign the sensor and actuator. To use
this logic again for the Examination
room copy the second control loop and
re-assign its sensor and actuator. It is a
good idea to keep a note of which con-
trol loop is for each of the windows.
The extract fan is probably a simple
design with a simple thermostat that
does not know what day it is. The con-
trol should re"ect this by having one
day type and one period. This control
will sense the temperature at the Exam-
ination node and the connection related
to the extract fan will be where the
control acts.
Figure 11.19: control loop interface Update the control !le and generate a
after adding periods new QA report and look at the details
and your notes to see if the data is cor-
Select the ’wkd’ day type and de!ne
rect.
the sensor and actuator for the "ow
connection for the window on the south Re-run the simulation. If you turn on
of the reception (Figure 11.19). The monitoring during the simulation you
sensor should be located at the recep- might see something like the Figure
tion "ow node. And when asked about 11.21. Now the temperatures in both
the "ow actuator pick single flow rooms are much closer and they are
connection and then the relevant both warmer than ambient. If we use
connection that uses the long_win "ow the results analysis tool and look at the
component. "ow entering the Reception the "ow
rate is based on the crack component
Next edit the period data for the ’wkd’.
because the temperature did not go
The !rst period is an unoccupied
above the control set point.
period so use a high temperature for
the set point. After editing the interface
should look like Figure 11.20.
When !lling in the data for Saturdays
and Sundays there is no need to re-
de!ne the sensor and actuator ("ow
control loops use the same sensor and
actuator location for all day types and
periods). Once all the day types have

141
Figure 11.20: control loop period details

Figure 11.21: spring simulation progress with controlled windows

Select a warmer period of the year e.g. on.


the !rst week in July and con!rm the The energy implications of the window
control is working. When monitoring opening is clearly seen if we plot zone
the simulation (Figure 11.22) we can flux -> infiltration in the
see that Examination seems to peak at results analysis module. The windows
24°C (which happens to be the set open brie"y except for the last day
point for the extract fan) and there is where they are open for several hours.
some rapid changes in the reception The extract fan is also on for brief peri-
near the 22°C temperature point. ods except for the warmest days where
Because Examination is constrained by it also runs for several hours.
"ow under the door it has almost no air
movement until the extract fan turns

142
Figure 11.22: warm period with controlled windows

143
part_frame
ceiling
part_glaz

part_frame door manager_bi


ceiling bi!glaz
part_glaz glazing frame

part_frame door
high_glz
ceiling spandral
part_glaz manager_t_b glazing

door frame
floor low_glz
spandral
manager glazing

floor frame
spandral

Project: Three offices with different window representations.

Figure 11.23: wire-frame of three test rooms

11.10 Window representations their open position. Because we may


This section of the Cookbook is work- later add control the network includes
in-progress. two connections per opening, one for
the window and one for a crack that
The !rst exercise used a simple repre- can act as a bypass in case the window
sentation of window openings. Many is fully closed. These window and
window types require that we adapt the crack combinations are seen in many of
"ow paths and components. The fol- the example models. As long as the
lowing discussion uses a model with window is open (even partially) the
three adjacent zones (Figures 11.23 crack has almost no in"uence in the
and 11.24) which differ only in the solution. If the window closes then the
window details. The zone named man- crack ensures that the closed state
ager has a simple window opening and allows a constrained "ow so the solver
component. The second zone has a does not crash. And since windows
sash window and uses an upper and which have no frame-related in!ltra-
lower connection to represent this. The tion are rare the crack component is a
third zone has a tall thin window where better representation of the "ow path
bi-directional "ow is possible and a bi- than de!ning a very small ori!ce.
directional component is used.
In this case we will create an initial
model in which the windows are in
144
manager_bi
bi_ext

manager_t_b

hi_g_ext

manager low_g_ext

g_ext

Basic network with windows

boundary node
internal node
Figure 11.24: network in three test rooms

• Each zone has a window-crack con- (win_up_.884 and win_low_.884)


nection to the outside. The crack which are separately de!ned.
component (window_crack) is 2.0m • Manager_bi (with a bi-directional
x 5mm and is used many times "ow opening). The component
• Each zone has a door-crack to an (win_bi) is Xm wide, Ym tall, has a
adjacent space (which is not geomet- discharge coef!cient of 0.6 and the
rically de!ned). This crack compo- distance from its base to the adjacent
nent (door_crack) is 0.8m x 10mm node is X. Because the distance from
and is used many times the base of the door to the adjacent
• The adjacent space node should be zone node may differ it is necessary
de!ned as using the current tempera- to de!ne difference bi-directional
ture of the "ow node in the !rst components for use in different con-
zone. texts.
• Manager has one window opening • Boundary nodes are de!ned at the
(window1.67) which is 1.67m2 is speci!c height of the opening or
de!ned once and used once crack they are associated with. This
allows a zero difference in height
• Manager_t_b (with upper and lower between the boundary node and the
windows) needs 2 windows component.
145
8 6 7 1.000 (nodes, components, connections, wind reduction)
Node Fld. Type Height Temperature Data_1 Data_2
manager 1 0 1.5000 20.000 0. 40.501
manager_t_b 1 0 1.5000 20.000 0. 40.501
manager_bi 1 0 1.5000 20.000 0. 40.501
gl_ext 1 3 1.9500 0. 5.0000 180.00
low_glz_ext 1 3 1.1500 0. 5.0000 180.00
hi_glz_ext 1 3 2.7500 0. 5.0000 180.00
bi_glz 1 3 1.9500 0. 5.0000 180.00
adjacent 1 0 0.50000E-01 manager 0. 40.501
Comp Type C+ L+ Description
door_crack 120 3 0 Specific air flow crack m = rho.f(W,L,dP)
1.00000 5.00000E-03 0.800000
win_1.68 110 2 0 Specific air flow opening m = rho.f(A,dP)
1.00000 1.68000
win_low.84 110 2 0 Specific air flow opening m = rho.f(A,dP)
1.00000 0.840000
hi_win.84 110 2 0 Specific air flow opening m = rho.f(A,dP)
1.00000 0.840000
bi_win 130 5 0 Specific air flow door m = rho.f(W,H,dP)
1.00000 0.880000 1.88000 0.600000 0.600000
win_crack 120 3 0 Specific air flow crack m = rho.f(W,L,dP)
1.00000 5.00000E-03 2.00000
+Node dHght -Node dHght Comp Snod1 Snod2
gl_ext 0.000 manager 0.225 win_1.68
low_glz_ext 0.000 manager_t_b -0.175 win_low.84
hi_glz_ext 0.000 manager_t_b 0.625 hi_win.84
bi_glz 0.000 manager_bi 0.225 bi_win
adjacent 0.000 manager -0.725 door_crack
adjacent 0.000 manager_t_b -0.725 door_crack
adjacent 0.000 manager_bi -0.725 door_crack

Figure 11.25: ESP-r network !le for window opening model

Nodes can be automatically generated Figure 11.25 is a copy of the com-


for each zone; data is inferred from the pleted !le which includes the attributes
zone (volume, reference height, etc). of the nodes and the components and
Internal nodes are usually at an connections. When you are working on
unknown pressure. De!ne the bound- the network refer back to this listing.
ary nodes to re"ect the position of the
openings in the facade. 11.10.1 Component selection
Ensure your component names match Which window de!nition works best?
the sketch! A component can be used • an air "ow opening does one-way
several places. If control is to be "ow only, so in cases of single-sided
applied - unique names of components ventilation, "ow can be restricted;
and some duplication of components
can be helpful (e.g. win_low.84 and • a bi-directional component is
hi_win.84). intended for doors Ð care is needed
in using it in locations such as win-
Connections should tell a story! Paral- dows;
lel connections e.g. an opening and a
crack - are useful if control is to be • bi-directional "ow can be approxi-
applied. mated with a pair of air "ow open-
ings. Stack effects are accounted for
Hint: mark you sketch as connec- if heights are correctly de!ned;
tions are made.
146
None of the available components
takes into account high-frequency pres-
sure changes which are one driving
force in single-sided ventilation. When
an assessment is carried out with this
model, the simple window opening in
the zone manager results in almost no
"ow. This is an artefact of this compo-
nent type - "ow is only supported in
one direction at each time step. The
limiting component is the opening
under the door. The "ow rates pre-
dicted for the sash window and the bi-
directional "ow component are more in
line with expectations.
This does not imply that simple "ow
components should not be used. Only
that they are a poor representation in
the case of single sided ventilation.

147
Figure 11.26: portion of an of!ce building

11.11 Schedules vs networks rather than air conditioning. Are these


This section of the Cookbook is work- conditions also suitable for mechanical
in-progress. dampers embedded within the facade
to allow fan-free ventilation?
Now we turn to a practical application
of a network within a portion of an The other feature of this design is the
of!ce building (which includes a recep- treatment of mixed open plan and cel-
tion, conference room, general open- lular spaces. Many simulation teams
plan of!ce and cellular of!ce). Except and some simulation tools pretend that
for the cellular of!ce, each of the spa- there is no air movement between
ces are substantially open to each other perimeter and core spaces or across
(the conference room is only occasion- open plan spaces. This isolation of the
ally closed). The facade is an older perimeter discounts air transport which
design and is assumed to be somewhat allows under heated spaces to borrow
leaky. heat and spaces that are slightly under-
capacity for cooling to borrow cooling
In terms of learning about air "ow net- from adjacent spaces.
works, the design is a good candidate
for exploring options for conditioning
of the space, including forced and natu-
ral ventilation.
The client observation that there are
many hours when outside conditions
are suitable for mechanical ventilation
148
Figure 11.27: in!ltration model within of!ce building

In evaluating whether a "ow network • a model variant with zone-to-zone


rather than a "ow schedule is appropri- linkages and in!ltration paths (Fig-
ate: ure 11.27)
• there can be considerable differences • a model variant with zone-to-zone
between imposed in!ltration and the linkages, in!ltration paths and con-
predicted in!ltration rates. trolled dampers on each facade ori-
• in an open plan of!ce there are large entation (Figure 11.28).
inter-zone "ows, resulting in heat- These three variants are included as
ing/cooling being ’borrowed’ from example models. If you are interested
adjacent spaces. use these models to explore "ow
There are three stages to investigate issues. Review the model documenta-
tion, especially the sketches of the "ow
• the model with scheduled "ows and networks. Compare this with the con-
the assumption that there is no intra- tents of the "ow network !le and the
zone air movement interface.
149
Figure 11.28: vent model within of!ce building

Scheduled flows in an open plan office there is a moderation of demands as


The version of the model with sched- heating and cooling is distributed
uled "ows will yield predictions where between zones.
the energy implication of in!ltration is Controlled vents and inter-zone flow
dependant on the temperature differ- Using the model variant with con-
ence and independent of wind speed, trolled vents and "ow between zones
wind direction and facade position. and running an assessment (as in Fig-
Predictions will follow the pattern seen ure 11.31) indicates that the vents are
in Figure 11.29. open slightly longer than necessary and
Infiltration and inter-zone flow this has performance implications. The
The model variant with in!ltration and data also indicate that the conference
"ow between zones transforms the pre- room is over ventilated, perhaps
dictions in several ways (as seen in because it has two facade orientations
Figure 11.30): wind speed and direc- and the cross ventilation is more than is
tion are now taken into account and required.
150
Figure 11.29: scheduled "ow performance

Take your time when exploring "ow worth making. The quantity of infor-
results. Discovering approaches to the mation can be large and there are sev-
use of the results analysis module eral different views of the "ow predic-
which yield clear indications of "ow tion data as well as reports on the
performance is an investment well energy implications of "ow.

151
Figure 11.30: predicted in!ltration performance

There is one substantial omission in the speed up the discovery of patterns


reporting of "ow. It is not at all easy to within a network. Currently users must
get an overview of what is happening manually collect this information.
throughout the network at a single
point in time. Such a feature would
152
Figure 11.31: predicted facade vent performance

A word about saw-tooth predictions. assessments at a shorter time step,


Flows that oscillate at each time step some users choose to integrate the
are sometimes an artefact of the simu- results when running the simulation.
lation process. If the magnitude of the This removes the oscillation but pre-
oscillation is likely to decrease, but serves the general trend of "ow.
there is not time (or disk space) to run
153
11.12 Hybrid ventilation need for additional bookkeepping
In 2000 the Chartered Institute of nodes to de!ne such logic paths limits
Building Services Engineers published how well such controls can be scaled.
Mixed mode ventilation CIBSE AM13 Extending "ow networks to accommo-
(ISBN 1 903287 01 4). This publica- date such logic was more than a linear
tion de!ned several types of mixed function of the number of openings and
mode ventilation e.g. contingency fans to be controlled.
mixed mode, complementary mixed Simulating the transition between the
mode and zoned mixed mode systems. modes de!ned in CBISE AM13 places
At the time, there were few options for considerable demands on the facilities
numerically assessing how mixed of simulation tools. Until 2008 it was
mode ventilation worked. The publica- dif!cult to switch off fans if windows
tion was also geared towards regions of opened, especially if the logic opening
the world where there was a tradition the windows was based on both inside
of natural ventilation as well as an eco- and outside conditions.
nomic incentive to create buildings Recent versions of ESP-r include a
which were future proof. multi-sensor "ow controller. This
One of the critical limitations to the allows, for example, a window to open
simulation of designs which transition if the ambient temperature is within a
between natural ventilation, mechani- certain range AND the inside tempera-
cal ventilation and full HVAC is the ture is within a temperature range as in
de!nition of air "ow controls. Figure 11.32.
• Approximating the response of
occupants to discomfort or changes Ambient
in conditions is potentially complex. below 25C
• The response frequency of dampers
and window actuation devices sug- AND
gests that control logic needs to be
tested at a relatively high frequency. Zone above 21C
• Some people open windows while AND
the environmental control systems
are active in other buildings there is
better coordination. Ideally, systems Ambient
should be controlled differently if above 10C
windows are open.
• Some ventilation regimes may need
to sense indoor air quality.
In theory, almost any control logic that Figure 11.32: control via multiple states
can be de!ned via a network of parallel
or sequential decision points (see Fig- Let’s say there was a variant of the two
ure 11.4) can be implemented. The cellular of!ces side-by-side that
154
included two additional zones repre- air movement. At 15h00 the outside
senting HVAC mixing boxes (one for temperature goes over 25°C and the
the left zone and one for the right zone) windows close and the mixing box is
as in Figure 11.33. Both mixing boxes used for a few hours until the outside
are controlled to 16°C and there is a temperature drops and the windows
"ow network that can deliver 5 air open again until the un-occupied
changes to the of!ce if required. This period starts and both the fans and win-
approximates a CV HVAC system in dows are reset to closed.
cooling mode. Looking at the performance of the right
The left zone includes an upper and zone in Figure 11.36, the CV represen-
lower window opening which is con- tation controls the zone in the range of
trolled based on the logic shown in 24-25°C. The dotted blue line is the
Figure 11.32. The fan associated with amount of cooling in the mixing box.
the mixing box uses an inverse des- the dotted brown line is the cooling
crition of the window control logic so delivered to the zone.
that the fan turns on if conditions are The difference in the cooling demand
not suitable for window opening. The for the two mixing boxes is shown in
right zone uses the mixing box during Figure 11.37. The reduction in cooling
of!ce hours. The return for the mixing for the left zone clearly indicates that a
boxes is via the corridor. hybrid ventilation scheme has the
If the left zone is able to open its win- potential to save running costs under
dows there is a potential savings in fan some conditions.
power as well as cooling. Heat and
humidity picked up by the return air
stream is represented in this model.
Unfortunantly, ESp-r does not report
the electical energy used by the fan
"ow component so some post-process-
ing is required.
The listing of the model control
description below (Listing 11.34)
shows the zone control used with the
mixing box zones as well as the hybrid
vent "ow control.
Looking at the performance of the left
zone for one day in Figure 11.35 the
time between 8h00 and 15h00 is ok for
window opening and there is
300-400W of cooling equivalent asso-
ciated with the air "ow. The delta T
between inside and outside is less than
5°C so there is not much cooling from
155
Figure 11.33: of!ces for hybrid vent and conventional HVAC

Listing 11.34: control descriptions

Zones control strictly controls plant and plant-B temperature to 16degC

The sensor for function 1 senses the temperature of the current zone.
The actuator for function 1 is air point of the current zone
There have been 1 day types defined.
Day type 1 is valid Mon-01-Jan to Mon-31-Dec, 2001 with 3 periods.
Per|Start|Sensing |Actuating | Control law | Data
1 0.00 db temp > flux free floating
2 6.00 db temp > flux basic control
basic control: max heating capacity 99999.0W min heating capacity 0.0W max cooling
capacity 99999.0W min cooling cap 0.0W. Heat setpoint 16.00C cool setpoint 16.10C.
3 18.00 db temp > flux free floating

Zone to contol loop linkages:


zone ( 1) manager_a << control 0
zone ( 2) manager_b << control 0
zone ( 3) coridor << control 0
zone ( 4) plant << control 1
zone ( 5) plant-B << control 1

Flow control Windows open and fan shuts down for manager_a when ambient temp is between
10 and 21 degC and room temp is more than 21degC .

The sensor for function 1 senses node (1) manager_a


The actuator for function 1 is flow connection: 1 man_alow - manager_a via low_win
There have been 1 day types defined.
Day type 1 is valid Mon-01-Jan to Mon-31-Dec, 2001 with 3 periods.
Per|Start|Sensing |Actuating | Control law | Data

156
1 0.00 dry bulb > flow on/off setpoint 100.00 direct action ON fraction 0.000.
2 8.00 dry bulb > flow multi sensor on/off
multi-sensor: normally closed with 3 sensors: For sensor 1 ambient T setpoint 25.00
inverse action AND sensor 2 ambient T setpoint 10.00 direct action AND sensor 3 sense
node manager_a setpoint 21.00 direct action.
3 17.00 dry bulb > flow on/off setpoint 100.00 direct action ON fraction 0.000.

The sensor for function 2 senses node (1) manager_a


The actuator for function 2 is flow connection: 2 man_ahi - manager_a via high_win
There have been 1 day types defined.
Day type 1 is valid Mon-01-Jan to Mon-31-Dec, 2001 with 3 periods.
Per|Start|Sensing |Actuating | Control law | Data
1 0.00 dry bulb > flow on/off setpoint 100.00 direct action ON fraction 0.000.
2 8.00 dry bulb > flow multi sensor on/off
multi-sensor: normally closed with 3 sensors: For sensor 1 ambient T setpoint 25.00
inverse action AND sensor 2 ambient T setpoint 10.00 direct action AND sensor 3 sense
node manager_a setpoint 21.00 direct action.
3 17.00 dry bulb > flow on/off setpoint 100.00 direct action ON fraction 0.000.

The sensor for function 3 senses node (1) manager_a


The actuator for function 3 is flow connection: 9 plant - manager_a via fan
There have been 1 day types defined.
Day type 1 is valid Mon-01-Jan to Mon-31-Dec, 2001 with 3 periods.
Per|Start|Sensing |Actuating | Control law | Data
1 0.00 dry bulb > flow on/off setpoint 100.00 direct action ON fraction 0.000.
2 8.00 dry bulb > flow multi sensor on/off
multi-sensor: normally open with 3 sensors: For sensor 1 ambient T setpoint 25.00
inverse action AND sensor 2 ambient T setpoint 10.00 direct action AND sensor 3 sense
node manager_a setpoint 21.00 direct action.
3 17.00 dry bulb > flow on/off setpoint 100.00 direct action ON fraction 0.000.
. . .

Figure 11.35: hybrid vent performance

157
Figure 11.36: CV performance

Figure 11.37: CV performance

11.13 Limitations of Network Air- • Temperature distributions within air


flow Models volumes cannot be determined (e.g.
Although network "ow models are use- strati!cation).
ful, they are limited for some applica- • Momentum effects neglected.
tions: • Insuf!cient resolution for local sur-
• Large volumes represented by a sin- face convection determination.
gle node, implying well-mixed con-
ditions.

158
Chapter 12
DETAILED FLOW VIA CFD

12 Detailed flow via CFD


Given the limitations of mass "ow net- gain by enabling the two solvers to
works mentioned in the previous chap- exchange information as the simulation
ter, research began about a decade ago progresses.
to extend ESP-r to support higher lev- What has been implemented in ESP-r
els of resolution by incorporating a is a radical approach to a dif!cult prob-
CFD solver. Although CFD is a mature lem. It assumes that boundary condi-
!eld of research, its implementation in tions will change so it updates its
building models poses a number of boundary conditions at each time-step.
classic problems. First, "ow velocities It assumes that initial directives to the
in buildings are low (in comparison to solution process may not be appropri-
traditional applications of CFD) and ate when conditions change and it re-
likely to be within the transition range evaluates the "ow !eld to determine if
between "ow that is considered turbu- different so-called wall functions
lent and that which is considered lami- should be used. It then creates new
nar. The second issue is that boundary directives for the solver to follow to
conditions such as surface tempera- best represent conditions at that time-
tures and air temperatures and driving step and then passes information back
forces change over time. to the building solver to use in evaluat-
In buildings the movement of air ing heat transfer at the surfaces in the
changes surface temperatures and sur- zone. Its default assumption is that the
face temperature changes alter the "ow CFD domain is transient rather than
!eld. That our virtual physics models static.
do not represent this well has been a The solution also takes into account
considerable irritation to the simulation connections between the CFD domain
community. and a mass "ow network. This allows
Conversely, the building solver typi- changes in pressure or mass "ow in
cally makes rough assumptions about other zones of the model to become
the "ow !eld within the zone and the new driving forces for the CFD solver.
heat transfer at surfaces. Even in mod- And because mass "ow networks also
els which include a mass "ow network include boundary nodes the CFD
we can only make crude guesses at the domain also has information on
velocity that is implied by a given mass changes in weather patterns. And
transfer. time-varying heat sources within rooms
Clearly, both whole building solvers from the zone operations schedules are
and CFD solvers would have much to noticed by the CFD solver and can be
160
associated with blocks of cells. This chapter will be completed at a
later date.

Powerful stuff. And also utterly


wrapped up in jargon which sounds
like English but means something
different. CFD is a place where drag-
ons live. ESP-r’s interface to CFD
has a steep learning curve.

The Cookbook is not a tutorial on the


theory of CFD or the so-called confla-
tion mechanisms used by the solvers.
There are several PhD thesis written on
the topic which are available for down-
load on the ESRU web site publica-
tions page at
<<http://www.esru.strath.ac.uk>>. And
there are any number of books on the
subject. And the source code associ-
ated with CFD is heavily commented
and can provide a number of useful
clues.
If you already have a solid background
in CFD and are comfortable with what
you found in the literature search men-
tioned above, then continue reading
this chapter. If not, CFD will absorb
both computing and mental resources
at an painful rate. You have been
warned.
The chapter includes an overview of
the entities and parameters which can
be used to de!ne a CFD domain, meth-
ods for designing a gridding scheme
within the domain, and what to look
for in the performance predictions.
There are also some information boxes
and dragon boxes where particular care
should be exercised.

161
Chapter 13
PLANT

13 Plant
In ESP-r environmental control sys- components or control devices
tems can be represented as either so- within the network have many
called idealised zone/"ow controls or options for creating models which
as a network of system components are close approximations
which is often called a plant system. • those interested in high resolution of
The choice of which approach to take both system components and mass
is partly based on how much you want "ows can link both the system com-
to know about the detailed perfor- ponent solver and the mass "ow
mance of the environmental control solver
system and partly on how much
descriptive information you can ESP-r provides feedback on the com-
acquire about the composition of the position of such networks and a wealth
environmental control. of information about what is happening
within and between components during
The Cookbook does not cover the the- simulations (via trace facilities) and
ory of component networks or the solu- different views of the state variables
tion techniques used. It provides an within the res module.
outline strategy for using systems net-
work facilities. Readers might treat Those who master the use of system
this Chapter as an initial draft as there components are able to address a range
are many dragons lurking with this por- of questions that are not possible with
tion of ESP-r and there remain many other approaches and have access to a
gaps in the strategies. rich store of performance indicators.
Networks of components offer the fol- Tactical users of simulation do not rush
lowing facilities: to create networks of components until
they have learned all they can from
• the psychometric state within com- ideal controls. And they do this
ponents and at points in the network because creating networks of compo-
is explicitly computed and is avail- nents:
able for inspection
• tends to take longer (more descrip-
• interactions between components tive information and more linkages
and/or controls are computed at sub- between components)
minutely intervals can be inspected
in this time domain • such networks need tuning like real
systems
• those who have an interest in !ne-
tuning the response of particular

163
• such networks fail in similar ways to between components representing a
real systems duct, a valve, or a cooling tower. There
• some system interactions are in the is no concept of central plant and zone-
frequency of seconds or fractions of side components.
a second and so the volume of infor-
mation increases greatly.
13.1 Using a network to represent
• much performance information is in mechanical ventilation
a form that it dif!cult for many users
to interpret Mechanical ventilation is one aspect of
building design which simulation can
• the facility requires you to assemble play a role. We will create several
a network that is both syntactically models of a mechanical ventilation
correct and physically correct design to explore such systems respond
In comparison with most of the ideal to changing demands and boundary
zone controls the use of networks of conditions.
system components involves a steeper The !rst approach is to represent all
learning curve. Many tasks and much aspects of a mechanical ventilation
of the quality assurance in models with design within the component network
system components is the responsibil- (i.e. it uses a component as a simpli!ed
ity of the users. A methodical representation of a thermal zone).
approach is essential. Although this will not provide a full
• Rule one: start with zone and/or "ow accounting of the interactions between
controls learn as much as possible supply and demand sides it is an
about the pattern of demands and the approach suited to early design stage
likely control logic that is appropri- questions where little might be known
ate for the design of the zones.
• Rule two: planning and sketches are Figure 13.1 shows a standard mechani-
essential. cal ventilation system which has a sup-
• Rule three: walk before you run - ply and an exhaust fan and a heater coil
test out portions of the network and just up-stream from the supply fan.
control options on a simple model Two zones are supplied and the
before scaling the network. extracts from each zone are combined
in a mixing box just before the exhaust
• Rule four: document what you do.
fan.
• Rule !ve: leave plenty of time for
testing.
For readers who are approaching the
use of system networks in ESP-r with
prior experience with component based
analysis be aware that all components
are entities within a single network. In
ESP-r there is no conceptual difference

164
Figure 13.1 Basic mechanical ventilation system.

Planning is essential, even for a simple to the component name. Why? Because
model. Sketch out your network !rst there are a few places in the interface
and decide on names for the compo- where you have to type in this index
nents. Most of your work within the rather than selecting from a list of com-
project manager will involve names of ponent names.
components and numbers representing Most components include an attribute
component attributes and your sketch for the total mass of the component.
is essential for keeping track of your For these exercises this need not be
work, supporting QA tasks and com- exact. There is also a mass weighted
municating with clients. average speci!c heat which tends to be
After sketching the network gather the either 500.00 or 1000.00. Each com-
component information. The list on the ponent also has a UA modulus. These
next page contains component informa- parameters support calculations of how
tion for the 12 components and you the casing of the component interacts
should refer to this as you create your with its surroundings.
network. Ducts have additional parameters,
Components have a sequence - the ini- including the length of the duct, cross-
tial group goes from the returns from sectional area and hydraulic diameter.
the zones to the exhaust and then come If you pre-calculate these it will speed
the idealised zones and then the up your descriptive tasks as well as
inlet_duct to supply_duct. Adopting a reducing mistakes (see Rule two).
sequence which proceeds from the
return to the supply can make subse-
quent tasks easier.
After the name of the component is a
number in ( ) which is the component
index within the plant network. Include
this number on your sketch in addition
165
Figure 13.2 Components (with attributes shown).

Figure 13.3 Connections between components.

166
The pattern for creating components is link the !rst component in the link is
similar (see Figure 13.5). When you the heater and the second component in
have !nished de!ning the components the link is the supply_fan.
you should see something like Figure Look again at the list in Figure 13.3
13.4. Save your network and take a and draw this (a coloured line works
moment to review the components well) on your sketch of the network.
listed in the interface menu with your When this makes sense, start the
sketch to ensure they are consistent. process of adding connections and not-
ing them on your sketch. The mass
diversion for supply_duct ->zone_a
and supply duct ->zone_b are 0.5
because each takes half of the output of
the component supply_duct. Except for
the receiving component inlet_duct,
which takes its supply from ambient
air, each of the other connection is with
another component. When the connec-
tions are complete save the network.

Figure 13.4 Finished network.


The next task is to link the components
together. Linking plant components
together is different from linking "ow
network components together. Clear
your mind - the pattern is to begin your
focus at a component that receives "ow
and !gure out which component is
sending the "ow. Referring back to
Figure 13.1 - the heater is supplied by
the supply_fan so when you set up a
167
Component: duct_ret_a ( 1)
db reference 6
Modified parameters for duct_ret_a
Component total mass (kg) : 3.7000
Mass weighted average specific heat (J/kgK): 500.00
UA modulus (W/K) : 5.6000
Hydraulic diameter of duct (m) : 0.12500
Length of duct section (m) : 2.0000
Cross sectional face area (mˆ2) : 0.12270E-01

Component: duct_ret_b ( 2) db reference 6


Modified parameters for duct_ret_b
Component total mass (kg) : 1.8500
Mass weighted average specific heat (J/kgK): 500.00
UA modulus (W/K) : 2.8000
Hydraulic diameter of duct (m) : 0.12500
Length of duct section (m) : 1.0000
Cross sectional face area (mˆ2) : 0.12270E-01

Component: mixing_box ( 3) db reference 1


Modified parameters for mixing_box
Component total mass (kg) : 1.0000
Mass weighted average specific heat (J/kgK): 500.00
UA modulus (W/K) : 3.5000

Component: duct_mix_fan ( 4) db reference 6


Modified parameters for duct_mix_fan
Component total mass (kg) : 9.2500
Mass weighted average specific heat (J/kgK): 500.00
UA modulus (W/K) : 14.000
Hydraulic diameter of duct (m) : 0.12500
Length of duct section (m) : 5.0000
Cross sectional face area (mˆ2) : 0.12270E-01

Component: exh_fan ( 5) db reference 3


Control data: 0.060
Modified parameters for exh_fan
Component total mass (kg) : 10.000
Mass weighted average specific heat (J/kgK): 500.00
UA modulus (W/K) : 7.0000
Rated total absorbed power (W) : 50.000
Rated volume flow rate (mˆ3/s) : 0.10000
Overall efficiency (-) : 0.70000

Component: exh_duct ( 6) db reference 6


Modified parameters for exh_duct
Component total mass (kg) : 5.5000
Mass weighted average specific heat (J/kgK): 500
UA modulus (W/K) : 8.4000
Hydraulic diameter of duct (m) : 0.12500
Length of duct section (m) : 3.0000
Cross sectional face area (mˆ2) : 0.12270E-01

Component: zone_a ( 7) db reference 25


Control data: -500.000
Modified parameters for zone_a
Component total mass (kg) : 10920.
Mass weighted average specific heat (J/kgK): 1000.0
Wall U value (W/mˆ2K) : 0.40000
Total surface area of walls (mˆ2) : 78.000
Zone space volume (mˆ3) : 45.000
Inside heat transfer coefficient (W/mˆ2K) : 5.0000
Outside heat transfer coefficient (W/mˆ2K) : 18.000
Outside air infiltration (ACH) : 0.0000

Component: zone_b ( 8) db reference 25

168
Control data:-1000.000
Modified parameters for zone_b
Component total mass (kg) : 7560.0
Mass weighted average specific heat (J/kgK): 1000.0
Wall U value (W/mˆ2K) : 0.40000
Total surface area of walls (mˆ2) : 54.000
Zone space volume (mˆ3) : 27.000
Inside heat transfer coefficient (W/mˆ2K) : 5.0000
Outside heat transfer coefficient (W/mˆ2K) : 18.000
Outside air infiltration (ACH) : 0.0000

Component: inlet_duct ( 9) db reference 6


Modified parameters for inlet_duct
Component total mass (kg) : 9.2500
Mass weighted average specific heat (J/kgK): 500.00
UA modulus (W/K) : 14.000
Hydraulic diameter of duct (m) : 0.12500
Length of duct section (m) : 5.0000
Cross sectional face area (mˆ2) : 0.12270E-01

Component: supply_fan (10) db reference 3


Control data: 0.060
Modified parameters for supply_fan
Component total mass (kg) : 10.000
Mass weighted average specific heat (J/kgK): 500.00
UA modulus (W/K) : 7.0000
Rated total absorbed power (W) : 50.000
Rated volume flow rate (mˆ3/s) : 0.10000
Overall efficiency (-) : 0.70000

Component: heater (11) db reference 5


Control data: 3000.000
Modified parameters for heater
Component total mass (kg) : 15.00
Mass weighted average specific heat (J/kgK): 1000.0
UA modulus (W/K) : 3.5000

Component: supply_duct (12) db reference 6


Modified parameters for supply_duct
Component total mass (kg) : 1.8500
Mass weighted average specific heat (J/kgK): 500.00
UA modulus (W/K) : 2.8000
Hydraulic diameter of duct (m) : 0.12500
Length of duct section (m) : 1.0000
Cross sectional face area (mˆ2) : 0.12270E-01

Figure 13.5 Typical component menu.

169
13.2 Defining containments paper. The parameters shown in Figure
Components exist in a context (or con- 13.7 are a good starting point. Once
tainment), such as surrounded by a these are set commission an interactive
!xed or ambient temperatures. For pur- simulation.
poses of this exercise we want to The simulator will notice that the
attribute each component with a !xed model includes only a network of com-
temperature of 22°C. Figure 13.6 ponents and will solve only a system
shows what you should expect to see. only simulation. It will request con!r-
mation for using zero start-up days
(accept this), the default climate and
the name of the results !le to be cre-
ated (write this name down, you will
need it in a few minutes). The simula-
tion should take a few seconds. Exit
from the simulator and invoke the
results analysis module.
Note for some versions of ESP-r
the initial results !le name in the
results analysis module is incor-
rect and needs to be edited.

Figure 13.6 Containments for each component.

7.3 Finishing off the model and test-


ing
At this point your interface should look
like Figure 13.4. Notice that there is a
place for you to include notes (Rule 4)
before you forget what this network is
about!
Next we need to test the model to see if
it is complete and syntactically correct.
In the simulator interface look for the
Simulation parameters option
and provide the name of the results !le,
the period of the simulation and what
sort of time-step to use. This allows
you to re-run this assessment without
having to look around for scraps of
170
Figure 13.7 Simulation parameters.
The results analysis facilities (see Fig- Figure 13.8 Results analysis menu.
ure 13.8) for network components The diversion ratio of 0.5 from the sup-
allows you to toggle between tabular, ply duct to zone_a and zone_b results
psychometric chart, summary statistics, in the return from zone_b being cooler
histograms and graphic plots. Items than from zone_a. Edit the diversion
selected will be re-displayed as you ratios and see if the differences in tem-
switch views. perature might be reduced.
Figure 13.9 shows the temperatures at To save time, note the information for
return ducts a & b and Figure 13.10 the two connections before starting the
statistics of temperature and enthalpy edit. And remember to save the compo-
at return_duct_b. nent network !le to a slightly different
Spend a few moments browsing the name when you make such changes so
reports and graphs in search of patterns that you recover the original !le. After
that indicate how the ventilation sys- saving the changes and commissioning
tem is working. another simulation check and see the
change in performance (Figure 13.11).

171
Figure 13.9 Graph of return duct temperature.

Figure 13.10 Statistics at return duct b.

172
Figure 13.11 Temperatures in return ducts after adjustment.

13.3 Moving from ideal demands to attributed with the construction exter-
thermal zone demands nal_wall and face the outside then the
In the initial model demands that the overall UA will be similar to that of the
mechanical ventilation had to respond component representation. These zones
to were via component representations are rectangular and have no windows
of zones. You can also associate a net- or doors, so the process of creating the
work of environmental system compo- geometry and applying attribution is
nents with thermal zones. In this case straightforward.
we need to add two zones to the model One option is to begin a new model
which will have the same volume and and to build up both the zone and com-
surface area and overall thermophysi- ponent network to match the require-
cal properties as the component repre- ments of the exercise. A second option
sentations. would be to upgrade the existing model
The component zone_a has a volume to include the zones and to adapt the
of 45mˆ3 and a zone which is 4m wide existing network of components. Both
x 4m deep x 2.81m high will be equiv- options have bene!ts and drawbacks
alent in volume and surface area. The and it is well worth exploring both.
component zone_b has a volume of
27mˆ3 and a zone which is 4m wide x
2.4m deep x 2.81m high will be equiv-
alent. If all surfaces in the rooms are

173
Figure 13.12 Component control types.

For this exercise lets modify the exist- mech_vent_2z and alter the model
ing model and the !rst task is to make description phrase (as a reminder that
a backup copy of the model. If the this is a different model).
original model folder is named The model has no zones, so go to the
mech_vent then give the following zone composition and create zone_a
command: and then zone_b based on the informa-
cp -r mech_vent tion given above. At the end of this
mech_vent_2z process you would see something like
Then go into the con!guration folder Figure 13.13 for zone_a and something
of mech_vent_2z and restart the project like Figure 13.14 for zone_b.
manager with the con!guration !le we
want to modify. As soon as the model
loads change the root name to

174
Figure 13.13 Zone a details.

Schedules and other attributes In this case the receiving component


The two zones need to be fully attrib- becomes duct_ret_a, the connection
uted in terms of composition and oper- type is ’from a building zone’ and then
ational details. Keep these descriptions zone_a is selected from the list of
simple - 200W during of!ce hours and available zones. The next question is
0.2 air changes of in!ltration will suf- about the supply for the zone and this
!ce. remains component supply_duct with a
diversion ratio of 0.5.
Modifying existing network of compo-
nents takes several steps: !rst make a
backup copy of the existing network,
second change the connection to sup-
ply_duct -> zone_a (a connection
between components) to supply_duct
-> duct_ret_a (a connection between a
component and thermal zone_a).

175
Figure 13.14 Zone b details.

The same needs to be done with the


connection supply_duct -> zone_b to
become supply_duct -> duct_ret_b (a
connection between a component and
thermal zone_b). After these changes
have been made the interface will look
like Figure 13.15.
The next step is to remove the now
redundant connections g and h in the
above !gure and to !nally go into the
list of components and remove the
ideal components zone_a and zone_b.
The result will be a network of 10
components, 11 connections and 10
containments.

176
Figure 13.15 Connections after editing.

13.4 Links to zones and controls (another type of) linkage between the
At the bottom of the network de!nition control law loops you just created and
menu there is an option link plant to the relevant thermal zone. When you
zone. Before we can use this facility have done this save the zone controls.
we need to de!ne two zone controls Now return to the network of compo-
and that requires saving the network of nents and select the item link plant to
components and changing to the zone zone. The control !le will have been
controls menu to initialise the controls scanned and there should be two
and then return to the network compo- entries, the !rst for connected zone
nent interface to complete the process. zone_a and the second for connected
Perhaps a future version of ESP-r will zone_b, both with a convection type
include a wizard to sort this out... connection. The remaining !elds de!ne
The !rst zone control senses the tem- the nature of the supply and whether
perature in zone_a and actuates at the there is an extract.
air node of zone_a and has one day The link for zone_a uses the compo-
type and one period in that day and the nent supply_duct as the supply and the
control type to "ux connection between duct_ret_a component is the extract.
zone and plant but skip !lling in the The link for zone_b uses the compo-
details. nent supply_duct as its supply and the
The second zone control should sense duct_ret_b as the extract.
the air temperature in zone_b and actu- The interface will look like Figure
ate at the air node of zone_b and have 13.17 when this is completed. This is a
one day type and one period with the good time to save the network of com-
"ux connection control law (see Figure ponents. You will be asked whether the
13.16). While you are in the control zone controls should be updated to
facility there is an option to set re"ect the recent changes in the

177
network of components (say yes). A word about the data for the on-off
Almost !nished. The zone controls control period. There are seven param-
need to be adjusted. The linkage func- eters:
tion guessed at the capacity of the • mode of operation (1.00)
heater component and will have set the • off setpoint (23C)
heating and cooling capacity of the
zone control to a value which is incor- • on setpoint (19C)
rect (the actual value of the heater • output at high (3000W)
3000W and 0W cooling). • output at low (0W)
Up to this point we have used zone • sensor lag (zero) actuator lag (zero)
controls to establish the link between
When the plant control is complete and
the thermal zone and network compo-
saved it is a good idea to generate a
nent domains and some of the parame-
fresh QA report for the model. This
ters in the zone controls (e.g. the
will provide additional feedback for
capacity) are based on information
checking that your model is consistent.
used during the de!nition of the net-
work of components. After you have reviewed the QA report
adapt the simulation parameter sets.
We now have to de!ne the logic which
Use a 15 minute time-step for the zone
will drive the heater component and for
solution with the plant simulation at 10
this we must de!ne a so-called plant
time-steps per building time-step and
control. There will be one control loop,
ensure that there are names for the
it will sense node one within the
zone and plant results !les !lled in.
duct_ret_a component and it will actu-
ate node one within the heater compo- Commission an interactive simulation.
nent. The controller type is senses dry If all went well the simulation will take
bulb actuates "ux (from within the list a few minutes to run (the plant is solv-
shown in Figure 13.12). There is one ing every minute). When you go to
day type and three periods during the look at the performance prediction look
day. From 0h00 to 7h00 the control for performance graphs such as in Fig-
will use a period switch off control, ure 13.19. The upper olive-green lines
from 7h00 there will be an on-off con- are the heater temperature and "ux out-
trol with a heating capacity of 3000W put (labelled as other). The lines below
and a cooling capacity of 0W and from are the temperatures at various points
18h00 a switch off control. in the ducts. It is also worth looking at
the performance characteristics reports
The selection of control laws (see Fig-
for the zones.
ure 13.18) is somewhat terse, but the
help message clari!es the relationship
between the control law and the control
type. These relationships are required
because some components work on
"ux and some on "ow and the actua-
tion needs to re"ect this.
178
Figure 13.16 Initial zone control settings.

Figure 13.17 Completed linkages between zones and components.

One of the reasons one might need to time. This process works even better if
use a network of components is to a friendly control engineer takes part in
inquire into the internal state of the the exploration. Certainly an on-off
components so this is a good time to control will result in different perfor-
review what is on offer and, impor- mance characteristics to a PID con-
tantly, what information about the troller, but remember to walk before
components are required to recover you run when it comes to PID con-
performance data. trollers!.
One way of discovering the perfor-
mance sensitivity of networks of com-
ponents to changes in control parame-
ters is to run a series of simulations
typically changing one aspect of a con-
trol or a component parameter at a
179
Figure 13.18 Component control laws.

Figure 13.19 Performance predictions within model with thermal zones.

Judging the additional resources employ the most appropriate approach


needed in comparison with ideal zone to a given simulation project and only
controls is best done once you have using complex facilities where a less
de!ned a couple of component net- complex approach does not support the
works and developed some pro!ciency requirements of the project.
at the tasks involved. The goal is to
180
Chapter 14
WORKING PROCEDURES

14 Working procedures
Simulation teams who are attempting environmental modelling: CIBSE
to deal with real designs in real time Applications Manual AM11: 1998 The
can deliver less than they intended or Chartered Institution of Building Ser-
work harder than they intended for a vices Engineers, London, April 1998.
number of reasons: And, as is mentioned in the Model
• missing out a brief, but critical step Quality chapter, the recommendations
in a sequence of tasks in AM11 continue to be valid and
should be on the bookshelves of every
• failure to review a model for incon- simulation group. From the perspective
sistencies as it evolves of the Cookbook AM11 tends to be
• failure to record critical assumptions understated in its recommendations.
or failure to !nd notes about critical The Cookbook’s de!nition of QA &
assumptions QC extends the traditional risk man-
• misunderstanding the nature of the agement and consistency checking
assessments to be carried out found in AM11 to include procedures
• hacking model !les for a quick and organisational patterns that help
change without documenting the identify opportunities for delivering
change, checking that the change additional value to the design process.
was syntactically correct or running Many of the extensions to standard
calibration tests practice require minimal resources.
They are not rocket science although
• assuming that everyone else knows
they require attention and "exibility
that ext_glas is intended for use on
from members of the simulation team
the only the south facade of the
as well as others in the design process.
building
Simulation teams who thrive invest
Such self-in"icted errors and omissions
considerable passion in working prac-
are only the tip of the iceberg. Software
tices which compensate for the limita-
vendors, even if they wanted to, have
tions in their tools. This chapter is, in
little or no in"uence on the organisa-
part based on a decade of observation
tion and procedures of simulation work
of successful and un-successful simula-
groups let alone the form and content
tion groups. Space constraints have
of interactions between team members.
limited the number of examples of
The following discussion is an expan- working procedures and the depth of
sion of ideas that the author and others discussion of their details. Consider
contributed to Building energy and this chapter as a starting point for
182
creating your own working procedures. Vendors in"uence is greatest in the
The complement of this chapter is the core design of the tool. There are two
Model Quality chapter which expands general classes of shortcomings which
some of the issues raised in the follow- impact simulation teams. The !rst the
ing text. the tendency to equate model quality
with if what you see looks correct it
14.1 How can the vendor help? must be correct. Optical illusions
In one sense, the topics covered in this abound in simulation so simulation
chapter are independent of software teams must employ robust procedures
vendors because there are many possi- to enforce model quality.
ble ways to deploy simulation tools and The second shortcoming is that it is far
as many preferences of use as their are to easy for independent actions by mul-
simulation teams. Although speci!c tiple users to cause clashes which are
examples are given from the context of dif!cult to resolve. Although simula-
ESP-r, users of other software will tion data models are among the most
probably !nd much that is familiar complex dreamt up by humans they are
although some adaptations may be not implemented via database manage-
required on the working procedures to ment tools that support simultaneous
!t the conventions and facilities of user interactions. This limits the
another tool. deployment of simulation in distributed
Vendors do have in"uence - their mar- work groups.
keting to managers is spun to empha-
sise productivity gains and ease of use 14.2 Responsibilities within simula-
and their brochures are full of astound- tion teams
ingly complex models. Once the Although there are successful indepen-
license is purchased vendors have more dent simulationists, simulation tends to
incentive to train users on keyboard be most powerfully deployed in a team
skills than to support managers who environment.
wish to evolve better working prac- Why would this be the case? Firstly,
tices. There is also little incentive to simulation demands a range of skill
help managers understand what consti- sets e.g. managerial, technical and
tutes a model which is well-suited to communication skills.
the needs of a particular design project.
Second, projects can fall short of their
Vendors mount training courses which goals if errors in methods or descrip-
are optimised for keyboard skills, pro- tive details are not identi!ed. Some
duction tasks and rapid generation of individuals can perform the mental
models. Less attention is paid to the shifts required, but self-administered
more esoteric skills (e.g. model QA is an invitation to risk that is dif!-
abstraction, interpretation of results). cult to overcome.
Materials which address these issues
may be available if you know who the Third, as simulation tools become
ask and what to ask for. more complex and their facilities
expand into new analysis domains, it is
183
increasingly dif!cult for an individual production related data extraction
to be pro!cient with all aspects of a and interpretation of predictions
tool or to manage the volume of detail Domain experts who, on an ad-hoc
included in complex models. Real basis, help to de!ne the modelling
designs often imply a level of complex- approach, con!rm predictions and
ity which can only be managed within identify opportunities and glitches
a team environment.
Mentors are also ad-hoc partici-
There are, of course, options for indi- pants in the process during the
viduals to work jointly in ad-hoc teams planning process and tend to be
using the facilities and techniques of focused on creating new working
simulation teams who are geographi- practices and augmenting staff
cally distributed. skills.
For most projects, the limitations in Setting up a simulation team is not a
sharing models and maintaining a vir- trivial task as can be seen in section
tual team is not the speed of the inter- 4.2.1 of CIBSE AM11. Time has not
net, but the inability of simulation soft- diminished the critical truths in the sec-
ware to cope with asynchronous tion on human resource requirements.
manipulation of models and, to a lesser
degree limitations in the underlying 14.3 Classic mistakes
data model which make it dif!cult to
embed documentation and assumptions Observations over a number of years
required by well formed working prac- indicate that simulation teams tend to
tices or maintain a log of actions taken. underestimate the time investment
required to create and evolve working
In an ad-hoc or formal simulation team procedures. Similar optimism pervades
there are a number of participants: the task of maintaining and extending
The team manager, who works staff skills.
from the perspective of project Conference papers tend not to hi-light
goals, client requests, resource lim- the risks associated with team man-
its, delivery dates and staff moti- agers who hold themselves aloof from
vation knowledge of the tools used and are
The quality manager, who helps thus unable to adapt their directives to
with calibrating the model, ensures take advantage of the strengths of their
the model is !t for purpose, that staff and tools. Bluntly stated - errors
predictions are as expected and and omissions in management are no
who (ideally) is looking for oppor- less important than errors and omis-
tunities to add value to the deliver- sions in technical execution.
ables There are any number of working pat-
Simulation staff, who implement terns that result in a misallocation or
the work plan, coerce the tool to misuse of the skills of staff. Each of
!ts the needs of the project, com- these sub-optimal working patterns has
mission assessments and carry out one or more alternatives which make

184
better use of tools and/or staff skills. Such paths to failure can be avoided.
First there is the classic confusion that For example, those with the maturity
keyboard pro!ciency implies domain and intuition needed to quickly and
skills. Opinionated users with appro- accurately recognise patterns in perfor-
priate background skills to guide their mance predictions are often found in a
use of the tool have a distinct advan- nearby of!ce. That such valuable
tage what ever their speed of interac- assets are out-of-the-loop is a self-
tion. in"icted limitation. Bring them into the
conversation.
The next classic mistake is to rely on
raw computing power rather than well Just because the tool interface includes
formed working practices and well a WOW feature, you still need a good
designed models. Yes, there are cases reason to select it. Auto-generation or
where computer power limits produc- auto-sizing should not be invoked on a
tivity, and the majority of simulation casual basis until the team reviews
tasks are constrained by other factors. such facilities. Is the in-built facility
based on rules and concepts that the
Managers often believe that user team agrees with? Are the resulting
friendly software allows junior staff to entities understandable and do they
function with limited supervision conform to the requirements of the
and/or limited training. What tends to project?
happen is that junior staff lack the self-
restraint to avoid complexity and
become driven by the tool.
A perfect storm for a simulation team
is a manager who gives an inappropri-
ate directive to a novice who either
does not have the background to recog-
nise the directive is suspect or the con-
!dence to request clari!cation. The
novice thus works very hard at digging
a hole for the team to fall into and lack
of attention ensures the pain is distrib-
uted.
Another classic tempting-of-fate is an
assumption that ability to generate
reports and graphs equates to a an
understanding of the patterns within
reports and graphs suf!cient to add
value to the project. Valuable patterns
within a data set can remain hidden just
as indicators of error can pass unno-
ticed.

185
14.4 Planning simulation projects attribution proceeded without interrup-
The author once had a consulting tions. It was then possible to use these
project to evaluate whether mechanical elements in many other parts of the
dampers could be used in the facade of model. There was no need to use a cal-
an of!ce building to provide natural culator or pause during the input
ventilation during transition seasons. process because all of the critical
The model included eight zones, inter- dimensions and attributes were avail-
nal mass, shading devices, two variants able for checking.
of air "ow network and three control About one and a half hours was spent
schemes. A synopsis of the !ndings creating the model and a half hour was
was available !ve hours after the plans spent in calibration. The remaining
and sections were !rst opened. time was living with the model and
This was possible because the !rst testing out different damper controls
hour and a half was devoted to plan- and drafting the synopsis.
ning the model: Spending one third of project resources
• establishing what needed to be for planning and data gathering is, for
included in the model many experts, a typical approach. If
less than a quarter of the project is used
• de!ning the extent of the model and for preparation then the risk of delays
its resolution and errors later in the process
• establishing critical co-ordinates in increases.
plan and section The following table includes a number
• planning the zoning of the model of issues which may confront simula-
• review available construction data- tion teams in the planning stage.
bases and identify additional ele-
ments needed
• planning the sequence of tasks that
would limit error and allow for enti-
ties to be re-used
• planning the calibration tests to be
carried out
• sketching out the model, deciding a
naming strategy
• sketching out the air "ow network
and gathering relevant data
• reviewing an exemplar model which
used the same control logic
With this information the task of creat-
ing the initial cellular of!ce and facade
elements was straightforward and

186
Core issue Related issue Actions
Does the Prior experience Ensure time and resources
client/design team eases the educa- for clear communication
have prior experi- tional task otherwise with the client. Brief the
ence with simulation client expectations client on the nature of the
based assessments? could be an issue. information they will be
asked to provide and con-
sider their response.
Does the Management of Review client preferences
client/design team reporting expecta- as well as clarify potential
know the types of tions. misunderstandings in deliv-
performance data Identi!cation of how erables.
which can be gener- interim results can
ated and the avail- be communicated.
able reporting for-
mats?
Has the client used The best time to test Con!rm that staff have the
language or provided beliefs is as soon as skills to deploy the types of
sketches that indi- they are noticed. focused models needed in
cate beliefs about The creation of this project.
how design will quick focused mod- Con!rm if typical data for
work? Simulation els which can deliver the type of building if avail-
can test such beliefs. information with able.
minimal delay is Create a test case to con!rm
critical. that staff can extrapolate
from sketches and capture
the essential characteristics
of a design.
Has the client indi- What magnitude/fre- Con!rm if criteria in keep-
cated what criteria quency of change in ing with current practice or
would signal suc- that criteria? is it a client-speci!c de!ni-
cess? What additional per- tion.
formance data might Investigate whether the cri-
be captured to help teria provide useful indica-
the simulation team tors for what-if questions
calibrate the model? that the client has not yet
raised.

187
Core issue Related issue Actions
Has the client indi- What magnitude/fre- Con!rm criteria are in
cated what criteria quency of change? keeping with current prac-
would signal failure? What are likely tice or are client-speci!c.
modes of failure? Evaluate likely assessments
What needs to be that will test how robust the
measured to identify design is.
risk? Identify operational regimes
or boundary conditions that
would help identify risks.
Is the design team Multiple issues Con!rm if staff can cope
searching for might require several with multiple models and/or
improvement on a models or model model variants likely in this
range of issues or a variants. project.
single issue? Clarify how are different
models or variants to be
identi!ed.
Are what-if ques- The role of the simu- Identify methods might to
tions in the form lation team in the identify a better quality
what happens if we design process may low-e glass.
use a better quality need to be "exible. Raise the issue of wither a
low-e glass or what Is it to provide infor- supplied speci!cation is
happens if we use mation for other to appropriate and in the
product X? make decisions or is clients interest.
it pro-active?
Do what-if questions The distributed !le Con!rm tool supports the
pose parametric system used in ESP- creation of model variants
questions (e.g. which r models has the required for this project.
skylight area potential to simplify Discuss whether it will be
between 12 and 36% parametric studies or necessary to generate
is the point where complicate them scripts to automate para-
cooling demand depending on the metric tasks.
escalates)? nature of the param- Con!rm the script is correct
eter to be changed. and that correct data has
Early con!rmation is been extracted.
essential. Consider if scripts and
methods re-usable.

188
Core issue Related issue Actions
Is this project similar What did we learn in Con!rm if staff have the
to previous projects? the previous project skills to re-use and adapt
Can we adapt a past which could be existing models.
model for use in this applied? Con!rm if the existing
new project? What were the dif!- model well documented.
cult issues in past Con!rm log of the proce-
projects of this type? dures and staff resources
used to see if the current
resource allocation is
appropriate.
Does the current Is the complexity of Consider if staff tasks need
state of the model the model consistent to be adjusted.
re"ect the ideas and with the resources Consider if additional staff
concepts developed allocated to the required.
during the planning project? Plan for contingencies if
stages? Have the resources staff become ill.
used matched the
initial plan?
A potential project Who should take Review details of similar
will be discussed part in the meeting? projects and the staff
with a client in a What is the near- involved.
meeting tomorrow. term work load? Discussion criteria for
What key phrases deciding whether to bid on
are important to lis- the job.
ten for? Ensure that presentations
How much do we and sample reports are
need this project? available if the client needs
to be briefed on team capa-
bilities.

14.5 Team manager to someone who is paying attention to


It is critical that someone considers the these other perspectives.
broad sweep of issues within the It is possible to adopt pro-active or pas-
project as well as the clients goals. Few sive approaches to team management
can manage the mental leaps needed to as long as the frequency of communi-
shift from the detailed focus of simula- cation and the rigourous testing of the
tion use to a broad perspective. It is plan and the deliverables is maintained.
usually considered good practice to The team manager may be appointed
ensure that simulation staff have access on project basis or hold the position for

189
a number of projects. In some teams designed for interactive use) may
individuals service several positions - uncover patterns that would not have
in one project they may act as the team been included in a report might have
manager, in another they may carry out taken hours to format for a formal
simulation tasks and for another they report.
focus on quality issues. Staff rotation and interactive working
Flexibility has several bene!ts: with others in the design process also
It allows ad-hoc teams to be formed prevents the isolation and dead-end
with the best available talent. horror stories that many simulation
staff experience in some companies.
It ensures that staff who have a
broader range of skills and have Another type of "exibility is in the
opportunities to exercise and selection of the most appropriate tool
improve those skills. for the task. The Cookbook is written
in the context of ESP-r. Simulation
It can distribute skills to recognise teams may have a preference for one
what simulation tasks are straight simulation tool and if you are reading
forward and which are likely to be the Cookbook then ESP-r may be your
tedious. preference. It may be possible to
It is particularly helpful if a simulation coerce your preferred tool to carry out
team has access to those with experi- a range of tasks but the lack of choice
ence in the operational characteristics may impose a cost. There are virtual
of buildings as well as in strategies for physical descriptions that other simula-
solving design problems. Such knowl- tion environments provide which might
edge, if deployed interactively, can be more appropriate for a speci!c
speed up the process of testing design design.
issues. The Cookbook recommends that simu-
Remember, others in the design lation teams review the capabilities and
process may know very little about the cost-of-use of simulation tools and
work of simulation teams and what develop selection criteria. The costs
information they can deliver. If the associated with acquiring and support-
simulation team has suf!cient con!- ing multiple tools should take into
dence to allow others into the process, account whether staff are able to cope
there are signi!cant opportunities for with multiple tools or if additional staff
both parties to discover concepts and are required.
ideas that will be of mutual bene!t. Project planning should consider
And one of the bene!ts of interactive whether there will be a need for a men-
working is that it gets around the rigid tor or one or more domain experts.
structure of formal reports and the lim- Early warning of a possible request can
ited topics that can be included in reduce the risk of such people not
reports. Fifteen minutes of browsing being available. They may provide use-
performance predictions (the ESP-r ful feedback to the project. Consider -
results analysis tool is speci!cally if an expert is needed to help with a
190
crises, would if have been less costly to resources - if the group has methods in
have retained them at the start of the place to target simulations on speci!c
project and perhaps have avoided the short period assessments. Indeed, the
crisis? criteria one might use for initial cali-
bration runs would often do dual-duty
14.6 The quality manager as periods for the quality manager to
Just as the author of a book needs an use. In the case of ESP-r, it is possible
editor to help complete the story, nei- to pre-de!ne simulations and embed
ther the team manager nor simulation this information within the model.
staff are in a good position to recognise For many simulation tools the skills
whether the model continues to be !t necessary for browsing a model and
for purpose, whether the latest perfor- invoking a pre-de!ned simulation can
mance predictions are providing a con- be acquired in a few hours. Of course,
sistent story or include a new pattern more time is needed to become com-
which needs attention. fortable with browsing performance
Good pattern matching skills and eye predictions and generating graphs and
for detail are core competencies. A tra- reports.
ditional approach is for quality man- Productive quality managers will have
agers review reports generated by oth- evolved strategies for reviewing models
ers and request clari!cation from staff. as well as reviewing simulation predic-
And what if the quality manager did tions. They will have strategies to
not have to wait for others to generate ensure that they can track the activities
reports and did not have to look over of others or track the evolution of mod-
their shoulders to see the current state els so as to identify points of interac-
of the model and/or assessments? tion.
What must phrases such come over to Just as in !nancial markets there is a
my screen and see what I found in the moral hazard in expecting the quality
Monday morning start-up test period manager to catch and solve all glitches.
originate with simulation staff? The quality process only works if oth-
An ability to use simulation tool facili- ers in the design team take steps to
ties to review models, generate reports reduce risk as models are initially
about the models breaks a classic de!ned and evolved.
dependency. An additional pair of eyes Other chapters in the Cookbook were
with pattern matching skills and differ- written from the perspective of reduc-
ent goals increases the probability of ing errors as creating models are easy
discovering opportunities as well as for others to understand. Quality man-
faults. A decision to invest in such agers appreciate models that tell a clear
skills for quality managers transforms story.
their mode of working from passive to One task of the quality manager is to
active. be a champion for reserving project
Such pro-active investigations need not resources for the exploration of value
be a burden in time or computing added issues. This requires tracking the
191
progress of the project and ensuring, The table that follows illustrate some
where possible, that there is time avail- of the issues that confront quality man-
able for exploring issues that the client agers.
has not yet raised.
Such resources may be in the form of
time for simulation staff to undertake
speculative explorations or it may
relate to a current or past project.
As the Cookbook has mentioned in
other sections, ef!ciency gains should
be directed at freeing up time to live
with the model and explore its perfor-
mance and thus better understand how
it works.
Typically the quality manager will have
a list of classic questions and issues to
explore within the model.
If there is an early peak Monday
demand is it possible to use an opti-
mal start regime?
Is there excess heat stored in the
fabric of the building overnight?
Check if a night ventilation purge
or extending the running hours of
the environmental control system
will correct this.
Are conference rooms subject to
rapid overheating if the room has
full occupancy? Test is massive
partitions dampen temperature
swings and improve comfort?
Does the environmental controls
short-cycle. Check if reduced
capacity will correct this.
Is the building over-capacity in
terms of heating and cooling?
Check how many additional hours
over the set point occur during a
season with a 5% reduction and
compare this with the reduced capi-
tal and running costs.
192
Core issue Related issue Actions
Is the current project Is there valuable Discuss !ndings with the
similar to a past information in the team manager as well as the
project? project notes and simulation staff.
documentation? Review the past models
Do staff remember with the team and identify
useful/critical issues critical issues to be tracked
from that project? in the current project.
Are there design What might be valid Review criteria used to
issues in this project approaches for each identify which approach is
which are new to the issue? best.
simulation team? Can a simple model Find out who needs to work
allow the team to together to test out the
explore this issue approach.
prior to implement- Con!rm points in the work
ing it in full scale? "ow where interactions
Should the mentor with the quality manager
be called in? are needed.
What naming Does the client talk Con!rm if the simulation
scheme will clarify about the project tool cope with the naming
the model to others using phrases that scheme?
in the design team? could be embedded Consider whether manufac-
Is the client visually in the model? turer’s names for products
oriented or number Are the essential dif- appropriate for use in the
oriented? ferences in model project.
variants communi- Con!rm which performance
cated by the naming data can be presented in
scheme? visual form to match client
preferences.
What documentation Has a review of this Con!rm if some or all of
has the client pro- documentation iden- the client documentation be
vided? ti!ed questions that held with the model.
need to be resolved Advise on who should
prior to work start- embed this documentation.
ing?

193
Core issue Related issue Actions
Does the client Are staff keeping a Show the model to a third
require a record of log of what they did, party and see if they under-
the tasks undertaken, what assumptions stood the essential attributes
the method(s) used they made and what of the model.
and the model? information sources
they used?
Does the model con- Is the actual com- Investigate if delays in tasks
tinue to re"ect the plexity of the model could make it dif!cult to
initial plan or does in the same order of keep to the plan.
the plan need to magnitude as the ini- Ensure updates to the model
change? tial plan? been broadcast to all inter-
Are there resources ested parties.
available for value Outline value added issues
added opportunities that need to be discussed.
to be explored?
The model predic- What changed in the Identify other performance
tions indicate 15% model? data which could be in"u-
less heating capacity Who made the enced by this change.
- is this an error or is change to the If an opportunity, investi-
this an opportunity? model? gate further changes change
Who can corroborate to the model to further
the difference? improve performance.
During checking it When did this hap- Check wither the planned
was found that occu- pen? occupancy density or the
pancy in several What performance model details are correct.
rooms was less than data could be at risk? Review with simulation
speci!ed. What design deci- staff how predictions
sions might be at change when the occupancy
risk? is updated.
Broadcast the changes and
whether change is in line
with project goals.

194
Core issue Related issue Actions
The project is Where are opportu- Revisit the assessments
slightly ahead of nities for making the looking for likely perfor-
schedule what do we design work better? mance improvements.
do now? What is likely to be Investigate modi!cations
the next issue that needed to explore likely
the client will ask us topics.
to consider? Employ a focused model to
check if an alternative
approach could provide bet-
ter performance data.

14.7 Simulation staff • Feedback on likely simulation tools


Traditional deployment of staff for the project e.g. bene!ts and
involves junior staff primarily working drawbacks of different tools, time
to create models, run assessments and and computational resources implied
extract performance data. The critical for different tools.
issues for successful deployment is the • Ideas about how design issues might
level of experience junior staff have in be represented within the simulation
addition to their tool-related skills and environment(s)
their status in the group. • Ideas about zoning strategies and
Staff who lack experience in a particu- level of detail implied for various
lar design or engineering domain are at design questions
a disadvantage in comparison with • Ideas about past models which may
more opinionated staff. Although tool be useful to review
vendors do not advertise it, those with
strong opinions are much more likely There is a place for novices in a well-
to make good use of simulation tools - formed simulation team if they have
opinions help in the selection and use access to more experienced staff as
of tool facilities. Managers who wish well as the mentor and there is frequent
to overcome this limitation might con- and close supervision.
sider pairing the novice with more Where simulation staff are included in
experience staff for several projects. discussions, are able to buy-into the
Those with opinions will certainly have goals of the project and have suf!cient
much more to contribute to the plan- status to creatively evaluate directives
ning stages of a simulation-based and suggest alternatives, there is little
project in terms of: chance for a perfect storm to develop.
Take one or more of these away and
• Information required from the client risk increases.
at different phases of the work
The following table includes typical
issues which confront simulation staff.
195
Core issue Related issue Actions
What preparation is Are we clear about Meet with team manager to
needed for this the client’s ideas that review client requirements.
project? the model should Sketch likely approaches to
con!rm? the model and review with
Have we done simi- the team
lar work in the past? Review past projects and
Do we have test identify if there is an option
models for this for adapting prior models.
building type? Review library of test mod-
els for candidates for use in
testing ideas and techniques
for the current project
What analysis facili- What running For each domain identify
ties are required to cost/control issues? what needs to be measured.
support the project? What comfort/air De!ne the level of detail
quality issues? required.
Are thermal bridges Identify likely interactions
an issue? between domains.
What model calibra- Is there a range of Review standard literature
tion approaches are best-practice perfor- and past reports.
appropriate mance indices? Consult working procedures
Can a previous for which types of tests are
project be used as a recommended for this
benchmark? building type.
What operational Identify climate pattern(s)
and climate condi- and operational characteris-
tions would be a tics to use in tests.
good test of the Embed appropriate simula-
response of the tion directives in the model
building? so that calibration runs can
be undertaken as the model
evolves.

196
Core issue Related issue Actions
How much time will Is there a record of Review past projects of this
it take to create the resources from simi- type and review with team
model? lar projects? manager.
Is this a crank-the- If an exploratory model
handle or plan a series of proof-of-
exploratory model? concept models as a bench-
What staff would mark. Review with mentor.
work well in this Review tasks required vis-
project? a-vis available staff and
What staff produc- staff who have worked on
tivity can be similar projects.
assumed? Ask each staff member to
provide an estimate of time
for preparation and model
creation and review with the
team manager.
What model variants What other questions Discuss with mentor and
might be needed? might the client domain experts what other
pose? topics might be addressed
Is the current model with variants of the current
at the edge of the model.
tool facilities or staff Review working practices
skills? for resource estimates
Are changes directed needed to increase or
by new information decrease the resolution of
provided or are they the model.
general parametric Review current model com-
variations? plexity in each domain and
discuss this with mentor
and project manager.
Locate a test model and use
it to test automation facili-
ties or scripts. Report !nd-
ings to team.

197
Core issue Related issue Actions
What zoning pattern What is the distribu- Using separate overlays
should be used in the tion of occupancy sketch out regions for occu-
model? patterns? pancy (density, schedules),
What portions of the control (logic, schedules),
building are sensitive perimeter sensitivity, air
to the facade? "ow connections, system
What variants of types and control-ability.
control logic might Unify the sketch overlays
be used in different for initial ideas.
sections of the build- Work out an alternative
ing? sketch of zones taking into
Is strati!cation an account likely future issues.
issue? Sketch scenarios for air
Is cross-ventilation "ow networks and revise
or air "ow between zoning to accommodate.
rooms likely?

14.8 The mentor team to enter a new market or work


Different groups have different de!ni- with different types of clients.
tions of mentor: Mentors may be part of the team or
A person who has mastered the may be outside consultants who are
simulation software and helps staff retained by the team via a support
to become comfortable with fea- agreement (X hours over the next 3
tures which tend to be viewed as months). Skill sets may be focused
either magic or where dragons live. (e.g. they know how to design and
deploy air "ow networks for large spa-
A person who has undertaken sim- ces) or broad (e.g. they have managed
ulation projects of the scale, com- and/or delivered similar projects).
plexity and mix of domains which
are being considered by the simula- Sometimes simulation teams engage a
tion group (to provide guidance). mentor because they want to explore
new topics or explore an alternative
A person who knows the physics of way of working within an active
a design issue and who works with project (and want to limit their risks).
a team to help de!ne strategies and In such cases mentors usually are given
evaluation criteria (e.g. a domain the authority to take over tasks being
expert). carried out by staff if that is what is
A person retained to carry out required to guarantee deliverables.
extended training within the simu- In other cases a mentor may be on-call
lation group, typically to assist the for brief consultations because their
198
experience allows them to quickly
answer questions or demonstrate a
technique. This could be done in per-
son or via a video conference.
One rapid approach to evaluating simu-
lation methods (and tools) is to identify
a recent project and explore one or two
issues in the project via the use of sim-
ulation. Participants would then com-
pare what simulation delivers with the
prior !ndings in terms of resources
required, skills needed as well as a
comparison of predictions.
Recent projects are especially good if
staff remember the approach they took
and have access to the underlying
project data. The mentor can both
guide the simulation team and help
them to understand the predictions
from simulation.
The following table includes issues
from the point of view of the simula-
tion team and from the mentor’s point
of view.

199
Core issue Related issue Actions
Team: The project Is this a topic that Specify the issues, points of
starting next week the mentor deals confusion, time frame and
involves X. We have with? goals.
limited experience - Who needs to be Identify staff to work with
how shall we pro- involved in the dis- the mentor and clarify their
ceed? cussion? goals.
Do we upgrade or De!ne upgrade or discard
use our standard policy.
approach?
Team: Fred is not Is this in the interest Check if this caused delays
satis!ed with how he of the group to or errors.
works with facility improve this skill? Check if new skills will free
X. Does the mentor up time for other activities
handle this issue? or help other team mem-
Is this part of a bers.
larger issue to be Get time/resource estimate
dealt with by a men- from mentor and check for
tor or via a standard time scale and cost of the
training course from vendor’s course.
the vendor?
Team: time estimates What does the men- Create a synopsis of the
were out by 30% in tor need to under- project for review.
the last project. Is stand about the Review synopsis with
there a different group in order to design team and get initial
approach that would evaluate that project? feedback.
work better? What methods could Re-enact the project to
be use to test alterna- identify faults
tive approaches? Identify staff who should
take part.
Agree a timetable for
review, re-enactment and
work sessions.

14.9 The domain expert the virtual physics.


Domain experts can play different roles The domain expert differs from the
within a simulation team. For example, mentor in that the goal is to solve or
their domain may be the theory of understand a project based issue rather
computational "uid dynamics or expe- than adapt the teams working practices
rience with wind tunnel testing and or improve staff skills. The domain
how to integrate experimental data into expert may know little about the
200
speci!cs of the simulation tool but will if the project is dependant on this
likely have strong opinions about they issue being resolved and it cannot
see in performance prediction graphs be resolved within the time or
or reports. resource limits of the project con-
The domain expert can supply a disin- sider withdrawing
terested second opinion for a con- The following table includes several
tentious issue within a project or help scenarios related to experts:
verify that current predictions are in
line with expectations.
Remember that the issue for the expert
is likely to be both normal and obvi-
ous to them. They may not realise that
others do not share this knowledge.
This can cause confusion to both par-
ties. Take steps to reduce this confu-
sion if at all possible.
The domain expert may have opinions
that includes the fact that their
approach is the only possible way to
deal with a speci!c issue. This may or
may not be true. If there actually are
several valid approaches then the
expert’s contribution may be to provide
information their approach and then the
team must evaluate this against the
other options.
If there is only one valid approach and
the simulation tool does not support
that then there are several options:
check to see if the simulation tool
can be adapted
check to see if there is another tool
which uses this approach
evaluate whether there is a way to
coerce the tool to approximate the
approach suggested by the expert
if it is early enough in the project
check if this part of the analysis can
be subcontracted

201
Core issue Related issue Actions
The expert and the Are both parties Show the expert a list of
team use different talking about the common de!nitions of the
terminology. same issue? jargon used within the
Is the terminology group and within the simu-
different because lation tool.
there is a difference Arrange for a meeting to
in the underlying discuss underlying methods
approach used by the and terminology.
expert and by the
simulation tool?
The expert asks to Is the information Scan the source code for
know how the simu- available? relevant blocks of code or
lation tool treats a Is it in a form which pass the question to the
speci!c issue. can be understood? software vendor.
Is there an example Scan the documentation for
model which demon- relevant sections and/or ask
strates this issue? the software vendor if there
is additional documenta-
tion.
Set up a session to explore
relevant models to con!rm
if a) the expert understands,
b) the expert agrees with
the facility within the soft-
ware.

14.10 Staff productivity those with less experience will be more


Given the same simulation tool, the comfortable with a project with less
same computer type and the same brief challenging deadlines.
two different simulation staff can use When two staff with roughly the same
radically different times to arrive at a capabilities take radically different
completed model. What a novice can times for the same work then the man-
produce in a frustrating two days, sea- ager and mentor should investigate.
soned staff can produce in ˜two hours Chances are the biggest difference will
with a computer which is half as fast. be the strategies employed. Strategies
That difference in productivity is can be learned.
expected and should be factored into If possible, the quality manager should
the staf!ng of a project. A tight time- devise task sequences to con!rm the
schedule may be best supported by skills level, strategies and inventive
using more experienced staff whereas resources of staff.
202
Simulation staff who are working at the 14.11 Summary
limit of their skills are less ef!cient and A well formed working procedure will
more likely to generate errors than staff ensure that staff are working at a pace
who are well within their competence that does not exhaust their mental
level. Therefore, a well formed work- reserves. This suggests that all mem-
ing procedure will ensure that staff are bers of the team should be clear about
working at a pace that is sustainable. their own level of competence and how
Simulation staff should be clear about much reserve capacity they have. And
their current productivity and inform they should not keep this a secret and
management if they are at risk. there need to be communication chan-
It is a challenge to match resources nels for such issues.
actually used with assumptions made It is a challenge to match resources
in initial planning. One major contri- used for generating and testing models
bution of simulation staff to the plan- with assumptions used in initial plan-
ning process is to provide realistic esti- ning. With experience, simulation staff,
mates of time and computational mentors and quality managers can give
resources. Keeping notes about the close estimates of the amount of time
time actually taken for speci!c tasks they expect to take.
should be included in working proce-
dures. Frequent updates to estimates as Well formed working procedures will
real data becomes available can help in ensure that before a bid is given to the
the management of staff resources. client there is an evaluation as to the
!tness of the suite of software tools
What about time estimates for new (to available vis-a-vis the likely demands
the group) tasks? One could guess and of the project. There will also be an
risk under or over bidding. Or the sim- evaluation of the current skills level in
ulation team can devote some of its case preparatory work is required.
resources to anticipating new topics
and tasks. It can compile background
documents, create exploratory models
and undertake mock projects in prepa-
ration.
Simulation staff should be pro-active
and request time (say 2-3 hours a
week) for speculative explorations and
keep the mentor and the team leader
informed of progress. It is just as valu-
able to report a tool facility that is not
ready for use in consulting projects as
it is to discover a virtual measurement
which can be included in future
reports.

203
Chapter 15
MODEL QUALITY

15 Model Quality
Simulation teams who are attempting • frequency of model and calibration
to deal with real designs in real time checks
are confronted by the need to ensure • understanding model contents
that their models are syntactically cor- reports
rect as well as semantically appropriate
for the project. Semantic checking is related to the
design of the model - how it includes
Simulation teams who thrive invest and excludes thermophysical aspects of
considerable passion in ensuring the the design. Because it is an art as much
quality of their models. They do so to as a science it is more dif!cult to estab-
limit risk (a traditional reason for QA lish rule sets for model design. Here
and QC). The Cookbook also advocates the issues are:
working practices that ensure model
quality because of the early warning of • models (or tools) that are not quite fit
opportunities to deliver additional for purpose
value to clients. • models which continue to be used
Model quality involves both the facili- after entropy has set in
ties of the simulation tool and the skills • models which are stuck in an unus-
of the simulation team. Among the able state
most important issues are:
• designing models that the simulation 15.1 How can the vendor help?
team can understand The quality of models begins with the
• designing models that clients recog- facilities offered by the software ven-
nise dor e.g. QA reports, documentation,
training and in-built software checks.
• identifying aspects of models that Vendors decisions about in-built facili-
tool checks may not recognise as ties have a substantial impact on the
correct resources that simulation teams invest
• identifying aspects of models that in model checking.
the team may not recognise as cor- Some vendors believe their marketing
rect departments spin that what you see is
• working practices that bypass inbuilt what you get. Unfortunately, what you
tool checks see on screen is only one of many pos-
• working practices that bypass the sible views of the contents of a model.
quality manager Interfaces can present users with

204
optical illusions. Here are some exam- If vendors mount training courses
ples: which pay little attention to topics
• A wireframe view can look correct related to model quality and your team
but have reversed surfaces or miss- considers this important then talk to
ing surfaces your vendor and look for alternative
training providers. Better yet check
• A clever interface may decide to before attending the course or buying
merge surfaces together that are the product.
adjacent and share the same compo-
sition - so what is reported is not the Another shortcoming that is attribut-
same as the user de!ned. able to the design of the simulation tool
is the ease by which independent
• Interfaces may decide to subdivide actions by multiple users cause clashes
surfaces or components so that the which are dif!cult to resolve. If a
model includes entities that the user model is working and some action by
did not ask to be created. another person causes a fault, con!-
• The user may de!ne a compact dence can be badly affected. This con-
description which the tool expands strains the deployment of simulation in
into hundreds of lines of description distributed work groups.
and provides only limited facilities Of course poor working practices can
for exploring the expanded entity reduce the ef!cacy of tool facilities.
list. Failure to check for site orientation
Some software (including ESP-r) pro- prior to undertaking shading analysis
vides both information on the screen can waste valuable time just as failure
and model contents reports. This to notice that !re doors may be
allows those with graphic interpretation installed with fail-safe closing mecha-
skills and those with report interpreta- nisms (that allow mixing between
tion skills to work together. zones) can alter assumptions about
A good model contents report would ventilation in buildings.
not only be human readable but re"ect A tool might be just clever enough to
any change to any entity within the name the 27th surface in the zone
model. Simulation tools are imperfect which is vertical Wall-27. The author
and thus some entities may not be of the model knows the surface is the
reported or may not include a suf!cient partition_to_corridor and probably
level of detail. knows several other attributes of the
Ideally, tools should allow the user to surface. The interface presents the ini-
de!ne the level of detail for various tial guess for editing, !ve seconds of
reported entities as well as which top- typing would make this clear. Accept-
ics to include. Similarly, interfaces ing the default forces everyone else has
should allow the user to expand or col- to mentally reconstruct an understand-
lapse interfaces so as to focus on spe- ing from the shape and location of the
ci!c issues. surface and what it is composed of
each time it is selected from a list or

205
included in a report. The Cookbook When the client arrives and the model
quote of the day is: is opened up on the computer screen is
Names are the !rst step to under- there recognition, perhaps after a quick
standing and essential to owning tour, and then a move to substantive
ideas. issues. Or are there puzzled expres-
sions and the meeting gets hijacked by
Of course tools may be imperfect in explanations of how the image on the
their implementation of this concept: screen represents their design.
• Some interfaces (like ESP-r) con- This is not an argument for a literal
strain the length of entity names. translation of CAD data into a thermal
Terse names are a frustration and model. Much that is included in CAD
occasional source of error. drawings is simply noise in the thermal
• Some interfaces assign names auto- domain. A client who saw a simulation
matically and do not allow them to model with !fty thousand surfaces
be changed - unique but arbitrary would be justi!ed in asking for the
names can be opaque to the user. methodology behind this approach to
• Some interfaces do not allow users abstraction just as if they were told a
to name entities within their models box represented the Guggenheim in
- this is unforgivable in terms of the Bilbao.
resources required for model check- Consider what simulation looks like
ing. from the clients perspective and
Knowing that simulation tools limit our choose, if possible, design the model to
ability to create self-documenting mod- limit their confusion. It may save time.
els it is for the community of users to Second Cookbook quote of the day:
evolve working practices which com- Self-administered QA brings great
pensate for such limitations. joy to someone else’s lawyer.
15.2 Responsibilities within simula- Simulation teams of one are viable in
tion teams the long term only if they outsource
model checking. In a team it should be
Decisions made by team members as standard practice to outsource the task
they plan and build models can in"u- to another team member after initial
ence the resources needed by others to checks are made by simulation staff.
understand both the intent and the
composition of models. Some models Changes in staf!ng can require that
tell a good story and thus we can models be passed to others in the team
quickly use our newly acquired under- for completion. Models risk become
standing. Other decisions result in orphans if the author of the model
models with impose a considerable works in isolation or uses a different
burden on the design team. Making style. A model that is opaque to some-
clients work hard is NOT a pro!table one in the team is likely to be even
business strategy. worse for a client.

206
The task of taking another persons this feedback regularly.
model and understanding it well Even with good working practices
enough to make modi!cations to it is a errors become embedded within mod-
classic test of working procedures. els. Some typographic errors that get
Projects go quiet for weeks at a time. If past tool checks will evidence them-
a substantial resource is given over to selves in the predictions of perfor-
getting back to speed on a dormant mance if we are paying attention. A
project this could lessen the resources 10KW casual gain in a room which is
available for other tasks. It does not supposed to have 2KW may not show
help that the design of simulation soft- up as a temperature difference if the
ware rarely takes into account that environmental control has an oversized
many teams are working on several capacity. The review would have to
projects simultaneously. notice the reaction of the environmen-
Model quality issues are different for tal control for this zone differed from
each participant in the simulation team. other similar spaces. If the only report
generated was a total for the building
Team manager then this change might not be noticed.
The team manager has in interest in Some errors can be subtle - selecting
ensuring that models are !t-for-purpose the wrong type of glazing for one win-
and that staff are working within their dow out of a dozen windows might
limits (and the limits of the tool). A alter performance of the room only
model which tells a good story is one slightly. The logic of a control which
which the manager can more easily fails for an infrequent combination of
browse. And managers who regularly sensed conditions may be dif!cult to
review models can anticipate possibili- spot.
ties as well as notice deadlines slip- The simulation team should consider
ping. the frequency and types of error can
exist without altering the patterns of
Quality manager performance to the point where a dif-
Just as the author of a book needs an ferent design decision is made. Checks
editor to help complete the story, nei- by simulation staff are likely to spot
ther the team manager nor simulation some types of errors but others only
staff are in a good position to carry out become apparent by their impact on
this task. predictions.
The quality manager also has an inter- There are bene!ts in the quality man-
est in regular reviews of the work in ager being pro-active in the project and
progress as well as ensuring that the using simulation tool facilities to
model continues to be !t for purpose. review models, generate model con-
Quality managers quickly recognise tents reports and review performance
models which tell a good story from predictions. Such investigations need
those that do not. Good working prac- not be a burden in time or computing
tices ensure that simulation staff get resources. The skills necessary for
207
using the tool to carry out these tasks need active support from others who
can be acquired in a few days. have more evolved opinions about the
Another pro-active task is to work thermophysical nature of buildings and
closely with others in the team to systems. If those with opinions take
ensure that model quality is a continu- the time to pass on ideas then novices
ous part of the model planning and cre- will be better placed co-operate when
ation process. The quality manager they start their work.
might also devise task sequences to Topics that experienced users may for-
con!rm the skills level, strategies and get that novices do not know are:
inventive resources of simulation staff. Information required from the
The de!nition of the quality process client at different phases of the
used in the Cookbook places emphasis work
on identifying opportunities as the Bene!ts and drawbacks of different
work progresses and here a pro-active tools, time and computational
quality manager can take a primary resources for different tools.
role. The quality manager can also be a
champion for reserving project Ideas about how design issues
resources for the exploration of value might be represented
added issues. Ideas about zoning strategies and
level of detail
Simulation staff Ideas about past models to review
The traditional deployment of staff Simulation staff should spend 2-3
involves junior staff primarily working hours a week exploring new working
to create models, run assessments and practices or generating scripts to auto-
extract performance data. The critical mate processes. This investment may
issue for model quality is self restraint. result in better procedures and better
Accepting default names for entities models.
saves a few seconds but requires that
others expend effort each time they Domain experts and mentors
browse through the model or look at
The domain expert will likely have
performance reports.
strong opinions about they see in per-
Simulation staff are continuously mak- formance prediction graphs or reports.
ing decisions and assumptions. For Subtle patterns may be easy for them to
example - a quick decision to go with recognise.
the standard concrete "oor thickness in
The trick is to get the domain expert to
the database rather than con!rming the
also look at the model and the perfor-
actual thickness in the model might be
mance predictions with a view of fur-
valid approach at the time. It becomes
ther tweaks that could be made to
problematic if it persists and the deci-
improve performance or to con!rm that
sion is forgotten.
the prediction is in line with expecta-
Unconstrained keyboard skills of tions.
novices can wreck havoc. Novices
208
Mentors can play a pivotal role in more than a linear increase in resources
enabling staff productivity and !ne tun- much thought is required to arrive at an
ing working practices that ensure clar- appropriate model resolution.
ity in models. Prior experience with This said, a small increment in model
similar projects may allow the mentor complexity may provide suf!cient
to be among the !rst to identify where visual clues so as to reduce the effort
models are providing unexpected needed to understand a model. Models
results. that clients recognise help them to buy
Mentors engaged to explore new topics into the process and it often simpli!es
or explore an alternative way of work- reporting requirements. This might be
ing will likely be part of the team as simple as including visual place
updating procedures and helping to holders for columns and desks or
adapt simulation tool facilities. including a crude block representation
of adjacent buildings.
Musical chairs Other aspects of model design are cov-
In another section of the Cookbook it ered in sections 1.4, 2.3, 3.3 and 4.1. In
was suggested that occasional rotation each of these sections the emphasis is
of tasks within a simulation team can on the planning stage and working out
be useful. Rotation of quality assurance ideas in sketches rather than on the
tasks has several bene!ts: keyboard.
• A fresh pair of eyes can notice in
seconds what has been evading oth- Entity names
ers for hours. Names like hmeint"rt_1 might be
• Conversations needed to con!rm derived from horizontal mass element
what is this are instructive for both intermediate floor type instance one
participants. but almost no one else will appreciate
this baggage. But if a client seems at
• An appreciation how different ease when talking about room 1.12b
designs of models impacts model then that might be the best name for
checking tasks can result in better that zone in the model.
models.
Names are especially important where
15.3 Model planning there are lists to select from. For exam-
ple, if the interface presents a list of
There are many steps between a simu- 100 surfaces and it takes ten seconds to
lation model that looks like a CAD locate the "oor surfaces because of an
model and a simulation model that is obscure naming convention and two
simpli!ed beyond recognition. The seconds with a clear naming regime
thermophysical nature of a space which then the pay back is immediate. Select-
is reasonably represented by one hun- ing the wrong surface can result in
dred surfaces is not ten times better if a costly errors. The Cookbook recom-
thousand surfaces are used. And mends that the !rst attribution to alter
because increasing complexity requires from the default is the entity name and
209
that names follow consistent patterns made are all items to include in a well-
within a model. Surface names only ordered working procedure.
need to be unique within a zone but
nodes and components within a net- 15.4 Complexity
work need to be unique. The evolution of software now allows
simulation teams to create models
Recording assumptions which are closer approximations to the
As we create and evolve simulation built environment and these models
models we make dozens of seemingly often involve a level of complexity
trivial decisions and assumptions which would not have been contem-
which soon pass from our memory. If plated a few years ago. Our attempts to
these are not recorded there can be create better models is tempered by our
adverse impacts. One of the driving ability to manage such models.
forces for software development is to One of the unexpected problems with
ensure that the internal data model of software which is designed to be both
the simulation tool has space available user friendly and over-functional is the
to record decisions and assumptions. level of self-restraint needed to create
The existence of a dialogue for models which match the needs of the
explaining the intent of an occupancy project. Facilities intended as produc-
pro!le does not ensure that it is used. tivity aids can easily seduce the user
The quality manager has an interest in into an overly complex models.
self-documenting models and working Those who are unprepared for com-
practices should set standards for how plexity multiply their workload as well
decisions and assumptions are as the risk that errors and omissions
recorded. will go undetected. Preparation
includes the evolution of working prac-
Placeholders tices in projects of increasing complex-
Entities in simulation models require ity. Another investment is to allow staff
lots of attribution and the information to gain con!dence in projects of
required may not be available when increasing complexity. Clarity in the
required. The use of place holders for design of models reduces the attention
data not yet con!rmed (e.g. creation of required for many tasks and is essential
an approximate construction in the within complex models.
database) is a valid way of continuing Ensuring that the model is correct is,
to get work done. Working procedures for many practitioners, the critical limit
are needed to ensure that such prag- on the complexity of their models.
matic actions are followed up and the Reviewing a literal representation of a
model is updated as better information hospital complex with hundreds of
becomes available. rooms to certify the correctness of
Who does such updates, the frequency thousands of entities is, at the least, an
of reviews, and decisions about who iterative task. Each iteration focuses on
needs to know that changes have been a different aspect of the model and/or
210
its performance. describing all rooms. The technique
Spot checks are a useful step in ensur- requires that the constrained model
ing the quality of models. Quality man- embody both the typical and excep-
agers will develop techniques for scan- tional elements of the design. Selecting
ning model contents reports as well as what can be omitted from a model is a
techniques for reviewing the model critical step in the planning process just
form and composition with the tool as determining scaling factors is in the
interface. calibration phase. And the bene!ts can
be considerable and many simulation
A classic point of failure is to allocate groups use such scaling techniques in
time for reviewing model contents but their projects to conserve the resources
not for commissioning assessments needed to create, run and extract data
designed to identify semantic errors. from their models.
Techniques that hi-light semantic errors
tend to focus on short period assess- Another technique to re-allocate
ments where patterns in the operational resources for semantic checking is to
regime and boundary conditions should employ scaling techniques to the
result in expected patterns of response. assessments carried out. Limited dura-
tion assessments (e.g. typical fortnights
Finding expected patterns is usually in each season along with extreme
cause for celebration. The risk is in weeks) which are carefully scaled can
cutting short our multi-criteria assess- result in predictions that are very close
ments because we are in a good mood to predictions of brute-force annual
rather than concluding the assessments simulations. This technique is espe-
when we have reached a holistic under- cially important for simulation tools
standing of the design. such as ESP-r which are disk intensive
In addition to evolving skills and work- during the simulation and data extrac-
ing practices to cope with complexity, tion phases.
successful simulation teams also are
able to recognise when complexity can 15.5 Multi-criteria assessments
be avoided. During model planning As mentioned elsewhere in the Cook-
consider whether a design must be rep- book, time gained by good working
resented as one simulation model or practices can provide a reserve of time
whether it can be sub-divided. Sub- to explore model performance. The
division can take two forms - multiple more complex the model the more
models which combine to the whole of multi-criteria assessments are essential
the building and models which contain for discovering unintended conse-
a selected portions of the building. quences of design decisions as well as
There are cases where a fully explicit errors and omissions within the model.
representation is required - for example So where might one begin the process
in a naturally ventilated building where of gaining con!dence in a model? Well
air "ow patterns are widely distributed. founded opinions as to what should be
In many buildings there is considerable happening within the building (or
repetition and little to be gained by
211
access to such opinions) is a !rst step. useful, if there is heat stored in the
This may take the form of information building overnight or if a modular
from similar projects, tabular data in system might be appropriate
handbooks, access to a mentor or • statistics and graphs of solar entering
expert or to measurements in this or the zones to con!rm that windows
similar buildings. that look like they are facing north
The next step is familiarity with tools actually do face north
and techniques for extracting perfor- • when a zone catches your attention
mance data in forms which clarify check its energy balance for the type
what is happening within the virtual of heat transfer associated with big
physics. In workshops for ESP-r, the gains and losses
time allocated for exploring model per-
formance tends to be at least as long as The time of occurrence is mentioned
for the model creation tasks. Both above because a peak temperature dur-
interactive investigative skills and the ing of!ce hours may be very different
automation of data extraction are part than a peak temperature when no one is
of the process. The following list in the building. Frequency bins are
includes some useful indicators: mentioned because a peak demands for
a dozen hours in a season may not be a
• the range of dry bulb temperatures in good indicator of system capacity and
each zone and the time of the maxi- extreme temperatures that are rare may
mum and minimum AND frequency be amenable to demand-side manage-
bins to con!rm the number of ment.
extreme occurrences
Experts will also re-run transition sea-
• the difference between dry bulb and son assessments without environmental
mean radiant temperature and if controls or with reduced capacity for
extreme do further checks for sur- environmental controls. Why? Because
face temperatures buildings can often be comfortable
• the range of heating and cooling with little or no mechanical interven-
demands and time of peak occur- tion. The traditional focus on system
rence AND a frequency distribution capacity tends to ignore performance
of demand during the hundreds of hours of mild
• the number of hours heating and conditions that happen in most regions.
cooling is required AND the number A few moments to create a model vari-
of hours when zones are "oating in ant to con!rm this can result in signi!-
the dead-band cant value to the client.
• casual gains in each zone either as Another trick of the experts is to gather
statistics and as a plot to con!rm if statistics for the occupied period as
lighting is switching as expected well as at all hours. Why? Because
attention to after-hours performance
• graphs of zone temperatures and provides clues for improving the
zone environmental controls to see if design of the building and its operating
an optimal start or stop might be regime.
212
Some simulation tools such as ESP-r tool reach a point where productivity
can be driven by scripts to automate the can suffer and where dependencies
recovery of the data mentioned above. within a working model can be broken
There are two common approaches: and errors introduced. There are many
• recording the keystrokes used during possible vectors for this, some involve
an interactive session into a scripts actions by the user and some can be
to automate subsequent checks gaps in the logic of the software.
• de!ning an Integrated Performance Caution and paranoia are useful atti-
View (IPV) for the model and using tudes. Backup the working model as a
this to invoke speci!c assessments !rst step. Generate a full model con-
and recover the multi-criteria data. tents report and extract a range of per-
formance data for use in comparisons
The use of scripts is covered in an Ap- with the revised model. Talk to others
pendix of the Cookbook as well as in about their experiences of managing
the Automation section in a subsequent complex models and for advise on
page of this chapter. Setting up an IPV where simpli!cations can be made
is a topic not yet included in the Cook- before altering the model. Plan the
book. sequence of tasks, make frequent back-
ups, carry out calibration runs on the
Working at the edge revised model and check these against
Most experts plan their work and their the initial performance predictions.
models to avoid the computational and In addition to the overhead of working
complexity limits of their tools. A fail- with large models there is a cost in
ure to anticipate the likely course of the computing time, generation of large
project is a classic way to run short on performance data sets as well as the
options. time needed to recover performance
ESP-r is compiled with speci!c limits data. Each simulation tool and data
of model complexity and it is worth extraction technique tends to have a
checking what the current limits are point where the burden becomes
during the planning stages. It may be noticeable. Users dependant on Excel
necessary to re-compile ESP-r if you for data presentations typically test the
want different limits (there are alterna- limits of column and rows in tables.
tive header !les available for different XML documents tend to become slow
model resolutions that have been to parse and graphs can become
tested). The Install Appendix provides unreadable.
information about this. Some simula- The ESP-r is disk intensive. Data
tion tools are written to allow models extraction gets progressively slower as
to grow in complexity without having result !les approach one Gigabyte and
to re-compile, and there are still limits can be unstable after that point. A large
that knowledgeable users avoid. project with a dozen design variants
Models which have been extended and !ve minute time steps can take a
towards the limits of the simulation morning if not a weekend to process.

213
Thus, the design of the model and the the tasks and the checks that were done
design of the assessments and data to limit errors resulted in a create
recovery tasks are topics to be consid- model variant facility within ESP-r.
ered in the planning stages of the As seen in Figure X, the user who
project. wants to create a model variant selects
Some projects may require a compute topics from a list and the code deter-
server or several workstations to pro- mines the related dependencies and
vide timely information to the design manages the model !les so that subse-
team. The option of larger disks and quent changes do not corrupt the initial
more memory can help reduce the time model.
for data recovery tasks. To see which ESP-r includes functions to search and
approach is most appropriate carry out replace instances of a speci!c construc-
tests on an existing model of similar tion within the model or to alter
complexity. attributes of surfaces associated with a
Entropy is a word that begins to named list (also called an anchor list).
describe parametric studies. So much is There are also functions to rotate or
invested in setting up a base case transform the model which requires
model that can be adjusted to re"ect that a number of dependencies be man-
the various design variants. If after test- aged. Other global changes to models
ing and running the scripts the whole may require editing of model !les by a
edi!ce can be destroyed by demands to sequence of manual tasks or the use of
alter the base case and re-run the scripts.
assessments. Experts tend to test their scripts on a
ESP-r has the "exibility to be used for duplicate of the model or a portion of
parametric work but the distributed !le the model prior to use. In all cases the
structure can make it dif!cult to make working procedure should insure that
global changes to dozens of models the altered model is scanned by the tool
and the potentially hundreds of !les to see if errors are detected. It is also a
that support such models. good idea to generate a new model
contents report and compare that with
Automation the initial model.
Using a simulation tool interface to Some parametric changes require more
apply multiple changes to a model can than a substitution of key words and
be frustrating. Some users hack their names in model !les. For example,
model !les and some use scripts to per- removing a surface requires that many
form parametric changes to models. relationships within the model be re-
While such actions can save time they established. It also results in calcula-
are also a potential source of subtle tions for shading patterns and view fac-
errors if dependencies are not resolved. tors becoming obsolete.
Some practitioners make fewer errors Simulation tools are designed track
than others when creating model vari- these dependencies and attempt to
ants. A critical review of the order of resolve them. A user generated script
214
might have dif!culty duplicating all of sensitive to the distribution of solar
the tasks. Consider whether the script radiation within rooms then a review
might be re-written to invoke the tool would usefully look at the pattern of
interface to carry out these tasks. surface temperatures during the day
In many cases the logic within the tool vis-a-vis the distribution of radiation.
can be generalised so that the same A design goal to make best use of solar
action that is carried out interactively energy for heating while controlling
can be driven from an alternative inter- summer overheating will likely require
action or command line directive to the careful attention to geometric resolu-
tool. Because scripts can be fragile and tion and the constructions which are
dif!cult to maintain it is worth check- used. To !nd out if additional geomet-
ing with the software vendor to see if it ric resolution (e.g. subdividing walls
is possible to revise the tool to support and "oors) yields better predictions
such modi!cations. For open source then the same room can be represented
tools such as ESP-r there are many by three zones at different resolutions.
options for evolving the code to What is learned from this exercise can
accomplish standard tasks. be applied to the full scale model.
If control of blinds was also included
15.6 Semantic checks then switching patterns would also be
Ideally we design models to be no checked. But in this case it may be nec-
more and no less complex that is essary to compare against the same
required to answer the current design room without the blind control. Indeed,
question. If we are clever our model to clarify the impact of ideal zone con-
will also be designed to answer the trols or system component control a
next question the client will ask. A variant model without the control or
model which is overly simple may fail with a simple control is often the most
to represent the thermophysical nature ef!cient approach and working proce-
of the design. A model which is overly dures should ensure that such model
complex absorbs resources which may variants can be quickly created or are
not be sustainable. maintained as the work progresses.
Models which have evolved many With a general tool such as ESP-r there
times in response to changes in design usually several possible designs of the
focus may include details which are no model. In the planning stage a series of
longer relevant or at an in appropriate constrained models of different
level of detail. A critical review may be approaches can be created to identify
in order to determine if a fresh start the most promising approach. Some
will be more productive than further simulation teams will have a range of
revisions. test models available or will have pro-
Some semantic checks can be carried cedures for setting up test models. The
out by reviewing the client’s questions working practices chapter recommends
and considering the underlying physics that simulation staff have time allo-
involved. If, for example, the design is cated to exploring alternative

215
approaches and creating models for implementing a model for the new
testing likely issues that will arise in question. And this is also a semantic
the design process. check that should be undertaken for
An example enabling a suite of models broad parametric studies. A critical
to test sensitivity is the sequence of review may suggest that a higher reso-
models in the technical features group lution is required for some portions of
of exemplar models distributed with the design matrix.
ESP-r. These represent the same pair of An example is the quality of light in
cellular of!ces and a corridor at differ- rooms. Generating daylight factors to
ent levels of resolution and with differ- roughly assess whether the back of a
ent simulation facilities enabled. room will be perceived as dark is a
A semantic check may also be trig- very different question than is there
gered by an unexpected performance glare at the head of the conference ta-
prediction. ble. Daylight factors are much less sen-
sitive to the geometry of the facade
• Why is this room several degrees than the requirements of a glare assess-
warmer than expected? ment. One is essentially independent of
• What is the largest heat gain to the time and the other is both position and
space? When is it happening? time dependant.
• What else is happening at the same
time or just before this? Hardware and human gremlins
Professor Joe Clarke introduced the Think of simulation models as
idea of causal chaining of energy bal- prisoners of war which have a
ances in the early 1990’s. It involves duty to escape (or at least ruin
identifying the dependencies implied your weekend).
by a thermal event and working back There are countless ways for models to
down the dependency tree to isolate the be rendered unusable because of cor-
form of energy transfer, which if cor- ruption, inconsistencies or lost !les.
rected, will alter the initially noticed Phrases like - I was going to backup
thermal event. this evening compete with I was only
If the initial model was well designed trying to make the model work better
there is a tendency, when the client and there was a power spike become
poses a new what-if question, to part of the folk history of every simula-
assume that the model can be adapted. tion group. The intensity and duration
Sometimes this is the case. And some- of the disruption which follows is
times the new question implies a differ- determined by the robustness of our
ent domain of assessment or a different working practices.
level of resolution. Making backups is not rocket science.
This is a critical semantic check. The It is amazing how a delayed holiday
resources required for a not-quite-!t- brought on by a disk crash can change
for-purpose model can be similar or work habits to the point where the loss
greater than the cost of designing and of a half hours work is considered a
216
failure within the group. running a test and then recovering the
For every type of computer and operat- initial state of the control. Different
ing system that ESP-r runs on there are groups adopt different styles of !le
utility applications available to create naming conventions and the logs of the
archives of model folders. In actions taken and reverted.
Unix/Linux/OS X systems commands One issue which is much debated is
like tar cf brox- whether model archives should include
burgh_18_apr_contol_a.tar results !les. Some groups include
broxburgh will put all the !les and these, some compress such !les prior
sub-folders of broxburgh into an ar- to archiving and some groups include
chive !le. On Windows it is usually a in the archive scripts and directives
matter of a right click on the model needed to re-generate results !les.
folder to create a zip !le. Each simula- ESP-r models can include pre-de!ned
tion group will have its own naming simulation parameter sets and many
scheme for such !les as well as rules as groups build their working procedures
to where these !les are stored. around such facilities.
The frequency of backup depends
partly on the imagined hassle of repeat- 15.7 Team Checklists
ing a particular set of actions as well as The following table includes some of
the state of the model. The following the issues to notice when working with
are classic trigger points for making simulation models. Roughly, the order
backups: begins at the start of the work. Clearly
• when a zone becomes fully attrib- there are scores of topics which could
uted be added to this table.
• prior to making a model variant The form of the table is to pose a gen-
eral issue in the left column and pro-
• prior to a search and replace opera- vide a list of associated topics or ques-
tion tions in the middle column and related
• prior to a transform or rotation actions in the right column. The Cook-
• prior to a change in control strategy book uses terse phrases and only
includes a sub-set of related actions
• to record the current state of the
within these tables. Consider this as a
model prior to a review
starting point and create verbose ver-
• when someone with electrical test sions of the tables in this chapter and
gear is seen in the building extend the topics as new situations
And backups can be focused on one or arise and as working procedures for
two !les which are related to an issue speculative future work is contem-
being tested. A quick test of reducing plated.
the cooling capacity in one zone of the
building would start with making a
backup of the current control, altering a
few values in the control de!nition,

217
Question Related issues Actions
What is interesting What do we know Check the site plan and maps of
about the site? about the site? the area.
Does the client Find out which way is north.
realise the impor- Review site photographs or visit
tance of the site? the site.
Is the north arrow on Check site solar and wind
the site plan? obstructions.
How might site Check principal wind direction
issues constrain the and whether vernacular architec-
design? ture takes this into account.
How might site lay- Collect local opinions of the site
out be used to and ensure that these are taken
improve the design? into account in model planning.
Discuss with design team
options for adjusting the build-
ing on the site.
If orientations may vary ensure
naming regime avoids confusion
(e.g. avoid north_entrance).
What weather data is What climate data is Review climate data to establish
appropriate for the available near the seasons, typical periods and
site? site? extreme periods.
What patterns of Review climate data for useful
weather will impact building failure test sequences.
the building design? Review climate data for duration
How have other of extremes as well as the fre-
buildings adapted to quency of moderate weather pat-
the local weather? terns.
What are the design Discuss with design team the
teams ideas about results from initial review of
the in"uence of weather.
weather?

218
Question Related issues Actions
Is the design evolv- What drawings or Review drawings or CAD !les
ing or static? sketches can we and gather comments from sim-
access? ulation staff and quality man-
Are there plans, sec- ager.
tions and elevations Check that the drawing scale is
available to review? reasonable and if details might
Are the drawings in"uence the design of the
likely to change? model.
What is the design Begin planning tasks and discuss
team debating now the level of detail required
and what are likely within the team.
future topics? Arrange a meeting with the
design team and present
sketches of planned model and
likely approaches.
What is the compo- Are construction Review standard databases for
sition of the build- details known? matching constructions and/or
ing? What what-if ques- SIMILAR constructions.
Are the goals of the tions relate to con- Create place holder construc-
project consistent structions? tions and document. Review
with these construc- Are these typical for sections and discuss with design
tions? this building type? team.
Do we have data or Discuss support for selecting
sources for missing appropriate constructions.
data?
What criteria for
selection or rejection
of constructions?

219
Question Related issues Actions
How is the building Does the client have Check the assumptions made by
used? an well-formed opin- the client.
Is the building for a ion about the build- Quantify likely scenarios.
known tenant or is it ing use? Consider diversity, holidays and
speculative? Is building occu- peak use occurrences.
How are rooms pancy an issue for Check past models for similar
likely to be occupied future-proo!ng? patterns.
at different times and Is there seasonal
seasons? diversity as well as
daily diversity?
What is the clients What performance Listen to the language used and
big idea? issues are related to review sketches to identify
What kind of model the big idea(s)? beliefs behind the big idea(s).
would con!rm this What analysis Identify issues and determine if
idea? domains and metrics they can be assessed.
What are others in of performance will Review available tools to check
the design team con!rm this? for matches in numerical capa-
interested in? Can beliefs held by bilities and reporting facilities.
the design team be Brief the design team on the
con!rmed? approach to be taken and the
likely information to be derived
from the assessments.

Tool check checklists Scanning of the model done by the


Tool checking will typically include simulation engine can include topics
issues such as is this polygon flat and that are not checked as the model is
does the construction attribute point to created or standard reports are gener-
a correct entity in the database and ated. With most simulation tools is it
does the boiler have a non-negative possible to pass the model to the simu-
capacity. lation engine without actually running
a full simulation.
Tool checks are not likely to notice is a
surface named door which is composed If that scan passes that then running the
of 150mm of concrete or which is hori- standard calibration assessments usu-
zontal. It is unlikely that this combina- ally only takes a few moments. If there
tion is true but it can happen and users is a standard script for extracting pre-
are in the best position to notice this. dictions covering several performance
Fire-access-door would be a better criteria then that step also takes little
name in this situation. time.

220
Indeed it is often a trivial task to auto-
mate many syntax and semantic checks
freeing up time for review of the out-
put. The generation of automation
scripts is a valuable skill within in a
team and a consideration for selecting
simulation tools.
The criteria for determining the fre-
quency of checks should be included in
the working procedures. Typically
these would happen at several points
during the evolution of the model as
well as after simulations have been run.
Usually it takes only a few seconds to
commission a check but much longer
to review the reports and predictions so
a balance must be found.
There are techniques for reducing the
time taken. Incremental checks are well
supported by looking at the differences
against an earlier report and software
for hi-lighting the differences between
two !les or between two folders is
readily available. The use of pattern
matching tools can identify key words
in model contents reports.
Ideally the assessment would be
designed to test a number of attributes
of the design that signal whether its
performance is as expected or excep-
tional.
The table that follows illustrate some
of the issues during the use of tool
checking facilities. Use this as a start-
ing point for generating your own
responses to issues as they arise and for
planning future tasks.

221
Core question Related issue Actions
What changed since Who is working on Consult the work log or the log
version 1.3? the model? of actions generated by the tool.
What tasks are they Generate a model contents
involved in? report and see how this differs
Does this match the from the previous report.
work plan? Check with the quality manager
and simulation staff about cur-
rent status.
The client wants to Which parts of the Update the constructions data-
test a different roof model are affected? base if required.
type Is information avail- Generate a model contents
able on the new report, archive the current model
roof? and performance predictions.
What performance Create model variant if required.
issues might change? Apply changes, generate model
What tasks are contents report, check against
required and which previous report, re-run calibra-
staff should be tion assessments and review.
involved? Re-run standard assessments
Is this a model vari- review.
ant or an edit of the Archive the revised model and
existing model? brief the client.
The interface says Is there a missing Look at the wire-frame for miss-
’problem edges’ in surface? ing surface labels.
conference zone. Are there edges Use the check vertex topology
which do not follow option for a report.
the rules used in the Turn on surface normal arrows
tool? to review orientation of surfaces.
Is there one or more Check for vertices linked to only
reversed surface? one surface.

222
Core question Related issue Actions
The ceiling void is Under what operat- Carry out checks under different
warm and retaining ing regimes and weather patterns.
suf!cient heat to weather conditions is Review the energy balance in
cause a morning this happening? the ceiling void.
cooling issue. What are the pri- Review how boundary condi-
mary gains within tions are represented and the
the ceiling void? state of adjacent zones.
Is it possible to Test different operating regimes
remove heat from to determine sensitivity.
the ceiling void? Force a brief purge of heat from
the ceiling void and check the
whether (and how long) it takes
the condition to re-establish.

15.8 Simulation outputs Gremlins enjoy watching us !nd pat-


In simulation the time when the fat terns we expect, declaring success and
lady sings is most often after the simu- then having someone else discover the
lation has been run and the team is chaos. The risk of unintended conse-
exploring the performance predictions quences can be reduced by multi-crite-
looking for the story to tell the rest of ria assessments and by different people
the design team. with different agendas attempting to
understand the predictions.
Some simulation groups generate the
same report irregardless of the project. This is not a new issue. ESP-r has long
Such poor value for money is largely included the concept of an Integrated
the fault of the client for not making Performance View (IPV) where a num-
their needs clear or not having suf!- ber of performance issues are identi!ed
cient experience to know the variety of at the planning stage and recorded in
deliverables that a simulation team can the model so that recovery of multi-cri-
provide. teria assessments can be automated. A
typical range of metrics would be com-
It is only natural that simulation staff fort, system capacity, energy use over
have their preferences for the graphs time, emissions of carbon dioxide, dis-
and tables that are included in reports. tribution of light in rooms and the
However, the goals of many projects number of hours of system use. As
are multi-criteria and working patterns implemented, the IPV is imperfect and
need to be established to ensure that a further work is required to allow risk to
range of performance issues are tested the better managed and opportunities
and taken into account in reports to the identi!ed.
client.

223
In other simulation tools this could be
implemented by the inclusion of ’per-
formance meters’ for a range of issues.
The critical step is taking the time early
in the design process to identify issues
which would con!rm issues which may
arise as design options are tested.
The table that follows is a sample of
issues and questions and actions for
staff attempting to understand perfor-
mance predictions. Use this as a start-
ing point for your own working prac-
tices.

224
Core issue Related issue Actions
Is the model still cal- Have calibration Review the criteria for calibration
ibrated? assessments been assessments.
run? Identify measurements which
Were there enough match expectations.
measurements to Identify unexpected measurements
understand perfor- and investigate further.
mance?
Is performance Does the data recov- Explore performance interactively,
tracking planning ery script include including a few tangent issues.
stage expectations? these issues? Get a second interactive review.
What issues were Do we have trigger Follow up issues by looking at
mentioned in recent values for failure? dependant or related issues.
meetings? What other data Run test script to con!rm data
What value added views will comple- recovery logic and reporting for-
issues are under con- ment standard mat is ok. Do spot checks.
sideration? reports and graphs? Run the full script. Do spot checks
Who can con!rm the and get someone else to con!rm.
additional reports?
What if we altered What products Establish what is available and the
the vision glass? would be likely can- claimed bene!ts.
didates? Review data sources or generate
Do we have thermo- optical data
physical and optical Identify glazing-related
data? improvements
What criteria would Plan what to measure and where
signal better perfor- alternative glazing could be
mance? applied.
Is performance sen- Implement design variants.
sitive to the facade Archive model, establish base case
orientation? performance, test substitution and
data extraction procedures.
Implement one change at a time
and compare against the base case.
Rank the design variants and iden-
tify performance changes.
Get a second opinion.

225
15.9 The model contents report on user supplied phrases and other
This section is a review of the ESP-r parts are generated from model data
model contents report. What should and !le names.
you be looking for? What are key The key words for this section are the
words to scan for? How much detail is date that the report was printed and the
available? Where is is information name of the model log !le (which may
held? The reports generated by other contain useful additions by the user).
tools will differ in detail but they will The summary of the site location and
cover many of the same issues. Those the climate should be checked to see if
of you who are constrained to screen they match the project. Finding default
captures of the tool interface can also values may be indicative of a lack of
create rules for interpreting entities attention (quality managers will notice
shown in the interface. this).
The following listings are portions of Lines identifying the building and the
the model contents report for the doc- building owner and the simulation team
tors of!ce used in the initial chapters of have not yet been !lled out.
the Cookbook. Prior to each section is a
discussion of the contents of the report. The !rst two lines of the report also are
After the report fragment is a discus- the place to identify what is different
sion of key words and phrases to look about this model. This can be impor-
for. tant if there are several model variants -
users in a hurry can easily select the
The user has the option to selected wrong model for a task!
which topics are included in the report
as well as the level of detail included The year mentioned in the summary
for each topic. The example below will have been initially set to match
used the verbose level for most topics. that of the climate !le. One reason to
alter the year is to shift the day of the
As mentioned elsewhere, many quality week - for example, in 2001 the !rst of
managers will create a hard-copy of January is a Monday.
such reports and use them in conjunc-
tion with the interface when reviewing
models. One common pattern is for
simulation staff to generate the report
and then insert additional notes and
assumptions or highlight blocks of text
that require further discussion and pass
this to the quality manager along with
the location of the model.

The header
The header of the model report focuses
on site and high level project related
information. Some of the text is based
226
This is a synopsis of the model Case-study of the ESP-r cookbook: 2 zones;
reception + examination defined in doctor_office.cfg generated on Fri Aug 1
14:21:25 2008. Notes associated with the model are in doctor_office.log

The model is located at latitude 52.40 with a longitude difference of -1.73


from the local time meridian. The year used in simulations is 1995 and
weekends occur on Saturday and Sunday.
The site exposure is typical city centre and the ground reflectance is 0.20.

Project name: not yet defined


Building address: not yet defined
Building city: not yet defined
Building Postcode: not yet defined

The climate used is: and is held in:


/usr/esru/esp-r/climate/uk_birmingham and uses hour centred solar data.

The databases database contents are the core of the


The next section of the report focuses report. The constructions make refer-
on databases associated with the ence to items in the materials database
model. Some of these are standard and if the construction is transparent to
databases (the path (/usr/esru) is the the associated optical properties. The
clue) and some are model speci!c (a layout of the report is similar to that
path ../dbs). used in the interface.
Databases in the standard esp-r/data- The constructions part of the report is a
bases folder are initially supplied with combination of numbers and labels
the software. They might have been which lacks clarity for some users. It
expanded or details modi!ed for the follows an older style of !le with an
group. Other databases can be added to emphasis on space for data and limited
this folder. It is up to the group to man- documentation. The name of the con-
age and document the databases. Data- struction is restricted to twelve charac-
bases items should be reviewed and the ter. This constraint reduces the clarity
contents should be of a know quality of the report.
and kept up to date by the quality man- Until the data structure is revised it is
ager. up the user to compensate for the limi-
Databases associated with the model tations in the tool. No doubt other sim-
may or may not be derived from the ulation environments have limitations.
standard database. Typically they will The use of additional documentation
include items speci!c to the model. helps but it relies on persistence by the
Such entities may eventually migrate to user community. What is required are
a standard database. It is up to the sim- clear channels of communication
ulation team to supplement the infor- between the user community and and
mation held in the model data !les with software vendors and mechanisms for
additional notes on the new entities. converting user demands into changes
in software.
Each database differs slightly in imple-
mentation. Currently the constructions

227
Databases associated with the model:
pressure distributions : /usr/esru/esp-r/databases/pressc.db1
materials : /usr/esru/esp-r/databases/constr.db2
constructions : ../dbs/doctor_office.constrdb
plant components : /usr/esru/esp-r/databases/plantc.db1
event profiles : /usr/esru/esp-r/databases/profiles.db1
optical properties : /usr/esru/esp-r/databases/optics.db2
. . .
sections skipped
. . .
Multi-layer constructions used:

Details of opaque construction: extern_wall

Layer|Prim|Thick |Conduc-|Density|Specif|IR |Solr|Diffu| R |Descr


|db |(mm) |tivity | |heat |emis|abs |resis|mˆ2K/W
Ext 6 100.0 0.960 2000. 650. 0.90 0.70 25. 0.10 Lt brown brick
2 211 75.0 0.040 250. 840. 0.90 0.30 4. 1.88 Glasswool
3 0 50.0 0.000 0. 0. 0.99 0.99 1. 0.17 air 0.17 0.17 0.17
Int 2 100.0 0.440 1500. 650. 0.90 0.65 15. 0.23 Breeze block
ISO 6946 U values (horiz/up/down heat flow)= 0.393 0.397 0.387 (partition) 0.379
Total area of extern_wall is 92.70
. . .
Details of transparent construction: dbl_glz with DCF7671_06nb optics.

Layer|Prim|Thick |Conduc-|Density|Specif|IR |Solr|Diffu| R |Descr


|db |(mm) |tivity | |heat |emis|abs |resis|mˆ2K/W
Ext 242 6.0 0.760 2710. 837. 0.83 0.05 19200. 0.01 Plate glass
2 0 12.0 0.000 0. 0. 0.99 0.99 1. 0.17 air 0.17 0.17 0.17
Int 242 6.0 0.760 2710. 837. 0.83 0.05 19200. 0.01 Plate glass
ISO 6946 U values (horiz/up/down heat flow)= 2.811 3.069 2.527 (partition) 2.243

Clear float 76/71, 6mm, no blind: with id of: DCF7671_06nb


with 3 layers [including air gaps] and visible trn: 0.76
Direct transmission @ 0, 40, 55, 70, 80 deg
0.611 0.583 0.534 0.384 0.170
Layer| absorption @ 0, 40, 55, 70, 80 deg
1 0.157 0.172 0.185 0.201 0.202
2 0.001 0.002 0.003 0.004 0.005
3 0.117 0.124 0.127 0.112 0.077
Total area of dbl_glz is 9.30

When reading the report remember the little consensus in the community.
layers go from ’other-side’ to room Constructions which are transparent
side. Make a point of comparing the have additional entries in the report for
reported U values with other data optical properties. This part of the
sources to ensure that the construction report includes jargon and a not partic-
is properly de!ned. In the case of ESP- ularly human readable format. The data
r, a U value is a derived value rather used by ESP-r is somewhat more
than an integral part of the calculation detailed that that provided by some
process. It is also up to the user to cor- manufacturers. And it does not include
rectly account for the changes in heat some data generated by optical analysis
transfer between the centre of glazing tools such as Window 5.2 and WIS.
and sections near the frame. There are ESP-r is not unique in simplifying
several approaches such as using aver- some aspects of diffusing glass and
aged values and using separate surfaces advanced light re-directing glazing
for the centre and edge of glass but products.
228
Zone controls stage and then gradually improve its
The next section of the model report is implementation.
extracted from the controls de!ned for Documentation is important for ideal
zones and/or "ow or system networks. controls because the sensor actuator
The documentation phrases are pro- control law pattern used by ESP-r can
vided by the user. Next there is a short approximate any number of physical
synopsis of what is being sensed and devices. It may be that a later version
what is actuated. This is followed by an of the model shifts from ideal represen-
automatically generated synopsis for tations to component based representa-
each period in the control schedule. tions of environmental controls and ini-
The control section of the report is a tial statements can assist this transition.
compromise. The space available for
translating the parameters of each
period’s control law is limited. Some
controls include more than a dozen
parameters and some abbreviations are
necessary. Some controls include jar-
gon used by control engineers. There
are a few controls which have almost
no translation of the control parame-
ters. Some controls which have param-
eters which include auxiliary sensor
de!nitions can be confusing because
the standard report of sensor and actua-
tor locations does not know that it has
been superseded.
Most users take some time to get used
to how ESP-r represents controls. Fur-
ther practices is required to learn how
to spot errors and omissions in the con-
trol report. Often a close inspection is
only done if the model is not working
as expected.
This model is probably at an early
stage. The intent of the controls is not
clear. There is no mention of why
2KW capacity was speci!ed for heat-
ing and cooling. In many groups this
would be a substantial breach of proto-
col. An alternative approach would be
to provide extensive documentation
about what was de!ned in the planning
229
The model includes ideal controls as follows:
Control description:
A basic control is used during occupied periods on weekdays with a set-back
in the evenings. Saturday and Sunday is allowed to free-float.

Zones control includes 1 functions.


An idea control with a dead-band of 4 degrees is used.

The sensor for function 1 senses the temperature of the current zone.
The actuator for function 1 is air point of the current zone
The function day types are Weekdays, Saturdays & Sundays
Weekday control is valid Sun-01-Jan to Sun-31-Dec, 1995 with 3 periods.
Per|Start|Sensing |Actuating | Control law | Data
1 0.00 db temp > flux basic control 2000.0 0.0 2000.0 0.0 10.0 30.0 0.0
basic control: max heating capacity 2000.0W min heating capacity 0.0W max cooling
capacity 2000.0W min cooling capacity 0.0W. Heating setpoint 10.00C cooling setpoint
30.00C.
2 7.00 db temp > flux basic control 2000.0 0.0 2000.0 0.0 20.0 24.0 0.0
basic control: max heating capacity 2000.0W min heating capacity 0.0W max cooling
capacity 2000.0W min cooling capacity 0.0W. Heating setpoint 20.00C cooling setpoint
24.00C.
3 19.00 db temp > flux basic control 2000.0 0.0 2000.0 0.0 10.0 30.0 0.0
basic control: max heating capacity 2000.0W min heating capacity 0.0W max cooling
capacity 2000.0W min cooling capacity 0.0W. Heating setpoint 10.00C cooling setpoint
30.00C.
Saturday control is valid Sun-01-Jan to Sun-31-Dec, 1995 with 1 periods.
Per|Start|Sensing |Actuating | Control law | Data
1 0.00 db temp > flux free floating
Sunday control is valid Sun-01-Jan to Sun-31-Dec, 1995 with 1 periods.
Per|Start|Sensing |Actuating | Control law | Data
1 0.00 db temp > flux free floating

Zone to control loop linkages:


zone ( 1) reception << control 1
zone ( 2) examination << control 1

Zone composition Note that the derived values may be a


The next section of the model report bit confusing if the zone shape is com-
provides a a summary and then a plex - for example if portions of the
detailed view of zone composition. The facade are horizontal and facing up
summary provides a quick overview of then they will be included in the roof
the size and complexity of each zone. area. Transparent surface that are not
If the attribution in a zone is incom- vertical may be reported as skylights.
plete the summary will re"ect this. The list of surface attributes is proba-
The report for each zone re"ects the bly best viewed in conjunction with a
verbosity selected before the report wire-frame image of the zone. This is
was generated. Much of the report is one of the places where a well
based on information derived from designed naming regime will allow
scanning the form and composition of inconsistencies to be identi!ed quickly.
the zone. If the zone is fully attributed The example included below is for ver-
then U-values and UA values are sion one of the geometry !le. The ver-
reported for a quick reality check. sion 1.1 includes additional attributes.

230
ID Zone Volume| Surface
Name mˆ3 | No. Opaque Transp ˜Floor
1 reception 120.0 12 165.5 4.5 40.0 reception L shaped room, 2 windows, 2 inter
2 examination 60.0 10 88.3 4.8 28.0 examination: square room with a sloop roof,
all 180. 22 254. 9. 68.

Zone reception ( 1) is composed of 12 surfaces and 26 vertices.


It encloses a volume of 120.mˆ3 of space, with a total surface
area of 170.mˆ2 & approx floor area of 40.0mˆ2
reception L shaped room, 2 windows, 2 internal walls with examin
There is 94.000m2 of exposed surface area, 54.000m2 of which is vertical.
Outside walls are 123.75 % of floor area & avg U of 0.393 & UA of 19.439
Flat roof is 100.00 % of floor area & avg U of 1.799 & UA of 71.970
Glazing is 11.250 % of floor & 8.3333 % facade with avg U of 2.811 & UA of 12.648

A summary of the surfaces in reception( 1) follows:

Sur| Area |Azim|Elev| surface | geometry | construction |environment


| mˆ2 |deg |deg | name |type |loca| name |other side
1 12.0 180. 0. r_int.wall_1 OPAQUE VERT partition ||< r_int.wall_1:examination
2 9.90 270. 0. r_int.wall_2 OPAQUE VERT partition ||< r_int.wall_2:examination
3 9.75 180. 0. r_wall_south OPAQUE VERT extern_wall ||< external
4 21.0 90. 0. r_wall_east OPAQUE VERT extern_wall ||< external
5 9.75 0. 0. rWall1-north OPAQUE VERT extern_wall ||< external
6 12.0 0. 0. rWall2-north OPAQUE VERT extern_wall ||< identical environment
7 9.00 270. 0. r-wall-south OPAQUE VERT extern_wall ||< external
8 40.0 0. 90. r-ceiling OPAQUE CEIL roof_1 ||< external
9 40.0 0. -90. r-floor OPAQUE FLOR grnd_floor ||< ground profile 1
10 2.25 180. 0. r_window_sou DCF767 VERT dbl_glz ||< external
11 2.25 0. 0. r_window_nrt DCF767 VERT dbl_glz ||< external
12 2.10 270. 0. indoor_door OPAQUE VERT int_doors ||< ex_int_door:examination

An hourly solar radiation distribution is used for this zone.


Shading patterns have been calculated for this zone.

After the surfaces have been listed that do not match the entity. For exam-
there may be additional lines which ple a wall named south_wall might
identify optional attributes of the zone. actually be facing West. Is this because
In the example below is a notice that the zone was rotated after the surfaces
shading patterns have been pre-calcu- were named? And there is also the
lated for the zone. common error that a surface polygon
What is missing from this report are has been inverted and what looks cor-
the details of the polygons which make rect may be facing the wrong way.
up the surfaces of the zone. Users inter-
ested in this level of detail will either Zone schedules
have to look at the interface (where co- The next section of the report focuses
ordinates and edge lists are found) or on the schedules of air "ow and casual
look at the model descriptive !les. gains de!ned for the zone. First there is
There are additional data !elds in com- the user supplied documentation and
parison with the interface so care and then the data for each of the schedule
attention to the report can help identify types.
issues in the model. The format of the report is similar to
Quality managers will scan this report that supplied in the interface and thus it
for ’UNKNOWN’ as well as for names is somewhat terse. In the example
231
below there is no control imposed on
the air "ow schedule and so no infor-
mation on the control logic is included.
The current version of ESP-r supports a
minimum period of one hour so there
can be up to 24 periods in a day. Peri-
ods should be in sequence and include
the whole of each day type. The inter-
face will attempt to sort the data pro-
vided by the user to !t this rule.
Working procedures that minimise
errors typically enforce matching docu-
mentation and data. Numbers may be
correct without being clear as to what
they represent.
There is a brief note about the values
for the air "ow schedule but there is
nothing about the casual gains. There
does seem to be some diversity
included in the casual gains for occu-
pants. Lights are a !xed wattage as are
small power loads. Again this is proba-
bly early in the design process. A qual-
ity manager would notice that the radi-
ant and convective split is 50 50 for
occupants and lights and equipment
and ask for clari!cation.

232
Air schedule notes:
One half air change for all days and all hours (initial engineering guess).
Control: no control of air flow

Number of Weekday Sat Sun air change periods = 1 1 1


Period Infiltration Ventilation From Source
id Hours Rate ac/h m3/s Rate ac/h m3/s Zone Temp.
Wkd 1 0 - 24 0.50 0.0167 0.00 0.0000 0 0.00
Sat 1 0 - 24 0.50 0.0167 0.00 0.0000 0 0.00
Sun 1 0 - 24 0.50 0.0167 0.00 0.0000 0 0.00

Notes:
no operations notes (yet)
Number of Weekday Sat Sun casual gains= 13 0 0
Day Gain Type Period Sensible Latent Radiant Convec
No. labl Hours Magn.(W) Magn. (W) Frac Frac
Wkd 1 OccuptW 0 - 7 0.0 0.0 0.50 0.50
Wkd 2 OccuptW 7 - 8 80.0 40.0 0.50 0.50
Wkd 3 OccuptW 8 - 9 240.0 120.0 0.50 0.50
Wkd 4 OccuptW 9 - 12 400.0 200.0 0.50 0.50
Wkd 5 OccuptW 12 - 14 240.0 120.0 0.50 0.50
Wkd 6 OccuptW 14 - 17 400.0 200.0 0.50 0.50
Wkd 7 OccuptW 17 - 24 0.0 0.0 0.50 0.50
Wkd 8 LightsW 0 - 8 0.0 0.0 0.50 0.50
Wkd 9 LightsW 8 - 19 150.0 0.0 0.50 0.50
Wkd 10 LightsW 19 - 24 0.0 0.0 0.50 0.50
Wkd 11 EquiptW 0 - 8 0.0 0.0 0.50 0.50
Wkd 12 EquiptW 8 - 17 100.0 0.0 0.50 0.50
Wkd 13 EquiptW 17 - 24 0.0 0.0 0.50 0.50

Users who may have hacked their !les The quality of models is a result of
may have introduced gaps or overlaps decisions made during the planning
in the periods and this report is one stage, the design of the model, actions
way to identify such occurrences. by members of the simulation team and
the facilities included within the simu-
15.10 Summary lation tool.
Well-formed working procedures will The increasing complexity of models is
ensure that models tell a clear story to partly driven by new questions from
the design team and that performance design teams and by productivity fea-
predictions have been reviewed to tures in simulation tools but is con-
ensure that predictions are within nor- strained by our ability to con!rm that
mal expectations and options for better models are both syntactically and
than expected performance are deliv- semantically correct.
ered to the design team. The discussions and tables included in
It is a challenge to ensure resources this chapter are intended to be a start-
used for generating and testing models ing point for simulation teams to gener-
is within the project budget and that ate robust working procedures and pro-
suf!cient time and attention is avail- vide ideas for skills which may be use-
able for exploring value-added issues. ful to acquire.
A pro-active quality manager is needed
to champion such issues.

233
Chapter 16
INSTALL APPENDIX

14 Install Appendix
ESP-r is available on a number of com- between data. There is also a restriction
puting platforms and this section pro- that names of entities use an ASCII
vides information on how to acquire character set rather than extended char-
ESP-r pre-compiled distributions or to acter set. These dependencies are
checkout one of the current ESP-r dis- related to the underlying Fortran source
tributions from the Subversion reposi- code read and write statements. ESP-r
tory. has been observed to have problems
with some, but not all Asian keyboards
and locales.
Solaris supports an F90/C/C++ compil-
ing environment as well as the GNU
ESP-r was initially a suite of tools run-
compiler collection. The former is par-
ning on Sun workstations and then
ticularly useful for development work
with the advent of Linux running on
as Sun supports IEEE "oating point
lower cost personal computers the code
exceptions (e.g. divide by zero) and
was adapted to also run on Linux.
array bounds checking (e.g. asking for
There are a few lines of code which
the 12th value of an array of size 10).
required adaptation for Solaris and
Linux platforms and there are almost Linux supports the GNU compiler col-
no differences in user interactions and lection. Note that recent Linux distribu-
in administrative tasks. tions tend to have version 4.2 of the
GNU compilers and ESP-r currently
ESP-r implicitly assumes a range of
works better with the older 3.4 version
operating system services and protec-
of the compilers. There is also a gen-
tions. For example, that corporate data-
eral issue with 64 bit computers - there
bases and example models are held in
are slight differences in predictions and
folders where normal users can read
a risk of some graphical tasks causing
but not overwrite such !les. On other
program crashes. ESP-r is currently
computing platforms such protections
more robust when running on 32 bit
are either enforced in a different way
computers.
or absent.
Note that ESP-r assumes the computer
environment is using a USA or UK
locale and that real numbers use a
period as a decimal point and that a With the advent of OSX, Apple com-
comma, tab or space is a separator puters offer many of the same

235
compilers and low level operating sys- Again there few code differences
tem services as Linux and so it has required for development and use of
been possible to port ESP-r to Apple ESP-r on Cygwin. In terms of user
computers. There are a few minor dif- experience, ESP-r thinks it is running
ferences in operating system services on a Linux box and the same user inter-
(!le name case sensitivity is incom- actions apply.
plete and users folders are found in Cygwin supports the usual GNU com-
/Users rather than /home. piler collection and X11 graphics
In terms of use the interface is the libraries and the development tasks are
same as is offered on Linux. Because it essentially the same as on Linux. File
does not follow the full OSX look and permissions are less strict than Linux
feel rules, some users !nd this confus- and thus care should be exercised to
ing. avoid overwriting !les that ESP-r
OSX supports the GNU compiler col- assumes have strict permissions.
lection as well as X11 libraries and
source code conventions. For develop-
ment work it is necessary to install the
so-called fink facilities as well as X11
The native Windows version of ESP-r
support. A full list of requirements can
is an almost complete port of the facili-
be found in the ESRU web pages. The
ties available on other computer plat-
pre-compiled distribution is made on a
forms. This version works on Windows
PPC rather than Intel Apple computer.
2000 and Windows XP computers.
It has been reported to run on Intel
There has been little or no testing on
based Apple computers.
Windows Vista or on 64-bit versions of
Windows.
The underlying graphic libraries cur-
rently restrict some functions (this is
Because of the differences in compilers work-in-progress). The major differ-
and operating system services it took ences are found in the facilities pro-
some time to realise a version of ESP-r vided by the operating system and in
that runs natively on Windows comput- the layout and conventions of the !le
ers. The initial approach to ESP-r run- system.
ning on Windows computers was to use ESP-r currently has a limited ability to
an emulation environment called Cyg- cope with spaces in !le names and it
win. Cygwin provides the compilation also has limits on the length of !le
environment required by ESP-r as well names. These limit where ESP-r can be
as translating many operating system installed as well as how deeply nested
requests and providing a similar com- model folders can be before !le names
mand line interpreter (shell scripting) become truncated. For this reason, pre-
as one would !nd on a Linux machine. compiled versions of ESP-r are
designed to be in C:\Esru\esp-r

236
rather than in C:\Program • *gprn - commands associate with
Files\Esru. ESP-r models work capturing a rectangular section of the
better in C:\Esru\Models rather than screen. The 2nd token import is the
C:\Documents and Set- executable which captures a section
tings\Fred\Current Models\ of the screen. In this case the esprc
Development for Native Windows cur- !le was created with a Linux com-
rently requires the MSYS collection of puter and the executable name would
tools in addition to MinGW, a port of be different for a different computer
the GNU compiler collection. operating system.
• *tprn - commands associated with
Environment variables and files dumping the current text feedback
When ESP-r is initially compiled sev- buffer to !le will write to the !le
eral types of information are embedded identi!ed in the second token.
in the executables (e.g. where ESP-r is • *gxwd - a variant of *gprn but which
installed) and other types of informa- captures the whole screen.
tion (e.g. where to !nd example models • *cad - instructions for a CAD tool to
and what databases to initially load) is invoke. The second token is the
scanned in from text !les. One of these executable and the third token is a
text !les is called esprc and the stan- key word describing the type of !le
dard version is assumed to be in the it creates.
installation sub-folder esp-r. Its
contents are listed in Figure X and the • *image_display - commands related
meaning of the tokens is presented to the display of model-associated
below. images. The second token is a key
word identifying the format of the
The !le is in tag - data, data format. !le and the third token is the name
Typically the !rst token is a label and of the executable to invoke to dis-
the second token is either an executable play that type of image. There can
to be invoked or the name of a !le to be be several *image_display lines in
used. To alter this initial speci!cation the esprc !le.
use a text editor and change the rele-
vant token as required. Look in the • *journal - turns on a time-stamp
preferences menu of the Project
facility which logs user actions and
Manager to access the details of this the key words are ON and OFF.
!le. • *editor - which ASCII text editor to
The initially created version of the invoke if an external application is
esprc !le is held in the ESP-r installa- required.
tion folder. If a user wants a custom • *report_gen - not used
version of this !le to use they should • *exemplars - the name of the !le to
copy it to their home folder with the read which includes a list of models
name .esprc. which can be accessed and where
• *ESPRC - this is the !le type tag. It they are stored. The initial contents
must be the !rst line of the exemplars !le is for use in
237
ESP-r workshops but the contents the !le can be altered by editing the
can be edited to include other mod- !le.
els. • *ESP-r Defaults - this must be the
• *validation_stds - the name of a !le initial line of the !le.
to read with information needed to • *ipth - this is the path to where ESP-
comission standard tests r has been installed based on the spe-
• *db_defaults - the name of a default ci!c commands given during the
!le which holds a list of initial data- installation process
bases. If you want to use an alterna- • *cfg - this is a default !le name for a
tive list of initial databases edit this model con!guration !le (useful for
!le or include a reference to an alter- demonstration purposes)
native list of databases.
• *ctl - this is a default !le name for
• *db_climates - the name of a cli- control loop de!nitions
matelist !le which holds a list of cli-
mate data sets and their location. If • *mfn - this is a default !le name for
you want to use an alternative list an air "ow network
edit the !le or provide the name of • *dfd - this is a default !le name for a
an alternative !le. CFD domain description
• *res - this is a default !le name for a
Default file assumptions zone predictions (results) !le. This
The second !le which is commonly !le should be created during the
scanned when ESP-r modules start is install process so that it is easy to
the default !le. The name of this !le is demonstrate ESP-r.
included in the esprc !le. The !le is a • *mfr - this is a default !le name for
tag - data format and is typically found mass "ow predictions
in the installation folder. An example
• *clm - this is a default !le name for
of this !le is listed in Figure 10.2. Note
climate data. This climate !le should
that the path /Users/jon/esru_prj_dev
be created during the install process.
points to an installation made for test-
ing purposes and this path was gener- • *prs *prm *mlc *opt *evn *pdb -
ated as the test version of ESP-r was these are default !le names of data-
compiled based on the directives given bases (in case the user request a
at the time. default database. Many users will
change the name of the database
As with the previous !les the name of
!les to suite the needs of their work.
the !le is associated with a speci!c
This !le can be accessed via the
topic and/or dialogue within the user
preferences menu of the Project
interface. These dialogues associated
Manger.
with speci!c types of model !les
require a default name and the default
!le names are scanned in via the
default !le rather than being hard-
coded into the interface. The name of
238
*ESPRC
*gprn,rectangular dump,import
*tprn,Text dump,/tmp/tx_dump
*gxwd,screen dump,import -window root
*cad,CAD package,xzip,ZIP
*image_display,TIF,xv
*image_display,XBMP,xv
*image_display,GIF,xv
*image_display,XWD,xv
*journal,OFF
*editor,editor,nedit
*report_gen,Reporting tool,xfs
*exemplars,Exemplars,/Users/jon/esru_prj_dev/esp-r/training/exemplars
*validation_stds,Validation standards,/Users/jon/esru_prj_dev/esp-r/validation/s
tds_list
*db_defaults,Defaults,/Users/jon/esru_prj_dev/esp-r/default
*db_climates,climatelist,/Users/jon/esru_prj_dev/esp-r/climate/climatelist
*end

Figure 16.1 A typical esprc !le.


*ESP-r Defaults
*ipth /Users/jon/esru_prj_dev/esp-r
*cfg /Users/jon/esru_prj_dev/esp-r/training/basic/cfg/bld_basic.cfg
*ctl /Users/jon/esru_prj_dev/esp-r/training/basic/ctl/bld_basic.ctl
*mfn /Users/jon/esru_prj_dev/esp-r/training/basic/networks/bld_basic_af1.afn
*dfd /Users/jon/esru_prj_dev/esp-r/training/cfd/template.dfd
*pnf /Users/jon/esru_prj_dev/esp-r/training/plant/vent_simple/cfg/vent.cfg
*res /Users/jon/esru_prj_dev/esp-r/databases/test.res
*mfr /Users/jon/esru_prj_dev/esp-r/databases/test.mfr
*clm /Users/jon/esru_prj_dev/esp-r/climate/clm67
*prs /Users/jon/esru_prj_dev/esp-r/databases/pressc.db1
*prm /Users/jon/esru_prj_dev/esp-r/databases/material.db3.a
*mlc /Users/jon/esru_prj_dev/esp-r/databases/multicon.db2
*opt /Users/jon/esru_prj_dev/esp-r/databases/optics.db2
*evn /Users/jon/esru_prj_dev/esp-r/databases/profiles.db2
*pdb /Users/jon/esru_prj_dev/esp-r/databases/plantc.db1
*ecdb /Users/jon/esru_prj_dev/esp-r/databases/elcomp.db1
*mcdb /Users/jon/esru_prj_dev/esp-r/databases/mscomp.db1
*icdb /Users/jon/esru_prj_dev/esp-r/databases/icons.db1
*mldb /Users/jon/esru_prj_dev/esp-r/databases/mould.db1
*sbem /Users/jon/esru_prj_dev/esp-r/databases/SBEM.db1
*end

Figure 16.2 A typical default !le.


*CLIMATE_LIST
*group ESRU standard climates
# WARNING: Keep this file up to date with current directory structure !
*item
*name Default UK clm Climate
*aide Climate data as distributed with ESP-r for testing purposes.
*dbfl /usr/esru/esp-r/climate/clm67
*winter_s 2 1 12 3 30 10 31 12
*spring_s 13 3 14 5 4 9 29 10
*summer_s 15 5 3 9
*winter_t 6 2 12 2 20 11 26 11
*spring_t 17 4 23 4 2 10 8 10
*summer_t 3 7 9 7
*avail ONLINE
*help_start
Location is 52.0N and 0.0E. The solar radiation is Direct Normal.
Month Minimum Time Maximum Time Mean
Jan -6.4 @20h00 Sun 8 12.7 @14h00 Sun 29 3.8
Feb -1.9 @ 5h00 Tue 14 12.2 @13h00 Thu 2 5.2

239
Mar -0.8 @24h00 Fri 31 16.1 @15h00 Tue 21 6.8
Apr -1.9 @ 2h00 Sat 1 19.4 @15h00 Mon 17 7.1
May 0.0 @ 3h00 Wed 3 22.7 @14h00 Thu 11 10.4
Jun 5.0 @ 2h00 Fri 9 21.1 @15h00 Tue 6 13.6
Jul 9.4 @ 3h00 Mon 3 27.7 @12h00 Mon 17 18.0
Aug 7.7 @ 4h00 Sat 5 24.4 @12h00 Tue 1 15.6
Sep 5.0 @ 6h00 Thu 21 22.2 @12h00 Tue 26 13.5
Oct 2.2 @ 5h00 Mon 30 19.4 @13h00 Sat 7 10.8
Nov -0.8 @ 5h00 Mon 27 14.4 @14h00 Sat 11 5.2
Dec -4.2 @ 1h00 Sat 9 12.7 @ 9h00 Sat 23 3.8
All -6.4 @20h00 Sun 8 Jan 27.7 @12h00 Mon 17 Jul 9.5
Typical winter week begins Monday 6 Feb,
Typical spring week begins Monday 17 April,
Typical summer week begins Monday 3 July.
Typical autumn week begins Monday 2 October.
Typical winter week begins Monday 20 November,
*help_end
*item
*name ALBUQUERQUE NM USA iwec 723650
*aide ALBUQUERQUE NM USA iwec 723650 was sourced from US DoE web Sep 2005
*dbfl /usr/esru/esp-r/climate/USA_NM_Albuquerque_iwec
. . .

Figure 16.3 A typical section of a climatelist !le.


The list of available climate files • its location on the computer
The last ASCII !le which is used by • the start and end dates of each of !ve
ESP-r modules on a regular basis is the seasons (winter from 1 Jan, spring,
so-called climatelist !le. This !le is summer, autumn, winter ending 31
referenced by the esprc !le (see above Dec). These dates typically were
discussion) and includes a list of the supplied by a person who knows the
climate data sets that were installed on climate of the region and the social
the computer. When the interface of customs of the region.
one of the ESP-r modules presents a • the start and end dates of a typical
list of available climate data it scans week in each season. There is an
this !le. facility in the clm module which
Each time you want to add climate data searches for typical weeks based on
to your computer you should edit this heating and cooling degree days and
!le with a text editor so that the listing solar radiation patterns.
will include the new !le. There is a • a block of text up to 60 lines which
detailed discussion of how to use clm provides a summary of the climate.
to add new climate !les in Chapter 6. This block is auto-generated within
A portion of this !le is shown in Figure clm and you can edit it and extend it
16.3. if required.
The climatelist !le includes the follow-
ing types of information:
• a display name for the climate data
(as seen the the interface list)
• a brief documentation about the cli-
mate data

240
Chapter 17
VERSION APPENDIX

17 Version Appendix
In addition to its multi-platform capa- The GTK+ based interface was
bilities, ESP-r has three possible styles selected as a replacement for the X11
of interaction on most computing plat- interface because it can be deployed
forms: text-mode interactions, a legacy across a range of operating systems,
X11 graphic interface and a newer including Windows. It also has a richer
GTK graphic interface. In most cases application programming interface and
the command menu selections are the a larger number of in-built features that
same. Differences are found in the lay- previously had to be written from
out of some types of dialogue, in the scratch in X11.
!le browser facilities, in sensitivity to
mouse clicks and keyboard input short- 17.1 Text mode
cuts. Text mode operation is available as a
First a brief review of the interaction command line option for users working
styles. Text mode operation is the most on Solaris, Linux, Cygwin and OSX.
geeky on offer. It is primarily used by To use text mode on Native Windows
experts who are commissioning a ESP-r must be compiled without
series of standard assessments. The graphics. As it is dif!cult to have two
interface is driven either by user sup- versions of ESP-r on a Windows com-
plied keystrokes or commands included puter this usually necessitates the use
in a script. This mode is also useful for of a second (or virtual) Windows com-
working on a remote compute-server or puter in order to have access to wire-
when only a slow internet connection is frame views of models and graphs in
available. the results module.
The X11 interface has separate regions In Figure 17.1, the project manager has
for graphic feedback, text feedback, been invoked from a command window
menu selections and user dialogues for (the same command syntax applies in
editing entities and selecting !les. Linux, Solaris, OSX and Cygwin). The
Menus items are selected via mouse list of user options is shown in a double
clicks or by keystroke. This interface is column (options which start with a
available for all operating systems character or number are activated by
except for Native Windows. User inter- typing that character). The prompt is
actions are uniform across all machine seen at the bottom of the !gure.
types and each of the ESP-r modules
follows the same layout although some
take up more room on the screen.
242
Figure 17.1 An example of invoking the project manager in text mode.
c
Production work often requires a spe- $CONFIG.wc_res
ci!c sequence of tasks be carried out. 9 1
15 1
To reinforce this practitioners will 3
often create a script to drive ESP-r. For 1
s
example, during testing a standard set y
of assessments need to be run and then ESRU Standard test: $CONFIG
y
a standard report should be extracted y
for each assessment. -
-
Below is a portion of a script called XXX

SIMULATE.wc is used to run a stan-


dard assessment (with ideal controls Having run the assessment, a second
active). The script invokes an ESP-r script in the source code valida-
module (bps) with a suitable set of tion/benchmark/QA/model/cfg folder
command line parameters and then named ANALYSE_4 is invoked to start
passes a sequence of keystrokes to the up the results analysis module and
module to control it. cause a sequence of reports to be gen-
erated.
#!/bin/csh -fb
set CONFIG=$1 #!/bin/csh -fb
bps -file $CONFIG -mode text <<XXX set RESFILE=$1
res -file $RESFILE -mode text<<XXX

243
d # enquire about j
> m # total small power
$RESFILE.data -
$RESFILE results ! # list data
a # summary statistics -
h # sensible -
a # heating d
h f # energy delivered
b # cooling g # casual gains distrib
b # temperatures h # zone energy balance
a # zone db b
b b
e # zone resultant i # surface energy balance
b b
d # zone control pt b
- * # all surfaces in reception
- -
d # enquire * # all surfaces in office
a # summary statistics -
f # zone flux * # all surrace in roof
a # infiltration -
f l # monthly
b # ventilation a
m b # frequency
a # real power b # of temperatures
m a # zone db
b # reactive power y
j >
b # convective casual gains -
- -
j -
c # radiant casual gains XXX
-
d # solar processes
a # entering from outside
d Seasoned users of ESP-r often use the
c # solar absorbed
i # zone rh
Perl language to compose a sequence
j # casual gains of assessments and data recovery tasks.
a # all Indeed, it is possible to use a script to
-
j modify the shape and or composition
b # convective portion
-
of a model. Anything that can be done
j via an interactive session in text model
c # radiant portion
- can be included in a script.
j
e # total occupant gain
-
j
i # total lighting gain
-
j
m # total small power
-
-
-
c # timestep reports
g # perf metrics
j # casual
e # total occupant
-
j
i # total lighting
-

244
17.2 Legacy X11 graphics

Figure 17.2 Specifying a !le name.

Figure 17.3 Pop-up help for a dialog.

This style of interaction supports the


most complete graphics input function-
ality. It is also dated in appearance and
has limited !le browsing facilities. The
current plan is to depreciate and even-
tually remove X11 graphic dependen-
cies as and when the newer GTK
Figure 17.4 X11 real number dialog. library code (see below) are in place.

Figure 17.5 X11 radio button dialog.

245
one item can be selected). Figure 17.6
shows the X11 control of a wire-frame
view and Figure 17.9 is for the GTK
interface. In this case a menu dialogue
has been used to approximate a pro-
forma.
Selection lists where you are able to
select more than one entity e.g. Figure
17.7 shows a list of surfaces in a zone
that have been selected and the selected
items have a * in the right column.
There is an * All items option
which will select the whole list. If you
want to remove and item from the
selection then select it and the * will be
removed.

Figure 17.6 X11 wire-frame control menu.

Figure 17.2 is an example of a text dia-


logue (asking for a !le name). The
layout is similar to all X11 dialogues -
there is a prompt above and/or to the
left of the editing box. On the right is
an ok box, a ? box and a default box.
Clicking on the ? produces a pop-up
dialogue (see Figure 17.3). If there are Figure 17.7 X11 entity selection(s) list.
more than about 20 lines of text then
up and down arrows will be included to
support scrolling. Figure 17.4 is a dia-
log requesting a real number. Such dia-
logues usually have range checking
included and you might be asked to re-
specify the number. Figure 17.5 is the
X11 equivalent of a radio button (only
246
17.3 GTK+ graphics

Figure 17.8 GTK !le browsing dialog.

Figure 17.9: GTK wire frame control dialogue.

This style of interaction is more in development community will then


keeping with what the user community review how the layout of ESP-r might
expects. The port is incomplete, how- evolve to take advantage of the func-
ever, many users !nd that they can tionality in the GTK graphics API.
work around the limitations. The cur- The following Figures are the GTK
rent plan is to continue coding until the equivalents to the !le speci!cation dia-
full X11 functionality is in place. The logue, pop-up help message, real
247
number dialogue and a radio button depreciated it should be possible to
dialogue. It generally takes fewer lines consider revising the code structure to
of code to implement a dialogue in support multiple languages if resources
GTK than it does in raw X11. could be found.
<< more text here >>

The table below provides a summary of


differences. This is followed by spe-
ci!c examples where you might
encounter differences.
The chapter is work in progress. More
text to be added here.

Figure 17.10 GTK popup help.

Figure 17.11 GTK real number dialogue.

Figure 17.12 GTK radio button dialogue.


ESP-r dialogues normally use English,
however GTK does support locale spe-
ci!c text in buttons that are used in
some dialogues. Once the X11 code is

248
Chapter 18
CAPABILITIES

18 Capabilities
This Chapter is a review of the capabil- support higher resolution assess-
ities of ESP-r for representing the vir- ments as well as interacting with
tual physics of buildings and systems supply and demand matching
as well as what can be measured and tools.
reported. Some of the information is ESP-r is distributed as a suite of
similar to the publication Contrasting tools. A project manager controls
the Capabilities of Building Energy the development of models and
Performance Simulation Programs by requests computational services
Crawley, Hand, Kummert and Griffith from other modules in the suite as
of July 2005. well as 3rd party tools. Support
In that publication the summary of modules include: climate display
ESP-r is: and analysis, an integrated (all
ESP-r is a general purpose, multi- domain) simulation engines, envi-
domain (building thermal, inter- ronmental impacts assessment,
zone air "ow, intra-zone air 2D-3D conduction grid de!ni-
movement, HVAC systems and tions, shading/insolation calcula-
electrical power "ow) simulation tions, view-factor calculations,
environment which has been short- time-step data de!nitions,
under development for more than mycotoxin analysis, model con-
25 years. It follows the pattern of version (e.g. between CAD and
simulation follows description ESP-r) and an interface to the
where additional technical domain visual simulation suite Radiance.
solvers are invoked as the building ESP-r is distributed under a GPL
and systems description evolves. license through a web site which
Users have options to increase the also includes an extensive publi-
geometric, environmental control cations list, example models,
and operational complexity of cross-referenced source code,
models to match the requirements tutorials and resources for devel-
of particular projects. It supports opers. It runs on almost all com-
an explicit energy balance in each puting platforms and under most
zone and at each surface and uses operating systems.
message passing between the Although ESP-r has a strong
solvers to support inter-domain research heritage (e.g. it supports
interactions. It works with third simultaneous building fabric/net-
party tools such as Radiance to work mass "ow and CFD
250
domains), it is being used as a used in system components.
consulting tool by architects, engi- • System components support temper-
neers, and multidiscipline prac- ature, two component (mosit air and
tices and as the engine for other steam) "ow, heat injection/extraction
simulation environments. and electrical characteristics at each
component node.
18.1 General modelling features
• Electrical power solution supports
This section provides an overview of mixtures of DC as well as three
how ESP-r approaches the solution of phase power with real and reactive
the buildings and systems described in power. The electrical network can
a user’s model, the frequency of the link to casual gains in zones and sur-
solution, the geometric elements which faces which include electrical char-
zones can be composed and exchange acteristics as well as system compo-
supported with other CAD and simula- nents.
tions tools.
• The mass "ow solution works with
• ESP-r employs a partitioned solution mixed air and water "ow networks
approach. Simultaneous loads, net- of nodes (at zones, system compo-
work air "ow, CFD domain, electri- nents and at boundary locations) as
cal power and system component well as a range of "ow components.
solution is via custom domain Control logic can be applied to "ow
solvers. Interactions between components to approximate mechan-
domains are handled with message ical or user interventions. The solver
passing between the solvers at each is highly optimised and can solve
time-step. networks of hundreds of nodes with
• The building solution is based on minimal computational overhead. It
matrix partitioning and Gaussian typically runs at the same frequency
elimination. Partitioning is by ther- as the zone solver with the option to
mal zone and zone coupling is han- iterate (useful for models with large
dled by message passing at each openings).
time-step. This approach conserves • Iteration supported in system com-
memory in the case of large models, ponent and network "ow solution
but requires resources for message domains. Zone solver can be
passing. adjusted from fully implicit to fully
• Entities in ESP-r are represented as explicit but defaults a Crank-Nicol-
control-volume heat-balance nodes son formulation. Conduction
(!nite volumes). Such nodes are dis- defaults to 1D and models can
tributed throughout the fabric and air include 2D and 3D conduction (if
volumes of the building and within additional data is supplied).
system components. An explicit • Domain interactions supported e.g.
energy balance is maintained at each mass "ow solution feeds system
zone air volume, at each face of each component and zone solution at each
surface and at each !nite volume of time-step.
251
• Zones can be assessed with a mix- moisture adsorption, contaminate
ture of environmental controls, emission properties.
including free "oat and user under- • Facility to import DXF !les (V12)
sized controls as well as supporting which con!rm to speci!c standards
radiant gains and injection of heat of layer naming and use of 3D enti-
into layers of a construction. ties.
• Simulation frequency is one minute • Facility to export DXF !les (V12),
to one hour for zone and air "ow EnergyPlus (geometry, construc-
domains. System and electrical com- tions, casual gains), VRML worlds,
ponents solved from one second to Radiance visual simulation models.
one hour. Time-step controller with
support for rewind to start of day for • Measured data (one minute to one
exploring optimal start regimes. hour frequency) of temperatures, set-
points, weather data, casual gains
• Zone geometry is based on 3D poly- can be associated with a model.
gons of arbitrary complexity (includ-
ing explicit representation of internal • Ideal environmental control systems
mass). Shading devices are block can be de!ned (in addition to com-
shapes. There are a number of geo- ponent based system descriptions).
metric rules: a) zones must be fully
bounded, b) surfaces must be "at, c) 18.2 Zone Loads
edge ordering de!nes outward face This section provides an overview of
of surface, d) unbounded edges ESP-r’s support for solving the thermo-
detected, e) internal mass requires physical state of rooms: the heat bal-
back-to-back surfaces, f) zones can ance underlying the calculations, how
be embedded within other zones. All conduction and convection within
zone surfaces take part in the zone rooms is solved, and how thermal com-
energy balance. fort is assessed.
• Glazing is a surface with optical • An explicit energy balance is main-
property attributes which supports tained at each zone air volume and at
solar transmission and absorption at each face of each surface. The
each layer in addition to the convec- default treatment is to use three
tive, conductive and radiant !nite volumes for each layer of each
exchanges of opaque surfaces. Opti- construction. Typically, materials
cal properties can be subject to con- over about 200mm thick are subdi-
trol action. Frames can be repre- vided into multiple layers to increase
sented explicitly or via adapting the the ef!ciency of the solution as well
properties of the surface representing as providing additional points for
glazing. recording temperature.
• Surfaces can have attributes for • The minimum size of a zone is
phase change materials, temperature ˜1cmˆ3. Rooms with dimensions
dependant conductivity, electrical greater than 100m probably should
characteristics (e.g. integrated PV), be subdivided. Minimal surface
252
dimensions are ˜1mm and there is no the windward or leeward side. Heat
speci!c maximum size. Surfaces can transfer coef!cients derived via a
include ˜24 edges but complex sur- CFD solution can be applied at the
faces or surfaces with large dimen- next time-step.
sions may not be well represented by • Internal mass can be explicitly repre-
1D conduction. Minimum thickness sented and these surfaces take part in
of a construction layer is ˜0.2mm the full energy balance as well as
although care should be taken when solar insolation patterns and long
thin and thick layers are adjacent. wave radiant exchanges.
• A number of boundary condition • Radiation view factors can be calcu-
types are supported in ESP-r: a) lated for zones of arbitrary complex-
exterior, b) other side has similar ity and shape, including internal
temperature and radiation, c) other mass.
side has !xed temperature and radia-
tion, d) other side is a surface in this • Fanger thermal comfort as well as
or another zone, e) standard or user MRT and resultant temperature
de!ned monthly ground temperature reported. If sensor bodies are de!ned
pro!le or a 3D ground model, f) adi- then radiant asymmetry is also
abatic (no "ux crosses), g) other side reported.
is part of a BASESIMP foundation
description, h) CEN 13791 partition. 18.3 Building envelope and day-
lighting
• Air gaps are typically treated a resis-
tance layers which are sensitive to This sections is an overview of the
surface orientation. Glazing using treatment of solar radiation outside a
alternative gasses or with coatings building as well as its distribution
must be approximated by altering within and between zones. Outside sur-
the air gap resistance. Air gaps can face conduction is also discussed.
be explicitly represented as thermal • The default treatment is to assume
zones and optionally included in an no shading and that the distribution
air "ow network (such explicit treat- of insolation is diffusely distributed
ments do not scale well but do sup- within a room. If there are external
port explicit treatments of radiation sources of shading these are repre-
and convection across air gaps). sented as opaque non-re"ective
• There are ˜20 internal convection block shapes. Shading calculations
regimes and 25 external convection (direct and diffuse) are done for each
correlation’s in addition to user hour on a typical day of each month.
de!ned heat transfer coef!cients. Diffuse shading can be based on iso-
Conditions at inside and outside face tropic or anistropic sky conditions.
are evaluated at each time-step. • Insolation distribution (including
Some outside regimes are sensitive radiation falling on internal mass
to the angle of incidence of the wind surfaces) can also be predicted at
as well as whether the surface is on each hour on a typical day of each

253
month. construction which has optical prop-
• Beam solar radiation is tracked to erties approximating the transmis-
!rst absorption and then diffusely sion through the slats and openings.
distributed. Solar radiation passing If the optical properties of this layer
into adjacent zones is treated as a are switched then the absorption
diffuse source. Solar radiation pass- characteristics of the blind layer
ing out through a facade is assessed. change (as does the thermal state of
the construction).
• Optical data on transmission and
absorption at !ve angles is typically • Conduction is typically represented
used and can be imported from Win- in 1D but can be switched to 2D and
dow 5.1 or 5.2. Data from WIS 3D (the input data requirements
requires additional editing. Bidirec- increase considerably).
tional optical properties and control
is supported for those with experi- 18.4 Infiltration ventilation and
mental data. multi-zone air flow
• Seasonal adaptation of shading This section provides an overview of
devices requires separate models, how air movement, either from the out-
each pointing to obstruction descrip- side or between rooms or in conjunc-
tions for that season. tion with environmental systems is
treated.
• Optical properties can be switched
based on a range of criteria (the • The simple approach to air
number of layers is required to be movement in ESP-r is to create
constant). There is a facility to sub- schedules of in!ltration (air
stitute an alternative construction as movement from the outside either
well as alternative optical properties. natural or forced) and ventilation (air
The requirement for a constant num- movement between zones). Control
ber of layers poses a challenge for can be applied to these scheduled
the representation of movable blinds "ows based on a range of criteria
and shutters. e.g. increase in!ltration to 2ach if
room goes over 24 degrees C.
• Day-lighting control can be based on
split-"ux method, user de!ned day- • The intermediate approach to air
light factors or time-step use of the movement is to create a network of
Radiance visual simulation suite to "ow nodes and components and
compute lux on a sensor. Multiple solve the leakage distribution at each
circuits can be treated in each ther- time-step based on the current
mal zone. boundary driving forces as well as
stack and pressure distributions
• Some users choose to explicitly rep- inside. Most of the underlying com-
resent opaque blinds as sets of sur- ponent representation are derived
faces. In the case of blinds between from the literature. In common with
glass this is often approached by most other mass "ow solution
treating the blind as a layer with the approaches there are some gaps in
254
the provision of component types. • Zone air volumes are assumed to be
• Control can be applied to mass "ow well mixed at one temperature. Strat-
components to approximate occu- i!cation requires either the use of a
pant interactions or mechanical "ow CFD domain or subdivision of phys-
controls. Combinations of controls ical spaces into multiple thermal
in sequence and in parallel are used zones with a mass "ow network used
to create complex regimes. to assess air exchange.
• The highest resolution approach is to • A mass "ow network can include
de!ne a computation "uid dynamics elements associated with natural
domain with one zone of the model ventilation and buoyancy driven "ow
(optionally in addition to a "ow net- as well as components within a
work). The CFD domain is in a rect- mechanical system. Thus it is possi-
angular co-ordinate system with ble to create an air based solar col-
optional blockages. Solution is typi- lector from a collection of explicit
cally transient 2D or 3D. There are a zones and a "ow network (as an
range of wall functions available as alternative to a component based
well as equation types. approach).
• The CFD solution supports one way • For models of high resolution there
and two way con"ation. The latter is a post-processor which determines
takes its boundary conditions from if speci!c species of micotoxin will
the zone solution and returns heat grow on surfaces of a model.
transfer coef!cients. There is an • Architectural elements such as
adaptive controller which re-forms Trombe-Michelle walls and double
the CFD domain at each time-step skin facades are usually composed
based on changes in boundary condi- of multiple zones with a mass "ow
tions and the "ow patterns predicted network to support air movement
from an initial course CFD assess- assessments.
ment. • ESP-r includes a database of wind
• The CFD solution can also use "ow pressure coef!cients (at 22.5 degree
boundary conditions from an associ- intervals) which can be associated
ated mass "ow network. This allows with wind pressure boundary nodes
wind pressures and "ows with other in a "ow network. Some users popu-
zones to be assessed at each time- late this database with data from
step. Iteration is used to negotiate wind tunnel tests or CFD runs.
between the mass "ow and CFD
domain solvers. 18.5 Renewable energy systems and
• The CFD solution can include cells electrical systems
which are heat and contaminate This section is an overview of options
sources. The former can be associ- for representing renewable energy sys-
ated with zone casual gain schedules tems either as components within an
so that there is a temporal aspect to ESP-r model or via 3rd party tools.
such gains. Including an electrical power network
255
in a model allows a number of issues building (the zone air volume, at or
related to renewable energy systems to within a surface, at a "ow node or
be addressed. outside of the building for use with
• Some system components represent climate variables). Actuators in ESP-
components of renewable energy r can be located at the air node, at or
systems such as generators, fuel within a surface, at a "ow compo-
cells and batteries. These can be nent etc.
tested independent of or switched Zone control loops include a schedule
into the power grid. Mixtures of of control laws are applied as required
1/2/3 phase AC and DC can be to approximate many environmental
described. control regimes. The zone controls
• The electrical solvers works at the include:
same time-step as the system com- • basic ideal control with maximum
ponents and yields real and reactive and minimum heating and cooling
power "ows, power losses, current capacity, heating setpoint, cooling
magnitudes and phase, voltage mag- setpoint and moisture injection.
nitudes and phase, phase loadings. • free "oating control
• ESP-r data can be exported for use • !xed injection/extraction with heat-
with supply and demand matching ing injection, cooling extraction,
tools such as MERIT (also available heating set-point and cooling set-
from ESRU). point.
18.6 Ideal environmental controls • basic proportional control with max-
imum and minimum heating injec-
This section is an overview of ESP-r’s tion, maximum and minimum cool-
approach to ideal (from a control engi- ing extraction, heating set-point,
neers perspective) zone controls. cooling set-point. There is a throt-
• For early stage design issues ESP-r tling range and optional integral
users tend to use ideal zone controls action time and/or derivative action
to represent environmental controls time.
as loops of sensors and actuators • A multi-stage controller with hys-
with a range of control laws. teresis. There are three stages of
• Ideal zone controls can be combined heating and three stages of cooling.
with control of mass "ow compo- There are heating off and cooling off
nents to increase the resolution of set-points as well as dead bands for
models. Mass "ow components can heating and cooling and heating and
be used to represent some aspects of cooling set-points.
duct work in mechanical systems • Variable supply controller with or
(ESP-r has not been designed to be without available cooling. It includes
used as a duct design tool). a maximum supply temperature,
• Sensors in ESP-r can be located at a minimum supply temperature, air
number of positions within the "ow rate room heating and cooling
256
set-points. 18.7 Component based systems
• Separate ON/OFF controller which This section is an overview of ESP-r’s
includes heating and cooling capac- component-based approach to describ-
ity, heating on below, heating off ing environmental systems. There are a
above, cooling on above and cooling number of component types (some are
off below set-points. listed below) which can be linked
• Ideal match temperature controller together to form a range of environ-
which is given a maximum heating mental control systems. Some devices
and cooling capacity and a list of are represented by several components
sensors and their weightings as well - for example there is a single node
as scaling factors. A typical use is to radiator as well as an eight node radia-
control a boundary zone to a mea- tor - so the user has a choice of compo-
sured temperature or to match the nent resolution.
temperature in another zone. There As with zone controls, system compo-
is also an ON/OFF controller which nents can be included in system control
can be used to match measurements loops. There are a number of control
or other zone temperatures. laws available depending on whether
• Time proportioning control which "ux or "ow is to be controlled.
includes heating and cooing capac- • Air conditioning steam/spray humid-
ity, heat on and off set-points, cool- i!er, water/steam "ow multiplier,
ing on and off set-points, minimum water/steam "ow converger and
on times and off times. Useful for diverger
equipment that has a slow cycle • Air conditioning cooling coils with
time. "ux control, a counter"ow cooling
• Optimal start logic with heating coil with water mass "ow rate con-
capacity, desired setpoint, desired trol, a counter"ow cooling coil fed
time of arrival, minimum time differ- by WCH system, a two node cooling
ence with optional start time. There coil with speci!c !n and tube
is also an optimal stop controller. details.
• Slave capacity controller points to a • Air conditioning heating coils with
common sensor and forces the zone "ux control, a counter"ow heating
actuator to act as the master actuator coil with water mass "ow rate con-
but with a user de!ned heating and trol, a counter"ow heating coil fed
cooling capacity. by WCH system
• VAV approximation controller which • Plate heat exchanger, air/air
includes a reheat capacity, supply exchanger, heat exchanger segment,
temperature, room set-point, maxi- duct, duct damper
mum and minimum "ow rate • Cooling tower
• Centrifugal fan

257
• Wet central heating boilers: non-con- 18.9 Climate data
densing boiler, with on/off control, This section gives a summary of how
with aquastat control, calori!er, ESP-r uses climate data and how users
modulating boiler, TRNSYS type 6 access and manipulate this data.
WCH boiler storage water heater
ESP-r holds the following climate data
• Wet central heating radiators: basic in both ASCII and binary !le format.
(one node), exponent model radiator, Solar data can be in two forms. The
WCH thermostatic radiator valve, normal !le formats support hourly
mechanical room thermostat. data.
• WCH pipes: pipe, converging 2-leg • Diffuse solar on the horizontal
junction, converging multi-leg junc- (W/m**2)
tion, heat transfer tube, heat transfer
tube with transport delay, insulated • External dry bulb temperature
pipe with transport delay, "ow con- (Deg.C)
trol valve • Direct normal solar intensity or
• WCH basic chiller or heat pump, global horizontal (W/m**2)
water cooler, compressed gas cylin- • Prevailing wind speed (m/s)
der • Wind direction (degrees clockwise
• WCH generic liquid/liquid heat deg from north)
exchanger and gas/liquid heat • Relative humidity (Percent)
exchanger and water/air heat rejector
• Site description, latitude and longi-
• Oil !lled electric panel radiator tude difference from the local time
• CHP engine components: one node meridian.
and three node representations. There is a conversion utility which is
• Hydrogen appliance (generic genera- able to read EnergyPlus EPW weather
tor supplied by hydrogen source) data and extract the required data
!elds. ESP-r also works with sub-
18.8 Environmental emissions hourly weather data via a so-called
The emissions associated with the temporal !le.
energy use of buildings can be tracked There is an facility that scans a climate
via user supplied conversion factors for data set to determine best !t weeks in
heating and cooling and small power each season based on heating and cool-
loads as well as loads which are not at- ing degree days and radiation levels. It
tributable to a particular zone. also reports initial scaling factors that
There is a rarely used facility that can be used to convert from short
allows users to de!ne environmental period assessments to seasonal perfor-
impacts associated with the assembly mance data.
and transport and disposal of building
components.

258
18.10 Results reporting • Graphs of variable vs variable to
This section is an overview of how look for trends and correlation’s
building and systems performance data between data types
is accessed in ESP-r. The standard • Statistics with maximum value and
approach differs from many other sim- time of occurrence, minimal value
ulation suites in that one or more cus- and time of occurrence, mean and
tom binary databases are created standard deviation
depending on the number of domain • Statistics with number of hours over
solvers used in a particular model. and under a speci!ed value
• The zone solver writes out a number • Time step listings in multiple col-
of items at each time step which umns with various separators as
related to temperatures of the zone required by third party applications
air and surfaces as well as "uxes
associated with a zone air energy • Frequency bins and cumulative fre-
balance and surface energy balances. quency bins in tables and graphs.
• The plant component solver writes • Zone and surface energy balances as
out the temperature, 1st phase and well as individual reporting of all
2nd phase "ows at each node of each contributor variables in the energy
component. balances.
• The mass "ow solver records the • Energy demand over time including
pressure and temperature at each hours of use.
node, pressure difference across • Comfort in terms of PMV, PPD,
each network connection as well as radiant asymmetry, resultant temper-
stack pressure and mass "ows along ature, MRT.
each connection. • Monthly gains and losses for a num-
• The electrical power solver writes ber of variables in each zone.
out the real and reactive power, There is an facility which generates
power loss, current magnitude and XML !les based on a description of
phase, voltage magnitude and phase, variables to save during a simulation.
phase loading for each node in the The list of items to capture is typically
electrical network. generated by editing a separate speci!-
ESP-r includes a results analysis mod- cation !le.
ule which is able to read these binary There is a facility which allows users
results !les and, for any of the stored to include a range of performance met-
variables report on the data in various rics for a model called an Integrated
formats and undertake statistical analy- Performance View. This description is
sis. used by the results analysis module to
• Graphs of time vs variable with generate a report based on information
option of multiple vertical axis and in one or more simulation !les.
support for combinations of data.

259
18.11 Validation • BESTEST, RADTEST, Home
Testing of software has been an ongo- Energy Rating System BESTEST
ing activity for the ESP-r development were carried out at various times and
community and takes several forms: by various teams and focused on
assuring the quality of the code in ESP- radiant heating systems (RADTEST)
r, testing that the underlying computa- and air conditioning systems and
tions are correct and detecting differ- furnace models (HERS).
ences with the predictions of other • CEN 13791 standard required a
tools. ESP-r has been involved in the number of extensions to ESP-r to
following projects: accommodate the unusual physics
• IEA Annex 1 (1977-1980). Inter- assumed in the standard.
program comparison of 19 different
tools
• IEA Annex 4 (1979-1982). Inter-
program comparison of a commer-
cial of!ce building with nine tools
over four years.
• IEA Annex 10 (1984-1986). Inter-
program comparison of HVAC sys-
tems.
• IEA Annex 21 (1988-1993). Inter-
program and analytical comparison
commonly known as BESTEST.
• SERC validation project (1988).
Inter-program comparison under-
taken by several Universities and
research groups in the UK with
extensive analytical tests.
• UK Energy Technology Support
Unit Applicability study was carried
out over seven years and focused on
passive solar houses.
• EC PASSYS project (1986-1993)
combined outdoor test facilities (in
14 locations) with model predic-
tions.
• British Research Establishment/
Electricity de France empirical vali-
dation study of a BRE of!ce build-
ing and a BRE house.

260

You might also like