AuxiliaryPrograms PDF
AuxiliaryPrograms PDF
Table of Contents
8
8
10
10
2.1 Background
10
11
12
13
13
14
2.4.3 Help
16
16
16
17
18
18
20
22
23
25
25
26
27
27
34
36
37
37
37
37
37
37
38
38
43
2.9.2 References
50
50
51
51
51
51
51
52
52
52
52
53
54
54
54
54
54
55
55
55
55
55
55
56
56
56
56
56
56
56
2.12.18 Kuwait Weather Data from Kuwait Institute for Scientific Research (KISR)
56
56
57
57
57
2.12.23 New Zealand National Institute of Water & Atmospheric Research Ltd (NIWA)
57
57
57
57
62
62
62
64
64
64
64
2.15 References
67
69
2
69
3.1 Caution
69
3.2 Introduction
69
70
72
72
3.6 Technical Details on Files for Ground Heat Transfer with Slabs
72
73
73
74
75
75
76
77
78
78
79
80
80
81
82
83
3.11 Technical Details on Files for Ground Heat Transfer with Basements
83
83
84
87
87
87
88
88
89
89
90
90
91
91
92
93
94
3.16 References
95
95
95
3
95
99
99
99
99
100
100
6 EPDrawGUI
101
101
101
7 Input Macros
102
7.1 Introduction
102
102
103
104
105
107
108
110
8 HVAC Diagram
110
8.1 Introduction
110
9 CoeffConv/CoeffCheck
114
9.1 CoeffConv
114
9.2 CoeffCheck
114
115
10 ExpandObjects
115
10.1 Introduction
115
115
116
117
11 CSVproc
12 convertESOMTR
13 CalcSoilSurfTemp Program
117
118
119
119
119
120
4
122
14.1 Introduction
122
14.2 Inputs
123
123
123
14.5 Outputs
123
124
14.7 Notes
124
14.8 References
125
15 Parametric Spreadsheets
125
15.1 Water-to-Water Heat Pump Parameter / Coefficient Generator (Cooling and Heating Mode)
15.1.1 Step 1: Catalog Data Input
125125
15.1.2 Parameter Estimation Procedure
126
127
127
127
127
127
128
129
129
129
129
130
130
131
131
132
132
16 ParametricPreprocessor
17 AppGPostProcess - Appendix G PostProcessing program
18 BLASTTranslator
19 DOE2Translator
20 Running Console Applications
20.1 Modifying the batch file
132
133
133
134
135
135
136
136
137
137
137
137
140
140
140
140
140
143
143
143
146
146
21.1.15 Caveats
147
147
21.1.17 Bugs
148
148
148
148
149
150
150
150
151
152
152
152
153
154
154
155
22.2 IDFEditor
159
159
159
159
160
160
161
161
162
163
164
22.2.11 Caveats
164
22.2.12 Bugs
164
164
23.1 EP-Compare
164
6
COPYRIGHT (c) 1996-2015 THE BOARD OF TRUSTEES OF THE UNIVERSITY OF ILLINOIS AND THE REGENTS OF THE UNIVERSITY OF CALIFORNIA THROUGH THE ERNEST ORLANDO
LAWRENCE BERKELEY NATIONAL LABORATORY. ALL RIGHTS RESERVED. NO PART OF THIS MATERIAL MAY BE REPRODUCED OR TRANSMITTED IN ANY FORM OR BY ANY MEANS
WITHOUT THE PRIOR WRITTEN PERMISSION OF THE UNIVERSITY OF ILLINOIS OR THE ERNEST ORLANDO LAWRENCE BERKELEY NATIONAL LABORATORY. ENERGYPLUS IS A
TRADEMARK OF THE US DEPARTMENT OF ENERGY.
2.1 Background
All building simulation programs employ some means of representing local climatic conditions relative to the building models. For example, Radiance (Ward
1996) needs a description of sky conditions and illuminance values to calculate solar distribution through a window and within a space. Three of the widely used
energy simulation programs in the UK and US, ESP-r (ESRU 1999), BLAST (UI 1998), and DOE-2 (Winkelmann et al. 1993) also use weather conditions to
simulate the response of a building. But even after 30 years of significant development advances in simulation capabilities, these programs use the same climate
10
representations as in the past-a simple set of hourly temperature, humidity, wind speed and direction, and atmospheric pressure and solar radiation or cloud
cover data. These data are often 'typical' data derived from hourly observations at a specific location by the national weather service or meteorological office.
Examples of these typical data include TMY2 (NREL 1995) and WYEC2 (ASHRAE 1997) in the United States and Canada and TRY (CEC 1985) in Europe. The
TMY2 and WYEC2 typical weather years contain more solar radiation and illumination data than older formats such as TMY (NCDC 1983), WYEC (ASHRAE
1985), and TRY (NCDC 1981) in the U.S. Crawley (1998) demonstrated that the methods used to select data for the US TMY2 and European TRY data sets
better fits the long-term climate patterns.
Radiation and illumination data are becoming increasingly necessary in simulation programs. Anyone who has ever attempted to measure daylight factors will be
familiar with the fluctuations in lighting levels under partly cloudy conditions. The expansion and contraction of lightweight building components also shares
sensitivity to rapid fluctuations in solar radiation. Single-sided ventilation is dependant on wind pressure fluctuations and pedestrians in many cities are
acquainted with the disarming tendency of the wind to guest and change direction. It is increasingly the case that design questions touch on such issues.
In a research context, the advent of tools such as LabVIEW (National Instruments Corporation 1999) have made it possible for increasing numbers of researchers
to acquire and process test-cell data. The increasing use of building energy management systems (BEMS) has also provided high frequency information from
which simulation could be used as a predictive tool for future control strategies. Other issues of control, particularly of advanced daylighting control require subhourly illumination data to ensure that possible control regimes are tested under realistic conditions. Janak (1997) observed that the differences between 5
minute and hourly illumination data could result in prediction variations approaching 40%.
Thus far, projects that mix empirical and simulation-based work have had to store and access such data via temporal database facilities (ESRU 1999). As the
number of high quality datasets increases so does the need to encapsulate such information in a form that can be broadly distributed. The simulation community
must also consider the uncertainty in high frequency performance predictions that are based on boundary conditions that have been sampled at one or two
magnitudes less temporal resolution.
The simulation community must also consider practitioner demands and issues of quality assurance. Someone who is not a native of Copenhagen may not know
that there are three or four recognizable patterns of winter weather that should be included in detailed assessments. A data set that lacks documentation or is
dependent on separately held lists of assumptions can be effectively useless.
In the absence of data within the weather data format, the simulation programs must calculate these data often with older calculation methods. As the simulation
programs have become more capable, data at hourly resolution is no longer enough-interpolating between hourly observations does not accurately represent
weather conditions that change much more frequently such as illumination.
We have developed a generalized weather data format for use by energy simulation programs has been developed and adopted by both ESP-r (in the UK) and
EnergyPlus (in the US). Anticipating the need for data at time steps less than one hour, the format includes a minute field to facilitate the use of sub hourly data.
The data include basic location identifiers such as location name, data source, latitude, longitude, time zone, elevation, peak design conditions, holidays,
daylight saving period, typical and extreme periods, ground temperatures, period(s) covered by the data and space for descriptive comments. The time step data
include dry bulb and dew point temperature, relative humidity, station pressure, solar radiation (global, extraterrestrial, horizontal infrared, direct, and diffuse),
illuminance, wind direction and speed, sky cover, and current weather.
11
McDonald and Strachan (1998) are introducing uncertainty analysis into ESP-r.
We use the EnergyPlus data dictionary format to describe the E/E weather data set. (See the end of this document). Each line in the format is preceded by a
keyword such as LOCATION, DESIGN CONDITIONS, followed by a list of variables beginning either with A or N and a number. A stands for alphanumeric; N for
numeric. The number following A/N is the sequence of that number in the keyword list. Commas separate data. (Refer to the IDD Conventions document in
"Input Output Reference" for further explanation of the format). The header information consists of eight lines (keywords): LOCATION, DESIGN CONDITIONS,
TYPICAL/EXTREME PERIODS, GROUND TEMPERATURES, HOLIDAYS/DAYLIGHT SAVINGS, COMMENTS 1, COMMENTS 2, and DATA PERIODS. This is
followed by the time step data.
The first eight lines or header within each E/E weather file define basic location information such as longitude, latitude, time zone, elevation, annual design
conditions, monthly average ground temperatures, typical and extreme periods, holidays/daylight saving periods, and data periods included. There is also space
for users to document any special features or information about the file such as sources of data.
Data source
X
X
Commentary
Design conditions
X
X
Typical/extreme periods
Data periods
X
X
Holiday/Daylight Saving
Degree Days
Year
Month
Day
Hour
Minute
Humidity ratio
Density
Wind Speed
Wind Direction
X
X
X
X
X
X
Relative humidity
Enthalpy
X
X
X
X
Visibility
Ceiling height
Clearness (monthly)
X
X
12
X
X
Precipitable water
Snow depth
Albedo
13
14
EnergyPlus E/E
Comma Delimited File (EPW Format) Note: special EnergyPlus CSV format. For other CSV files use the DEF file and describe the
format.
TM2
TMY2
TMY
TMY
IWC
IWEC
WY2
WYEC2
DAT
SAMSON
FMT
CLM
ASC
BLAST ASCII
SWE
SWERA
WEA
Of course, the "all files" (*.*) may be used as well. If the file selected is not one of the above types, you will be cautioned to use the "override default type" button
to select the correct type before proceeding. Most of the data file types are described in other publications and won't be described in detail here.
Note on the input CSV format: It is the EPW CSV format. The CSV format must mirror the output CSV format very closely. The processor expects a Location
header record and the headers for the data fields as a minimum (as well as the data that supports those header fields). If you have a differently formatted file,
possible comma delimited, investigate the "custom" format option.
The LST data type allows you to specify a list of files to be "batch processed". The format of this file is very simple (however, the default extensions from the
preceding table must be used or you must include a "def" file - see below for details).
Each line of the LST file can have a columnar structure as shown in the following table or can have the input file separated from the output file with a TAB
character.
Table 3. LST File Structure
Columns
Contents
1-45
Output File with: EPW - same as output type "EPW" CSV - same as output type "CSV" Both - same as output type
{TAB})
15
2.4.3 Help
No online help is available. This brings up an "about" box for the program.
16
City='Hong Kong'
StateProv=' '
Country='CHN'
InLat=22.75
InLong=115
InTime=8
InElev=0
InWMO=450040
/
&miscdata
Comments1='This file was given to us by....'
SourceData='Original xyz data'
/
The "slash" (/) character terminating each block is very important - omissions results in incorrect reading of data.
Definitions File Details are shown in the following table. You may leave out a field if you wish - the program will use whatever default is applicable (or usable)
from the data format. All data formats accept this additional file. Only Custom format currently uses the &datacontrol element. And only Custom format input type
uses the Data Elements, Format and Conversion factors from the &wthdata element.
Note that strings in the "def" should be enclosed in single quotes if there is more than one word in the string - if only one word, quotes do not need to be used.
Table 4. Definitions File &location description
&location Field
Description
Field Name
Type
Name of City
City
String
State or Province
StateProv
String
Country Code
Country
String (3 characters)
Latitude (N+/S-)
InLat
Numeric
Longitude (W-/E+)
InLong
Numeric
InTime
Numeric
Elevation (meters)
InElev
Numeric
WMO #
InWMO
Numeric or String (6
characters)
17
Comments1 String
Comments2 String
SourceData String
OutputURL String
Field Name
Type
InputFileType
String
NumInHour
Integer
DataElements
Strings
Data Units
DataUnits
Strings
DataConversionFactors Numeric
DataMissingValues
Numeric
InFormat
Format String or
"delimited"
Delimiter Character
DelimiterChar
DecimalSymbolChar
String
Date Separator
DateSeparator
Tmy or ,tm2
Iwec or iwc
Fmt or txt
Clm or esp-r
Blast or asc
Tmy
Epw
Csv
Wea
18
Swera or swe
Custom or
User
Default EPW
Units
Long Name
Used by EnergyPlus
year
Year
month
Month
day
Day
hour
hour
minute
minute
datasource
datasource
drybulb
dry_bulb_temperature
dewpoint
dew_point_temperature
relhum
relative_humidity
atmos_pressure
atmospheric_pressure
Pa
exthorrad
extraterrestrial_horizontal_radiation
Wh/m2
extdirrad
extraterrestrial_direct_normal_radiation
Wh/m2
horirsky
horizontal_infrared_radiation_intensity_from_sky Wh/m2
glohorrad
global_horizontal_radiation
Wh/m2
dirnorrad
direct_normal_radiation
Wh/m2
difhorrad
diffuse_horizontal_radiation
Wh/m2
glohorillum
global_horizontal_illuminance
lux
dirnorillum
direct_normal_illuminance
lux
difhorillum
diffuse_horizontal_illuminance
lux
zenlum
zenith_luminance
lux
winddir
wind_direction
degrees
windspd
wind_speed
m/2
totskycvr
total_sky_cover
tenths
opaqskycvr
opaque_sky_cover
tenths
visibility
visibility
km
ceiling_hgt
ceiling_height
presweathobs
present_weather_observation
presweathcodes
present_weather_codes
precip_wtr
precipitable_water
mm
aerosol_opt_depth aerosol_optical_depth
thousandths
snowdepth
snow_depth
cm
days_last_snow
days_since_last_snow
Albedo
albedo
liq_precip_depth
liquid_precip_depth
mm
liq_precip_rate
liquid_precip_rate
Hour
19
The following table illustrates that the EnergyPlus CSV header names can be used for data elements in DEF files, if desired.
Table 9. Names from the EnergyPlus CSV files
Short Name
Default EPW
Units
Long Name
Used by EnergyPlus
Date
hh:mm
datasource
datasource
Drybulb
dewpoint
Relhum
relative humidity
Pa
exthorzrad
Wh/m2
extdirrad
Wh/m2
Wh/m2
horzirsky
sky
glohorzrad
Wh/m2
dirnorzrad
Wh/m2
difhorzrad
Wh/m2
glohorzillum
lux
dirnorzillum
lux
difhorzillum
lux
Zenlum
zenith luminance
lux
winddir
wind direction
degrees
windspd
wind speed
m/2
totskycvr
tenths
opaqskycvr
tenths
visibility
visibility
km
ceiling hgt
ceiling height
presweathobs
precip wtr
precipitable water
mm
thousandths
snowdepth
snow depth
cm
Albedo
albedo
rain
mm
rain quantity
Hour
aerosol opt
depth
Long Name
Units
Useh by EnergyPlus
wetbulb
wet_bulb_temperature
humratio
humidity_ratio
g/kg
dirhorrad
direct_horizontal_radiation Wh/m2
interval
Interval
unit
hour_yr
hour_of_year
hour
time
Time
hh:mm
20
hh:mm
Date
HH:MM
Date
hh:mm
mm/dd/yyyy N
N
Interpretation
Example
dd/mm/yyyy dd/mm/yy
Day, month,
d/m/y
year
13/12/2009
21
If you use a "delimited" format file, you need to specify a delimiter character. Only a single character may be specified.
2.5.5.13 Field: DecimalSymbolChar
A single character can be used to specify the decimal "point" character. Default is the US Standard ".". With use of DelimiterChar and this field, one can
essentially use the fields to specify European Standard Excel export formats.
2.5.5.14 Field: DateSeparator
If you are entering the aforementiond "date" Data Element and your date separator is a character other than slash ("/"), then you need to enter a single character
so the program can interpret your date entries.
Table 12. Definitions file - &datacontrol description
&datacontrol Field Description
Field Name
Type
Records to Skip
NumRecordsToSkip
Integer
Records to Read
MaxNumRecordsToRead
Integer
MissingDataAction
MissingWindDirAction
MissingWindDirValue
Real
MissingOpaqueSkyCoverValue
MaxWindSpeed
Real
MaxDirectSolar
Real
MaxDiffuseSolar
Real
MaxIlluminanceValue
Real
GenerateSolarRadiationWarnings
GenerateIlluminanceWarnings
cover
22
&wthdata
NumInHour=1
InputFileType='CUSTOM'
InFormat='DELIMITED'
DataElements=Date,HH:MM,Datasource,Dry Bulb Temperature,Dew Point Temperature,Relative Humidity,Atmospheric Pressure,Extraterr
DataUnits='mm.dd.yyyy','hh:mm','x','x','x','x','C','C','%','Pa','Wh/m2','Wh/m2','Wh/m2','Wh/m2','Wh/m2','Wh/m2','lux','lux','l
DataConversionFactors=1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
DelimiterChar=';'
DateSeparator='.'
DecimalSymbolChar=','
/
&datacontrol
NumRecordsToSkip=19
MaxNumRecordsToRead=8784
MissingWindDirAction=RANDOM
/
Figure 4. DEF file for with non-standard field delimiter and decimal symbol
Here's an example of a file used to "enhance" a DOE-2 FMT file:
&location
City='Kelburn'
StateProv='Wellington'
Country='NZL'
InWMO=934360
InLat=-42.3333
InLong=174.8
InElev=8
InTime=1
/
&wthdata
NumInHour=1
InputFileType='FMT'
/
&miscdata
Comments1='Standard Data Files for Computer Thermal Simulation of Solar Low Energy Non-residential Buildings; ven der Werff, A
Comments2='Full Actual year of dataSource data is TRY format converted to DOE-2 format;'
/
Figure 5. DEF file for DOE-2 FMT file
Here's an example of a fixed format used for custom file processing. Note that random sky cover is used, to facilitate calculating Horizontal IR from Sky that is
used in EnergyPlus. Also, random wind direction is used because the data set does not contain wind direction.
&location
23
City='Torino-Caselle'
StateProv=' '
Country='ITA'
InWMO=160590
InLat=45.18333
InLong=7.65
InElev=282
InTime=1
/
&wthdata
NumInHour=1
InputFileType='CUSTOM'
InFormat='(I2, I2, I2, F7.2, F7.2, F5.1, F5.1, F5.1)'
DataElements=Month,Day,Hour,DirNorRad,DifHorRad,DryBulb,Wind\_Speed,Relative\_Humidity
DataUnits=,,,'kJ/M2','kJ/M2','C','m/s','%'
DataConversionFactors=1,1,1,.2777778,.2777778,1,1,1
/
&miscdata
Comments1='Italian Climate Data Set Gianni de Giorgio'
Comments2='Period of record 1951-1970'
SourceData='IGDG Data Set'
/
&datacontrol
MissingOpaqueSkyCoverAction=RANDOM
MissingWindDirAction=RANDOM
/
Figure 6. DEF file for formatted custom file.
An example of a free format custom file. Here, there were several lines of text after the numeric data at the end of the file - thus we used the number of records
to read parameter rather than hand editing each input file.
&location
City='Beijing'
StateProv='Beijing'
Country='CHN'
InWMO='545110'
InLat=39.92
InLong=116.27
InElev=55
InTime=8
/
&miscdata
Comments1='China Data Set - Zhang/Huang'
/
&wthdata
NumInHour=1
InputFileType='CUSTOM'
InFormat='DELIMITED'
DataElements=Ignore,Year,Month,Day,Hour,Ignore,DryBulb,DewPoint,Ignore,Relative\_Humidity,Ignore,DirNorRad,DifHorRad,WindDir,W
DataUnits=x,x,x,x,x,x,'k','k',x,'%',x,'wh/m2','wh/m2','deg','m/s',x,'Pa'
DataConversionFactors=1,1,1,1,1,1,.1,.1,1,1,1,1,1,1,.1,.1,10
DelimiterChar=' '
/
&datacontrol
NumRecordsToSkip=0
MaxNumRecordsToRead=8760
/
Figure 7. DEF File for delimited custom file.
Suppose you have a file that is "almost" TMY2 format. You can easily specify a Def file to treat it as a custom file rather than a TMY2 file (which, by standards, will
have the data filled).
&location
City=<cityname>
StateProv=<state/province>
Country=<country>
InWMO=<wmo>
InLat=<latitude>
InLong=<longitude>
InElev=<elevation>
InTime=<timezone>
24
&wthdata
NumInHour=1
InputFileType='CUSTOM'
InFormat='(1X,I2,I2,I2,I2,I4,I4,I4,A2,I4,A2,I4,A2,I4,A2,I4,A2,I4,A2,I4,A2,I2,A2,I2,A2,I4,A2,I4,A2,I3,A2,I4,A2,I3,A2,I3,A2,I4,A
DataElements=ignore,year,month,day,hour,ExtHorzRad,ExtDirNormRad,GloHorzRad,ignore,DirNormRad,ignore,DifHorzRad,ignore,GloHorz
DataUnits='x','x','x','x','x','x','Wh/m2','Wh/m2','Wh/m2','x','Wh/m2','x','Wh/m2','x','lux','x','lux','x','lux','x','Cd/m2','x
DataConversionFactors=1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0.1,1,0.1,1,1,1,100,1,1,1,0.1,1,1,1,1,1,1,1,1,1,1,1,1,
/
&miscdata
Comments1='Custom DEF format for TMY2 formatted files.'
SourceData='TMY2'
/
&datacontrol
NumRecordsToSkip=1
MaxNumRecordsToRead=8784
MissingWindDirAction=RANDOM
MissingDataAction=DEFAULT
MissingOpaqueSkyCoverAction=RANDOM
/
Figure 8. DEF File for almost TMY2 files.
Finally, an example of using an EPW file as a custom file with a DEF format. Note that the specially formatted CSV files from EnergyPlus can be automatically
read in and this format is provided as an extra bonus.
&location
City=<cityname>
StateProv=<state/province>
Country=<country>
InWMO=<wmo>
InLat=<latitude>
InLong=<longitude>
InElev=<elevation>
InTime=<timezone>
/
&wthdata
NumInHour=1
InputFileType='CUSTOM'
InFormat='DELIMITED'
DataElements=year,month,day,hour,minute,datasource,Dry\_Bulb\_Temperature,Dew\_Point\_Temperature,Relative\_Humidity,Atmospher
DataUnits='x','x','x','x','x','x','C','C','%','Pa','Wh/m2','Wh/m2','Wh/m2','Wh/m2','Wh/m2','Wh/m2','lux','lux','lux','Cd/m2','
DataConversionFactors=1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
DelimiterChar=','
/
&miscdata
Comments1='Standard EPW Custom def format for reading EPW files in EnergyPlus Weather Converter'
SourceData='EPW'
/
&datacontrol
NumRecordsToSkip=8
MaxNumRecordsToRead=8784
MissingWindDirAction=RANDOM
/
Figure 9. DEF File for EPW files.
25
(1)
Using known solar position (calculated internally by the Weather converter from latitude, longitude, date and hour), one has:
Directnormalradiation =
Directhorizontalradiation
sin(Solarheight
(2)
Thus, having two of the solar radiation components makes it relatively simple to derive the third.
However, many data sources may not have any solar radiation components. A study was undertaken to find an appropriate solar model to fill in missing solar
data for weather files. The goal was to determine one or more possible solar models to use in the weather conversion/creation process. One model seemed
better overall with the usual given data from the sources than others. The model, termed Zhang-Huang, has been used in a variety of locations and data
creations, including the upcoming IWEC2 data. The model uses a simplistic approach of recent drybulb temperatures, sky cover, global solar constant and solar
position. This model is only used when all solar values are missing from the incoming data. When global radiation is available, then a different model (Perez split)
is used to split the global into direct normal and diffuse horizontal values.
Results, of course, can vary depending on locations.
For example, in Brisbane AUS, comparing the solar creation with the original IWEC data looks very good:
Figure 10. Solar radiation comparison - IWEC vs Weather Solar Model (Brisbane AUS)
Of course, there are other locations that don't compare quite as well:
26
Sep
1969
Oct
Nov
1974 1960
Dec
ColdestMonth DB996
{°C}
{°C}
1
3.8
4.9
Design Stat
Units {}
Cooling
HottestMonth DBR
{°C}
{°C}
8
8.5
28.3
DB004 WB_DB004
DB010 WB_DB010
DB020 WB_DB020
WB004 DB_WB004
{°C}
{°C}
{°C}
{°C}
{°C}
{°C}
{°C}
{°C
17.2
25.7
16.7
23.6
16.2
18.6
25.7
17.8
23.9
17
22.4
5.9
Design Stat
Units {m/s}
Extremes
WS010
{m/s}
12.8
WS025
{m/s}
11.5
DP990 HR_DP990
DB_DP990
WS004c
{}
{°C}
{m/s} {°C}
{m/s} {
12.9
12.1
11.6
12.2
2.2
150
27
Jun
0.353
2.496
Sep
0.352
2.518
Oct
0.335
2.545
903
118
904
112
901
99
887
90
866
78
846
80
Wetbulb Temperatures°C
Feb
Mar
Apr
May
Jun
21.1 23.3 26.9 28.3 31.5 29.4
13.9 14.4 16.2 17.3 17.7 18.4
17.9 19.8 22.5 23.7 25.6 25.3
12.7 13.4 14.4 15.8 16.7 17.3
16.2 17.6 19.5 21.1 22.3 22.7
12.6 13.0 13.6 15.1 15.8 16.5
15.0 16.2 17.5 19.1 20.6 21.2
12.1 12.5 12.9 14.1 15.1 15.9
Jul
29.2
18.2
25.0
17.5
22.9
16.8
21.5
16.2
Aug
31.1
18.0
27.1
17.1
23.9
16.6
21.8
16.1
Sep
29.5
16.5
25.5
15.6
22.6
15.2
20.5
14.9
Oct
22.7
14.0
20.0
13.5
18.2
13.4
16.8
13.3
Nov
17.5
12.9
16.2
13.0
15.2
12.5
14.2
11.7
Design Stat
Units
Cooling
Design Stat
Jan
Units
{m/s}
Max WS 0.0
0.0
Feb
{m/s}
0.0
Nov
Dec
0.320 0.318
2.611 2.538
Aug
0.365
2.435
Jul
0.371
2.395
HDB 99%
{C}
CDB 1% CDB 2% CDP .4%
{C}
{C}
{C}
22.6 22.0 21.7
Mar
Apr
May
Jun
Jul
{m/s} {m/s} {m/s} {m/s} {m/s}
0.0
0.0
0.0
0.0
0.0
0.0
{C}
Aug
{m/s}
0.0
CDP 1% CDP 2%
{C}
Sep
Oct
{m/s} {m/s}
0.0
0.0
Nov
{m/s}
- Heating/Cooling Degree Days/Hours calculated from this weather file are later in this report.
These are followed by groupings of Monthly temperature data.
- Monthly Statistics for Dry Bulb temperatures°C
Jan
Feb
Mar
Apr
May
Jun
Jul
Maximum
16.7 22.2 23.9 28.3 29.4 32.8 26.7 29.4
28
Aug
30.0
Sep
26.7
Oct
Nov
20.6 16.1
Dec
Dec
{m/s}
Dec
Day:Hour
19:13
14:13
Minimum
Day:Hour
2.2
24:06
5.0
4.4
8.3
8.9
9.4 11.1 11.1 11.1
26:07 23:05 19:05 4:02 22:03 1:04 28:05
Daily Avg
9.6
11.3
12:15
12.7
2:15
13.7
1:12
15.0
30:14
15.3
15.9
12:13
16.6
2:13
16.7
15:14
20:14
1:14
7.8
7:02
3.3
31:05
2.8
30:05
15.1
12.8
1:15
26:05
10.7
32.8°C on Jun 30
2.2°C on Jan 24
Aug
Sep
Oct
Nov
Dec
-1.1 0.6
-1.1 -0.6 0.0
24:05 24:07 12:15 12:13
6.4
6.6
8.1
8.2
9.4
5.0
2:17
10.0
6.1
18:17
10.7
4.4
2:13
11.5
7.8
-1.7 -3.3 -5.6
30:12 15:17 16:21 21:21
12.5
9.4
29
Aug
12.3
12.3
12.2
12.1
12.1
12.1
12.4
12.7
12.9
13.2
13.4
13.3
12.8
12.6
12.4
12.4
12.3
12.3
12.3
Sep
9.7
9.3
9.1
8.9
9.1
9.1
9.5
10.4
10.4
10.4
9.9
9.7
9.2
9.3
8.8
8.9
9.0
8.9
9.0
8.3
19:12
6.1
Nov
9.7
9.4
9.2
8.9
8.7
8.5
8.5
8.9
9.9
10.9
11.5
11.9
12.5
12.9
13.0
13.0
12.4
12.0
11.5
11.1
10.6
10.4
10.3
10.0
15
6
Dec
Oct
8.0
8.0
7.6
8.0
7.6
7.8
7.8
7.9
8.2
8.1
8.3
8.1
8.3
8.4
8.7
8.6
9.3
9.4
9.1
Nov
5.7
5.8
5.9
5.8
5.5
5.7
5.8
6.1
6.3
6.3
6.2
6.2
6.5
6.6
6.4
6.3
6.7
6.7
6.7
Dec
19:01-20:00
20:01-21:00
21:01-22:00
22:01-23:00
23:01-24:00
Max Hour
Min Hour
6.5
6.6
6.8
6.7
6.6
22
6
6.5
6.6
6.8
6.6
6.5
16
6
7.9
8.2
8.0
8.3
8.4
9
3
8.0
7.7
8.1
8.0
8.1
9
16
9.3
9.5
9.5
9.7
9.6
9
16
9.6
9.6
9.7
9.7
9.6
10
5
10.7
10.6
10.2
10.4
10.3
14
4
11.5
11.5
11.4
11.5
10.7
10
24
12.4
12.4
12.5
12.4
12.4
11
4
9.2
9.3
9.5
9.6
9.4
9
15
8.9
8.5
8.6
8.4
8.5
18
3
6.3
6.2
6.0
6.1
5.9
19
5
23
17:15
Daily Avg
77
30
14:13
22
4:16
24
5:10
25
9:12
30
17:10
75
70
72
73
73
Dec
25
2:13
36
19
20
32
25
14:13 28:15 30:13 20:15
71
74
72
73
74
79
May
Jun
Jul
85
84
83
86
87
84
83
86
88
85
83
87
87
85
83
87
88
83
81
88
88
81
80
88
81
80
78
84
74
75
73
77
68
69
68
71
64
64
62
67
59
62
59
60
55
60
56
57
53
58
53
55
54
59
55
55
56
60
56
57
59
60
58
61
62
65
62
63
67
69
67
69
73
74
72
75
79
76
75
79
81
78
77
82
83
80
80
83
84
81
81
84
84
83
82
84
5
4
1
6
13
13
13
13
Aug
84
85
85
85
85
85
82
78
71
65
59
54
52
54
56
58
63
67
73
76
78
79
81
82
5
13
Sep
81
82
82
83
83
83
83
78
74
70
65
60
55
56
58
59
64
69
73
75
77
78
79
80
5
13
Oct
81
81
82
83
83
83
83
79
74
70
66
63
59
61
62
64
67
70
73
74
76
77
78
80
7
13
Nov
84
85
86
85
86
86
86
86
82
79
76
73
71
68
67
69
74
76
76
77
78
79
82
82
7
15
Dec
Aug
1.3
Sep
1.2
Oct
1.1
Nov
0.9
Dec
24:15
6
1
293
7
2
166
4
5
258
5
3
159
5
4
56
6
4
10
9
0
3
27
2:10
7
2
86
28
15:11
27
0
28
0
1
30
4
3
358
Aug
9
5
3
1
5
7
22
49
Sep
8
6
5
6
14
8
16
36
Oct
16
6
9
17
14
11
10
17
Nov
27
13
8
17
12
4
5
15
Dec
0.0
1:04
0.0
1:10
0.0
4:04
0.0
4:19
0.0
8:05
0.0
17:07
0.0
1:07
0.0
1:07
0.0
1:07
0.0
3:04
0.0
2:01
0.0
2:03
Daily Avg
2.5
3.5
5.1
4.8
6.5
5.6
5.7
5.5
4.8
3.9
2.7
3.6
2
1
Rain/Albedo:
- Monthly Statistics for Liquid Precipitation mm
Jan
Feb
Mar
Apr
May
Jun
Total
47
0
3
24
22
0
0
- Monthly Statistics for Albedo
Jan
Feb
Mar
Average
0.160 0.000 0.130
Apr
0.130
May
0.130
Jul
0
Jun
0.140
Aug
2
Jul
0.000
Aug
0.000
Sep
14
Oct
21
Sep
0.180
Nov
Dec
72
Oct
0.180
Nov
0.160
Dec
0.210
Solar Radiation
- Monthly Statistics for Solar Radiation (Direct Normal, Diffuse, Global Horizontal) Wh/m<sup>2</sup>
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
Direct Avg
2537 3829 4485 5123 5691 6743 6867 6329 6017 4178 3080 3314
Direct Max
Day
Diffuse Avg
5405
27
1127
7987
18
1300
8803
20
8786
18
1763
2344
10462
23
10595
2
2335
2247
10692
25
2148
1643
1610
Global Avg
2136 3160 4402 5672 6419 7148 7129 6401 5460 3761
- Maximum Direct Normal Solar of 10692 Wh/m<sup>2</sup> on Jul 25
- Average Hourly Statistics for
Jan
Feb
Mar
0:01- 1:00
0
0
0
1:01- 2:00
0
0
0
2:01- 3:00
0
0
0
3:01- 4:00
0
0
0
4:01- 5:00
0
0
0
5:01- 6:00
0
0
0
6:01- 7:00
0
2
38
7:01- 8:00
50
98
210
8:01- 9:00
220
246
309
9:01-10:00
277
338
424
10:01-11:00
288
449
477
11:01-12:00
303
467
531
12:01-13:00
342
498
537
13:01-14:00
398
494
535
14:01-15:00
326
487
481
15:01-16:00
295
413
433
16:01-17:00
37
273
348
17:01-18:00
2
65
153
18:01-19:00
0
0
8
1252
2530
31
912
2127
Nov
0
0
0
0
0
0
0
63
266
375
413
473
455
461
403
306
101
0
0
Dec
19:01-20:00
20:01-21:00
21:01-22:00
22:01-23:00
23:01-24:00
Max Hour*
Min Hour
0
0
0
0
0
14
1
0
0
0
0
0
13
1
0
0
0
0
0
13
1
0
0
0
0
0
12
1
2
0
0
0
0
14
1
13
0
0
0
0
14
1
14
0
0
0
0
14
1
2
0
0
0
0
15
1
0
0
0
0
0
12
1
0
0
0
0
0
14
1
0
0
0
0
0
11*
1
0
0
0
0
0
12
1
Jul
37
41
45
50
52
55
58
52
45
38
32
26
41
40
41
38
45
52
54
54
42
38
35
33
32
Aug
42
51
55
59
65
64
63
62
59
43
33
25
Sep
31
33
30
30
33
39
41
42
44
40
37
36
Oct
49
45
46
46
49
54
55
52
49
44
46
42
Nov
42
40
43
44
43
38
38
43
50
50
52
49
Dec
Dec
Dec
12:01-13:00
13:01-14:00
14:01-15:00
15:01-16:00
16:01-17:00
17:01-18:00
18:01-19:00
19:01-20:00
20:01-21:00
21:01-22:00
22:01-23:00
23:01-24:00
Max Hour
Min Hour
52
50
49
47
47
49
47
51
53
54
58
55
9
16
59
61
62
64
62
61
59
54
49
44
43
41
10
24
53
55
62
59
56
57
51
45
47
45
46
50
5
22
43
40
39
41
43
40
40
39
41
43
40
40
7
15
46
46
44
47
48
45
43
42
39
39
38
38
7
23
27
24
24
25
27
27
29
31
30
26
30
26
5
14
19
18
17
16
19
24
27
28
27
29
32
36
7
16
30
27
27
26
31
33
36
37
38
40
38
41
7
16
25
22
20
20
21
22
18
18
19
27
32
39
5
19
35
34
31
32
27
29
26
25
27
26
27
26
9
20
39
41
43
46
46
46
46
47
44
46
44
46
7
13
50
48
44
43
44
45
42
41
42
45
44
49
11
6
Aug
38
46
51
57
62
57
52
52
47
34
25
16
15
13
13
14
16
16
14
14
16
22
26
33
5
14
Sep
26
30
27
28
30
37
39
40
43
38
36
34
30
30
27
29
25
27
24
23
25
23
24
23
9
20
Oct
44
43
43
45
47
51
52
49
48
43
45
38
37
36
40
42
44
42
42
42
39
41
41
43
7
14
Nov
36
35
37
37
35
33
32
38
43
44
44
41
43
40
42
39
39
40
36
36
35
38
39
43
10
7
Dec
Sep
Oct
Nov
14.6 12.8 11.0
14.8 13.5 12.1
14.5 13.8 12.8
Dec
- **These ground temperatures should NOT BE USED in the GroundTemperatures object to compute building floor losses.
The temperatures for 0.5 m depth can be used for GroundTemperatures:Surface.
The temperatures for 4.0 m depth can be used for GroundTemperatures:Deep.
Calculations use a standard soil diffusivity of 2.3225760E-03 {m**2/day}
As noted in the above statistics calculation, the "undisturbed" ground temperatures calculated by the weather converter should
Heating/cooling degree days from the weather file are shown. Long term heating/cooling degree days are shown earlier if avail
- Monthly Heating/Cooling Degree Days/Hours
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
HDD 10C
52
3
7
1
0
0
0
0
0
0
1
36
HDD 18C
290
188
223
173
130
100
73
59
54
92
169
273
CDD 10C
CDD 18C
10
0
39
0
32
0
68
0
118
0
142
3
188
14
189
0
200
14
157
1
72
0
10
0
CDH 20C
CDH 23C
CDH 27C
0
0
0
9
0
0
0
0
0
45
5
0
93
13
0
136
41
0
330
167
61
223
50
5
410
169
59
129
13
0
0
0
0
0
0
0
33
In the preceding display for degree-days, users more familiar with degree days to a Fahrenheit temperature base, may wish to m
And then the Köppen, ASHRAE and typical/extreme period calculations:
- Climate type "Cfb" (Köppen classification)**
- Marine west coastal (warm summer, mild winter, rain all year, lat. 35-60°N)
* - **Note that the Köppen classification shown here is derived algorithmically from the source weather data.*
* It may not be indicative of the long term climate for this location.*
- Climate type "3C" (ASHRAE Standards 90.1-2004 and 90.2-2004 Climate Zone)**
- Warm - Marine, Probable Köppen classification=Cs, Dry Summer Subtropical (Mediterranean)
* - **Note that the ASHRAE classification shown here is derived algorithmically from the source weather data.*
* It may not be indicative of the long term climate for this location.*
- Typical/Extreme Period Determination
- Summer is Jul:Sep
Extreme Summer Week (nearest maximum temperature for summer)
Extreme Hot Week Period selected: Sep 23:Sep 29, Maximum Temp= 35.10°C, Deviation=|16.393|°C
Typical Summer Week (nearest average temperature for summer)
Typical Week Period selected: Aug 19:Aug 25, Average Temp= 16.27°C, Deviation=| 0.032|°C
- Winter is Jan:Mar
Extreme Winter Week (nearest minimum temperature for winter)
Extreme Cold Week Period selected: Jan 22:Jan 28, Minimum Temp= -0.40°C, Deviation=| 8.532|°C
Typical Winter Week (nearest average temperature for winter)
Typical Week Period selected: Mar 5:Mar 11, Average Temp= 10.19°C, Deviation=| 0.417|°C
- Autumn is Oct:Dec
Typical Autumn Week (nearest average temperature for autumn)
Typical Week Period selected: Nov 12:Nov 18, Average Temp= 12.19°C, Deviation=| 0.990|°C
- Spring is Apr:Jun
Typical Spring Week (nearest average temperature for spring)
Typical Week Period selected: May 13:May 19, Average Temp= 13.59°C, Deviation=| 0.018|°C
As this data is all tab-delimited, putting in a spreadsheet and displaying is not difficult:
34
Site:Location,
Chicago Ohare Intl Ap_IL_USA Design_Conditions,
!- Location Name
41.98,
!- Latitude {N+ S-}
-87.92,
!- Longitude {W- E+}
-6.00,
!- Time Zone Relative to GMT {GMT+/-}
201.00;
!- Elevation {m}
! WMO=725300 Time Zone=NAC: (GMT-06:00) Central Time (US & Canada)
! Data Source=ASHRAE 2009 Annual Design Conditions
RunPeriodControl:DaylightSavingTime,
2nd Sunday in March,
!- StartDate
2nd Sunday in November;
!- EndDate
! Using Design Conditions from "Climate Design Data 2009 ASHRAE Handbook"
! Chicago Ohare Intl Ap_IL_USA Extreme Annual Wind Speeds, 1%=11.1m/s, 2.5%=9.4m/s, 5%=8.6m/s
! Chicago Ohare Intl Ap_IL_USA Extreme Annual Temperatures, Max Drybulb=-23.7°C Min Drybulb=35.9°C
! Chicago Ohare Intl Ap_IL_USA Annual Heating Design Conditions Wind Speed=4.9m/s Wind Dir=270
! Chicago Ohare Intl Ap Annual Cooling Design Conditions Wind Speed=5.2m/s Wind Dir=230
! Coldest Month=January
! Chicago Ohare Intl Ap IL USA Annual Heating 99.6%, MaxDB=-20°C
! Chicago Ohare Intl Ap IL USA Annual Heating 99%, MaxDB=-16.6°C
! Chicago Ohare Intl Ap IL USA Annual Cooling (DB=>MWB) 1%, MaxDB=31.6°C MWB=23°C
! Chicago Ohare Intl Ap IL USA Annual Humidification 99.6% Design Conditions DP=>MCDB, DP=-25.7°C
! Chicago Ohare Intl Ap IL USA Annual Humidification 99% Design Conditions DP=>MCDB, DP=-22.1°C
! Chicago Ohare Intl Ap IL USA Annual Heating Wind 99.6% Design Conditions WS=>MCDB, WS=12.4m/s
! Chicago Ohare Intl Ap IL USA Annual Heating Wind 99% Design Conditions WS=>MCDB, WS=11.4m/s
! Hottest Month=July
! Chicago Ohare Intl Ap IL USA Annual Cooling (DB=>MWB) .4%, MaxDB=33.3°C MWB=23.7°C
! Chicago Ohare Intl Ap IL USA Annual Heating Design Conditions Wind Speed=4.9m/s Wind Dir=270
! Chicago Ohare Intl Ap IL USA Annual Cooling (DB=>MWB) 2%, MaxDB=30.1°C MWB=22.1°C
! Chicago Ohare Intl Ap IL USA Annual Cooling (WB=>MDB) .4%, MDB=31.2°C WB=25.5°C
! Chicago Ohare Intl Ap IL USA Annual Cooling (WB=>MDB) 1%, MDB=29.6°C WB=24.5°C
! Chicago Ohare Intl Ap IL USA Annual Cooling (WB=>MDB) 2%, MDB=28.1°C WB=23.5°C
! Chicago Ohare Intl Ap IL USA Annual Cooling (DP=>MDB) .4%, MDB=28.9°C DP=23.8°C HR=0.0192
! Chicago Ohare Intl Ap IL USA Annual Cooling (DP=>MDB) 1%, MDB=27.7°C DP=22.9°C HR=0.0180
! Chicago Ohare Intl Ap IL USA Annual Cooling (DP=>MDB) 2%, MDB=26.5°C DP=21.9°C HR=0.0170
! Chicago Ohare Intl Ap IL USA Annual Cooling (Enthalpy=>MDB) .4%, MDB=31.4°C Enthalpy=79.2kJ/kg
! Chicago Ohare Intl Ap IL USA Annual Cooling (Enthalpy=>MDB) 1%, MDB=29.6°C Enthalpy=75.1kJ/kg
35
! Chicago Ohare Intl Ap IL USA Annual Cooling (Enthalpy=>MDB) 2%, MDB=28.2°C Enthalpy=70.9kJ/kg
Design day "definitions" originate in the ASHRAE Handbook of Fundamentals. Prior to 1997, these conditions were described for winter and summer (heating
and cooling). They were based on seasonal percentages.
EnergyPlus uses the design day object values and creates an entire day of weather data - this is described more fully in the Input Output Reference under the
DesignDay object. The weather converter program assigns "SummerDesignDay" and "WinterDesignDay" day types by default - these day types influence
"scheduling" of various elements. How to use these effectively is described during the DesignDay and Schedule objects discussions in the Input Output
Reference.
Beginning in 1997, and continuing (the latest version was published in 2009), the design condition data is based on annual percentages. In addition, only
locations with long-term hourly observations data (on which to form the basis) are included.
2.6.3.1 [From ASHRAE Handbook of Fundamentals, 2009]:
Design data based on dry-bulb temperature represent peak occurrences of the sensible component of ambient outdoor conditions. Design values based on wetbulb temperature are related to the enthalpy of the outdoor air. Conditions based on dew point relate to the peaks of the humidity ratio. The designer, engineer,
or other user must decide which set(s) of conditions and probability of occurrence apply to the design situation under consideration.
The 99.6% and 99% Heating conditions are often used in the sizing of heating equipment.
The 0.4, 1.0, and 2.0% dry-bulb temperatures and mean coincident wet-bulb temperatures (i.e., DB=>MWB) often represent conditions on hot, mostly sunny
days. These are often used in sizing cooling equipment such as chillers or air-conditioning units.
Design conditions based on wet-bulb temperatures (i.e., WB=>MDB) represent extremes of the total sensible plus latent heat of outdoor air. This information is
useful for cooling towers, evaporative coolers, and fresh air ventilation system design.
Design conditions based on dew-point temperatures (i.e., DP=>MDB) are directly related to extremes of humidity ratio, which represent peak moisture loads from
the weather. Extreme dew-point conditions may occur on days with moderate dry-bulb temperatures, resulting in high relative humidity. These values are
especially useful for humidity control applications, such as desiccant cooling and dehumidification, cooling-based dehumidification, and fresh-air ventilation
systems. The values are also used as a check point when analyzing the behavior of cooling systems at part-load conditions, particularly when such systems are
used for humidity control as a secondary function. Humidity ratio values are calculated from the corresponding dew-point temperature and the standard pressure
at the location's elevation.
The enthalpy design conditions (i.e. Enthalpy => MDB) gives the annual enthalpy for the cooling season; this is used for calculating cooling loads caused by
infiltration and/or ventilation into buildings. Enthalpy represents the total heat content of air (the sum of its sensible and latent energies). Cooling loads can be
easily calculated knowing the conditions of both the outdoor ambient and the building's interior air.
Description
Tropical Moist Climates: all months have average temperatures above 18 degrees Celsius
36
E
H
37
Figure 15. Monthly Dry Bulb Temperatures in Kppen Climates (Northern Hemisphere)
38
Interpretation
Header Applicability
<number>
<number> / <number>
Month / Day
<number> / <number> /
<number>
DataPeriod only - special multiple year file - ref: RunPeriod:CustomRange object in IDF / Input Output
Reference document
<number> Month
Month <number>
<number> Weekday in
Numbered weekday of
Month
month
Holiday, DaylightSavingPeriod
Holiday, DaylightSavingPeriod
In the table, Month can be one of (January, February, March, April, May, June, July, August, September, October, November, December). Abbreviations of the
first three characters are also valid.
In the table, Weekday can be one of (Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday). Abbreviations of the first three characters are also
valid.
!ESP(r)/EnergyPlus Weather Format
!April 2002
\memo Dates in the EPW file can be several formats:
\memo <number>/<number> (month/day)
\memo <number> Month
\memo Month <number>
\memo <number> (taken to be Julian day of year)
\memo Months are January, February, March, April, May,
\memo
June, July, August, September, October, November, December
\memo Months can be the first 3 letters of the month
LOCATION,
A1, \field city
\type alpha
A2, \field State Province Region
\type alpha
A3, \field Country
\type alpha
A4, \field Source
\type alpha
N1, \field WMO
\note usually a 6 digit field. Used as alpha in EnergyPlus
\type alpha
N2 , \field Latitude
\units deg
\minimum -90.0
\maximum +90.0
\default 0.0
\note + is North, - is South, degree minutes represented in decimal (i.e. 30 minutes is .5)
\type real
N3 , \field Longitude
\units deg
\minimum -180.0
\maximum +180.0
\default 0.0
\note - is West, + is East, degree minutes represented in decimal (i.e. 30 minutes is .5)
\type real
N4 , \field TimeZone
\units hr - not on standard units list???
\minimum -12.0
\maximum +12.0
\default 0.0
39
40
The weather converter program can use a full year weather data file to calculate "undisturbed" ground temperatures based on temperatures. Since an important
part of soil heat transfer includes soil properties such as conductivity, density and specific heat AND these cannot be calculated from simple weather
observations, this header record is provided primarilyfor user information. However, with the FC construction option, these are automatically selected (.5 depth)
for use if the user does not include values in the Site:GroundTemperature:FcfactorMethod object.
As noted in the statistics report, the "undisturbed" ground temperatures calculated by the weather converter should not be used in building losses but are
appropriate to be used in the GroundTemperatures:Surface and GroundTemperatures:Deep objects. The reasoning (for building losses) is that these values are
too extreme for the soil under a conditioned building. For best results, use the Slab or Basement program described in this document to calculate custom monthly
average ground temperatures (see the Ground Heat Transfer section). This is especially important for residential applications and very small buildings. If one of
these ground temperature preprocessors is not used, for typical commercial buildings in the USA, a reasonable default value is 2C less than the average indoor
space temperature.
HOLIDAYS/DAYLIGHT SAVING,
A1, \field LeapYear Observed
\type choice
\key Yes
\key No
\note Yes if Leap Year will be observed for this file
\note No if Leap Year days (29 Feb) should be ignored in this file
A2, \field Daylight Saving Start Day
A3, \field Daylight Saving End Day
N1, \field Number of Holidays (essentially unlimited)
A4, \field Holiday 1 Name
A5, \field Holiday 1 Day
\note repeat above two fields until Number of Holidays is reached
-- etc to # of Holidays entered
The Holidays / Daylight Saving header record details the start and end dates of Daylight Saving Time and other special days such as might be recorded for the
weather file. These can be used by keying "Yes" for appropriate fields in the Run Period Object.
Note: EnergyPlus processed weather files available on the EnergyPlus web site: have neither special days specified nor daylight saving period.
For example, using a RunPeriod:
RunPeriod,
1,
1,
12,
31,
Wednesday,
Yes,
No,
Yes,
Yes,
Yes;
!!!!!!!!!!-
Begin Month
Begin Day Of Month
End Month
End Day Of Month
Day Of Week For Start Day
Use WeatherFile Holidays/Special Days
Use WeatherFile DaylightSavingPeriod
Apply Weekend Holiday Rule
Use WeatherFile Rain Indicators
Use WeatherFile Snow Indicators
Will use any holidays specified in the Holidays / Daylight Saving header record of the weather file but will not use the Daylight Saving Period that is specified
there (if any). In addition, the user can specify Special Day Periods via the Special Day Period object and/or Daylight Saving Period via the Daylight Saving
Period object to additionally specify these items.
COMMENTS 1, A1 \field Comments_1
COMMENTS 2, A1 \field Comments_2
The Comment header records may provide additional information about the weather data source or other information which may not fit in other header record
formats.
DATA PERIODS,
N1, \field Number of Data Periods
N2, \field Number of Records per hour
A1, \field Data Period 1 Name/Description
A2, \field Data Period 1 Start Day of Week
\type choice
\key Sunday
\key Monday
\key Tuesday
\key Wednesday
\key Thursday
\key Friday
\key Saturday
A3, \field Data Period 1 Start Day
A4, \field Data Period 1 End Day
\note repeat above to number of data periods
-- etc to # of periods entered
A weather file may contain several "data periods" though this is not required (and, in fact, may be detrimental). In addition, a weather file may contain multiple
records per hour BUT these must match the Number of Time Steps In Hour for the simulation. Multiple interval data files can be valued when you want to be sure
41
of the weather values for each time step (rather than relying on "interpolated" weather data). A weather file may also contain several consecutive years of
weather data. EnergyPlus will automatically process the extra years when the Number of Years field is used in the RunPeriod object. Sorry - there is no way to
jump into a year in the middle of the EPW file.
Note that a Run Period object may not cross Data Period boundary lines.
For those interested in creating their own weather data in the CSV or EPW formats or reading the .csv and .epw files that are produced by the Weather
Converter program, the fields are shown in the following "IDD" description. Items shown in bold are used directly in the EnergyPlus program.
! Actual data does not have a descriptor
N1, \field Year
N2, \field Month
N3, \field Day
N4, \field Hour
N5, \field Minute
A1, \field Data Source and Uncertainty Flags
\note Initial day of weather file is checked by EnergyPlus for validity (as shown below)
\note Each field is checked for "missing" as shown below. Reasonable values, calculated
\note values or the last "good" value is substituted.
N6, \field Dry Bulb Temperature
\units C
\minimum> -70
\maximum< 70
\missing 99.9
N7, \field Dew Point Temperature
\units C
\minimum> -70
\maximum< 70
\missing 99.9
N8, \field Relative Humidity
\missing 999.
\minimum 0
\maximum 110
N9, \field Atmospheric Station Pressure
\units Pa
\missing 999999.
\minimum> 31000
\maximum< 120000
N10, \field Extraterrestrial Horizontal Radiation
\units Wh/m2
\missing 9999.
\minimum 0
N11, \field Extraterrestrial Direct Normal Radiation
\units Wh/m2
\missing 9999.
\minimum 0
N12, \field Horizontal Infrared Radiation Intensity
\units Wh/m2
\missing 9999.
\minimum 0
N13, \field Global Horizontal Radiation
\units Wh/m2
\missing 9999.
\minimum 0
N14, \field Direct Normal Radiation
\units Wh/m2
\missing 9999.
\minimum 0
N15, \field Diffuse Horizontal Radiation
\units Wh/m2
\missing 9999.
\minimum 0
N16, \field Global Horizontal Illuminance
\units lux
\missing 999999.
\note will be missing if >= 999900
\minimum 0
N17, \field Direct Normal Illuminance
\units lux
\missing 999999.
\note will be missing if >= 999900
\minimum 0
N18, \field Diffuse Horizontal Illuminance
\units lux
\missing 999999.
\note will be missing if >= 999900
\minimum 0
N19, \field Zenith Luminance
\units Cd/m2
42
\missing 9999.
\note will be missing if >= 9999
\minimum 0
N20, \field Wind Direction
\units degrees
\missing 999.
\minimum 0
\maximum 360
N21, \field Wind Speed
\units m/s
\missing 999.
\minimum 0
\maximum 40
N22, \field Total Sky Cover
\missing 99
\minimum 0
\maximum 10
N23, \field Opaque Sky Cover (used if Horizontal IR Intensity missing)
\missing 99
\minimum 0
\maximum 10
N24, \field Visibility
\units km
\missing 9999
N25, \field Ceiling Height
\units m
\missing 99999
N26, \field Present Weather Observation
N27, \field Present Weather Codes
N28, \field Precipitable Water
\units mm
\missing 999
N29, \field Aerosol Optical Depth
\units thousandths
\missing .999
N30, \field Snow Depth
\units cm
\missing 999
N31, \field Days Since Last Snowfall
\missing 99
N32, \field Albedo
\missing 999
N33, \field Liquid Precipitation Depth
\units mm
\missing 999
N34; \field Liquid Precipitation Quantity
\units hr
\missing 99
43
The data source and uncertainty flags from various formats (usually shown with each field) are consolidated in the E/E+ EPW format. More is shown about Data
Source and Uncertainty in Data Sources/Uncertainty section later in this document.
2.9.1.7 Field: Dry Bulb Temperature
This is the dry bulb temperature in C at the time indicated. Note that this is a full numeric field (i.e. 23.6) and not an integer representation with tenths. Valid
values range from -70C to 70C. Missing value for this field is 99.9.
2.9.1.8 Field: Dew Point Temperature
This is the dew point temperature in C at the time indicated. Note that this is a full numeric field (i.e. 23.6) and not an integer representation with tenths. Valid
values range from -70C to 70C. Missing value for this field is 99.9.
2.9.1.9 Field: Relative Humidity
This is the Relative Humidity in percent at the time indicated. Valid values range from 0% to 110%. Missing value for this field is 999.
2.9.1.10 Field: Atmospheric Station Pressure
This is the station pressure in Pa at the time indicated. Valid values range from 31,000 to 120,000. (These values were chosen from the standard barometric
pressure for all elevations of the World). Missing value for this field is 999999.
2.9.1.11 Field: Extraterrestrial Horizontal Radiation
This is the Extraterrestrial Horizontal Radiation in Wh/m2. It is not currently used in EnergyPlus calculations. It should have a minimum value of 0; missing value
for this field is 9999.
2.9.1.12 Field: Extraterrestrial Direct Normal Radiation
This is the Extraterrestrial Direct Normal Radiation in Wh/m2. (Amount of solar radiation in Wh/m2 received on a surface normal to the rays of the sun at the top
of the atmosphere during the number of minutes preceding the time indicated). It is not currently used in EnergyPlus calculations. It should have a minimum
value of 0; missing value for this field is 9999.
2.9.1.13 Field: Horizontal Infrared Radiation Intensity
This is the Horizontal Infrared Radiation Intensity in Wh/m2. If it is missing, it is calculated from the Opaque Sky Cover field as shown in the following explanation.
It should have a minimum value of 0; missing value for this field is 9999.
4
HorizontalIR = Tdrybulb
(3)
where
HorizontalIR is the horizontal IR intensity {W/m2}
is the sky emissivity
is the Stefan-Boltzmann constant = 5.6697e-8 W/m2-K4
Tdrybulb is the drybulb temperature {K}
The sky emissivity is given by
= (0.787 + 0.764 ln (
Tdewpoint
)) (1 + 0.0224N + 0.0035N 2 + 0.00028N 3 )
273
(4)
where
Tdewpoint is the dewpoint temperature {K}
N is the opaque sky cover {tenths}
Example: Clear sky (N=0), Tdrybulb=273+20=293K, Tdewpoint=273+10=283K:
=0.787+0.764*0.036=0.815
Horizontal IR=0.815*5.6697e8*(2934)=340.6W/m2
References (Walton, 1983) (Clark, Allen, 1978) for these calculations are contained in the references section at the end of this list of fields.
2.9.1.14 Field: Global Horizontal Radiation
This is the Global Horizontal Radiation in Wh/m2. (Total amount of direct and diffuse solar radiation in Wh/m2 received on a horizontal surface during the number
44
of minutes preceding the time indicated.) It is not currently used in EnergyPlus calculations. It should have a minimum value of 0; missing value for this field is
9999.
2.9.1.15 Field: Direct Normal Radiation
This is the Direct Normal Radiation in Wh/m2. (Amount of solar radiation in Wh/m2 received directly from the solar disk on a surface perpendicular to the sun's
rays, during the number of minutes preceding the time indicated.) If the field is missing (9999) or invalid (<0), it is set to 0. Counts of such missing values are
totaled and presented at the end of the runperiod.
2.9.1.16 Field: Diffuse Horizontal Radiation
This is the Diffuse Horizontal Radiation in Wh/m2. (Amount of solar radiation in Wh/m2 received from the sky (excluding the solar disk) on a horizontal surface
during the number of minutes preceding the time indicated.) If the field is missing (9999) or invalid (<0), it is set to 0. Counts of such missing values are
totaled and presented at the end of the runperiod.
2.9.1.17 Field: Global Horizontal Illuminance
This is the Global Horizontal Illuminance in lux. (Average total amount of direct and diffuse illuminance in hundreds of lux received on a horizontal surface during
the number of minutes preceding the time indicated.) It is not currently used in EnergyPlus calculations. It should have a minimum value of 0; missing value for
this field is 999999 and will be considered missing if greater than or equal to 999900.
2.9.1.18 Field: Direct Normal Illuminance
This is the Direct Normal Illuminance in lux. (Average amount of illuminance in hundreds of lux received directly from the solar disk on a surface perpendicular to
the sun's rays, during the number of minutes preceding the time indicated.) It is not currently used in EnergyPlus calculations. It should have a minimum value of
0; missing value for this field is 999999 and will be considered missing if greater than or equal to 999900.
2.9.1.19 Field: Diffuse Horizontal Illuminance
This is the Diffuse Horizontal Illuminance in lux. (Average amount of illuminance in hundreds of lux received from the sky (excluding the solar disk) on a horizontal
surface during the number of minutes preceding the time indicated.) It is not currently used in EnergyPlus calculations. It should have a minimum value of 0;
missing value for this field is 999999 and will be considered missing if greater than or equal to 999900.
2.9.1.20 Field: Zenith Luminance
This is the Zenith Illuminance in Cd/m2. (Average amount of luminance at the sky's zenith in tens of Cd/m2 during the number of minutes preceding the time
indicated.) It is not currently used in EnergyPlus calculations. It should have a minimum value of 0; missing value for this field is 9999.
2.9.1.21 Field: Wind Direction
This is the Wind Direction in degrees where the convention is that North=0.0, East=90.0, South=180.0, West=270.0. (Wind direction in degrees at the time
indicated. If calm, direction equals zero.) Values can range from 0 to 360. Missing value is 999.
2.9.1.22 Field: Wind Speed
This is the wind speed in m/sec. (Wind speed at time indicated.) Values can range from 0 to 40. Missing value is 999.
2.9.1.23 Field: Total Sky Cover
This is the value for total sky cover (tenths of coverage). (i.e. 1 is 1/10 covered. 10 is total coverage). (Amount of sky dome in tenths covered by clouds or
obscuring phenomena at the hour indicated at the time indicated.) Minimum value is 0; maximum value is 10; missing value is 99.
2.9.1.24 Field: Opaque Sky Cover
This is the value for opaque sky cover (tenths of coverage). (i.e. 1 is 1/10 covered. 10 is total coverage). (Amount of sky dome in tenths covered by clouds or
obscuring phenomena that prevent observing the sky or higher cloud layers at the time indicated.) This is not used unless the field for Horizontal Infrared
Radiation Intensity is missing and then it is used to calculate Horizontal Infrared Radiation Intensity. Minimum value is 0; maximum value is 10; missing value is
99.
2.9.1.25 Field: Visibility
This is the value for visibility in km. (Horizontal visibility at the time indicated.) It is not currently used in EnergyPlus calculations. Missing value is 9999.
2.9.1.26 Field: Ceiling Height
This is the value for ceiling height in m. (77777 is unlimited ceiling height. 88888 is cirroform ceiling.) It is not currently used in EnergyPlus calculations. Missing
value is 99999.
45
Values
0 or 9
Definition
0 = Weather observation made; 9 = Weather observation not made, or
missing
46
Column Poisition in
Field
Element Description
Possible
Values
Definition
0 = Thunderstorm-lightning and thunder. Wind gusts less than 25.7 m/s, and hail, if any, less than
1.9 cm diameter
1 = Heavy or severe thunderstorm-frequent intense lightning and thunder. Wind gusts greater than
25.7 m/s and hail, if any, 1.9 cm or greater diameter
2 = Report of tornado or waterspout
1
Occurrence
0 - 2, 4, 4 = Moderate squall-sudden increase of windspeed by at least 8.2 m/s, reaching 11.3 m/s or more
ofThunderstorm,Tornado, orSquall
6- 9
0-9
47
Notes:
Light = up to 0.25 cm per hour
Moderate = 0.28to 0.76 cm per hour
Heavy = greater than 0.76cm per hour
0, 1, 3-9
0 = Light snow
1 = Moderate snow
2 = Heavy snow
3 = Light snow pellets
4 = Moderate snow pellets
0-9
48
0 = Light snow
1 = Moderate snow showers
2 = Heavy snow showers
3 = Light snow squall
5
0 - 7, 9
4 = Hail
9 = None if Observation Indicator element equals 0, or else unknown or missing if Observation
Indicator element equals 9
Notes: Prior to April 1970, ice pellets werecoded as sleet. Beginning in April 1970, sleetand small
hail were redefined as ice pellets andare coded as 0, 1, or 2.
0 = Fog
1 = Ice fog
2 = Ground fog
3 = Blowing dust
4 = Blowing sand
0-9
5 = Heavy fog
6 = Glaze (beginning 1984)
7 = Heavy ice fog (beginning 1984)
8 = Heavy ground fog (beginning 1984)
9 = None if Observation Indicator element equals 0, or else unknown or missing if Observation
Indicator element equals 9
Notes:These values recorded only when visibility isless than 11 km.
0 = Smoke
1 = Haze
2 = Smoke and haze
49
3 = Dust
Occurrence ofSmoke, Haze,Smoke
8
andHaze, BlowingSnow,
0 - 7, 9
BlowingSpray, or Dust
4 = Blowing snow
5 = Blowing spray
6 = Dust storm (beginning 1984)
7 = Volcanic ash
9 = None if Observation Indicator element equals 0, or else unknown or missing if Observation
Indicator element equals 9
Notes: These values recorded only when visibility is less than 11 km.
0 = Light ice pellets
1 = Moderate ice pellets
0 - 2, 9
2 = Heavy ice pellets
9 = None if Observation Indicator element equals 0, or else unknown or missing if Observation
Indicator element equals 9
For example, a Present Weather Observation (previous field) of 0 and a Present Weather Codes field of 929999999 notes that there is heavy rain for this data
period (usually hourly but depends on the number of intervals per hour field in the "Data Periods" record).
2.9.1.29 Field: Precipitable Water
This is the value for Precipitable Water in mm. (This is not rain - rain is inferred from the PresWeathObs field but a better result is from the Liquid Precipitation
Depth field)). It is not currently used in EnergyPlus calculations (primarily due to the unreliability of the reporting of this value). Missing value is 999.
2.9.1.30 Field: Aerosol Optical Depth
This is the value for Aerosol Optical Depth in thousandths. It is not currently used in EnergyPlus calculations. Missing value is .999.
2.9.1.31 Field: Snow Depth
This is the value for Snow Depth in cm. This field is used to tell when snow is on the ground and, thus, the ground reflectance may change. Missing value is 999.
2.9.1.32 Field: Days Since Last Snowfall
This is the value for Days Since Last Snowfall. It is not currently used in EnergyPlus calculations. Missing value is 99.
2.9.1.33 Field: Albedo
The ratio (unitless) of reflected solar irradiance to global horizontal irradiance. It is not currently used in EnergyPlus.
2.9.1.34 Field: Liquid Precipitation Depth
The amount of liquid precipitation (mm) observed at the indicated time for the period indicated in the liquid precipitation quantity field. If this value is not missing,
then it is used and overrides the "precipitation" flag as rainfall. Conversely, if the precipitation flag shows rain and this field is missing or zero, it is set to 1.5 (mm).
2.9.1.35 Field: Liquid Precipitation Quantity
The period of accumulation (hr) for the liquid precipitation depth field. It is not currently used in EnergyPlus.
2.9.2 References
Walton, G. N. 1983. Thermal Analysis Research Program Reference Manual. NBSSIR 83-2655. National Bureau of Standards, p. 21.
Clark, G. and C. Allen, "The Estimation of Atmospheric Radiation for Clear and Cloudy Skies," Proceedings 2nd National Passive Solar Conference (AS/ISES),
1978, pp. 675-678.
50
EPW CSV Format to the Weather Converter is a special CSV format which echoes the format of the EPW file. For the "header" records in the CSV file, they are
basically the same as the header records for the EPW file (see above). However, in the CSV file, each header is shown and then the data. Partial year files will
not have all of these headers "filled" in. Also see Figure 17. EnergyPlus EPW CSV file (spreadsheet view) and Figure 18. EnergyPlus EPW CSV Data Records
(spreadsheet view) for snapshot pictures of the EnergyPlus EPW CSV file as shown in a spreadsheet.
Handbook,HEATING,5.8,6.8,11.3,9.9,8.8,11.1,14.2,9.1,13.4,1.1,320,5.3,300,39.3,3.1,2.9,1.9,COOLING,32.2,20,29.5,19.7,27.9,20.1,23,28,22.3,26.2,21.7,25.3,21.7,16.4,24
However, if there are no design conditions, then the format looks like:
Number of Design Conditions,Title of Design Condition,
0
Theoretically, there can be more than one design condition included.
3,.5,,,,20.69,22.30,22.69,22.26,19.95,17.43,15.09,13.43,12.99,13.86,15.84,18.29,2,,,,19.18,20.71,21.41,21.40,20.16,18.43,16.58,15.03,14.25,14.45,15.59,17.28,4,,,,18.18,
51
52
Supplied Value
6
Units
C
53
Relative Humidity
50
Atmospheric Pressure
Pa
Wind Speed
2.5
m/s
Wind Direction
180
Deg
(tenths)
(tenths)
Visibility
777.7
Km
Ceiling Height
77777
Precipitable Water
Mm
Broadband turbidity
Snow Depth
Cm
88
Days
Wh/m2
Illuminance Values
0.0
**Standard Barometric pressure based on location elevation is taken from ASHRAE 2001 Handbook of Fundamentals, pages 6.1 & 6.2.
54
data lines.
55
on solar and wind energy resources in 13 developing countries. Currently typical year hourly data are available for 48 locations in Belize, Cuba, El Salvador,
Guatemala, Honduras, Maldives, Nicaragua, and Sri Lanka. The data are available from the SWERA project web site. SWERA plans to release new data for
Brazil, Ethiopia, Ghana, Kenya, and Nepal over the coming few months. These source data files are described using the SWERA format.
2.12.18 Kuwait Weather Data from Kuwait Institute for Scientific Research (KISR)
Two weather files for Kuwait based on measured meteorological data for Kuwait International Airport and KISR's coastal weather station. Provided by KISR in
spreadsheet format.
56
21 years, all ending in 2003. Joe Huang and Associates, Moraga, California, USA.
2.12.23 New Zealand National Institute of Water & Atmospheric Research Ltd (NIWA)
The New Zealand Energy Efficiency and Conservation Authority (EECA) has developed a Home Energy Rating Scheme (HERS) for New Zealand households
based on software simulation of energy loss and demand. The software requires hourly data to represent the different climates zones around New Zealand,
especially for larger population centres. These climate data consist of hourly records for an artificial year created from twelve representative months.
Liley, J Ben, Hisako Shiona, James Sturman, David S Wratt. 2007. Typical Meteorological Years for the New Zealand Home Energy Rating Scheme. Prepared
for the Energy Efficiency and Conservation Authority. NIWA Client Report: LAU2007- 02-JBL. NIWA, Omakau, New Zealand.
57
58
59
60
WMO Region
Source
ETMY
Southwest
Pacific
Europe Total
11
11
IGDG
66
66
IMGW
61
61
INETI
ISHRAE
58
ITMY
IWEC
12
KISR
Los Alamos
TMY2
49
58
1
19
20
227
2
MSI
NIWA
16
RMY
80
SWEC
SWERA
122
2
37
33
16
80
50
66
20
52
156
61
TMY
229
234
TMY2
235
237
TMY3
1011
Totals
1476 0
51
2
58
176 39
1020
123
305
One other format worth mentioning is TRY. TRY is "test reference year" data that did not include solar radiation data. "Test Reference Year" is a term that usually
denotes selection of a specific year of "real" data based on some statistical procedure. The original TRY data (TD-9706) was based on an ASHRAE procedure to
select the data from a "period of record". "The principle of the selection is to eliminate years in the period of record containing months with extremely high or low
mean temperatures until only one year remains." The weather conversion utility cannot process data in "TRY" format. However, many organizations develop data
for reference year data (e.g. European TRY, Moisture Reference Data).
Flag Values
A-F
0-9
A-F
0-9
A-F
0-9
A-F
0-9
A-H, ?
0-9
A-H, ?
0-9
A-H, ?
0-9
A-H, ?
0-9
I, ?
0-9
I, ?
0-9
I, ?
0-9
I, ?
62
0-9
A-F
0-9
A-F
0-9
A-F
0-9
A-F
0-9
A-F, ?
0-9
A-F, ?
0-9
A-F
0-9
A-F
0-9
Uncertainty
Snow Depth Data Source
A-F, ?
0-9
A-F, ?
0-9
The definition of the solar radiation source flags and solar radiation uncertainty flags are shown in the following two tables:
Table 20. Solar Radiation and Illuminance Data Source Flag Codes
Flag
Code
Definition
Post-1976 measured solar radiation data as received from NCDC or other sources
Same as "A" except the global horizontal data underwent a calibration correction
Pre-1976 measured global horizontal data (direct and diffuse were not measured before 1976), adjusted from solar to local time, usually with a
calibration correction
Data derived from the other two elements of solar radiation using the relationship, global = diffuse + direct cosine (zenith)
Modeled solar radiation data using inputs of observed sky cover (cloud amount) and aerosol optical depths derived from direct normal data collected
at the same location
Modeled solar radiation data using interpolated sky cover and aerosol optical depths derived from direct normal data collected at the same location
Modeled solar radiation data using observed sky cover and aerosol optical depths estimated from geographical relationships
Modeled solar radiation data using interpolated sky cover and estimated aerosol optical depths
Modeled illuminance or luminance data derived from measured or modeled solar radiation data
Source does not fit any of the above categories. Used for nighttime values and missing data
Table 21. Solar Radiation and Illuminance Data Uncertainty Flag Codes
Flag Uncertainty Range (%)
1
Not used
2-4
4-6
6-9
9 - 13
13 - 18
18 - 25
25 - 35
35 - 50
Not applicable
Finally, the Meteorological data source and uncertainty flag/codes are shown in the following two tables:
63
Definition
Linearly interpolated
Not used
Modeled or estimated, except: precipitable water, calculated from radiosonde data; dew point temperature calculated from dry bulb temperature and
relative humidity; and relative humidity calculated from dry bulb temperature and dew point temperature
Precipitable water, calculated from surface vapor pressure; aerosol optical depth, estimated from geographic correlation
Source does not fit any of the above. Used mostly for missing data
Definition
1- 6 Not used
7
Uncertainty consistent with NWS practices and the instrument or observation used to obtain the
data
Not definable.
64
Several points of the library are made available for use with external programs. In each case the parameters passed will be described along with the Visual
Basic (VB6) code that is used to declare them as well as Fortran 90 style "Interface" statements to the same calls. The library is placed in the same folder with
the weather converter utility - you may need to copy it to your program's folder if you choose to add external calls from your program to it.
2.14.3.1 SetupPWInternalDataPath
This call designates the "path" to the files listed above. This is the location where the ProcessWeather call will expect to find the files. Having this incorrectly
specified is not fatal, but will probably cause confusion.
VB declaration statement:
Private Declare Sub SetupPWInternalDataPath Lib "EPlusWth" (ByVal strPath As String, ByVal InPathLen As Long)
And a call from a VB program:
Call SetupPWInternalDataPath(AppPath, Len(AppPath))
Likewise for Fortran 90/95:
INTERFACE
SUBROUTINE SetupPWInternalDataPath (Path)
CHARACTER(len=\*), INTENT(IN) :: Path
! Path where data files reside
END SUBROUTINE
END INTERFACE
And then calling it from Fortran:
Character(len=255) DataPath
CALL SetupPWInternalDataPath(trim(DataPath))
2.14.3.2 SetFixOutOfRangeData
As shown earlier (file menu option in the weather converter utility), there is an option to "fix" out of range data or not. By default, this is turned off (does not fix
data). Again a character convention ("yes" for fixing; "no" for not fixing) is used. Case of the actual string is ignored.
VB Declaration statement:
Private Declare Sub SetFixOutOfRangeData Lib "EPlusWth" (ByVal strValue As String, ByVal strValueLen As Long)
And calling it from VB:
Global FixOutOfRangeData As String
FixOutOfRangeData = "Yes"
Call SetFixOutOfRangeData(FixOutOfRangeData, Len(FixOutOfRangeData))
For Fortran 90/95:
INTERFACE
SUBROUTINE SetFixOutOfRangeData (YesNo)
CHARACTER(len=\*),INTENT(IN) :: YesNo
END SUBROUTINE
END INTERFACE
And then calling it:
CALL SetFixOutOfRangeData('no')
2.14.3.3 SetDefaultChgLimit
This call sets the value for the DB trigger shown earlier. Both values passed in are strings and are specific to the dialog shown earlier:
Table 24. Trigger Limit Call Values
65
Trigger
Limit
Result
Ignore
Calc
Trigger
use 5C
use 10C
use 15C
Result
Uses Calculated Trigger
Ignores calculated
trigger
You can also choose to ignore the calculated trigger entirely. If you do not "ignore" the calculated trigger, then the trigger is the minimum of the calculated and
your trigger limit selection.
VB Declaration Statement:
Private Declare Sub SetDefaultChgLimit Lib "EPlusWth" (ByVal strValue As String, ByVal strValueLen As Long, ByVal strValue As
And a call from VB:
Call SetDefaultChgLimit(TriggerLimit, Len(TriggerLimit), IgnoreCalcTrigger, Len(IgnoreCalcTrigger))
2.14.3.4 ProcessWeather
The "meat" of the processing is done by this routine. It gets passed the input file name (source data), the input file type, output file name, and output file type. As
an output it can provide a notice that the processing was successful or not.
VB Declaration Statement:
Private Declare Sub ProcessWeather Lib "EPlusWth" (ByVal strInType As String, ByVal InTypeLen As Long, ByVal strOutType As Str
Calling it from VB:
Call ProcessWeather(InputFileDataType, Len(InputFileDataType),
OutputFileDataType, Len(OutputFileDataType),
InputFileName, Len(InputFileName),
OutputFileName, Len(OutputFileName),
ErrorFlag)
Valid values for the Input File Data Type are shown in the following table:
Table 25. Valid Input File Types for "ProcessWeather" call
Input File Type Source Data file Format Type
TMY2 or TM2
IWEC or IWC
SAMSON or
DAT
66
BLAST or ASC
EPW
CSV
TMY
WEA
Valid values for the Output File Type(s) are shown in the following table:
Table 26. Valid Output File Types for the "ProcessWeather" call
Output File
Type
File(s) produced
EPW
CSV
BOTH
RPT
For Input and Output file names, the complete paths should be included.
ErrorFlag will be returned as "true" if an error occurs during processing or "false" if the process is successful.
Fortran 90/95 Declaration:
INTERFACE
SUBROUTINE ProcessWeather(InType,OutType,InFileName,OutFileName,ErrFlag)
CHARACTER(len=\*), INTENT(IN) :: InType
! InputFile Type
CHARACTER(len=\*), INTENT(IN) :: OutType
! OutputFile Type
CHARACTER(len=\*), INTENT(IN) :: InFileName
! InputFile Name (Full path)
CHARACTER(len=\*), INTENT(IN) :: OutFileName ! OutputFileName (Full path)
LOGICAL(Byte2), INTENT(OUT) :: ErrFlag
! If errors are found,
! set to true and put
! description put in file.
END SUBROUTINE
END INTERFACE
And calling it from Fortran:
call processweather(trim(intype),trim(outtype),
&
trim(infilename),trim(outfilename),errflag)
Note that the file where error messages will be placed is the RPT file. If the value of the output file path is incorrect, you may need to search for this file by using
the RPT extension.
2.15 References
ASHRAE. 1985. Weather Year for Energy Calculations. Atlanta: American Society of Heating, Refrigerating and Air-Conditioning Engineers, Inc.
ASHRAE. 1997. WYEC2 Weather Year for Energy Calculations 2, Toolkit and Data, Atlanta: ASHRAE.
ASHRAE. 2001. International Weather for Energy Calculations (IWEC Weather Files) Users Manual and CD-ROM, Atlanta: ASHRAE
ASHRAE. 2004. ANSI/ASHRAE Standard 90.2-2004, "Energy-Efficient Design of Low-Rise Residential Buildings," September 2004. Atlanta: American Society of
Heating, Refrigerating, and Air-conditioning Engineers.
ASHRAE. 2004. ANSI/ASHRAE/IESNA Standard 90.1-2004, "Energy-Efficient Design of Buildings Except Low-Rise Residential," September 2004. Atlanta:
American Society of Heating, Refrigerating, and Air-conditioning Engineers.
ASHRAE, 2009. Handbook of Fundamentals, Atlanta: American Society of Heating, Refrigerating, and Air-conditioning Engineers.
Briggs, Robert S., Robert G. Lucas, and Z. Todd Taylor. 2002. "Climate Classification for Building Energy Codes and Standards: Part 1 - Development Process"
in ASHRAE Transactions 2002, 109, Pt 1. Atlanta: ASHRAE.
67
Briggs, Robert S., Robert G. Lucas, and Z. Todd Taylor. 2002. "Climate Classification for Building Energy Codes and Standards: Part 2 - Zone Definitions, Maps
and Comparisons" in ASHRAE Transactions, 109, Pt 1. Atlanta: ASHRAE.
Buhl, W.F. 1998. DOE-2 Weather Processor, DOE2.1E Documentation Update, Berkeley: Lawrence Berkeley National Laboratory.
COMIS Weather Program, http://www.byggforsk.no/hybvent/COMISweather.htm
China Meteorological Bureau, Climate Information Center, Climate Data Office and Tsinghua University, Department of Building Science and Technology. 2005.
China Standard Weather Data for Analyzing Building Thermal Conditions, April 2005. Beijing: China Building Industry Publishing House, ISBN 7-112-07273-3
(13228). http://www.china-building.com.cn.
Commission of the European Community. 1985. Test Reference Years, Weather data sets for computer simulations of solar energy systems and energy
consumption in buildings, CEC, DG XII. Brussels, Belgium: Commission of the European Community.
Crawley, Drury B., Linda K. Lawrie, Curtis O. Pedersen, Richard J. Liesen, Daniel E. Fisher, Richard K. Strand, Russell D. Taylor, Frederick C. Winkelmann,
W.F. Buhl, A. Ender Erdem, and Y. Joe Huang. 1999. "EnergyPlus, A New-Generation Building Energy Simulation Program," in Proceedings of Building
Simulation '99, Kyoto, Japan. IBPSA.
Crawley, Drury B. 1998. "Which Weather Data Should You Use for Energy Simulations of Commercial Buildings?,"ASHRAE Transactions, pp. 498-515, Vol.
104, Pt. 2. Atlanta: ASHRAE.
http://energyplus.gov/pdfs/bibliography/whichweatherdatashouldyouuseforenergysimulations.pdf
Crawley, Drury B., Jon Hand, and Linda K. Lawrie, 1999. "Improving the Weather Information Available to Simulation Programs", inProceedings of Building
Simulation '99, Kyoto, Japan. September 1999. IBPSA.
Energy Simulation Research Unit. 1999. http://www.strath.ac.uk/Departments/ESRU
Janak, M. 1997. "Coupling Building Energy and Lighting Simulation," in Proceedings of Building Simulation 97, September 1997, Volume II pp 313-319, Prague,
Czech Republic, IBPSA.
Kppen, W. 1931. Grundriss der Klimakunde. Berlin: Walter de Gruyter & Co.
Kusuda, T., "Earth Temperatures Beneath Five Different Surfaces", Institute for Applied Technology, NBS Report 10-373, 1971, NBS, Washington DC 20234.
Kusuda, T., Least Squares Technique for the Analysis of Periodic Temperature of the Earth's Surface Region, NBS Journal of Research, Vol. 71C, Jan-Mar.
1967, pp 43-50.
National Instruments Corporation. 1999. LabVIEW User Manual. Austin, Texas: National Instruments Corporation.
McDonald, Iain, and Paul Strachan. 1998. "Practical Application of Uncertainty Analysis" inProceedings of EPIC 98: Second International Conference on Energy
Performance and Indoor Climate in Buildings, Lyon, France, 19-21 November 1998.
National Climatic Data Center (NCDC). 1976. Test Reference Year (TRY), Tape Reference Manual, TD-9706, September 1976. Asheville, North Carolina:
National Climatic Data Center, U.S. Department of Commerce.
NCDC. 1981. Typical Meteorological Year User's Manual, TD-9734, Hourly Solar Radiation -- Surface Meteorological Observations, May 1981. Asheville, North
Carolina: National Climatic Data Center, U.S. Department of Commerce.
NCDC. 1981. Meteorological Observations, May 1981. Asheville, North Carolina: National Climatic Data Center, U.S. Department of Commerce.
NCDC. 1993. Solar and Meteorological Surface Observation Network, 1961-1990, Version 1.0, September 1993. Asheville, North Carolina: National Climatic
Data Center, U.S. Department of Commerce.
National Renewable Energy Laboratory (NREL). 1995. User's Manual for TMY2s (Typical Meteorological Years), NREL/SP-463-7668, and TMY2s, Typical
Meteorological Years Derived from the 1961-1990 National Solar Radiation Data Base, June 1995, CD-ROM. Golden, Colorado: National Renewable Energy
Laboratory.
http://rredc.nrel.gov/solar/pubs/tmy2/
Numerical Logics. 1999. Canadian Weather for Energy Calculations, Users Manual and CD-ROM. Downsview, Ontario: Environment Canada.
Oliver, John E. 1991. "The History, Status and Future of Climatic Classification," in Physical Geography 1991, Vol 12, No. 3, pp. 231-251.
Perez R, Ineichen P, Maxwell E, Seals R and Zelenka. A 1992. Dynamic Global-to-Direct Irradiance Conversion Models.ASHRAE Transactions-Research
Series,354-369.
Perez R, Ineichen P, Seals R, Michalsky J and Stewart R. 1990. Modeling daylight.availability and irradiance components from direct and global irradiance.
Solar.Energy44, 271-289.
University of Illinois. 1998. BLAST User's Guide. Building Systems Laboratory, University of Illinois. Urbana, Illinois: University of Illinois, Department of Industrial
and Mechanical Engineering.
68
3.2 Introduction
There are two difficulties behind linking ground heat transfer calculations to EnergyPlus. One is the fact that the conduction calculations in EnergyPlus (and in
DOE-2 and BLAST previously) are one-dimensional and the ground heat transfer calculations are two or three-dimensional. This causes severe modeling
problems irrespective of the methods being used for the ground heat transfer calculation. The other difficulty is the markedly different time scales involved in the
processes. Basically, the zone model is on an hour scale and the ground heat transfer is on a monthly time scale. The basic heat balance based zone model of
EnergyPlus has to be considered as the foundation for building energy simulation at the present time and for some time in the future. Thus, it is necessary to be
able to relate ground heat transfer calculations to that model.
The heat balance zone model considers a single room or thermal zone in a building and performs a heat balance on it. A fundamental modeling assumption is
that the faces of the enclosure are isothermal planes. A ground heat transfer calculation usually considers an entire building and the earth that surrounds it,
resulting in non-isothermal face planes where there is ground contact. While it is not impossible to imagine multi-zone, whole building models that include the
surrounding earth and non-isothermal building surfaces, such models will not be practical for some time in the future, and their usefulness even then is not clear.
The EnergyPlus development team addressed the problem and decided that the most reasonable first step would be to partially decouple the ground heat
transfer calculation from the thermal zone calculation. The most important parameter for the zone calculation is the outside face temperature of the building
surface that is in contact with the ground. Thus this becomes a reasonable "separation plane" for the two calculations. It was further decided that the current
usage of monthly average ground temperature was reasonable for this separation plane temperature as well, since the time scales of the building heat transfer
processes are so much shorter than those of the ground heat transfer processes.
Using the separation plane premise, the 3D ground heat transfer programs for slabs developed by Bahnfleth (1989, 1990) were modified by Clements (2004) to
produce outside face temperatures. EnergyPlus permits separate monthly average inside temperatures as input. The program produces outside face
temperatures for the core area and the perimeter area of the slab. It is described in the section "Use of the Ground Temperatures with Slabs" below.
69
A 3D basement program also is included with EnergyPlus. This is described below in Using Ground Temperatures with Basements. It uses the same principle as
the slab procedure; it determines the outside face (surface) temperature of the walls and floor of a basement in contact with the ground.
It should be noted that either for slabs or basements the ground heat transfer is usually small unless the building is very small or has some special
characteristics.
Multiple Ground Temperatures shows how the OtherSideCoefficients object of EnergyPlus can be used to supply multiple ground temperatures.
17.67
16.11
18.03 18
7.00
1.22
17.45
15.92
17.81 18
7.70
2.04
17.43
16.07
17.74 18
7.15
2.11
19
17.82
19.27 20
8.07
3.70
19.24
18.23
19.48 20
6.56
2.81
19.31
18.42
19.52 20
5.85
2.56
20.92
20.14
21.11 22
6.89
4.00
21.17
20.44
21.35 22
5.78
3.07
21.22
20.45
21.4 22
5.74
2.89
10
21.21
20.26
21.44 22
6.44
2.93
11
19.62
18.54
19.88 20
5.41
1.41
12
19.35
17.99
19.67 20
7.44
2.41
Then for the same conditions, the results with a 2 degree C amplitude 24-hour sine wave variation. Notice that the inside temperatures are the same since they
are monthly averages and the daily variation oscillates about the mean. The core and perimeter slab temperatures are affected slightly.
Monthly Slab Outside Face Temperatures, C
Perimeter Area: 304.00 Core Area: 1296.00
Month
Average
Perimeter
Core
Inside
1
17.51
16.03
17.86
18.0
2
17.29
15.85
17.63
18.0
70
3
4
5
6
7
8
9
10
11
12
17.27
18.87
19.11
19.17
20.81
21.05
21.09
21.08
19.47
19.20
16.00
17.77
18.16
18.34
20.07
20.36
20.38
20.19
18.45
17.92
17.57
19.13
19.34
19.37
20.98
21.21
21.26
21.29
19.71
19.51
18.0
20.0
20.0
20.0
22.0
22.0
22.0
22.0
20.0
20.0
An example of a 24-hour inside temperature profile for this case is shown below. The sine wave amplitude was 2 C.
Day
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Hour
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Perim Out Ts
17.30827
17.29503
17.30236
17.32258
17.34834
17.37288
17.39023
17.39544
17.38485
17.35602
17.30590
17.23507
17.14650
17.04291
16.92873
16.81076
16.69609
16.59243
16.50669
16.44276
16.40369
16.38873
16.39435
16.41942
Core Out Ts
19.15832
19.15274
19.16732
19.19376
19.22526
19.25529
19.27798
19.28838
19.28117
19.24733
19.18686
19.10210
18.99703
18.87713
18.74895
18.61963
18.49656
18.38671
18.29626
18.23010
18.19161
18.18218
18.19834
18.23298
Inside Temp
18.51749
18.99974
19.41389
19.73175
19.93166
20.00000
19.93212
19.73265
19.41517
19.00130
18.51924
18.00180
17.48425
17.00183
16.58738
16.26915
16.06881
16.00000
16.06741
16.26645
16.58356
16.99714
17.47902
17.99639
A plot of the daily profiles is shown below. Note that the inside temperature change of 4 C produces only a small change in the slab lower face temperature.
17.51
16.03
17.86 18
7.30
1.81
17.29
15.85
17.63 18
7.96
2.63
17.27
16
17.57 18
7.41
2.70
18.87
17.77
19.13 20
8.26
4.19
19.11
18.16
19.34 20
6.81
3.30
19.17
18.34
19.37 20
6.15
3.07
20.81
20.07
20.98 22
7.15
4.41
21.05
20.36
21.21 22
6.07
3.52
71
9
10
21.09
21.08
20.38
20.19
21.26 22
21.29 22
6.00
6.70
3.37
3.41
11
19.47
18.45
19.71 20
5.74
1.96
12
19.2
17.92
19.51 20
7.70
2.96
3.6 Technical Details on Files for Ground Heat Transfer with Slabs
The slab program used to calculate the results is included with the EnergyPlus distribution. It requires an input file named GHTin.idf in input data file format. The
needed corresponding idd file is SlabGHT.idd. An EnergyPlus weather file for the location is also needed. A batch file, RunSlab, is placed in the same folder with
72
the program and sample files. To use it (Command mode or DOS mode), one may modify several important lines:
:Instructions:
: Complete the following path and program names.
: path names must have a following \\ or errors will happen
set program\_path=
set program\_name=Slab.exe
set input\_path=
set output\_path=
set weather\_path=C:\\EnergyPlus\\WeatherData\\
and then in command mode issue the run command:
RunSlab myinput Chicago
Where you would have myinput.idf in "input_path" and Chicago would be the name of the .epw file in the "weather_path".
You should set up the command mode so that it does not automatically close the window at the end of program termination if you want to see the commands as
they run and know for sure that no errors occurred.
73
10
11
12
21.17
19.64
19.36
20.23
18.63
18.14
21.39
19.88
19.65
22.00
20.00
20.00
2.82
1.22
2.16
6.02
4.63
6.30
2.08
0.42
1.19
74
75
76
\key FALSE
\note FALSE selects the zero flux lower boundary condition
N1, \field TDEEPin,
\note User input lower boundary temperature if FIXBC is TRUE
\units C
\note Blank for FIXBC FALSE or
\note to use the calculated 1-D deep ground temperature.
A3, \field USRHflag: Is the ground surface h specified by the user?
\type choice
\key TRUE
\key FALSE
N2; \field USERH: User specified ground surface heat transfer coeff
\units W/(m2-K)
\note Used only if USRHflag is TRUE
77
\units C
N9, \field TIN6: June Indoor Average temperature set point
\note typical value=22
\units C
N10, \field TIN7: July Indoor Average temperature set point
\note typical value=22
\units C
N11, \field TIN8: August Indoor Average temperature set point
\note typical value=22
\units C
N12, \field TIN9: September Indoor Average temperature set point
\note typical value=22
\units C
N13, \field TIN10: October Indoor Average temperature set point
\note typical value=22
\units C
N14, \field TIN11: NovemberIndoor Average temperature set point
\note typical value=22
\units C
N15, \field TIN12: December Indoor Average temperature set point
\note typical value=22
\units C
N16, \field TINAmp: Daily Indoor sine wave variation amplitude
\note typical value: 0
\units C
N17; \field ConvTol: Convergence Tolerance
\note typical value= 0.1
78
This object provides the basic information for running a model that uses the area over perimeter ratio of the slab to determine the size of an equivalent
rectangular slab.
3.8.6.1 Field APRatio: The area to perimeter ratio for this slab
This field specifies the area over perimeter ratio of the slab in meters.
3.8.6.2 Field SLABDEPTH: Thickness of slab on grade
This field specifies the thickness of the slab in meters. Note that the slab top surface is level with the ground surface, so this is the depth into the ground. The
slab depth has a significant effect on the temperature calculation, and it is also important for the auto-grid process. The finite difference grids are set in such a
way that they use the slab thickness to determine the vertical grid spacing. Because of this, autogridding will fail if the slab thickness is specified larger than 0.25
meters. The program also is set up so that the slab is a single finite difference cell in the vertical direction. Thus, if the slab thickness is set too large, the accuracy
of the calculation may be suspect. The results with three different slab thicknesses are shown below.
All other inputs for the runs were the same. It is clear that the slab thickness has a significant effect because of the horizontal component of conduction in both
directions in the slab.
3.8.6.3 Field CLEARANCE: Distance from edge of slab to domain edge
This field specifies the distance from the slab to the edge of the area that will be modeled with the grid system. It is the basic size dimension that is used to set
the horizontal extent of the domain. The units are meters, and 15 meters is a reasonable value.
3.8.6.4 Field ZCLEARANCE: Distance from bottom of slab to domain bottom
This field specifies the vertical distance from the slab to the bottom edge of the area that will be modeled with the grid system. It is the basic size dimension that
is used to set vertical extent of the domain. The units are meters, and 15 meters is a reasonable value.
The object is shown below.
EquivalentSlab,
\memo Using an equivalent slab allows non-rectangular shapes to be modeled accurately
N1, \field APRatio: The area to perimeter ratio for this slab
\units m
N2, \field SLABDEPTH: Thickness of slab on grade
\note typical value= 0.1
\units m
N3, \field CLEARANCE: Distance from edge of slab to domain edge
\note typical value= 15.0
\units m
N4; \field ZCLEARANCE: Distance from bottom of slab to domain bottom
\note typical value= 15.0
\units m
79
3.8.7.1 Field APRatio: The area to perimeter ratio for this slab
This field specifies the area over perimeter ratio of the slab in meters.
3.8.7.2 Field: EquivSizing
This field value should be TRUE. This means that the program will determine the dimensions of the equivalent slab that satisfactorily models the A/P ratio.
The object is shown below.
EquivSlab,
\memo Using an equivalent slab allows non-rectangular shapes to be modeled accurately
\memo The simulation default should be EquivSizing=True
N1, \field APRatio: The area to perimeter ratio for this slab
\units m
A1; \field EquivSizing:
\note Flag: Will the dimensions of an equivalent slab
\note be calculated (TRUE) or will the dimensions be input directly? (FALSE)
\note It is recommended that EnergyPlus users use TRUE.
ManualGrid, \memo Manual Grid only necessary using manual gridding (not recommended)
\memo
Used only in special cases.
80
the X direction
the Y direction
the Z direction
indicator of slab edge
indicator of slab edge
XFACE,
\memo This is only needed when using manual gridding (not recommended)
\memo XFACE: X Direction cell face coordinates: m
N1, N2, N3, N4, N5, N6, N7, N8, N9, N10, N11, N12, N13, N14,
N15, N16, N17, N18, N19, N20, N21, N22, N23, N24, N25, N26, N27, N28, N29,
N30, N31, N32, N33, N34, N35, N36, N37, N38, N39, N40;
YFACE,
\memo This is only needed when using manual gridding (not recommended)
\memo YFACE: Y Direction cell face coordinates: m,
N1, N2, N3, N4, N5, N6, N7, N8, N9, N10, N11, N12, N13, N14,
N15, N16, N17, N18, N19, N20, N21, N22, N23, N24, N25, N26, N27, N28, N29,
N30, N31, N32, N33, N34, N35, N36, N37, N38, N39, N40;
ZFACE,
\memo This is only needed when usuing manual gridding (not recommended)
\memo ZFACE: Z Direction cell face coordinates: m
N1, N2, N3, N4, N5, N6, N7, N8, N9, N10, N11, N12, N13, N14,
N15, N16, N17, N18, N19, N20, N21, N22, N23, N24, N25;
===========
Materials,
2,
0.158,
0.379,
0.9,
0.9,
0.75,
0.03,
6.13,
9.26;
!-
===========
MatlProps,
2300,
1200,
653,
1200,
0.93,
1;
!-
!!!!!!-
===========
BoundConds,
TRUE,
TRUE,
FALSE;
!-
!!!!!!!!!-
===========
BldgProps,
10,
0,
4,
18,
18,
18,
20,
20,
20,
22,
!!!!!!!!!!-
81
22,
22,
22,
20,
20,
0,
0.10;
!-
===========
Insulation,
0.,
0.,
2.0,
2.0,
1;
!-
!!!!!!!-
!!!!!-
===========
EquivalentSlab,
10,
!- APRatio: The area to perimeter ratio for this slab {m}
0.1,
!- SLABDEPTH: Thickness of slab on grade {m}
15,
!- CLEARANCE: Distance from edge of slab to domain edge {m}
10;
!-ZCLEARANCE: Distance from bottom of slab to domain bottom
82
temperature, as shown in the diagram above. Column D is the corresponding average monthly average inside wall face temperature. Columns E and F contain
the same information for the basement floor slab. Columns G-J contain the same information for the upper half and the lower half of the basement walls.
Columns K through N contain the monthly average heat flux for the floor, the walls, the upper half of the walls and the lower half of the walls. The flux is reported
in units of W/m2.
The program also produces an output file named EPObjects.TXT. This file contains the necessary idf objects to make it easy to include the wall outside surface
temperatures in an EnergyPlus input file. Idf objects for all of the temperatures in the output file shown above are included. These objects are explained in detail
in the section Using the Interface Surface Temperature Results in EnergyPlus.
3.11 Technical Details on Files for Ground Heat Transfer with Basements
The basement program used to calculate the results is included with the EnergyPlus distribution. It requires an input file named BasementGHTin.idf in input data
file format. The needed corresponding idd file is BasementGHT.idd. An EnergyPlus weather file for the location is also needed. A batch file, RunBasement, is
placed in the same folder with the program and sample files. To use it (Command mode or DOS mode), one may modify several important lines:
:Instructions:
: Complete the following path and program names.
: path names must have a following \\ or errors will happen
set program\_path=
set program\_name=Basement.exe
set input\_path=
set output\_path=
set weather\_path=C:\\EnergyPlus\\WeatherData\\
and then in command mode issue the run command:
RunBasement myinput Chicago
Where you would have myinput.idf in "input_path" and Chicago would be the name of the .epw file in the "weather_path".
You should set up the command mode so that it does not automatically close the window at the end of program termination if you want to see the commands as
they run and know for sure that no errors occurred.
83
The following output files are created by the Basement program and saved in the output file path specified in the RunBasement.bat file:
*.audit - Audit file. Input errors are reported here as well as other information about the progress of the program..
*.out - Summary of inputs, location data, and grid coordinates
*.csv - Monthly temperatures and fluxes for each surface.
*.idf - the EPObjects.txt file - ready to be included in an EnergyPlus input file (idf)
SimParameters,
N1,\field F: Multiplier for the ADI solution:
\note 0<F<1.0,
\note typically 0.1 (0.5 for high k soil]
N2; \field IYRS: Maximum number of yearly iterations:
\note typically 15-30]
MatlProps,
N1, \field NMAT: Number of materials in this domain
\maximum 6
N2, \field Density for Foundation Wall
\note typical value 2243
\units kg/m3
N3, \field density for Floor Slab
\note typical value 2243
\units kg/m3
N4, \field density for Ceiling
\note typical value 311
\units kg/m3
N5, \field density for Soil
\note typical value 1500
\units kg/m3
N6, \field density for Gravel
\note typical value 2000
\units kg/m3
N7, \field density for Wood
\note typical value 449
\units kg/m3
N8, \field Specific heat for foundation wall
\note typical value 880
\units J/kg-K
N9, \field Specific heat for floor slab
\note typical value 880
\units J/kg-K
N10, \field Specific heat for ceiling
\note typical value 1530
\units J/kg-K
N11, \field Specific heat for soil
\note typical value 840
\units J/kg-K
N12, \field Specific heat for gravel
\note typical value 720
\units J/kg-K
N13, \field Specific heat for wood
\note typical value 1530
\units J/kg-K
N14, \field Thermal conductivity for foundation wall
\note typical value 1.4
\units W/m-K
N15, \field Thermal conductivity for floor slab
\note typical value 1.4
\units W/m-K
N16, \field Thermal conductivity for ceiling
\note typical value 0.09
\units W/m-K
N17, \field thermal conductivity for soil
\note typical value 1.1
\units W/m-K
N18, \field thermal conductivity for gravel
84
SurfaceProps,
N1, \field ALBEDO: Surface albedo for No snow conditions
\note typical value 0.16
N2, \field ALBEDO: Surface albedo for snow conditions
\note typical value 0.40
N3, \field EPSLN: Surface emissivity No Snow
\note typical value 0.94
N4, \field EPSLN: Surface emissivity with Snow
\note typical value 0.86
N5, \field VEGHT: Surface roughness No snow conditions,cm
\note typical value 6.0
\units cm
N6, \field VEGHT: Surface roughness Snow conditions, cm, ]
\note typical value 0.25
\units cm
A1; \field PET: Flag, Potential evapotranspiration on? T/F]
\note Typically, PET is True
BldgData,
N1, \field DWALL: Wall thickness,
\note typical value .2]
\units m
N2, \field DSLAB: Floor slab thickness,
\units m
\maximum 0.25
N3, \field DGRAVXY: Width of gravel pit beside basement wall
\units m
N4, \field DGRAVZN: Gravel depth extending above the floor slab
\units m
N5; \field DGRAVZP: Gravel depth below the floor slab,
\units m
\note typical value 0.1
Interior,
A1, \field COND: Flag: Is the basement conditioned?
\note TRUE or FALSE
\note for EnergyPlus this should be TRUE
N1, \field HIN: Downward convection only heat transfer coefficient
\units W/m2-K
N2, \field HIN: Upward convection only heat transfer coefficient
\units W/m2-K
N3, \field HIN: Horizontal convection only heat transfer coefficient
\units W/m2-K
N4, \field HIN: Downward combined (convection and radiation) heat transfer coefficient
\units W/m2-K
N5, \field HIN: Upward combined (convection and radiation) heat transfer coefficient
\units W/m2-K
N6; \field HIN: Horizontal combined (convection and radiation) heat transfer coefficient
\units W/m2-K
ComBldg,
\memo ComBldg contains the monthly average temperatures (C) and possibility of daily variation amplitude
N1, \field January average temperature
\units C
N2, \field February average temperature
\units C
N3, \field March average temperature
\units C
N4, \field April average temperature
\units C
N5, \field May average temperature
\units C
N6, \field June average temperature
\units C
N7, \field July average temperature
\units C
85
N8,
N9,
N10,
N11,
N12,
N13;
86
87
88
This field specifies the surface roughness or vegetation height (cm) that is used in determining the convective heat transfer coefficient on the surface under no
snow conditions. Typical value is 6.0.
3.14.4.6 Field: VEGHT: Surface roughness snow conditions
This field specifies the surface roughness or vegetation height (cm) that is used in determining the convective heat transfer coefficient on the surface under snow
covered conditions. Typical value is 0.25.
3.14.4.7 Field: PET: Flag, Potential evapotranspiration on?
This field is a flag that invokes the evapotranspiration calculation at the surface. This covers all forms of latent heat transfer from the surface. It normally should
be included. The user enters "true" for "yes" and "false" for no.
89
This field specifies the combined thermal radiation and convection heat transfer coefficient for walls (horizontal heat flux - W/m2-K).
90
91
XFACE,
\memo This is only needed when using manual gridding (not recommended)
\memo XFACE: X Direction cell face coordinates: m
N1, N2, N3, N4, N5, N6, N7, N8, N9, N10, N11, N12, N13, N14,
N15, N16, N17, N18, N19, N20, N21, N22, N23, N24, N25, N26,
N27, N28, N29, N30, N31, N32, N33, N34, N35, N36, N37, N38,
N39, N40, N41, N42, N43, N44;
YFACE,
\memo This is only needed when using manual gridding (not recommended)
\memo YFACE: Y Direction cell face coordinates: m
N1, N2, N3, N4, N5, N6, N7, N8, N9, N10, N11, N12, N13, N14,
N15, N16, N17, N18, N19, N20, N21, N22, N23, N24, N25, N26,
N27, N28, N29, N30, N31, N32, N33, N34, N35, N36, N37, N38,
N39, N40, N41, N42, N43, N44;
ZFACE,
\memo This is only needed when using manual gridding (not recommended)
\memo ZFACE: Z Direction cell face coordinates: m
92
N1, N2, N3, N4, N5, N6, N7, N8, N9, N10, N11, N12, N13, N14,
N15, N16, N17, N18, N19, N20, N21, N22, N23, N24, N25, N26,
N27, N28, N29, N30, N31, N32, N33, N34, N35, N36, N37, N38,
N39, N40;
SurfaceProperty:OtherSideCoefficients,
\memo This object sets the other side conditions for a surface in a variety of ways.
\min-fields 8
A1, \field Name
\required-field
\reference OSCNames
\reference OutFaceEnvNames
N1, \field Combined Convective/Radiative Film Coefficient
\required-field
\type real
\note if>0, this field becomes the exterior convective/radiative film coefficient
\note and the other fields are used to calculate the outdoor air temperature
\note then exterior surface temperature based on outdoor air and specified coefficient
\note if<=0, then remaining fields calculate the outside surface temperature
\note following fields are used in the equation:
\note SurfTemp=N7*TempZone + N4*OutdoorDry-bulb + N2*N3 + GroundTemp*N5 + WindSpeed*N6*OutdoorDry-bulb
N2, \field Constant Temperature
\units C
\type real
\default 0
\note This parameter will be overwritten by the values from the Constant Temperature Schedule Name (below) if one is present
N3, \field Constant Temperature Coefficient
\note This coefficient is used even with a Schedule. It should normally be 1.0 in that case
\default 1
N4, \field External Dry-Bulb Temperature Coefficient
\type real
\default 0
N5, \field Ground Temperature Coefficient
\type real
\default 0
N6, \field Wind Speed Coefficient
\type real
\default 0
N7, \field Zone Air Temperature Coefficient
\type real
\default 0
A2; \field Constant Temperature Schedule Name
\note Name of schedule for values of constant temperature.
\note Schedule values replace any value specified in the field Constant Temperature.
\type object-list
\object-list ScheduleNames
A sample idf for this object is shown below.
SurfaceProperty:OtherSideCoefficients, OSCCoef:Zn005:Wall003, !- OSC Name
93
! Example input
0.0000000E+00,
0.000000
,
1.000000
,
0.000000
,
0.000000
,
0.000000
,
0.000000
,
GroundTempSched;
The OSC object can be repeated for as many outside temperatures as needed. A more detailed explanation of how to use this object is contained in the next
section, and an example object is output by the program in the file EPObjects.txt.
!!!!!!!!!!!!!!-
The OtherSideCoefficients object has to supply the basic form of the environment. Note that the name corresponds to thee name in the Surface object. This
object also supplies the name of a schedule that will provide the monthly ground temperature values.
SurfaceProperty:OtherSideCoefficients,
ExampleOSC,
!- OtherSideCoeff Name
0,
!- Combined convective/radiative film coefficient
1,
!- User selected Constant Temperature {C}
1,
!- Coefficient modifying the user selected constant temperature
0,
!- Coefficient modifying the external dry bulb temperature
0,
!- Coefficient modifying the ground temperature
0,
!- Coefficient modifying the wind speed term (s/m)
0,
!- Coefficient modifying the zone air temperature part of the equation
GroundTempCompactSched; !- Schedule Name for values of "const" temperature. Schedule values replace N2.
The schedule named in the last field of the OtherSideCoefficients object must be supplied. In compact schedule format it would appear as shown below. Again,
objects for each of the surface temperatures are produced by the program and output in the file EPObjects.txt.
Schedule:Compact,
GroundTempCompactSched,
Temperature ,
Through: 1/31,
For:AllDays,
Until: 24:00,
16,
Through: 2/28,
For:AllDays,
Until: 24:00,
17,
Through: 3/31,
For:AllDays,
Until: 24:00,
18,
Through: 4/30,
For:AllDays,
Until: 24:00,
19,
Through: 5/31,
For:AllDays,
Until: 24:00,
20,
Through: 6/30,
For:AllDays,
Until: 24:00,
!!!!!!!!!!!!!!!!!!!!!!!!!-
Name
ScheduleType
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
Complex Field
\#1
\#2
\#3
\#4
\#5
\#6
\#7
\#8
\#9
\#10
\#11
\#12
\#13
\#14
\#15
\#16
\#17
\#18
\#19
\#20
\#21
\#22
\#23
94
20,
Through: 7/31,
For:AllDays,
Until: 24:00,
20,
Through: 8/31,
For:AllDays,
Until: 24:00,
19,
Through: 9/30,
For:AllDays,
Until: 24:00,
18,
Through: 10/31,
For:AllDays,
Until: 24:00,
17,
Through: 11/30,
For:AllDays,
Until: 24:00,
16,
Through: 12/31,
For:AllDays,
Until: 24:00,
16;
!!!!!!!!!!!!!!!!!!!!!!!!!-
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Complex
Field
Field
Field
Field
Field
Field
Field
Field
Field
Field
Field
Field
Field
Field
Field
Field
Field
Field
Field
Field
Field
Field
Field
Field
Field
\#24
\#25
\#26
\#27
\#28
\#29
\#30
\#31
\#32
\#33
\#34
\#35
\#36
\#37
\#38
\#39
\#40
\#41
\#42
\#43
\#44
\#45
\#46
\#47
\#48
3.16 References
Bahnfleth, W.P. 1989. Three Dimensional Modeling of Heat Transfer from Slab Floors, Ph.D. dissertation, also published as USACERL TM E-89/11, University of
Illinois.
Bahnfleth, W.P. and C.O. Pedersen. 1990. A Three Dimensional Numerical Study of Slab-on-Grade Heat Transfer.ASHRAE Transactions Pt. 2, 96:61-72.
Clements, Edward. 2004. Three Dimensional Foundation Heat Transfer Modules for Whole-Building Energy Analysis, MS Thesis, Pennsylvania State University.
Cogil, Cynthia A. 1998. Modeling of Basement Heat Transfer and Parametric Study of Basement Insulation for Low Energy Housing. MS Thesis of Architectural
Engineering, Pennsylvania State University.
95
maxo=
mino=
96
emit=
S 6 21 22 23 24
0 0
! =========================
End Of Data
.999
Roof
Notice the title from row 6 on the interface appears at the top of the input file, and the control line information in rows 7 and 8 appear below the title line in a line
with the character C at the left end. The explanation of the control parameters from the program document states:
(C c) The control line includes the following parameters (in order): name = value
eps = 1.0e-4
integration convergence criterion for both adaptive integration and view obstruction. This is not an exact measure of the accuracy of the computed view factors,
but smaller values will usually lead to more precise values. The convergence criteria should not be less than about 1.0e-6 because many of the intermediate
calculations are accurate only to single (32-bit) precision.
maxU = 8
maximum recursions used in computing the unobstructed view factors.
maxO = 8
maximum recursions used in computing the obstructed view factors. Limiting the maximum number of recursions limits the total execution time of the program
but may prevent reaching the specified convergence.
minO = 0
minimum recursions: used in computing the obstructed view factors. This can help in cases where an obstruction occurs very near the view between the edges
of two surfaces. The normal adaptive integration may miss the obstruction. Increasing this value from its normal value of 0 to 1 or 2 may catch the obstruction.
This is probably not necessary except when very accurate view factors are desired. It can add considerably to execution time.
row = 0
selected row for computing view factors (0 = all rows)
col = 0
selected column for computing view factors (0 = all columns)
encl = 0
1 indicates that the surfaces form an enclosure; 0 indicates that they do not. This data is used to adjust the view factors of an enclosure to guarantee
conservation of energy.
emit = 0
1 indicates that diffuse reflectance effects will be included in the computed view factors; 0 indicates they will not, i.e., surfaces will be considered 'black'.
out = 0
view factor output file format - 1 = gence criterion for the numerical integration used to compute view factors between surfaces that have view obstructing
surfaces between them.
list = 0
computational summary written to the VIEW3D.LOG file; 0 gives minimal information; 1 gives slightly more; 2 prints all the view factors; 3 causes dumping of
some intermediate values.
The values of the parameters shown on the interface sheets are reasonable defaults, and they should need to be adjusted only rarely.
In the upper right corner of either sheet is a button that causes two files to be generated and View3D to be executed. The two files generated are the input file
that uses the name from cell D13 with the extension vs3, and a file with the same name and an extension dxf. VoloView can be used with this file to generate a
wire frame drawing of the zone being analyzed.
Two paths are needed for executing the program. The directory path where the vs3 and dxf files will be placed is specified in cell D11. This directory can be
selected using the Browse button in cell B11. The path to the View3D.exe program is specified by cell D15. This directory can be selected with the Browse
button in cell B15.
If you are using the ZoneSheet, the zone surfaces are described in the region from row 17 to row 27. Each column supplies the details for one surface.
Additional surface columns can be added by copying and pasting a desired starting column to the right of column H. If either the surface height or base surface
length is zero, the gross area cell will be zero and column is ignored. The facing direction of the surface is the direction an inward normal to the surface would
point. So, the south wall of a zone faces north or 0 degrees. Note that this is different from EnergyPlus where the facing direction of a surface is based on the
outward normal. The facing direction becomes just slightly more difficult with horizontal surfaces like floors and ceilings. The key to determining their facing
direction is to visualize them being rotated slightly into the zone around their base surface axis. In the example, both ceiling and floor are chosen to face south.
97
The tilt of a surface is relative to a horizontal upward facing (in the conventional sense) surface such as a floor. A ceiling or flat roof it tilted 180 degrees. Vertical
surfaces have a tilt of 90 degrees.
The remaining information needed to describe the surfaces is the coordinates of the lower left hand corner of the surface when viewed from inside the zone. This
is where the visualization of a slight rotation of the floor and roof becomes helpful. Consider the roof surface on the sheet. Its base side lies along the east west
axis since it faces south. With a slight inward rotation, it is clear that the lower left hand corner is the northwest corner of the roof. This corner has coordinates of
0, 60, and 8.
If the VerticesZoneSheet is being used, the description of the surfaces consists only of the vertices. For this program, the vertices are specified in a counter
clockwise rotation order if looking at the surface from the inside, and in a clockwise rotation order if looking from the outside.
The vs3 file produced is shown previously and the dxf file generates the wire frame drawing shown in Figure 26.
0.407109
0.412652
0.407110
0.412679
0.000000
0.759385
0.407106
0.412659
0.407105
0.412677
0.759385
0.000000
Excel macro capabilities are used by the interface to convert the text to columns and add the surface names and other headings. The modified results are placed
on the Results worksheet as shown in Figure 28.
98
The extra sheets generated by the VBA macros will be deleted if the program is called with the run button while they are present. The user will be queried to
make sure the sheets should be deleted. During the succeeding run, new sheets will be created.
Description
<filename>_Transition.audit
This is the contents of what you would see on the screen if you sat and watched the transition process during a console run. If you
convert multiple versions, all the messages are shown in this file.
<filename>.idf
<filename>_Vxxx.idf
If you don't select "create intermediate versions", this will only be the original version. Otherwise will have each version.
99
For those who are interested, this is the detailed description of the Transition console applications including the current one. There are methods to use the
program set from the command line; those details are not included in this document but available from EnergyPlus Support group.
TransitionVA-B-C-to-VD-E-F.exe is the transition program that converts files from version "A-B-C" to "D-E-F", and is distributed in the "D-E-F" installer package. It
uses several important files that are included in the "EnergyPlus" installation folder, in the PreProcess/IDFVersionUpdator subdirectory.
Table 28. Transition files for current release
File Name
Description
TransitionVA-B-C-to-VD-E-F.exe
VA-B-C-Energy+.idd
VD-E-F-Energy+.idd
Another file "RulesA-B-C-to-D-E-F.xls" is not used directly by the program but contains the "rules" for translating objects from version A-B-C release to the D-E-F
release. The ObjectStatus file can also be viewed - it will show if deleted objects are automatically transitioned to the new input file versions.
There are several methods to executing the transition program - these methods give you the most flexibility in changing files from one version to the next. The
easiest transition is through the EP-Launch program which can detect if the input file about to be run is of the same version as the IDD or not and suggest
transitioning. You can also manually transition from the file menu in EP-Launch. (To have this feature, you must also have the files from the preceding table in the
same folder as EP-Launch - which is usually the folder that also has the EnergyPlus.exe program).
There are two command line methods to execute the transition version (from the Command Prompt). One is to simply use the file name you want transitioned
(including .rvi or .mvi file names) or you can use a file name with a .lst extension and simply enter file names to be done in a text file. When you execute the
transition program in this fashion, you will get the "typical" program defaults of a "full" transition, field names will be shown at each field with units, and any blank
fields will be left blank rather than filled in with the current defaults.
100
PEOPLE,
ZONE ONE,
!- Zone Name
\#[FAREA[] / OCCDENAVG[]],
!- Number of People
OCCSCHED[],
!- Number of People SCHEDULE Name (real--fraction)
0.5000000,
!- Fraction Radiant
Activity Sch;
!- Activity level SCHEDULE Name (units W/person, real)
**\#\#endif
**
6 EPDrawGUI
The EPDrawGUI program is a simple utility that can be used to generate a dxf file from an input file without running EnergyPlus. It is a simple cross platform
application is stored in the Preprocess subfolder of the EnergyPlus folder upon installation. A companion DLL (EPlusDrw.dll) is also needed in the same folder.
And its library folders are required in a subfolder (EPDrawGUI Libs).
101
files.
The "View DXF File" button is used to select a previously created DXF file and view it with the DXF file viewer. The DXF viewer is usually found automatically but
if this function does not work, you may want to select the DXF file viewer manually using the Select DXF Viewer button.
The "Select DXF Viewer" button allows you to manually select the program used to display DXF files. Normally, it is not necessary to use this function since the
DXF file viewer program is automatically detected but if the wrong file viewer is automatically detected or no file viewer is detected, this button can be used to
select the viewer program.
For IDF files that contain surfaces with more than four sides, the options under "Polygons with 5+ Sides" can affect the way the drawing is shown. Polygons with
>4 sides do not display with the DXF 3DFACE command used for surfaces of 3 and 4 sides which subsequently will display very nicely as a "solid" in many DXF
viewers.
Thus there are four options which the user may choose to display >4 sided polygons.
Attempt Triangulation
This option attempts simple triangulation for the polygon (>4 sides) surfaces. This triangulation will show in the wireframe views but will appear as a solid face in
3D views. This triangulation is only for drawing purposes and does not affect the simulations in any way. The triangle algorithm is not perfect and warnings do
result when the software cannot triangulate a surface. If unable to triangulate simply, a warning error is generated to the .EPDerr file.
Thick Polyline
With this option, the >4 sided polygon appears as a thicker line in all views of the building model. This option creates a 'thick' line at the border of the polygon (>4
sides) surfaces. It will look like a hole in the drawing with a thicker edge. This thick border shows in wireframe as well as 3D views and can be confusing, due to
overlap with other surfaces.
Regular Polyline
With this option, the >4 sided polygon appears as a wire frame line in all views of the building model. This option creates a 'regular' polyline for all polygon (>4
sides) surfaces. It will look like a hole in the drawing. Also, it will look the same in both wireframe and 3D views.
Wireframe
This option creates a wireframe drawing (all lines) for all surfaces. All surfaces will appear as lines in both wireframe and 3D views.
Note that the EPDrawGUI program only processes building and shading surfaces. It does not process daylighting reference points though the similar option in
the EnergyPlus program (Report, Surfaces, DXF;) does show the daylighting reference points (but not illuminance map points) in the DXF view.
7 Input Macros
7.1 Introduction
The Input Macros feature increases the flexibility of the EnergyPlus input files. This feature is intended for advanced users who are already familiar with
EnergyPlus IDF files and need to prepare input manually. The basic capabilities are:
Incorporating external files containing pieces of IDF into the main EnergyPlus input stream.
Selectively accepting or skipping portions of the input.
Defining a block of input with parameters and later referencing this block.
Performing arithmetic and logical operations on the input.
Input macro debugging and listing control.
These capabilities are invoked in the EP-MACRO program by using macro commands. Macro commands are preceded by ## to distinguish them from regular
EnergyPlus input commands. After execution by the EP-MACRO processor, macro commands produce regular lines of EnergyPlus input that are shown in the
resultant IDF file (out.idf) and, subsequently, in the EnergyPlus echo print (audit.out). Following are descriptions of the macro commands associated with the
above capabilities. A detailed example of input macros is given at the end of this section; you should review it before reading the macro command descriptions.
102
File Name
Description
in.imf
audit.out
out.idf
The EP-Macro program is a Console Application, so to run by hand you would need to open a command prompt in the Main EnergyPlus install folder. Then, you
would need to copy your input file containing the macro commands from its folder to this folder with the name "in.imf". The installed name of the EP-Macro
program is "epmacro.exe". After execution, you can save the out.idf in an appropriate folder or rename it to in.idf in order to execute EnergyPlus. You can view
the audit.out file for any errors that might have occurred during EP-Macro processing.
External
file:
input1.inp
file2.inp
line 1a
line 2a
line 2c
line 1c
The end result of processing ##include input1.inp will be:
line 1a
(from input1.inp)
line 2a
(from file2.inp)
line 2b
(from file2.inp)
line 2c
(from file2.inp)
line 1b
(from input1.inp)
line 1c
(from input1.inp)
External files can also contain ##include commands, as shown in the following example:
First external
Seconh external
103
file3.inp
line 1a
line 2a
line 3a
line 3b
line 1b
line 1c
line 2c
file:
line 3d
(from input1.inp)
line 2a
(from file2.inp)
line 2b
line 3a
line 3b
line 3c
line 3d
(from file2.inp)
(from file3.inp)
(from file3.inp)
(from file3.inp)
(from file3.inp)
line 2c
(from file2.inp)
line 1b
(from input1.inp)
line 1c
(from input1.inp)
Note: Up to nine ##include commands can be nested. However, there should be no recursion. This is an example of a recursion:
file1.inp contains ##include file2.inp
file2.inp contains ##include file1.inp
104
line2b
...
otherwise
If {condition 3} is TRUE,
line3a
line3b
...
otherwise
If {condition 1}, {condition 2}, {condition 3} are all FALSE.
line N a
line N b
...
There are six different ##if... commands:
Command
Result
##ifdef
{macro name}
: if macro name defined, include following lines
##ifndef
{macro name}
: if macro name NOT defined, include following lines
##if
{condition}
: if condition is TRUE, include following lines
##elseif
{condition}
: if condition is TRUE, and previous conditions are FALSE, include
following lines
##else
: if all previous conditions are FALSE, include following lines
##endif
: indicates the end of the if block
Notes:
{macro name} is explained in section Defining Blocks of Input, below.
{condition} is 0 or BLANK meaning FALSE, and any other character meaning TRUE.
##ifdef and ##ifndef do not have corresponding ##elseif commands, but they do have
corresponding
**\#\#else**
and
**\#\#endif**
commands.
macro text
105
|
|
|
|
##def macro-name [ arg1 arg2,arg3 ...]
|_
|
| |
|_
|
_|
|
|
| |
| | |
|
|
| |
| | |
zero
one
zero_|
space(s)
or
or
or
or comma
more
more
more
spaces spaces
spaces
|
|
text line 1
|
|
one
or
more
spaces
xx
yy
123
xx[]
106
OP **
Result
number + (plus)
number
number
number - (minus)
number
number
number * (times)
number
number
number
number
number min
number
number
number max
number
number
number mod
number
number
number ** (power)
number
number
SIN
OF
COS
OF
TAN
OF
number
(degrees)
number
(degrees)
number
number
number
(degrees)
number
SQRT OF
number
number
ABS
OF
number
number
ASIN
OF
number
number (degrees)
ACOS OF
number
number (degrees)
ATAN OF
number
number
INT
OF
number
number
LOG10 OF
number
number
LOG
number
number
OF
literal "literal1literal2"
literal
EQS (=)
literal
literal
NES ()
literal
literal
EQSU (=)
literal
literal
NESU ()
literal
logical AND
logical
logical OR
logical
NOT
logical
number EQ (=)
number
number NE ()
number
number GT (>)
number
number GE ()
number
number LT (<)
number
number LE ()
number
107
108
109
This example shows the use of the##set, ##include, ##eval and ##if commands. Let an external file called cities.idf contain the following text:
** ##if #**[ city[ ]EQS CHICAGO ]
Location,Chicago IL, !- Location Name
41.880, !- Latitude
-87.63, !- Longitude
-6.0, !- Time Zone
2.; !- Elevation {m}
##elseif #[ city[ ] EQS WASHINGTON ]
Location,Washington DC, !- Location Name
38.9, !- Latitude
-77.0, !- Longitude
-5.0, !- Time Zone
15.; !- Elevation {m}
##else
** ** ERROR --- City Undefined
##endif
Then the EnergyPlus input
##set1 city[ ] CHICAGO
##include cities.idf
will be converted, after macro processing, to:
Location,Chicago IL, !- Location Name
41.880, !- Latitude
-87.63, !- Longitude
-6.0, !- Time Zone
2.; !- Elevation {m}
8 HVAC Diagram
110
8.1 Introduction
The HVAC-Diagram program is a simple utility that can be used to generate a svg file based on the bnd file generated by EnergyPlus. It is a stored in the primary
EnergyPlus\PostProcessor folder upon installation.
It creates a series of diagrams for the layout of the HVAC system components. The SVG file can be viewed with a number of internet browser plug-ins such as
produced by Adobe that can be downloaded at www.adobe.com/svg. To get help within the Adobe viewer, right click anywhere on the drawing.
Each diagram should be read from left to right, which is the direction of the flow of the fluid through the components.
The HVAC-Diagram program is automatically called when using EP-Launch but can also be included in other batch files. To view the drawing in EP-Launch, click
on the drawing button. You can zoom in on this drawing and with the "copy" command, paste a zoomed in portion as a bitmap in your document.
Color
AirLoopHVAC:ReturnPlenum
lightgreen
AirLoopHVAC:SupplyPlenum
lightgreen
AirLoopHVAC:ZoneMixer
wheat
AirLoopHVAC:ZoneSplitter
wheat
AirTerminal:DualDuct:ConstantVolume
wheat
AirTerminal:DualDuct:VAV
wheat
AirTerminal:SingleDuct:Uncontrolled
none
AirTerminal:SingleDuct:VAV:NoReheat
wheat
AirTerminal:SingleDuct:VAV:Reheat
wheat
Boiler:HotWater
indianred
Chiller:Absorption
powderblue
Chiller:CombustionTurbine
powderblue
Chiller:ConstantCOP
powderblue
Chiller:Electric
powderblue
Chiller:EngineDriven
powderblue
ChillerHeater:Absorption:DirectFired
powderblue
Coil:Cooling:DX:MultiSpeed
skyblue
Coil:Cooling:DX:SingleSpeed
skyblue
Coil:Cooling:Water
skyblue
Coil:Cooling:Water:DetailedGeometry
skyblue
Coil:Cooling:WaterToAirHeatPump:EquationFit
skyblue
Coil:Cooling:WaterToAirHeatPump:ParameterEstimation skyblue
Coil:Heating:DX:SingleSpeed
skyblue
Coil:Heating:Electric
salmon
Coil:Heating:Gas
salmon
Coil:Heating:Water
salmon
Coil:Heating:WaterToAirHeatPump:EquationFit
salmon
Coil:Heating:WaterToAirHeatPump:ParameterEstimation salmon
Connector:Mixer
lightgreen
111
Connector:Splitter
wheat
Controller:OutdoorAir
none
Controller:WaterCoil
none
CoolingTower:SingleSpeed
pink
Dehumidifier:Desiccant:NoFans
tan
DistrictCooling
none
DistrictHeating
none
EvaporativeCooler:Direct:CelDekPad
aliceblue
EvaporativeCooler:Indirect:CelDekPad
aliceblue
EvaporativeCooler:Indirect:ResearchSpecial
aliceblue
Fan:ConstantVolume
silver
Fan:OnOff
silver
Fan:VariableVolume
silver
Fan:ZoneExhaust
silver
Generator:CombustionTurbine
orange
Generator:InternalCombustionEngine
orange
GroundHeatExchanger:Pond
paleturquoise
GroundHeatExchanger:Surface
paleturquoise
GroundHeatExchanger:Vertical
paleturquoise
HeatExchanger:AirToAir:FlatPlate
paleturquoise
HeatExchanger:AirToAir:SensibleAndLatent
paleturquoise
HeatExchanger:Hydronic
paleturquoise
HeatPump:WaterToWater:EquationFit:Cooling
lightslategray
HeatPump:WaterToWater:EquationFit:Heating
lightslategray
HeatPump:WaterToWater:ParameterEstimation:Cooling lightslategray
HeatPump:WaterToWater:ParameterEstimation:Heating lightslategray
Humidifier:Steam:Electric
lavender
LoadProfile:Plant
none
OutdoorAir:Mixer
lawngreen
OutdoorAir:NodeList
none
Pipe:Adiabatic
wheat
PlantLoopConnection
wheat
Pump:ConstantSpeed
springgreen
Pump:VariableSpeed
springgreen
SolarCollector:FlatPlate:Water
yellow
WaterHeater:Mixed
orange
WaterHeater:Stratified
orange
ZoneHVAC:Baseboard:Convective:Water
salmon
ZoneHVAC:EnergyRecoveryVentilator:Controller
none
ZoneHVAC:EquipmentConnections
chartreuse
ZoneHVAC:IdealLoadsAirSystem
none
ZoneHVAC:LowTemperatureRadiant:ConstantFlow
orangered
ZoneHVAC:LowTemperatureRadiant:VariableFlow
orangered
ZoneHVAC:UnitVentilator
sandybrown
Table 31. HVAC Diagram Object Names and Color (primary sort)
Object Name
Color
EvaporativeCooler:Direct:CelDekPad
aliceblue
EvaporativeCooler:Indirect:CelDekPad
aliceblue
EvaporativeCooler:Indirect:ResearchSpecial
aliceblue
ZoneHVAC:EquipmentConnections
chartreuse
Boiler:HotWater
indianred
Humidifier:Steam:Electric
lavender
OutdoorAir:Mixer
lawngreen
112
AirLoopHVAC:ReturnPlenum
lightgreen
AirLoopHVAC:SupplyPlenum
lightgreen
Connector:Mixer
lightgreen
HeatPump:WaterToWater:EquationFit:Cooling
lightslategray
HeatPump:WaterToWater:EquationFit:Heating
lightslategray
HeatPump:WaterToWater:ParameterEstimation:Cooling lightslategray
HeatPump:WaterToWater:ParameterEstimation:Heating lightslategray
AirTerminal:SingleDuct:Uncontrolled
none
Controller:OutdoorAir
none
Controller:WaterCoil
none
DistrictCooling
none
DistrictHeating
none
LoadProfile:Plant
none
OutdoorAir:NodeList
none
ZoneHVAC:EnergyRecoveryVentilator:Controller
none
ZoneHVAC:IdealLoadsAirSystem
none
Generator:CombustionTurbine
orange
Generator:InternalCombustionEngine
orange
WaterHeater:Mixed
orange
WaterHeater:Stratified
orange
ZoneHVAC:LowTemperatureRadiant:ConstantFlow
orangered
ZoneHVAC:LowTemperatureRadiant:VariableFlow
orangered
GroundHeatExchanger:Pond
paleturquoise
GroundHeatExchanger:Surface
paleturquoise
GroundHeatExchanger:Vertical
paleturquoise
HeatExchanger:AirToAir:FlatPlate
paleturquoise
HeatExchanger:AirToAir:SensibleAndLatent
paleturquoise
HeatExchanger:Hydronic
paleturquoise
CoolingTower:SingleSpeed
pink
Chiller:Absorption
powderblue
Chiller:CombustionTurbine
powderblue
Chiller:ConstantCOP
powderblue
Chiller:Electric
powderblue
Chiller:EngineDriven
powderblue
ChillerHeater:Absorption:DirectFired
powderblue
Coil:Heating:Electric
salmon
Coil:Heating:Gas
salmon
Coil:Heating:Water
salmon
Coil:Heating:WaterToAirHeatPump:EquationFit
salmon
Coil:Heating:WaterToAirHeatPump:ParameterEstimation salmon
ZoneHVAC:Baseboard:Convective:Water
salmon
ZoneHVAC:UnitVentilator
sandybrown
Fan:ConstantVolume
silver
Fan:OnOff
silver
Fan:VariableVolume
silver
Fan:ZoneExhaust
silver
Coil:Cooling:DX:MultiSpeed
skyblue
Coil:Cooling:DX:SingleSpeed
skyblue
Coil:Cooling:Water
skyblue
Coil:Cooling:Water:DetailedGeometry
skyblue
Coil:Cooling:WaterToAirHeatPump:EquationFit
skyblue
Coil:Cooling:WaterToAirHeatPump:ParameterEstimation skyblue
Coil:Heating:DX:SingleSpeed
skyblue
Pump:ConstantSpeed
springgreen
113
Pump:VariableSpeed
springgreen
Dehumidifier:Desiccant:NoFans
tan
AirLoopHVAC:ZoneMixer
wheat
AirLoopHVAC:ZoneSplitter
wheat
AirTerminal:DualDuct:ConstantVolume
wheat
AirTerminal:DualDuct:VAV
wheat
AirTerminal:SingleDuct:VAV:NoReheat
wheat
AirTerminal:SingleDuct:VAV:Reheat
wheat
Connector:Splitter
wheat
Pipe:Adiabatic
wheat
PlantLoopConnection
wheat
SolarCollector:FlatPlate:Water
yellow
9 CoeffConv/CoeffCheck
These two programs are stored in the PreProcess folder of your EnergyPlus installation under a folder CoeffConv.
9.1 CoeffConv
CoeffConv is a program to convert DOE-2 temperature dependent curves in Fahrenheit to EnergyPlus curves in Centigrade. The program converts the DOE-2
coefficients of a biquadratic curve to the equivalent EnergyPlus biquadratic curve coefficients.
EP-Launch can be used to run the CoeffConv program. CoeffConv is one of the options on the Utilities tab in EP-Launch. See the EP-Launch section in this
document for more information on how to use EP-Launch with the CoeffConv program. When using EP-Launch to run CoeffConv the input file must have the file
extension .coi and will create an output file with the file extension .coo.
You can also run the CoeffConv program as a console application. The input file then must be from file CoeffConvInput.txt (status=OLD). There are 6 lines of
ascii input.
For example:
VarSpeedCoolCapFt
-0.29382,0.0222213,0.00006988,0.0040928,-0.00000226,-0.00013774
55.,75.
75.,115.
67.0,95.0
5.0
The 1st line is the user selected name of the curve.
The 2nd line contains the 6 biquadratic curve coefficients, comma separated. These are the Doe-2 coefficients.
The 3rd line contains the min and max values of the 1st independent variable, comma separated, deg F.
The 4th line contains the min and max values of the 2nd independent variable, comma separated, deg F.
The 5th line contains the rated values of the 1st & 2nd independent variables, comma separated, deg F.
The 6th line contains the delta T for the output performance maps.
All the input lines should start in column 1.
The above sequence can be repeated up to 100 times.
The output file is CoeffConvOutput.txt (status=NEW) (that means you need to delete any existing CoeffConvOutput.txt).
The output file will contain the EnergyPlus idf input for the curve, as well as any error messages;
Also, the DOE-2 and EnergyPlus curve values at the rating point (where the value should be 1.0) and performance maps for the curves - both DOE-2 and
EnergyPlus.
There is an example input file and an example output file installed with the program.
9.2 CoeffCheck
CoeffCheck is a program to print out a performance map given a bi-quadratic performance curve.
EP-Launch can be used to run the CoeffCheck program. CoeffCheck is one of the options on the Utilities tab in EP-Launch. See the EP-Launch section in this
document for more information on how to use EP-Launch with the CoeffCheck program. When using EP-Launch to run CoeffCheck the input file must have the
file extension .cci and will create an output file with the file extension .cco.
114
You can also run the CoeffCheck program as a console application. The input file then must be from file CoeffCheckInput.txt (status=OLD). There are 6 lines of
ascii input.
For example:
VarSpeedCoolCapFt
0.476428E+00,0.401147E-01,0.226411E-03,-0.827136E-03,-0.732240E-05,-0.446278E-03
12.777778,23.888889
23.888889,46.111111
19.444444,35.0
2.777778
The 1st line is the user selected name of the curve.
The 2nd line contains the 6 biquadratic curve coefficients, comma separated.
The 3rd line contains the min and max values of the 1st independent variable, comma separated
The 4th line contains the min and max values of the 2nd independent variable, comma separated
The 5th line contains the rated values of the 1st & 2nd independent variables, comma separated
The 6th line contains the delta T for the output performance map
The output file is CoeffCheckOutput.txt (status=NEW).
There is an example input file and an example output file installed with the program.
10 ExpandObjects
10.1 Introduction
The ExpandObjects program uses HVACTemplate objects in the IDF file to "expand" them into full fledged objects for EnergyPlus. Read more details of the
systems and the individual fields in the HVACTemplate objects in the Input Output Reference document.
ExpandObjects also processes GroundHeatTransfer objects, sends an input file to the Slab and Basement preprocessors, and replaces ground heat transfer
boundary condition fields in building surface objects. Read more details of the ground heat transfer processing in the Input Output Reference.
Technically speaking, the ExpandObjects program is a preprocessor that is currently used with the HVACTemplate objects. The preprocessor reads anidf file
and generates an expanded.idf file (usually with the extension .expidf). The original idf file contains objects that will be read by the preprocessor and those that
are ignored by the preprocessor. The objects read can be either commented out or left as is. The objects created by the preprocessor in the expanded.idf file
should require no further preprocessing. The preprocessor does not read the EnergyPlus Data Dictionary file (Energy+.IDD) and does limited validation. Most of
the object values that are created are "passed" through from input objects. This allows EnergyPlus to provide most of the validation. If errors are found, error
messages are passed to the EnergyPlus program using the Output:Preprocessor object. These errors will be shown in the usual EnergyPlus error file. When
used with EP-Launch, the expanded.idf file is renamed to the original file name with the extension expidf.
115
HVACTemplate:Thermostat
HVACTemplate:Zone:IdealLoadsAirSystem
HVACTemplate:Zone:FanCoil
HVACTemplate:Zone:PTAC
HVACTemplate:Zone:PTHP
HVACTemplate:Zone:Unitary
HVACTemplate:Zone:VAV
HVACTemplate:Zone:VAV:FanPowered
HVACTemplate:Zone:WatertoAirHeatPump
HVACTemplate:System:Unitary
HVACTemplate:System:UnitaryHeatPump:AirToAir
HVACTemplate:System:VAV
HVACTemplate:System:PackagedVAV
HVACTemplate:System:DedicatedOutdoorAir
HVACTemplate:Plant:ChilledWaterLoop
HVACTemplate:Plant:Chiller
HVACTemplate:Plant:Chiller:ObjectReference
HVACTemplate:Plant:Tower
HVACTemplate:Plant:Tower:ObjectReference
HVACTemplate:Plant:HotWaterLoop
HVACTemplate:Plant:Boiler
HVACTemplate:Plant:Boiler:ObjectReference
116
GroundHeatTransfer:Basement:Insulation
GroundHeatTransfer:Basement:SurfaceProps
GroundHeatTransfer:Basement:BldgData
GroundHeatTransfer:Basement:Interior
GroundHeatTransfer:Basement:ComBldg
GroundHeatTransfer:Basement:EquivSlab
GroundHeatTransfer:Basement:EquivAutoGrid
GroundHeatTransfer:Basement:AutoGrid
GroundHeatTransfer:Basement:ManualGrid
GroundHeatTransfer:Basement:XFACE
GroundHeatTransfer:Basement:YFACE
GroundHeatTransfer:Basement:ZFACEHVACTemplate:Thermostat
11 CSVproc
This simple post processing utility may be useful when doing parametric analyses. It takes a CSV (comma separated values file) and performs some simple
statistics. It is a very small application with no interface. It is typically executed from the command line.
1) Open a DOS command prompt window (Start Programs Accessories Command Prompt)
2) Change to the directory where EnergyPlus is installed (modify the commands below if you did not install EnergyPlus in the default install path):
C:
CD \<root folder>\</span>
3) Change to the specific folder for the coefficient conversion applications:
CD PostProcess
4) Run the program:
CSVproc <filename>
Where <filename> is the name of a CSV file, including extension. There is a simple readme.txt file in the folder. The program performs some simple statistics on
each column and creates a new file with the same name without extension and -PROC.CSV added to the name.
The statistics performed on each column are:
SUM
MAX
MIN
AVERAGE
COUNT
117
COUNTIF > 0
COUNTIF > 5
COUNTIF > 10
COUNTIF > 15
COUNTIF > 20
COUNTIF > 25
COUNTIF > 30
COUNTIF > 35
COUNTIF > 40
COUNTIF > 45
COUNTIF > 50
COUNTIF > 55
COUNTIF > 60
COUNTIF > 65
COUNTIF > 70
COUNTIF > 75
COUNTIF > 80
COUNTIF > 85
COUNTIF > 90
COUNTIF > 95
COUNTIF > 100
COUNTIF = 1
COUNTIF < 19.9
COUNTIF > 24.0
Obviously, not all statistics are relevant for every output report variable. The average is based on the sum divided by the number of non-blank rows. The average
is not based on the length of time for that timestep. Due to this, CSVproc is best suited for an hourly output file.
Source code is available upon request from [email protected].
12 convertESOMTR
This simple post processing utility will convert the raw data "ESO" and "MTR" files to IP (Inch-Pound) units before later processing into CSV files. EP-Launch has
an option to automatically convert to IP units that invokes convertESOMTR, see VIEW - Options - Miscellaneous dialog box. The ReadVarsESO program will
take these converted files and make them into normal CSV files but will have IP units. The RunEPlus batch file does not include this option but could be edited to
perform the same functions if desired.
Technically speaking, the convertESOMTR program uses the "convert.txt" file which contains the conversion factors. It creates files "ip.eso" and "ip.mtr" as
appropriate. The batch examples then renames the old eplusout.eso to eplusout.esoold, old eplusout.mtr to eplusout.mtrold and the ip files to the default
eplusout.eso, eplusout.mtr.
The convert.txt file contains the conversion factors using three different commands.
conv,<si-unit>,<ip-unit>,<multiplier>,<offset>
wild,<match-string>,<si-unit>,<ip-unit>
vari,<variable-name-no-units>,<si-unit>,<ip-unit>
If a specific variable needs to be converted, the 'vari' line may be used to convert the units on that specific variable only. To convert a class of variables that
118
contains a specific string of characters in the names of the variables, the 'wild' line may be used. The 'conv' lines are the lines that actually create the conversion
factors. If no 'vari' or 'wild' match a variable, then it is converted used the first 'conv' line that matches. The default convert.txt file contains some conversions for
Inch-Pound units but any set of units may be used by editing the convert.txt file. Note that the convert.txt file uses the standard EnergyPlus comment character
(!).
A snippet of the convert.txt file:
! Power
!-----------------------------!
(1 kW / 1000 W)
conv,W,kW,0.001,0
!
(1 Btuh/ 0.2928751 W) * (1 kBtuh/1000 Btuh)
conv,W,kBtuh,3.41442E-03,0
13 CalcSoilSurfTemp Program
The CalcSoilSurfTemp program calculates three important parameters for the simulation of the earth tube:
the annual average soil surface temperature
the amplitude of soil surface temperature
the phase constant of soil surface temperature
Since soil temperature is one of the most significant factors affecting the overall performance of earth tube system, soil temperature around the earth tube should
be accurately predicted.
Before the soil temperature around earth tube can be calculated during the running period of earth tube model in EnergyPlus, the ground surface temperature
straight above earth tube should be predicted. Using CalcSoilSurfTemp program, these parameters are predicted by considering the convective heat transfer
between the air and ground, solar radiation absorption by the ground, long-wave radiation emitted from the soil, and latent heat loss due to the moisture
evaporation at the ground surface.
119
ZoneEarthtube,
\min-fields 22
\memo Earth Tube is specified as a design level which is modified by a Schedule fraction, temperature difference and wind s
\memo Earthtube=Edesign * Fschedule * (A + B*|(Tzone-Todb)| + C*WindSpd + D * WindSpd**2)
A1, \field Zone Name
\required-field
\type object-list
\object-list ZoneNames
A2, \field Schedule Name
\required-field
\type object-list
\object-list ScheduleNames
N1, \field Design Flow Rate
\required-field
\units m3/s
\note "Edesign" in Equation
\type real
\minimum 0
N2, \field Minimum Zone Temperature when Cooling
120
\required-field
\note this is the indoor temperature below which the earth tube is shut off
\units C
\type real
\minimum -100
\maximum 100
N3, \field Maximum Zone Temperature when Heating
\required-field
\note this is the indoor temperature above which the earth tube is shut off
\units C
\type real
\minimum -100
\maximum 100
N4, \field Delta Temperature
\required-field
\note This is the temperature difference between indoor and outdoor below which the earth tube is shut off
\units deltaC
\type real
\minimum 0
A3, \field Earthtube Type
\required-field
\type choice
\key Natural
\key Intake
\key Exhaust
\default Natural
N5, \field Fan Pressure Rise
\required-field
\note pressure rise across the fan
\type real
\units Pa
\minimum 0
\default 0
N6, \field Fan Total Efficiency
\required-field
\type real
\minimum> 0
\default 1
N7, \field Pipe Radius
\required-field
\units m
\type real
\minimum> 0
\default 1
N8, \field Pipe Thickness
\required-field
\units m
\type real
\minimum> 0
\default 0.2
N9, \field Pipe Length
\required-field
\units m
\type real
\minimum> 0
\default 15
N10, \field Pipe Thermal Conductivity
\required-field
\units W/m-K
\type real
\minimum> 0
\default 200
N11, \field Pipe Depth Under Ground Surface
\required-field
\units m
\type real
\minimum> 0
\default 3
A4, \field Soil Condition
\required-field
\type choice
\key HeavyAndSaturated
\key HeavyAndDamp
\key HeavyAndDry
\key LightAndDry
\default HeavyAndDamp
N12, \field Average Soil Surface Temperature
\required-field
\units C
\type real
121
\default 0
N13, \field Amplitude of Soil Surface Temperature
\required-field
\units C
\type real
\minimum 0
\default 0
N14, \field Phase Constant of Soil Surface Temperature
\required-field
\units days
\type real
\minimum 0
\default 0
N15, \field Constant Term Flow Coefficient
\required-field
\note "A" in Equation
\type real
\default 1
N16, \field Temperature Term Flow Coefficient
\required-field
\note "B" in Equation
\type real
\default 0
N17, \field Velocity Term Flow Coefficient
\required-field
\note "C" in Equation
\type real
\default 0
N18; \field Velocity Squared Term Flow Coefficient
\required-field
\note "D" in Equation
\type real
\default 0
122
14.2 Inputs
First step in curve generation is to select appropriate parameters from the dropdown menu. These inputs define the DX Coil Type, Curve Type, Independent
Variable and the Units type. The choices available for each input parameters are described in table-1. Once these input parameters are selected the tool read in
the values and automatically populates labels for each of the independent and dependent variables. The labels guide users to enter the data for each variable in
the corresponding worksheet input range. Two sets of input data are required for curve generation: Rated, and Performance Data.
Table-1 Input parameters description
Input
Parameter
Description of Inputs
DX Coil
Cooling: applicable for DX cooling coil single speed Heating: applicable for DX heating coil single speed Other: applicable for any equipment that
Type
Independent
Variables
Temperature Flow
Curve
Types
Biquadratic: Capacity and EIR as a function of temperature Cubic: Capacity and EIR as a function of flow fraction or temperature Quadratic:
capacity and EIR as a function of flow fraction
Units
IP: Temperature in F, Capacity in kBtu/h, Power in kW, and Flow in CFM SI: Temperature in C, Capacity in kW, Power in kW, and Flow in 3m/s
This input is optional. This string is appended to the default curve object name, or if left blank the default curve object name will be displayed. A
Curve
Object
Name
CAPFTemp
CAPFFF
User Specified
curve object is named is created by concatenation as follows: = {
} + "DXCoilType" +
EIRFFF
123
power must be deducted from the former. If the capacity and power data are normalized values, then enter 1.0 for rated gross capacity and power in the Rated
Data input Cells range (B11:E11 in the INPUT tab). Two samples of performance and rated data set are included in the INSTRUCTION"
"
tab.
14.5 Outputs
The generated curves are post-processed to make sure that the curve value is 1.0 at the rated condition. The post processing is applied only if the curve value
at the rated condition deviates by a value less than or equal to 0.025 and the performance data set contains the rated data set as one the data points. The
coefficients of these curves are displayed on the "OUTPUT" tab as shown in Figure 2.
!- Name
!- Coefficient1 Constant
!- Coefficient2 x
!- Coefficient3 x**2
!- Coefficient4 y
!- Coefficient5 y**2
!- Coefficient6 x*y
!- Minimum Value of x
!- Maximum Value of x
!- Minimum Value of y
!- Maximum Value of y
!- Minimum Curve Output
!- Maximum Curve Output
!- Input Unit Type for X
!- Input Unit Type for Y
!- Output Unit Type
!!!!!!!!!!!!!!-
Name
Coefficient1 Constant
Coefficient2 x
Coefficient3 x**2
Coefficient4 y
Coefficient5 y**2
Coefficient6 x*y
Minimum Value of x
Maximum Value of x
Minimum Value of y
Maximum Value of y
Minimum Curve Output
Maximum Curve Output
Input Unit Type for X
124
Temperature,
Dimensionless;
14.7 Notes
This tool has been tested on Ubuntu 11 using Libre Office and MS Office Macintosh 2011 machines. But the button for running the macro may not be imported
properly on Ubuntu hence users may have to run the tool manually by selecting "ManageCurveFit" and "SaveCurveObjToTextFile" subroutine from the macro
list.
14.8 References
AHRI 2008. ANSI/AHRI Standard 210/240: 2008 Standard for Performance Rating of Unitary Air-Conditioning & Air-Source Heat Pump Equipment. Arlington, VA:
Air-Conditioning, Heating, and Refrigeration Institute.
AHRI 2007. ANSI/AHRI Standard 340/360: 2007 Standard for Performance Rating of Commercial and Industrial Unitary Air-Conditioning and Heat Pump
Equipment. Arlington, VA: Air-Conditioning, Heating, and Refrigeration Institute.
AHRI 2003. ANSI/AHRI Standard 550/590: 2003 Standard for Performance Rating Of Water -Chilling Packages Using The Vapor Compression Cycle. Arlington,
VA: Air-Conditioning, Heating, and Refrigeration Institute.
15 Parametric Spreadsheets
Several spreadsheet applications are included in the Preprocess\ParametricSpreadsheets folder. These include spreadsheets (Excel) for the Water Source
heat pumps and Water to Air heat pumps.
15.1 Water-to-Water Heat Pump Parameter / Coefficient Generator (Cooling and Heating Mode)
This document gives brief instructions on generating the parameters/ coefficients for the water-to-water heat pump models in cooling and heating mode. The
Excel spreadsheets (WaterWater_PE_Cooling.xls and WaterWater_PE_Heating.xls) are used. Since the spreadsheet functions are very similar for both
cooling and heating modes, only one instruction document is supplied. The spreadsheet generates:
parameters for the parameter estimation based model.
coefficients for the curve-fit model.
The following theses have detailed information about the curve-fit model and parameter estimation based model:
Jin, Hui. 2002. Parameter Estimation Based Models of Water Source Heat Pumps. Phd. Thesis, Department of Mechanical and Aerospace Engineering,
Oklahoma State University. (downloadable at www.hvac.okstate.edu)
Shenoy,Arun. 2004. Simulation, Modeling and Analysis of Water to Air Heat Pump. M.S. Thesis, Department of Mechanical and Aerospace Engineering,
Oklahoma State University. (downloadable at www.hvac.okstate.edu)
Tang,C.C. 2004. Modeling Packaged Heat Pumps in a Quasi-Steady State Energy Simulation Program. M.S. Thesis, Department of Mechanical and Aerospace
Engineering, Oklahoma State University. (downloadable at www.hvac.okstate.edu)
125
For SI units:
The program will convert the values to the desired units and display them on Table 2 in worksheet "INPUT".
The button shown below is used clearing Table 1 (worksheet "CATALOG DATA"), and Table 2 (worksheet "INPUT"). It is advisable to clear the tables
before generating parameters/coefficients for a new heat pump model.
It will take some time to generate the parameters depending on the number of data points. The parameters generated will be displayed at Parameters 1.
Look at the error analysis of Error 1 which gives the user a summary of the errors for Qload, Qsource and Power. An average error of 5-8% is achievable
for all the values.
The errors for all the individual catalog data points are displayed in worksheet "RESULT".
15.1.2.2 Step 2b: Improving the Set of Parameters (PE-Based Model)
After the initial set of parameters has been generated, the user can increase the accuracy of the parameters by using parameters generated as the initial
guess for the second simulation and increasing the accuracy of the program.
Copy and Paste Parameters 1 to Initial Guess 2.
Change the initial guess indicator (Which Initial Guess?:) from 1 to 2.
Increase the accuracy by twice. For example, set accuracy to 0.000001.
126
Now click on Button 2 shown below to generate the second set of parameters.
The simulation time would most likely be less but it depends on the accuracy value as well. And the parameters generated will be displayed at Parameter 2.
Compare Error 2 to Error 1, the error values should be less which means that the parameters are getting better and more accurate.
Repeat the steps in 2a and 2b until a desired set of error values is achieved or the errors stop decreasing
15.1.2.3 Step 3: Generating EnergyPlus Input Parameters
Click on the Button 3 shown below to convert and arrange the parameters generated to fit EnergyPlus Input File (IDF) which will be listed from cell B52:B59
for cooling mode and B46:B54 for heating mode.
The button shown below in worksheet "ParamEstimator" is used for clearing Initial Guess (2-5), Parameters(1-5), Error(1-5), EnergyPlus Input parameters
and Result(1-5) in worksheet "RESULT".
The coefficients for the corresponding curves are listed at cell B12:C16. Error analysis of model is listed at cell B19:B27.
The errors for all the individual catalog data points are displayed in worksheet "RESULT".
The button shown below in worksheet "CoeffCalculator" is used for clearing the coefficients, the error analysis and the outputs in worksheet "RESULT".
127
For SI units:
The program will convert the values to the desired units and display them on Table 2 in worksheet "INPUT". Then the program will discard bad catalog
points by calculating the relative humidity of the exiting air at the load side (relative humidity should be less or equal to 1). Table 3 in worksheet "INPUT"
shows the input catalog data that will be used by the parameter/coefficient generator program.
The button shown below is used clearing Table 1 (worksheet "CATALOG DATA"), Table 2, and Table 3 (worksheet "INPUT"). It is advisable to clear the
tables before generating parameters/coefficients for a new heat pump model.
128
It will take some time to generate the parameters depending on the number of data points. The parameters generated will be displayed at Parameters 1.
Look at the error analysis of Error 1, which gives the user a summary of the errors for Qtotal, Qsensible, Qsource and Power. An average error of 5-8% is
achievable for all the values.
The errors for all the individual catalog data points are displayed in worksheet "RESULT".
15.2.2.2 Step 2b: Improving the Set of Parameters (PE-Based Model)
After the initial set of parameters has been generated, the user can increase the accuracy of the parameters by using parameters generated as the initial
guess for the second simulation and increasing the accuracy of the program.
Copy and Paste Parameters 1 to Initial Guess 2.
Change the initial guess indicator (Which Initial Guess?) from 1 to 2.
Increase the accuracy by twice. For example, set accuracy to 0.000001.
Now click on Button 2 shown below to generate the second set of parameters.
The simulation time would most likely be less but it depends on the accuracy value as well. The parameters generated will be displayed at Parameter 2.
Compare Error 2 to Error 1, the error values should be less which means that the parameters are getting better and more accurate.
Repeat the steps in 2a and 2b until a desired set of error values is achieved or the errors stop decreasing
15.2.2.3 Step 3: Generating EnergyPlus Input Parameters
Click on the Button 3 shown below to convert and arrange the parameters generated to fit EnergyPlus Input File (IDF), which will be listed from cell
B52:B61.
The button shown below in worksheet "ParamEstimator" is used for clearing Initial Guess (2-5), Parameters(1-5), Error(1-5), EnergyPlus Input parameters
and Result(1-5) in worksheet "RESULT".
129
The coefficients for the corresponding curves are listed at cell B12:D17. Error analysis of model are listed at cell B19:B30.
The errors for all the individual catalog data points are displayed in worksheet "RESULT".
The button shown below in worksheet "CoeffCalculator" is used for clearing the coefficients, the error analysis and the outputs in worksheet "RESULT".
For SI units:
The program will convert the values to the desired units and display them on Table 2 in worksheet "INPUT" which will be used by the parameter/coefficient
generator program.
The button shown below is used for clearing Table 1 (worksheet "CATALOG DATA") and Table 2 (worksheet "INPUT"). It is advisable to clear the tables
before generating parameters/coefficients for a new heat pump model.
130
It will take some time to generate the parameters depending on the number of data points. The parameters generated will be displayed at Parameters 1.
Look at the error analysis of Error 1, which gives the user a summary of the errors for Heating Capacity, Heating Absorption and Power. An average error
of 5-8% is achievable for all the values.
The errors for all the individual catalog data points are displayed in worksheet "RESULT".
15.3.2.2 Step 2b: Improving the Set of Parameters (PE-Based Model)
After the initial set of parameters has been generated, the user can increase the accuracy of the parameters by using parameters generated as the initial
guess for the second simulation and increasing the accuracy of the program.
Copy and Paste Parameters 1 to Initial Guess 2.
Change the initial guess indicator (Which Initial Guess?) from 1 to 2.
Increase the accuracy by twice. For example, set accuracy to 0.000001.
Now click on Button 2 shown below to generate the second set of parameters.
The simulation time would most likely be less but it depends on the accuracy value as well. And the parameters generated will be displayed at Parameter 2.
Compare Error 2 to Error 1, the error values should be less, which means that the parameters are getting better and more accurate.
Repeat the steps in 2a and 2b until a desired set of error values is achieved or the errors stop decreasing
15.3.2.3 Step 3: Generating EnergyPlus Input Parameters
Click on the Button 3 shown below to convert and arrange the parameters generated to fit EnergyPlus Input File (IDF), which will be listed from cell
B46:B54.
The button shown below in worksheet "ParamEstimator" is used for clearing Initial Guess (2-5), Parameters(1-5), Error(1-5), EnergyPlus Input parameters
and Result(1-5) in worksheet "RESULT".
131
The coefficients for the corresponding curves are listed at cell B12:C16. Error analysis of model are listed at cell B19:B27.
The errors for all the individual catalog data points are displayed in worksheet "RESULT".
The button shown below in worksheet "CoeffCalculator" is used for clearing the coefficients, the error analysis and the outputs in worksheet "RESULT".
16 ParametricPreprocessor
The parametric preprocessor used to create a series of resulting IDF files from a single source IDF file that contains parametric objects and expressions. The
parametric objects in EnergyPlus are interpreted by the ParametricPreprocessor and are:
Parametric:SetValueForRun
Parametric:Logic
Parametric:RunControl
Parametric:FileNameSuffix
The ParametricPreprocessor reads the source IDF file and removes the Parametric objects shown above, processes these objects and any embedded
expressions and produces a series of resulting IDF files, one for each "run" described by the objects.
132
An intermediate file called parametric.int is used that contains references to all embedded expressions that will need to be substituted into the file.
An error file called parametric.err is also produced to help debug problems with the objects.
The Parametric objects are described in detail in the InputOutputReference document.
ParametricPreprocessor can be called at the command line with the name of the source file as the only argument.
The ParametricPreprocessor is used in the batch files that come with EnergyPlus and is used by EP-Launch automatically.
18 BLASTTranslator
The BLAST Translator will produce an IDF file from an existing BLAST Input File (usually called <something>.bin. For anyone that is unfamiliar, BLAST stands for
the Building Loads Analysis and Systems Thermodynamics computer program. Documentation is included here though the BLAST Translator is no longer
included with the EnergyPlus Installation - it is available as a special download for those who need it.
A special batch file (RunXLate.bat) can be used to run the translation program. Similar to running EnergyPlus (see above), you run this batch file:
133
RunXLate <blastinputfile>
Where <blastinputfile> is the part of the file name without extension. The program produces a .idf file of the same name.
The BLASTTranslator uses an "Energy+.ini" file for some parameters. For example:
[program]
dir=
ver=
surf=group
[weather]
dir=
The above BLASTTranslator ini file sets the "version" of EnergyPlus to the current version and has the "surf" parameter set to "group". This BLASTTranslator run
will produce an EnergyPlus input file for the current release version format and will name surfaces by Zone and Class (e.g. ZN001:Wall001). The alternative
"Consecutive" will number surfaces in sequence.
19 DOE2Translator
The DOE2Translator program creates an EnergyPlus input file from a DOE-2.1E input file. The translation is not intended to be complete but simply an aid to
help you move your library of DOE-2.1E input files into EnergyPlus. You should look over the resulting EnergyPlus input file, review the documentation of
EnergyPlus, and make any necessary edits to the translated file. Documentation is included here though the BLAST Translator is no longer included with the
EnergyPlus Installation - it is available as a special download for those who need it.
To use the DOE2Translator program, at the DOS prompt (or the command prompt for Windows NT/2000 systems), go to the directory that the DOE2Translator is
located. That directory is likely to be:
c:\EnergyPlus\PreProcess\DOE2Translator
In this directory there should be several files:
DOE2Translator.exe - the program
D2E_macr.txt - a support file that contains the header of the translated file
D2comkey.dat - a support file that contains a list of DOE-2 keywords
Samp4n.inp - sample DOE-2.1E input file
Samp4n.imf - the EnergyPlus macro input file resulting from the sample
To use the DOE2Translator simply type
DOE2Translator <file>
Where you substitute the file you want to translate for <file> without a file extension. The ".inp" file extension is assumed. For example, if you want to translate
one of the sample DOE-2.1E input files you would type:
DOE2Translator samp1b
The <file> can also have a full path, but it should not have an extension. If you have spaces in your path name, enclose the whole thing in ".
Several files get created when you run the DOE2Translator program. In the same directory as the DOE-2.1E input file, a new file with the same name and the file
extension of ".imf" contains the EnergyPlus translation.
This is an EnergyPlus macro file and the macro processor EPMacro needs to be used. The DOE2Tranlator uses many macros so using EPMacro is essensial.
EP-Launch automatically runs EP-Macro when an ".imf" file is selected. In the translated file, comments shown with a tilde "~" are messages from the
DOE2Translator program that may be helpful in understanding the limits of the translation.
The D2EP.log file contains a detailed log of the translation process. The D2E_TEMP.txt file contains an intermediate version of the log file. Both of these files are
created in the same directory as the DOE2Translator program and can usually be deleted.
Since DOE-2.1e and EnergyPlus share a common macro language, many macro features are passed to the EnergyPlus file unchanged, including ##set1, ##if,
##def and other macro commands. References to macro variables (i.e., "var[]") and expressions (i.e., " #[x[] + 1]") are usually passed through to the resulting
EneryPlus IMF unless the DOE2Translator needs to understand that field during the translation process. The DOE2Translator does not evaluate macro
expressions and if it needs to understand a field value and a macro is present instead will use a default value for the field instead. Most fields do not need to be
understood by the translator and are directly passed through to the IMF file unchanged.
Files that are included with the ##include are not translated automatically and would each need to be run through the DOE2Translator. If the included file does
not have the INP extension it would need to be changed prior to the translation. In addition, the user would need to edit the ##include commands to use the IMF
134
135
Environment Variable
Name
Program Path
Description
Specific or relative program
path
Program Name
Name of program
Input_Path
Output_Path
Weather_Path
136
137
138
139
21. TABLE - tabulated report of bin and monthly data in comma, tab or space delimited or HTML format (Shift+F8)
22. VMRL - drawing file in VRML (Virtual Reality Markup Language) format (Shift F+F11)
23. DXF - drawing file in AutoCAD DXF format (Shift+F12)
24. Delight IN - DElight input generated from EnergyPlus processed input (Shift+Ctrl+F4)
25. Delight OUT - Detailed DElight output (Shift+Ctrl+F5)
26. Delight ELDMP - DElight reference point illuminance per time step (Shift+Ctrl+F6)
27. Delight DFDMP - DElight warning and error messages (Shift+Ctrl+F7)
28. EXPIDF - Expanded IDF when using HVACTemplate objects (Shift+Ctrl+F8)
29. Group Error - combined error files for a group run. (Shift+Ctrl+F9)
30. VCpErr - Transition program error file (Shift+Ctrl+F11)
31. Screen (Shift+Ctrl+f12)
32. Proc CSV - Simple statistiscs generated from CSVProc (also see Create Statistics File option under View-Options).
33. EDD - Energy Management System details.
Clicking on the "Drawing File" button will open the generated DXF file if an appropriate viewer has been configured (seeSelecting Viewers and Editors below).
The DXF file is a CAD format that displays the physical shape of the building being modeled in three dimensions. The "Drawing File" button also opens the
HVAC diagram generated with the HVAC-Diagram utility (see Auxiliary Programs).
Clicking on the "Spreadsheets" buttons will open any generated CSV files if an appropriate viewer has been configured (seeSelecting Viewers and Editors
below).
140
141
Disable Multi-Threading - Check this box if you wish to disable the built in multi-threading capabilities of EnergyPlus. Portions of EnergyPlus have been
programmed to use more than one processor, or CPU core, at the same time during a single simulation. This multithreading may not be desirable when running
more than one simulation at a time on the same computer (because it can actually run more slowly). When this check box is checked multi-threading is turned
off. The check box sets the EP_OMP_NUM_THREADS environmental variable to 1. The multi-threading capability of EnergyPlus can also be controlled using
the ProgramControl object field called Number of Threads Allowed. That field takes precedence over the setting of the checkbox. Also note that when multiple
simulations are started from EP-Launch, this automatically disables multithreading by setting the EP_OMP_NUM_THREADS environmental variable to 1 whether
this box is checked or not. The ProgramControl object is described in the Input Output Reference document.
21.1.9.2 Interface Options
Extra Wide Window - Select this option to make the main EP-Launch window wider. This is useful when files are used with very long file path names.
Alternative layout - Changes the layout of the EP-Launch window to an alternative arrangement of buttons.
21.1.9.3 Miscellaneous Options
Tab Delimited Open with Spreadsheet - Selecting "Single File" and then "Main Results File" from the "View" menu or pressing the F4 function key will open
TAB files with the default spreadsheet application rather than the text editor. Comma-separated variable (CSV) is the default setting for viewing tabulated results
set in the RVI file. If the user changes the setting for viewing tabulated results to TAB or TXT format, selecting "Single File" and then "Main Results File" from the
"View" menu or pressing the F4 function key will open the files in the default text editor. TAB files, when selected, will also be opened by the text editor when the
"Text Output Files" button is pressed after a successful run.
Allow More Than 250 Columns - Tabulated data that exceeds 250 columns, the MS Excel maximum, will be truncated to that limit unless "Allow >250 Columns"
is selected. Excel versions prior to 2007 were limited to 255 columns in a sheet; later versions allow unlimited number of columns. This limitation may not be true
for other spreadsheet programs.
Check VERSION Prior to Simulation - Automatically check the VERSION object in the selected EnergyPlus input file prior to simulation and if it is an older
version than the current version will run the Transition program to update the file.
Convert ESO/MTR to IP Units - Runs the convertESOMTR utility program (see AuxiliaryPrograms documentation for more information). This utility will convert
the ESO and MTR files into Inch-Pound units. The CSV file created from these files will also be in Inch-Pound units.
Create Statistics File - Runs the CSVProc utility program (see the AuxiliaryPrograms documentation for more information) and creates the -Proc.csv file. This
file contains some simple statistics on each variable in the normal CSV file.
Create Batch File to Run EnergyPlus - Traditionally EP-Launch has created a batch file in order to execute EnergyPlus with the various options chosen. This
can cause problems with some operating systems, such as Windows Vista, when set to a higher security setting. This option can be unchecked and a batch file
is not created when running EnergyPlus instead parameters are passed to an existing batch file.
Run ParametricPreprocessor - When this option is checked, if Parametric objects are present in the file, the ParametricPreprocessor will be run prior to the first
simulation and if multiple simulations are needed they will all be executed. See the Auxiliary Programs documentation for details.
Check for Updates to EnergyPlus - When this option is checked, EP-Launch will check every seven days if an update to EnergyPlus or any of the files
distributed with EnergyPlus are available to download. If they are available a message will be shown upon start up. You can also manually check by going to
HELP .. CHECK FOR UPDATES.
21.1.9.4 Text Editor Options
EP-Launch will start a text editor when editing a IDF file or when viewing many of the results files. The text editor that will be used is shown but can be changed
by either pressing the Select button or by pressing the Auto Find button. The Select button allows you to find the text editor of your choice. The Auto Find button
will automatically find the program that is associated with the TXT file extension and use that program. Auto Find is invoked the first time EP-Launch is started so
that a text editor is available immediately. The most common text editor is NOTEPAD.EXE and is built into Windows but many other text editors are also
available.
21.1.9.5 Drawing Viewer Options
The default drawing viewer is the application associated with DXF files. This can be changed to your favorite drawing program by using the Select button then
locating the executable file for your favorite drawing software capable of reading a DXF file. The Auto Find button will automatically find the program that is
associated with the DXF file extension and use that program. A variety of programs (free of charge) can render DXF files for viewing. The Output Details
document lists some of these programs as well as displaying what a DXF rendered file looks like on the screen.
21.1.9.6 VRML Viewer Options
EP-Launch will start a VRML Viewer when a building drawing is created using the Report, Surfaces, VRML option in your IDF file. The VRML Viewer that will be
used is shown but can be changed by either pressing the Select button or by pressing the Auto Find button. The Select button allows you to find the VRML
Viewer of your choice. The Auto Find button will automatically find the program that is associated with the WRL file extension and use that program. Auto Find is
invoked the first time EP-Launch is started so that a VRML Viewer is available immediately. Many other VRML Viewers are available.
142
143
144
145
146
21.1.15 Caveats
Remember to save changes made in the editor before you run another simulation.
The simulation cannot write new results to open files which are locked by another application.
You will need to close the spreadsheet program that views the resulting CSV files prior to another simulation and you may need to close the text editor windows
also (depending on your editor).
The EPL-RUN.BAT batch file is used to run EnergyPlus from the EP-Launch program. It can be edited with care if other postprocessors or preprocessors are to
be used.
147
21.1.17 Bugs
The EP-Launch program has been through several "releases" but there is still a chance you will find bugs. Please report them to [email protected] address so that we can fix them prior to the release.
If the pull-down lists ever are shown as blank the "reset" button may be used. This unlabeled button is very small in the lower left-hand corner of the main
screen. It removes the items shown in the recently used file list and causes the program to forget the selected viewers and text editors; and exits the program.
When you start EP-Launch again, you will need to make these selections (viewers and text editors) again.
148
This is the EnergyPlus initialization file. It is an optional ascii input file that allows the user to specify the path for the directory containing Energy+.idd. This file,
using the actual directories of the install, will be created during the install. Unless you change where the EnergyPlus.exe file resides, you will not need to change
this file.
21.3.1.5 epw
The EnergyPlus weather file is an ascii file containing the hourly or sub-hourly weather data needed by the simulation program. The data format is described in
detail in the Auxiliary Programs Document. It is also described succinctly in the Input Output Reference document.
Action
Informative, usually a follow-on to one of the others. No action
required.
Warning
Severe
Should Fix
Fatal
149
21.3.2.8 mdd
The Report (variable) Data Dictionary (RDD) is a text file listing those variables available for reporting (on the ESO) for this particular simulation. Which variables
are available for output depends on the actual simulation problem described in the IDF. The Report (meter) Data Dictionary (MDD) is a text file listing those
variables available for reporting (on the MTR) for this particular simulation. Which meters are available for output depends on the actual simulation problem
described in the IDF. A simulation with no chiller would not permit the output of any chiller report variables. The user may need to examine the RDD or MDD to
find out which report variables are available in a particular simulation. The RDD and MDD are written only if the following is included in the IDF file.
Output:VariableDictionary, Regular;
A variant produces the same files in a IDF "ready" format.
Output:VariableDictionary, IDF;
21.3.2.9 dbg
This is a text file containing debug output for use by EnergyPlus developers. Generally developers will add debug print statements wherever in the code that that
they wish. There is a "standard" debug output that prints out conditions at all the HVAC nodes. This output is triggered by placing
Output:DebuggingData,1;
in the IDF file. If Output:DebuggingData, 0 is entered, you will get an empty eplusout.dbg file.
21.3.2.10 dxf
This is a file in AutoCad DXF format showing all the surfaces defined in the IDF file. It provides a means of viewing the building geometry. The DXF file from
EnergyPlus highlights different building elements (shading, walls, subsurfaces) in differing colors. A number of programs can read and display DXF files. Output
of this file is triggered by
Output:Reports, Surfaces, DXF;
in the IDF.
21.3.2.11 sln
A text file containing the coordinates of the vertices of the surfaces in the IDF.
Output of this file is triggered by
Output:Reports, Surfaces, Lines;
in the IDF.
150
the same directory EnergyPlus expects in.idf, the input data file; Energy+.idd, the data dictionary file; in.epw, the weather file (needed only if there is a RunPeriod
in the input); and optionally Energy+.ini, the initialization file. Typing "EnergyPlus" (and hitting the Enter key) will execute the program. EnergyPlus will write
messages to the command window as it runs. A simulation with two design days and one run period looks like:
EnergyPlus Starting
EnergyPlus, Version 1.3
Warming up
Initializing Response Factors
Calculating CTFs for "EXTWALL80", Construction \#1
Calculating CTFs for "PARTITION06", Construction \#2
Calculating CTFs for "FLOOR SLAB 8 IN", Construction \#3
Calculating CTFs for "ROOF34", Construction \#4
Initializing Window Optical Properties
Initializing Solar Calculations
Initializing HVAC
Warming up
Warming up
Warming up
Performing Zone Sizing Simulation
Warming up
Warming up
Warming up
Performing Zone Sizing Simulation
Initializing New Environment Parameters
Warming up {1}
Warming up {2}
Warming up {3}
Warming up {4}
Starting Simulation at 01/14 for CHICAGO IL UNITED STATES TMY2 94846 WMO#=725340
Initializing New Environment Parameters
Warming up {1}
Warming up {2}
Warming up {3}
Warming up {4}
Starting Simulation at 07/07 for CHICAGO IL UNITED STATES TMY2 94846 WMO#=725340
EnergyPlus Run Time=00hr 00min 7.31sec
When execution is finished, eplusout.err and eplusout.audit will always appear. If the program terminated with an input error, these may be the only output files. If
the program runs normally, eplusout.eio will appear. Depending on what was requested in the input, the other output files described above will also be written.
151
:
:
:
:
:
:
:
:
:
:
:
:
:
:
152
dir=
[BasementGHT]
dir=PreProcess\GrndTempCalc
[SlabGHT]
dir= PreProcess\GrndTempCalc
Under [program], dir should indicate the folder where EnergyPlus is installed (e.g. C:\Program Files\EnergyPlusV2-0-0 or C:\EnergyPlusV2-0-0). This is
automatically generated during the install and may be the "shortened form" of these folder names. The "weather" portion of the initialization file is unused for
normal EnergyPlus. [BasementGHT] and [SlabGHT] are used by the EP-Launch program when the Utilities tab is used to execute the Basement and Slab
programs, respectively.
21.8.1.5 in.epw
The EnergyPlus weather file is an ascii file containing the hourly or sub-hourly weather data needed by the simulation program. The data format is described in
this document in the section: EnergyPlus Weather File (EPW) Data Dictionary.
Action
Informative, usually a follow-on to one of the others. No action
required.
Warning
Severe
Should Fix
Fatal
153
21.8.2.6 eplusout.rdd
The Report (variable) Data Dictionary (RDD) is a text file listing those variables available for reporting (on the ESO or MTR) for this particular simulation. Which
variables are available for output on the ESO or MTR depends on the actual simulation problem described in the IDF. A simulation with no chiller would not
permit the output of any chiller report variables. The user may need to examine the RDD to find out which report variables are available in a particular simulation.
The RDD is written only if
Output:VariableDictionary, <either Regular or IDF>;
appears in the input (IDF) file.
21.8.2.7 eplusout.dbg
This is a text file containing debug output for use by EnergyPlus developers. Generally developers will add debug print statements wherever in the code that that
they wish. There is a "standard" debug output that prints out conditions at all the HVAC nodes. This output is triggered by placing
DEBUG OUTPUT,1;
in the IDF file. If DEBUG OUTPUT, 0 is entered, you will get an empty eplusout.dbg file.
21.8.2.8 eplusout.dxf
This is a file in AutoCad DXF format showing all the surfaces defined in the IDF file. It provides a means of viewing the building geometry. The DXF file from
EnergyPlus highlights different building elements (shading, walls, subsurfaces) in differing colors. A number of programs can read and display DXF files. One that
works well is Volo View Express, available free from the Autodesk web site. Output of this file is triggered by
Report, Surfaces, DXF;
in the IDF.
21.8.2.9 eplusout.sln
A text file containing the coordinates of the vertices of the surfaces in the IDF.
Output of this file is triggered by
Report, Surfaces, Lines;
in the IDF.
154
4) Hand editing - for simple changes to an existing file (such as one of the sample files), you can hand edit a file using your knowledge of the IDD, comments in
the IDF file, and a text editor such as NOTEPAD (Wordpad for large files). For creating HVAC simulations - the HVACtemplate objects provide a quick way to
start at HVAC simulation.
Object Description
-----------------To define an object (a record with data), develop a key word that is unique
Each data item to the object can be A (Alphanumeric string) or N (numeric)
Number each A and N. This will show how the data items will be put into the
arrays that are passed to the Input Processor "Get" (GetObjectItem) routines.
All alpha fields are limited to 100 characters. Numeric fields should be
valid numerics (can include such as 1.0E+05) and are placed into double
precision variables.
NOTE: Even though a field may be optional, a comma representing that field
must be included (unless it is the last field in the object). Since the
entire input is "field-oriented" and not "keyword-oriented", the EnergyPlus
Input Processor must have some representation (even if blank) for each
field.
Object Documentation
-------------------In addition, the following special comments appear one per line and
most are followed by a value. Comments may apply to a field or the object
or a group of objects.
Field-level comments:
\field
Name of field
(should be succinct and readable, blanks are encouraged)
\note
\required-field
\begin-extensible
\units
\ip-units
\unitsBasedOnField For fields that may have multiple possible units, indicates
the field in the object that can be used to determine
the units. The field reference is in the A2 form.
\minimum
\minimum>
\maximum
\maximum<
\default
Default for the field (if N/A then omit entire line)
\deprecated
This field is not really used and will be deleted from the object.
The information is gotten internally within the program.
\autosizable
Flag to indicate that this field can be used with the Auto
Sizing routines to produce calculated results for the
field. If a value follows this, then that will be used
when the "Autosize" feature is flagged. To trigger
autosizing for a field, enter Autosize as the field's
value. Only applicable to numeric fields.
155
156
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
the simulation.
how many of the
will attempt to
instance of the
Notes on comments
----------------1. If a particular comment is not applicable (such as units, or default)
then simply omit the comment rather than indicating N/A.
2. Memos and notes should be brief (recommend 5 lines or less per block).
More extensive explanations are expected to be in the user documentation
Default IP conversions (no \ip-units necessary)
m
=>
ft
W
=>
Btu/h
m3/s
=>
ft3/min
C
=>
F
kg/J
=>
lb/Btu
Pa
=>
psi
W/m-K
=>
Btu-in/h-ft2-F
W/K
=>
Btu/h-F
deltaC
=>
deltaF
m2
=>
ft2
K
=>
R
1/K
=>
1/R
(kg/s)/W
=>
(lbm/sec)/(Btu/hr)
J/kg
=>
Btu/lb
kg-H2O/kg-air
=>
lb-H2O/lb-air
kJ/kg
=>
Btu/lb
lux
=>
foot-candles
kg/m3
=>
lb/ft3
kg/s
=>
lb/s
kg/s-m
=>
lb/s-ft
m3
=>
ft3
m3
=>
gal
W/m2-K
=>
Btu/h-ft2-F
1/m
=>
1/ft
J/kg-K
=>
Btu/lb-F
J/m3-K
=>
Btu/ft3-F
m/s
=>
ft/min
m/s
=>
miles/hr
m2-K/W
=>
ft2-F-hr/Btu
W/m2
=>
Btu/h-ft2
A/K
=>
A/F
g/kg
=>
grains/lb
g/m-s
=>
lb/ft-s
g/m-s-K
=>
lb/ft-s-F
J/K
=>
Btu/F
J/kg-K2
=>
Btu/lb-F2
J/m3
=>
Btu/ft3
kg/kg-K
=>
lb/lb-F
3.281
3.412
2118.6438
1.8 (plus 32)
2325.83774250441
0.0001450377
6.93481276005548
1.8987
1.8
10.764961
1.8
0.555555556
0.646078115385742
0.00042986 (plus 7.686)
1
0.429925
0.092902267
0.062428
2.2046
0.67194
35.319837041
264.172
0.176110194261872
0.304785126485827
0.000239005736137667
1.49237004739337E-05
196.86
2.2369
5.678263
0.316957210776545
0.555555555555556
7.00000
0.000671968949659
0.000373574867724868
0.000526917584820558
0.000132889924714692
2.68096514745308E-05
0.555555555555556
157
!
kPa
=>
psi
0.145038
!
kPa
=>
inHg
0.29523
!
m2/s
=>
ft2/s
10.764961
!
m3/kg
=>
ft3/lb
16.018
!
m3/m3
=>
ft3/ft3
1
!
N-s/m2
=>
lbf-s/ft2
0.0208857913669065
!
V/K
=>
V/F
0.555555555555556
!
W/m-K2
=>
Btu/h-F2-ft
0.321418310071648
!
m3/s-m
=>
ft3/min-ft
645.89
!
J/m2-K
=>
Btu/ft2-F
4.89224766847393E-05
!
cycles/hr
=>
cycles/hr
1
!
kg/kg
=>
lb/lb
1
!
J/J
=>
Btu/Btu
1
!
g/GJ
=>
lb/MWh
0.00793664091373665
!
L/GJ
=>
gal/kWh
0.000951022349025202
!
m3/GJ
=>
ft3/MWh
127.13292
!
m3/s-m2
=>
ft3/min-ft2
196.85
!
m3/s-person
=>
ft3/min-person
2118.6438
!
W/m2-K2
=>
Btu/h-ft2-F2
0.097826
!
g/MJ
=>
lb/MWh
7.93664091373665
!
L/MJ
=>
gal/kWh
0.951022349025202
!
m3/MJ
=>
ft3/kWh
127.13292
!
W/W
=>
Btuh/Btuh
1
!
$/m2
=>
$/ft2
0.0928939733269818
!
$
=>
$
1
!
$/kW
=>
$/(kBtuh/h)
0.293083235638921
!
$/m3
=>
$/ft3
0.0283127014102352
!
years
=>
years
1
!
$/(W/K)
=>
$/(Btu/h-F)
0.52667614683731
!
$/(m3/s)
=>
$/(ft3/min)
0.000472000059660808
!
W/m
=>
Btu/h-ft
1.04072
!
K/m
=>
F/ft
0.54861322767449
!
W/s
=>
W/s
1
!
kmol
=>
kmol
1
!
J
=>
Wh
0.000277777777777778
!
GJ
=>
ton-hrs
78.9889415481832
!
kg/m2
=>
lb/ft2
0.204794053596664
!
kg
=>
lb
2.2046
!
percent/K
=>
percent/F
0.555555555555556
!
kg/s2
=>
lb/s2
2.2046
!
g/mol
=>
lb/mol
0.0022046
!
deltaJ/kg
=>
deltaBtu/lb
0.0004299
!
person/m2
=>
person/ft2
0.0928939733269818
!
m2/person
=>
ft2/person
10.764961
!
W/person
=>
Btu/h-person
3.412
!
m3/person
=>
ft3/person
35.319837041
!
m3/hr-person
=>
ft3/hr-person
35.319837041
!
m3/m2
=>
ft3/ft2
3.281
!
m3/hr-m2
=>
ft3/hr-ft2
3.281
!
m3/hr
=>
ft3/hr
35.319837041
!
s/m
=>
s/ft
0.304785126485827
!
m2/m
=>
ft2/ft
3.281
!
L/day
=>
pint/day
2.11337629827348
!
L/kWh
=>
pint/kWh
2.11337629827348
!
kg/Pa-s-m2
=>
lb/psi-s-ft2
1412.00523459398
!
m/hr
=>
ft/hr
3.281
!
Mode
=>
Mode
1
!
Control
=>
Control
1
!
Availability
=>
Availability
1
!
rev/min
=>
rev/min
1
!
W/(m3/s)
=>
W/(ft3/min)
0.0004719475
!
VA
=>
VA
1
!
N-m
=>
lbf-in
8.85074900525547
!
m3/s-W
=>
ft3-h/min-Btu
621.099127332943
!
cm2
=>
inch2
0.15500031000062
!
kg/m
=>
lb/ft
0.67196893069637
!
m/yr
=>
inch/yr
39.37
!
! Other conversions supported (needs the \ip-units code)
!
!
m
=>
in
39.37
!
W
=>
W
1
!
m3/s
=>
gal/min
15852
!
m3/s
=>
lbH2O/hr
7936289.998
!
Pa
=>
inHg
0.00029613
!
Pa
=>
inH2O
0.00401463
!
Pa
=>
ftH2O
0.00033455
!
W/person
=>
W/person
1
!
W/m2
=>
W/m2
1
!
W/m2
=>
W/ft2
0.0928939733269818
158
!
W/m-K
=>
Btu/h-ft-F
0.577796066000163
!
! Units fields that are not translated
!
deg
!
hr
!
A
!
dimensionless
!
V
!
ohms
!
A/V
!
eV
!
percent
!
s
!
W/m2 or deg C
!
W/m2, W or deg C
!
minutes
!
1/hr
! **************************************************************************
22.2 IDFEditor
IDF Editor is an optional component of the EnergyPlus installation. For users who want a simple way of creating or editing EnergyPlus input data files (IDF), IDF
Editor provides this service. The IDF Editor does not check inputs for validity, although some numeric fields are highlighted if out of range and some text fields
are highlighted if they contain an invalid reference. For instructions and rules that must be followed when creating an IDF file the user should refer to the
Input/Output Reference document.
159
The classes that can be used to make up an IDF file have been organized into groups as shown in the 'Class List' portion of the screen. A class is made up of a
group of objects. Select a class from the list by clicking on and highlighting the class. The field to the left of the selected class in the 'Class List' will either contain
[------] to indicate that this class has no objects in the IDF file or it will contain a number like [0003] to indicate the number of times the object currently appears in
the IDF file. For example, for the BuildingSurface:Detailed class selected in the screen above under the Thermal Zone Description/Geometry group, there are 40
objects in the IDF file. The details for these 40 objects or any new object that is defined are displayed in columns within the grid. Each object is made up of fields
and can be used to further define the object. Any units attached to each field are shown in the second column. You may need to scroll down the 'field' list or
maximize the application to see all of the fields. Likewise, you may need to scroll to the right of the main grid to see other objects.
Options under the view menu can change how you use the Class List. To display only classes that contain objects select the "show classes with objects only"
option on the "View" menu. You can also toggle this feature on and off with CTRL+L. If the file is empty and has no objects, this toggle does not impact the
display.
The "Show Quick Select Dropdowns" view menu option adds two new input fields to the main screen. The input fields can be used to go quickly to different
classes in the main list of classes. By typing in the top input field, the group that starts with those letters are displayed. After selecting one and pressing the tab
button, classes in that group are shown and by typing the first few letters, you can easily select a specific class. Pressing tab again displays that class and it
objects. This method allows for quick selection of classes if you remember the group name and class name.
160
161
162
and Replace dialog. This will show other places in the file that use that object name that also may need to be changed.
163
22.2.11 Caveats
Remember to save any changes made before you create or edit another input file.
No "Run EnergyPlus" button is available. Save your IDF file and use EP-Launch to execute an EnergyPlus run.
You cannot edit comments in the 'Comments from IDF' section of the screen.
The use of point "." or comma "," as the decimal symbol is controlled by the windows system settings. This setting is found in the Control Panel, Regional
Options, Number tab, Decimal Symbol field. IDF Editor will use the current decimal symbol to signify the start of the fractional portion of the number and will
ignore other symbols. The idf file is always written using point "." as the decimal symbol.
22.2.12 Bugs
Please report any bugs to the helpdesk (email to [email protected]) so that we can fix them prior to the next release.
164
165