EnergyPlus 24.2.0 Auxiliary Programs Guide
EnergyPlus 24.2.0 Auxiliary Programs Guide
0 Documentation
Auxiliary Programs
October 4, 2024
Build: 94a887817b
COPYRIGHT (c) 1996-2024 THE BOARD OF TRUSTEES OF THE UNIVERSITY OF ILLINOIS,
THE REGENTS OF THE UNIVERSITY OF CALIFORNIA THROUGH THE ERNEST ORLANDO
LAWRENCE BERKELEY NATIONAL LABORATORY, OAK RIDGE NATIONAL LABORATORY,
MANAGED BY UT-BATTELLE, ALLIANCE FOR SUSTAINABLE ENERGY, LLC, AND OTHER
CONTRIBUTORS. 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.
Contents
2
CONTENTS 3
6 EPDrawGUI 147
6.1 Main Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
6.2 Option Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
9 CoeffConv/CoeffCheck 168
9.1 CoeffConv . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
9.2 CoeffCheck . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
9.3 Running the CoeffConv or CoeffCheck programs . . . . . . . . . . . . . . . . . . . . 169
10 ExpandObjects 171
10.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
10.2 HVAC Template Objects Processed . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
10.3 Ground Heat Transfer Objects Processed . . . . . . . . . . . . . . . . . . . . . . . . 172
10.4 Building Surface Objects Processed . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
11 CSVproc 174
12 convertESOMTR 176
16 ParametricPreprocessor 202
This document will describe several of the “auxiliary programs” of the EnergyPlus system in more
detail. Some of these programs are only available or only distributed for certain platforms. Typically,
the programs are available on the Windows platform. Within the descriptions, other platforms will
be noted as applicable. These programs include:
Weather Converter Program (aka “Weather”)
Ground Heat Transfer in EnergyPlus - Procedure for Ground Temperature creation
View Factor Calculation Program - Auxiliary program used to calculate View Factors which
can be used with EnergyPlus
Using Older Version Input Files - Transition - to convert input files from one version to
another upon release of a new version
EPDraw - Create DXF files from your input files
Input Macros - Use a macro language to increase efficiency in creating EnergyPlus input files.
Unfortunately, IDF files containing macros cannot be read in the IDF Editor.
HVAC Diagram - Use a post processing program to diagram your HVAC inputs.
CoeffConv/CoeffCheck - Convert DOE-2 temperature dependent curves (Fahrenheit) to
EnergyPlus temperature curves (Centigrade/Celsius)
ExpandObjects - Some technical details of the Expand Objects program which preprocessed
HVACTemplate:* and GroundHeatTransfer:* objects for use inside EnergyPlus.
CSVproc - Get simple statistics from CSV output files.
convertESOMTR - convert your outputs to Inch-Pound (default) or other custom unit
conversions.
CalcSoilSurfTemp Program - calculate soil surface parameters used in the Earth Tube
simulation
HVAC Performance Curve Fit Tool- generates HVAC performance curves in EnergyPlus
IDF format
Parametric Spreadsheets - Parametric spreadsheets are available to help illustrate or
calculate some parameters/coefficients.
ParametricPreprocessor - Special objects can be inserted in IDF files and generate a series
of IDF files from a single source IDF file that contains parametric objects and expressions. Unlike
using the macro language, these input files are capable of being read in the IDF Editor.
AppGPostProcess - Appendix G PostProcessing program - The ASHRAE 90.1
Appendix G postprocessing program takes simulation outputs and processes them to help meet
Appendix G requirements..
8
9
BLASTTranslator - The BLAST translator can take BLAST (Building Loads Analysis and
System Thermodynamics) input files and make them ready for running in EnergyPlus.
DOE2Translator - The DOE-2 translator can take DOE-2 program input files and make them
ready for running in EnergyPlus.
Running Console Applications - this section describes how to run console applications that
are part of EnergyPlus and how you might modify these to your specific needs. Instructions for
running individual programs are included in their descriptions.
Technical Details of Running EnergyPlus - this section gives full instructions on both
EP-Launch and the IDF-Editor as well as some more details on running EnergyPlus manually.
Chapter 2
The Weather Converter program is stored in the EnergyPlus folder area under “PreProcess” and
subsequently in the “WeatherConverter” folder.
To perform annual/run period simulations in EnergyPlus, one needs weather data. Most weather
data is still issued in an hour by hour (hourly) format though as you will see, EnergyPlus and its
weather converter can accept data that has a finer resolution on the data (such as every 10 or 15
minutes).
The special weather format (EPW) used in EnergyPlus is a simple, ascii format as is common
in the rest of the inputs for EnergyPlus.
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 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
10
2.2. WEATHER FORMAT FOR SIMULATION PROGRAMS 11
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 sub-hourly
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.
original TMY2 format. Details about the TMY2 format can be found in the TMY2 User’s manual
(see references at the end of this section).
The traditional distribution of data source and uncertainty flags within the raw data fields
carries with it not only the need for many field separators, it obfuscates the relationships between
non-numerical data. In a set of minute data, which could easily require hundreds of thousands of
records, the space penalty is considerable. In the E/E file format, all data source and uncertainty
fields have been clumped together as a single field immediately following the day and time stamp.
For applications where uncertainty is not an issue such data can be easily ignored. When it is
important, a single text field is conceptually and computationally easy to parse.
Another difference between the EnergyPlus/ESP-r (E/E) format and TMY2 is the addition of
two new data fields-minute and infrared sky. The minute field facilitates use of data observed at
intervals of less than one hour such as measured data from a research study of energy efficiency for
a particular building. This will allow easier and more accurate calibration of a simulation model to
measured data than possible in the past. The infrared sky field allows the programs to calculate
the effective sky temperature for re-radiation during nighttime.
The last difference is that a full year of data (such as 8760 hours) is not required-subsets of
years are acceptable. Which periods are covered by the data is described in the files. Periods
of typical weather patterns based on analysis of the data are also included within the format. A
side-by-side comparison of data included in the E/E weather format with data previously used by
ESP-r, DOE-2, and BLAST is shown in Table 2.1. A deficiency noted within ESP-r for example is
the lack of correcting air volumes for elevation change-many of the users of ESP-r are in relatively
low elevations. For DOE-2 and BLAST, neither program used illumination data in daylighting
calculations or infrared sky temperatures-it was always recalculated at time of use.
By including the uncertainty and data source information found in TMY2, users now can
evaluate the potential impact of weather variability on the performance of the building.
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.
of US, Canadian and International data available to our users. To summarize, the weather data for
2092 locations is available at the EnergyPlus web site: [Link]
The details are shown in Table 2.18. Summary of Downloadable Weather Data by Type. This
data has been selected with the energy simulation user in mind. All the data (as well as the
statistical reports - described later in this document) are downloadable for individual locations.
the Utilities tab in EP-Launch. See the section on EP-Launch in this document for more information
on how to use EP-Launch with the weather utility program.
This is a toggle option that once selected is saved in the registry with other options (for example,
screen size) for the program. As shown in the IDD type description of the Weather Data, there
are minimum and maximum values for several of the fields. The weather converter program can
ignore these (and just report them) or it can try to fix them with appropriate values. If the option
is “checked”, then the processor will try to fix the data; if it is blank, the processor will not fix the
data though it will report any out of range data that it finds.
16 CHAPTER 2. WEATHER CONVERTER PROGRAM
Though only one “trigger” value is selected from this screen, consecutive values of dry-bulb
temperature, dew-point temperature and wind speed are reported using appropriate calculated
values. Both dew-point and wind speed use a calculated value based on mean of their values over
the entire data period and standard deviation from that mean, heuristically derived.
An excerpt from the audit file is illustrative:
Average Delta DB Change = 0.78 °C ; Std Dev = 0.83 °C
Hourly Dry Bulb temperature change trigger = minimum of 12.13 °C and 10.°C
12.13 °C = calculated trigger based on mean change in dry -bulb temperature and standard deviation shown
above
Here the calculated DB trigger would be 12.13°C, but the user chosen trigger is 10°C. Changes
> = 10°C will be reported.
Such detail allows the user to hand edit the incoming data, if desired.
[Link] Exit
This choice exits the program.
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.
Columns Contents
1-45 Name of Input File to be Processed
20 CHAPTER 2. WEATHER CONVERTER PROGRAM
Columns Contents
46-105 (or follow the Output File with: EPW - same as output type ”EPW” CSV -
first name with a same as output type ”CSV” Both - same as output type ”both”
{TAB}) Rpt - same as output type ”rpt”
106-end (or follow the URL for KML output
second name with a
{TAB})
• EPW Format – both an epw file and a statistical report file are produced
• CSV Format - both a csv file and a statistical report file are produced
• Both EPW and CSV - epw, csv, and statistical report files are produced
• Rpt only - only a statistical report file is produced (output extension is “stat”)
Note that the CSV file is very similar to the EPW format file but is ready to be imported into
a spreadsheet program such as ExcelTM and has some additional “header” records in front of each
EPW style header record
saved several types (e.g. EPW and CSV) but this time only save the RPT - it DOES NOT create
new of the others nor does it delete the previous ones.
2.4.3 Help
No online help is available. This brings up an “about” box for the program.
• &miscdata - Comments to be applied to “COMMENT2” in the EPW file and “Source Data”
• &datacontrol - user specified control over “missing” data (Custom format only)
Note that the “Def” formats are entirely different from the usual IDF formats of
EnergyPlus. No commas separate fields. No semicolon terminates the entry.
&location
City = 'Hong Kong '
StateProv = ' '
Country = 'CHN '
InLat = 22.75
InLong = 115
InTime = 8
InElev = 0
InWMO = 450040
/
22 CHAPTER 2. WEATHER CONVERTER PROGRAM
&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.
These fields are string variables. If Country is not included, an attempt to use the State/Prov entry
may be used to determine country. Otherwise, these fields are not validated and are used to create
part of the “location” header record in the EPW file. City can be up to 30 characters in length;
StateProv up to 15 characters; Country up to 10 characters (standard 3 character abbreviation
preferred).
These fields are decimal equivalent for Latitude and Longitude. The convention is North Latitude
is positive; South is negative. Likewise, East Longitude is positive; West Longitude is negative.
That is, if your latitude is N 30° 15’ (North 30 degrees, 15 minutes) then your input is +30.25.
2.5. DEFINITIONS FILE & CUSTOM FILE PROCESSING 23
The following table illustrates that the EnergyPlus CSV header names can be used for data
elements in DEF files, if desired.
2.5. DEFINITIONS FILE & CUSTOM FILE PROCESSING 27
[Link] Interval
If your “number of records per hour” is >1, then you can designate each interval of that hour with
this field.
[Link] Hour_Of_Year
If you wish, you can just put in the hour of the year for each record. Note that if no date element
is entered, then the default is that the data is in hour of the year (including possible number of
records per hour).
[Link] Date
Dates can be entered as month, day, and year. The units field must be entered and should
designate the format for the date decoding. Date separator characters for this field are entered
in the DateSeparator item. Default date separator is “/” and that is what is used in the table that
shows the allowable units:
This is an integer number of records to skip during processing. You might use this if your input file
has some information at the top of the file.
This is an integer number of records to read (typically 8760 for a full year). You might use this if
your input file has some information after the data records.
32 CHAPTER 2. WEATHER CONVERTER PROGRAM
• DEFAULT - use the default processing that the weather converter already uses - starts off
with a specific value and updates if data is found.
&wthdata
NumInHour = 1
InputFileType = 'CUSTOM '
InFormat = 'DELIMITED '
DataElements = Date ,HH:MM ,Datasource ,Dry Bulb Temperature ,Dew Point Temperature ,Relative Humidity ,
Atmospheric Pressure ,Extraterrestrial Horizontal Radiation , Extraterrestrial Direct Normal Radiation ,
Horizontal Infrared Radiation Intensity from Sky ,Global Horizontal Radiation ,Direct Normal Radiation ,
Diffuse Horizontal Radiation ,Global Horizontal Illuminance ,Direct Normal Illuminance ,Diffuse
Horizontal Illuminance ,Zenith Luminance ,Wind Direction ,Wind Speed ,Total Sky Cover ,Opaque Sky Cover ,
Visibility ,Ceiling Height ,Present Weather Observation ,Present Weather Codes ,Precipitable Water ,
Aerosol Optical Depth ,Snow Depth ,Days Since Last Snow ,Albedo ,Liquid Precipitation Depth ,Liquid
Precipitation Quantity
DataUnits = '[Link] ','hh:mm ','x','x','x','x','C','C','%','Pa ','Wh/m2 ','Wh/m2 ','Wh/m2 ','Wh/m2 ','Wh/m2
','Wh/m2 ','lux ','lux ','lux ','Cd/m2 ','deg ','m/s','tenths ','tenths ','km ','m','x','x','mm ','{.001}','cm
','x','{.01}','mm ','hr '
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 , Amor , and Donn 1990'
Comments2 = 'Full Actual year of dataSource data is TRY format converted to DOE -2 format;'
/
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
/
&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 ,Wind\_Speed ,OpaqSkyCvr ,Atmos\_Pressure
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
/
2.5. DEFINITIONS FILE & CUSTOM FILE PROCESSING 35
&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 ,A2 ,I5 ,A2 ,I1 ,A9 ,I3 ,A2 ,I3 ,A2 ,I3 ,A2 ,I2 ,A2)'
DataElements = ignore ,year ,month ,day ,hour ,ExtHorzRad ,ExtDirNormRad ,GloHorzRad ,ignore ,DirNormRad ,ignore ,
DifHorzRad ,ignore ,GloHorzIllum ,ignore ,DirNormIllum ,ignore ,DifHorzIllum ,ignore ,ZenithLum ,ignore ,ignore
,ignore ,ignore ,ignore ,DryBulb ,ignore ,DewPoint ,ignore ,RelHumid ,ignore ,Pressure ,ignore ,WindDir ,ignore ,
WindSpd ,ignore ,Visibility ,ignore ,CeilHgt ,ignore ,ObsIndicator ,WeatherCodes ,PrecWtr ,ignore ,AerOptDepth ,
ignore ,SnowDepth ,ignore ,DaysSnow ,ignore
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','x','x','x','x','C','x','C','x','%','x','x','x','deg ','x','m/s','x','x','x
','x','x','x','x','x','x','x','x','x','x','x','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,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
/
&wthdata
NumInHour = 1
InputFileType = 'CUSTOM '
36 CHAPTER 2. WEATHER CONVERTER PROGRAM
&miscdata
Comments1 = 'Standard EPW Custom def format for reading EPW files in EnergyPlus Weather Converter '
SourceData = 'EPW '
/
&datacontrol
NumRecordsToSkip = 8
MaxNumRecordsToRead = 8784
MissingWindDirAction = RANDOM
/
• If you have two of the solar radiation components, then you can easily compute the third
• If you have global horizontal then Perez model is used for the direct/diffuse components split.
• If you have no solar data, then Zhang-Huang model is used to estimate global horizontal, and
Perez model is used to split that into direct and diffuse components.
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, cloud-cover, global solar constant and solar position. This model is only used when
all solar values are missing from the incoming data. 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:
Of course, there are other locations that don’t compare quite as well:
Figure 2.4: Solar radiation comparison - IWEC vs Weather Solar Model (Brisbane AUS)
2.6. REPORTS/FILES PRODUCED BY THE WEATHER CONVERTER 39
- Displaying Design Conditions from "Climate Design Data 2009 ASHRAE Handbook"
- ASHRAE design conditions are carefully generated from a period of record
- (typically 30 years) to be representative of that location and to be suitable
- for use in heating/cooling load calculations.
Design Stat ColdestMonth DB996 DB990 DP996 HR_DP996 DB_DP996 DP990 HR_DP990
DB_DP990 WS004c DB_WS004c WS010c DB_WS010c WS_DB996 WD_DB996
Units {} {°C} {°C} {°C} {} {°C} {°C} {} {°C} {m/s}
{°C} {m/s} {°C} {m/s} {deg}
Heating 1 3.8 4.9 -3.7 2.8 10.7 -1.2 3.4 11.2 12.9 12.1 11.6
12.2 2.2 150
2.6. REPORTS/FILES PRODUCED BY THE WEATHER CONVERTER 41
Design Stat HottestMonth DBR DB004 WB_DB004 DB010 WB_DB010 DB020 WB_DB020
WB004 DB_WB004 WB010 DB_WB010 WB020 DB_WB020 WS_DB004 WD_DB004 DP004
HR_DP004 DB_DP004 DP010 HR_DP010 DB_DP010 DP020 HR_DP020 DB_DP020
EN004 DB_EN004 EN010 DB_EN010 EN020 DB_EN020 \#Hrs_8 -4_&_DB -12.8/20.6
Units {} {°C} {°C} {°C} {°C} {°C} {°C} {°C} {°C}
{°C} {°C} {°C} {°C} {°C} {m/s} {deg} {°C} {} {°C
} {°C} {} {°C} {°C} {} {°C} {kJ/kg} {°C} {kJ/kg}
{°C} {kJ/kg} {°C} {}
Cooling 8 8.5 28.3 17.2 25.7 16.7 23.6 16.2 18.6 25.7 17.8 23.9
17 22.4 5.9 310 16.1 11.5 19.9 15.3 10.9 19.2 14.7 10.4 18.7 52.4
25.8 49.8 23.8 47.6 22.4 2038
Design Stat WS010 WS025 WS050 WBmax DBmin_mean DBmax_mean DBmin_stddev DBmax_stddev
DBmin05years DBmax05years DBmin10years DBmax10years DBmin20years DBmax20years DBmin50years
DBmax50years
Units {m/s} {m/s} {m/s} {°C} {°C} {°C} {°C} {°C} {°C} {°
;C} {°C} {°C} {°C} {°C} {°C} {°C}
Extremes 12.8 11.5 10.6 22.3 1.8 34.6 1.5 2.3 0.8 36.2 -0.1 37.5
-0.9 38.8 -1.9 40.5
- Displaying Monthly Design Conditions "Climate Design Data 2009 ASHRAE Handbook"
- Monthly Optical Sky Depth Beam (taub) and Diffuse (taud)
Jan Feb Mar Apr May Jun Jul Aug Sep Oct
Nov Dec
taub (beam) 0.316 0.326 0.334 0.362 0.368 0.353 0.371 0.365 0.352 0.335
0.320 0.318
taud (diffuse) 2.608 2.528 2.525 2.345 2.360 2.496 2.395 2.435 2.518 2.545
2.611 2.538
Design Stat Hottest Month CDB .4% CDB 1% CDB 2% CDP .4% CDP 1% CDP 2%
Units {} {C} {C} {C} {C} {C} {C}
Cooling 8 33.3 32.5 31.8 22.6 22.0 21.7
Design Stat Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Units {m/s} {m/s} {m/s} {m/s} {m/s} {m/s} {m/s} {m/s} {m/s} {m/s} {m/s} {m/s}
Max WS 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
- Heating/Cooling Degree Days/Hours calculated from this weather file are later in this report.
Minimum 2.2 5.0 4.4 8.3 8.9 9.4 11.1 11.1 11.1 7.8 3.3 2.8
Day:Hour 24:06 26:07 23:05 19:05 4:02 22:03 1:04 28:05 7:02 31:05 30:05 26:05
Daily Avg 9.6 11.3 12.7 13.7 15.0 15.3 15.9 16.6 16.7 15.1 12.8 10.7
Minimum -1.1 0.6 -1.1 -0.6 0.0 5.0 6.1 4.4 7.8 -1.7 -3.3 -5.6
Day:Hour 24:05 24:07 12:15 12:13 2:17 18:17 2:13 30:12 15:17 16:21 21:21 19:12
Daily Avg 6.4 6.6 8.1 8.2 9.4 10.0 10.7 11.5 12.5 9.4 8.3 6.1
Minimum 23 30 22 24 25 30 25 36 19 20 32 25
Day:Hour 17:15 14:13 4:16 5:10 9:12 17:10 2:13 14:13 28:15 30:13 20:15 24:15
44 CHAPTER 2. WEATHER CONVERTER PROGRAM
Daily Avg 77 75 70 72 73 73 71 74 72 73 74 79
Average WC 6 7 4 5 5 6 9 7 4
Avg Del WC 1 2 5 3 4 4 0 2 3
\# Hours WC 293 166 258 159 56 10 3 86 358
Maximum HI 27 28
Day:Hour 2:10 15:11
Average HI 27 28
Avg Del HI 0 0
\# Hours HI 1 1
- ** WindChill/HeatIndex Temps -- statistics ... only those different from Air Temps
South 18 10 9 5 3 1 0 1 5 14 14 12
SouthWest 7 6 19 8 5 2 1 6 7 8 11 4
West 9 14 31 35 32 59 21 32 22 16 10 5
NorthWest 15 35 18 39 50 33 66 50 49 36 17 15
Minimum 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0
Day:Hour 1:04 1:10 4:04 4:19 8:05 17:07 1:07 1:07 1:07 3:04 2:01 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
Rain/Albedo:
- Monthly Statistics for Liquid Precipitation mm
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Total 47 0 3 24 22 0 0 0 2 14 21 72
Solar Radiation
- Monthly Statistics for Solar Radiation (Direct Normal , Diffuse , Global Horizontal) Wh/m$ ^{2}$
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 5405 7987 8803 8786 10462 10595 10692 10218 8485 7348 6194 6730
Day 27 18 20 18 23 2 25 3 10 3 2 25
Diffuse Avg 1127 1300 1763 2344 2335 2247 2148 1998 1643 1610 1252 912
Global Avg 2136 3160 4402 5672 6419 7148 7129 6401 5460 3761 2530 2127
- Maximum Direct Normal Solar of 10692 Wh/m$ ^{2}$ on Jul 25
- Average Hourly Statistics for Direct Normal Solar Radiation Wh/m$ ^{2}$
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
0:01- 1:00 0 0 0 0 0 0 0 0 0 0 0 0
1:01- 2:00 0 0 0 0 0 0 0 0 0 0 0 0
2:01- 3:00 0 0 0 0 0 0 0 0 0 0 0 0
3:01- 4:00 0 0 0 0 0 0 0 0 0 0 0 0
4:01- 5:00 0 0 0 0 0 1 0 0 0 0 0 0
5:01- 6:00 0 0 0 25 47 87 51 22 1 0 0 0
6:01- 7:00 0 2 38 194 201 283 200 162 85 64 0 0
7:01- 8:00 50 98 210 340 345 413 310 304 239 279 168 63
8:01- 9:00 220 246 309 407 439 509 444 466 365 383 297 266
9:01 -10:00 277 338 424 470 526 575 525 554 523 399 372 375
10:01 -11:00 288 449 477 456 561 599 617 594 653 438 428 413
11:01 -12:00 303 467 531 546 576 641 657 643 744 445 426 473
12:01 -13:00 342 498 537 504 572 653 705 666 732 533 360 455
13:01 -14:00 398 494 535 536 579 687 732 675 730 537 414 461
14:01 -15:00 326 487 481 494 553 659 712 678 688 478 314 403
15:01 -16:00 295 413 433 403 499 570 660 621 593 393 229 306
16:01 -17:00 37 273 348 363 395 499 584 488 447 186 73 101
17:01 -18:00 2 65 153 285 286 368 432 352 208 44 0 0
18:01 -19:00 0 0 8 100 107 186 222 103 9 0 0 0
46 CHAPTER 2. WEATHER CONVERTER PROGRAM
19:01 -20:00 0 0 0 0 2 13 14 2 0 0 0 0
20:01 -21:00 0 0 0 0 0 0 0 0 0 0 0 0
21:01 -22:00 0 0 0 0 0 0 0 0 0 0 0 0
22:01 -23:00 0 0 0 0 0 0 0 0 0 0 0 0
23:01 -24:00 0 0 0 0 0 0 0 0 0 0 0 0
Max Hour* 14 13 13 12 14 14 14 15 12 14 11* 12
Min Hour 1 1 1 1 1 1 1 1 1 1 1 1
- Average Hourly Statistics for Diffuse Horizontal Solar Radiation Wh/m$ ^{2}$
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
0:01- 1:00 0 0 0 0 0 0 0 0 0 0 0 0
1:01- 2:00 0 0 0 0 0 0 0 0 0 0 0 0
2:01- 3:00 0 0 0 0 0 0 0 0 0 0 0 0
3:01- 4:00 0 0 0 0 0 0 0 0 0 0 0 0
4:01- 5:00 0 0 0 0 0 0 0 0 0 0 0 0
5:01- 6:00 0 0 0 1 26 35 24 12 0 0 0 0
6:01- 7:00 0 1 14 45 81 79 73 56 36 5 0 0
7:01- 8:00 2 28 70 107 135 129 140 112 98 61 28 11
8:01- 9:00 51 82 124 155 190 177 182 159 146 118 84 57
9:01 -10:00 105 123 169 225 215 192 199 196 181 155 127 100
10:01 -11:00 146 164 203 268 255 235 224 219 192 208 167 131
11:01 -12:00 174 187 227 267 260 232 242 225 189 226 192 141
12:01 -13:00 176 173 224 281 249 242 211 231 190 225 205 153
13:01 -14:00 170 178 227 258 244 221 205 207 178 191 178 134
14:01 -15:00 148 154 194 226 211 201 192 184 156 184 147 98
15:01 -16:00 122 118 159 216 188 190 167 154 134 144 114 67
16:01 -17:00 34 71 100 162 149 148 137 128 95 91 10 20
17:01 -18:00 0 24 49 126 93 109 96 81 46 3 0 0
18:01 -19:00 0 0 2 9 39 54 47 31 3 0 0 0
19:01 -20:00 0 0 0 0 0 5 9 1 0 0 0 0
20:01 -21:00 0 0 0 0 0 0 0 0 0 0 0 0
21:01 -22:00 0 0 0 0 0 0 0 0 0 0 0 0
22:01 -23:00 0 0 0 0 0 0 0 0 0 0 0 0
23:01 -24:00 0 0 0 0 0 0 0 0 0 0 0 0
Max Hour* 13 12 14 13 12 13 12 13 11* 12 13 13
Min Hour 1 1 1 1 1 1 1 1 1 1 1 1
- Average Hourly Statistics for Global Horizontal Solar Radiation Wh/m$ ^{2}$
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
0:01- 1:00 0 0 0 0 0 0 0 0 0 0 0 0
1:01- 2:00 0 0 0 0 0 0 0 0 0 0 0 0
2:01- 3:00 0 0 0 0 0 0 0 0 0 0 0 0
3:01- 4:00 0 0 0 0 0 0 0 0 0 0 0 0
4:01- 5:00 0 0 0 0 0 0 0 0 0 0 0 0
5:01- 6:00 0 0 0 2 31 45 29 14 0 0 0 0
6:01- 7:00 0 1 17 83 136 165 127 91 47 8 0 0
7:01- 8:00 3 39 119 237 295 330 282 234 175 122 47 15
8:01- 9:00 92 150 254 383 469 511 462 429 330 269 164 108
9:01 -10:00 197 268 414 558 625 650 607 600 520 368 277 222
10:01 -11:00 272 409 532 641 749 773 769 717 684 486 382 306
11:01 -12:00 326 473 626 746 800 845 863 805 790 531 425 367
12:01 -13:00 353 490 638 726 787 872 886 840 786 589 401 373
13:01 -14:00 365 476 619 708 763 855 879 797 735 528 381 336
14:01 -15:00 280 409 505 595 656 751 786 716 613 433 269 239
15:01 -16:00 206 281 381 463 523 594 634 560 445 292 170 135
16:01 -17:00 40 135 221 321 349 421 456 366 252 131 15 27
17:01 -18:00 0 30 73 196 184 244 254 187 80 4 0 0
18:01 -19:00 0 0 2 14 53 87 86 44 3 0 0 0
19:01 -20:00 0 0 0 0 0 5 11 1 0 0 0 0
20:01 -21:00 0 0 0 0 0 0 0 0 0 0 0 0
21:01 -22:00 0 0 0 0 0 0 0 0 0 0 0 0
22:01 -23:00 0 0 0 0 0 0 0 0 0 0 0 0
23:01 -24:00 0 0 0 0 0 0 0 0 0 0 0 0
Max Hour 14 13 13 12 12 13 13 13 12 13 12 13
Min Hour 1 1 1 1 1 1 1 1 1 1 1 1
2:01- 3:00 62 52 59 48 43 27 45 41 55 30 46 43
3:01- 4:00 60 55 61 52 42 31 50 38 59 30 46 44
4:01- 5:00 63 57 65 56 50 40 52 45 65 33 49 43
5:01- 6:00 62 61 60 53 54 37 55 52 64 39 54 38
6:01- 7:00 60 63 59 59 55 36 58 54 63 41 55 38
7:01- 8:00 61 67 63 51 51 34 52 54 62 42 52 43
8:01- 9:00 65 68 64 48 48 32 45 42 59 44 49 50
9:01 -10:00 64 71 59 43 46 29 38 38 43 40 44 50
10:01 -11:00 63 66 54 42 45 30 32 35 33 37 46 52
11:01 -12:00 58 64 55 42 48 26 26 33 25 36 42 49
12:01 -13:00 52 59 53 43 46 27 19 30 25 35 39 50
13:01 -14:00 50 61 55 40 46 24 18 27 22 34 41 48
14:01 -15:00 49 62 62 39 44 24 17 27 20 31 43 44
15:01 -16:00 47 64 59 41 47 25 16 26 20 32 46 43
16:01 -17:00 47 62 56 43 48 27 19 31 21 27 46 44
17:01 -18:00 49 61 57 40 45 27 24 33 22 29 46 45
18:01 -19:00 47 59 51 40 43 29 27 36 18 26 46 42
19:01 -20:00 51 54 45 39 42 31 28 37 18 25 47 41
20:01 -21:00 53 49 47 41 39 30 27 38 19 27 44 42
21:01 -22:00 54 44 45 43 39 26 29 40 27 26 46 45
22:01 -23:00 58 43 46 40 38 30 32 38 32 27 44 44
23:01 -24:00 55 41 50 40 38 26 36 41 39 26 46 49
Max Hour 9 10 5 7 7 5 7 7 5 9 7 11
Min Hour 16 24 22 15 23 14 16 16 19 20 13 6
- ** 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
48 CHAPTER 2. WEATHER CONVERTER PROGRAM
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.
Heating/cooling degree days from the weather file are shown. Long term heating/cooling degree days are
shown earlier if available from ASHRAE HOF for the location/WMO.
- 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
- 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 .*
- 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& deg;C, Deviation = |16.393|& deg;
C
Typical Summer Week (nearest average temperature for summer)
Typical Week Period selected: Aug 19: Aug 25, Average Temp = 16.27& deg;C, Deviation = | 0.032|& deg;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& deg;C, Deviation = | 8.532|& deg
;C
Typical Winter Week (nearest average temperature for winter)
Typical Week Period selected: Mar 5:Mar 11, Average Temp = 10.19& deg;C, Deviation = | 0.417|& deg;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& deg;C, Deviation = | 0.990|& deg;C
2.6. REPORTS/FILES PRODUCED BY THE WEATHER CONVERTER 49
- Spring is Apr:Jun
Typical Spring Week (nearest average temperature for spring)
Typical Week Period selected: May 13: May 19, Average Temp = 13.59& deg;C, Deviation = | 0.018|& deg;C
As this data is all tab-delimited, putting in a spreadsheet and displaying is not difficult:
object for inclusion with EnergyPlus. However, statistics using the weather file are displayed to the
statistics file - these “can” be used to create your own design day definitions but you should read
the warning that is issued and take care if your weather file is only a “single instance” weather data
representation.
The location objects as well as the design condition objects are constrained by the data source.
Some data sources do not have elevation information - thus, a location object from such a source
will have an elevation of 0.0. Likewise, the time zone of some locations may not be available from
the source data nor other data resources that the weather converter uses. A time zone will be
estimated from the standard meridian of the location (determined by the longitude) but it may not
be accurate. A user needs to be aware of these limitations when taking the design day files from
the weather converter.
Note that you can always include a “def” file with this data to assure accuracy regardless of
input format limitations.
An excerpt of a design day output is shown in the following (actual design day objects have
been deleted for brevity). Note that with the 2009 ASHRAE HOF climate conditions, a possible
DaylightSavingPeriod object may be included.
! The following Location and Design Day data are produced as possible from the indicated data source.
! Wind Speeds follow the indicated design conditions rather than traditional values (6.7 m/s heating ,
3.35 m/s cooling)
! No special attempts at re -creating or determining missing data parts (e.g. Wind speed or direction)
! are done. Therefore , you should look at the data and fill in any incorrect values as you desire.
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& deg;C Min Drybulb =
35.9& deg;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
! Chicago Ohare Intl Ap IL USA Annual Heating 99%, MaxDB = -16.6& deg;C
! Chicago Ohare Intl Ap IL USA Annual Cooling (DB = >MWB) 1%, MaxDB = 31.6& deg;C MWB = 23& deg;C
! Chicago Ohare Intl Ap IL USA Annual Humidification 99.6% Design Conditions DP = >MCDB , DP = -25.7& deg
;C
2.6. REPORTS/FILES PRODUCED BY THE WEATHER CONVERTER 51
! Chicago Ohare Intl Ap IL USA Annual Humidification 99% Design Conditions DP = >MCDB , DP = -22.1& deg;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
! 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& deg;C MWB = 22.1& deg;C
! Chicago Ohare Intl Ap IL USA Annual Cooling (WB = >MDB) .4%, MDB = 31.2& deg;C WB = 25.5& deg;C
! Chicago Ohare Intl Ap IL USA Annual Cooling (WB = >MDB) 1%, MDB = 29.6& deg;C WB = 24.5& deg;C
! Chicago Ohare Intl Ap IL USA Annual Cooling (WB = >MDB) 2%, MDB = 28.1& deg;C WB = 23.5& deg;C
! Chicago Ohare Intl Ap IL USA Annual Cooling (DP = >MDB) .4%, MDB = 28.9& deg;C DP = 23.8& deg;C HR =
0.0192
! Chicago Ohare Intl Ap IL USA Annual Cooling (DP = >MDB) 1%, MDB = 27.7& deg;C DP = 22.9& deg;C HR =
0.0180
! Chicago Ohare Intl Ap IL USA Annual Cooling (DP = >MDB) 2%, MDB = 26.5& deg;C DP = 21.9& deg;C HR =
0.0170
! Chicago Ohare Intl Ap IL USA Annual Cooling (Enthalpy = >MDB) .4%, MDB = 31.4& deg;C Enthalpy = 79.2 kJ
/kg
! Chicago Ohare Intl Ap IL USA Annual Cooling (Enthalpy = >MDB) 1%, MDB = 29.6& deg;C Enthalpy = 75.1 kJ/
kg
! Chicago Ohare Intl Ap IL USA Annual Cooling (Enthalpy = >MDB) 2%, MDB = 28.2& deg;C Enthalpy = 70.9 kJ/
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
52 CHAPTER 2. WEATHER CONVERTER PROGRAM
In addition to the major climate types, each category is further sub-divided into sub-categories
based on temperature and precipitation. There are only 24 sub-categories possible - making the
general schemes quite easy to comprehend.
For example, the U.S. states located along the Gulf of Mexico are designated as “Cfa.” The
“C” represents the “mild mid-latitude” category, the second letter “f” stands for the German word
feucht or “moist,” and the third letter “a” indicates that the average temperature of the warmest
month is above 22°C. Thus, “Cfa” gives us a good indication of the climate of this region, a mild
mid-latitude climate with no dry season and a hot summer.
The Köppen classification code (and some statistics) was adapted (with permission of Peter
Schild) from the COMIS weather program code.
temperature with latitude - with one important exception. Seasons only exist in highlands if they
also exist in the nearby lowland regions. For example, although A climates have cooler temperatures
at higher elevations, the seasonal changes of C, D and E climates are not present.
The following shows an overview of the world and its Köppen classifications.
And a more basic view with monthly dry bulb temperature and dew point temperatures for
these zones (Northern Hemisphere).
Figure 2.9: Monthly Dry Bulb Temperatures in Köppen Climates (Northern Hemisphere)
2.9. ENERGYPLUS WEATHER FILE (EPW) DATA DICTIONARY 57
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
2.9. ENERGYPLUS WEATHER FILE (EPW) DATA DICTIONARY 59
\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
\note Time relative to GMT.
\type real
N5 ; \field Elevation
\units m
\minimum -1000.0
\maximum < +9999.9
\default 0.0
\type real
The Location header record duplicates the information required for the Location Object. When
only a Run Period object is used (i.e. a weather file), then the Location Object Is not needed.
When a Run Period and Design Day objects are entered, then the Location on the weather file (as
described previously) is used and overrides any Location Object entry.
DESIGN CONDITIONS ,
N1 , \field Number of Design Conditions
A1 , \field Design Condition Source
\note current sources are ASHRAE HOF 2009 US Design Conditions , Canadian Design Conditions
\note and World Design Conditions
A2 , \field Design Condition Type (HEATING)
\note fields here will be dependent on the source , they are shown in a header/data format
\note in both the .rpt and .csv files that are produced by the WeatherConverter program
...
An , \field Design Condition Type (COOLING)
\note same as note on Heating Design Conditions
The Design Conditions header record encapsulates matching (using WMO# – World
Meteorological Organization Station Number) design conditions for a weather file location.
Currently only those design conditions contained in the ASHRAE Handbook of Fundamentals 2009
are contained in the weather files. These conditions can be used as desired. In addition, Design
Day definition files have been created of all World, Canada, and United States Design Conditions.
TYPICAL/EXTREME PERIODS ,
N1 , \field Number of Typical/Extreme Periods
A1 , \field Typical/Extreme Period 1 Name
A2 , \field Typical/Extreme Period 1 Type
A3 , \field Period 1 Start Day
A4 , \field Period 1 End Day
\note repeat (A1 -A3) until number of typical periods
-- etc to # of periods entered
Using a heuristic method, the weather converter can determine typical and extreme weather
periods for full year weather files. These will then be shown on the Typical/Extreme Periods
header record. These are also reported in the statistical report output from the Weather Converter.
GROUND TEMPERATURES ,
N1 , Number of Ground Temperature Depths
N2 , \field Ground Temperature Depth 1
60 CHAPTER 2. WEATHER CONVERTER PROGRAM
\units m
N3 , \field Depth 1 Soil Conductivity
\units W/m-K,
N4 , \field Depth 1 Soil Density
\units kg/m3
N5 , \field Depth 1 Soil Specific Heat
\units J/kg -K,
N6 , \field Depth 1 January Average Ground Temperature
\units C
N7 , \field Depth 1 February Average Ground Temperature
\units C
N8 , \field Depth 1 March Average Ground Temperature
\units C
N9 , \field Depth 1 April Average Ground Temperature
\units C
N10 , \field Depth 1 May Average Ground Temperature
\units C
N11 , \field Depth 1 June Average Ground Temperature
\units C
N12 , \field Depth 1 July Average Ground Temperature
\units C
N13 , \field Depth 1 August Average Ground Temperature
\units C
N14 , \field Depth 1 September Average Ground Temperature
\units C
N15 , \field Depth 1 October Average Ground Temperature
\units C
N16 , \field Depth 1 November Average Ground Temperature
\units C
N17 , \field Depth 1 December Average Ground Temperature
\units C
\note repeat above (N2 -N17) to number of ground temp depths indicated
-- etc to # of depths entered
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
2.9. ENERGYPLUS WEATHER FILE (EPW) DATA DICTIONARY 61
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, !- Begin Month
1, !- Begin Day Of Month
12, !- End Month
31, !- End Day Of Month
Wednesday , !- Day Of Week For Start Day
Yes , !- Use WeatherFile Holidays/Special Days
No , !- Use WeatherFile DaylightSavingPeriod
Yes , !- Apply Weekend Holiday Rule
Yes , !- Use WeatherFile Rain Indicators
Yes; !- 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 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.
62 CHAPTER 2. WEATHER CONVERTER PROGRAM
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
2.9. ENERGYPLUS WEATHER FILE (EPW) DATA DICTIONARY 63
\missing 999999.
\note will be missing if > = 999900
\minimum 0
N19 , \field Zenith Luminance
\units Cd/m2
\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
4
HorizontalIR = ϵσTdrybulb (2.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
( ( ))
Tdewpoint ( )
ϵ = 0.787 + 0.764 ln 1 + 0.0224N − 0.0035N 2 + 0.00028N 3 (2.4)
273
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
HorizontalIR = 0.815 ∗ 5.6697e − 8 ∗ (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.
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.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.
The program uses a heuristic, time lagged calculation based on dry bulb temperature and
location. References on the topic are found in Kusuda (see references).
Number of Ground Temperature Depths,Ground Temperature Depth {m},Soil Conductivity
{W/m-K},Soil Density {kg/m3},Soil Specific Heat {J/kg-K},Jan {C},Feb{C},Mar {C},Apr
{C},May {C},Jun {C},Jul {C},Aug {C},Sep {C},Oct {C},Nov {C},Dec {C},<repeat to Number
of temperature depths>
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,19.38,20.10,20.30,19.82,
18.80,17.56,16.35,15.56,15.39,15.89,16.89
When a valid value is encountered from weather data, however, it will become the new “missing”
replacement value:
**Standard Barometric pressure based on location elevation is taken from ASHRAE 2001
Handbook of Fundamentals, pages 6.1 & 6.2.
calculations are chosen as the means of building energy consumption compliance. The CWEC
follow the ASHRAE WYEC2 format and were derived from the Canadian Energy and Engineering
Data Sets (CWEEDS) of hourly weather information for Canada from the 1953-1995 period of
record.
The 80 CWEC files contain hourly weather observations representing an artificial one-year period
specifically designed for building energy calculations. All 80 locations in the CWEC data set are
available for download in EnergyPlus weather format.
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).
The definition of the solar radiation source flags and solar radiation uncertainty flags are shown
in the following two tables:
Finally, the Meteorological data source and uncertainty flag/codes are shown in the following
two tables:
Flag Definition
A Data as received from NCDC, converted to SI units
B Linearly interpolated
C Non-linearly interpolated to fill data gaps from 6 to 47 hours in
length
D Not used
E 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
2.14. ADVANCED USE - ACCESSING WEATHER CONVERSION CAPABILITIES 91
Flag Definition
F 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
Flag Definition
1- 6 Not used
7 Uncertainty consistent with NWS practices and the instrument
or observation used to obtain the data
8 Greater uncertainty than 7 because values were interpolated or
estimated
9 Greater uncertainty than 8 or unknown.
0 Not definable.
[Link] [Link]
This file does not have a header record, but it consists of 3 columns. It is used for data files that
might have 2-character abbreviations for US States or Canadian provinces and provides a translation
92 CHAPTER 2. WEATHER CONVERTER PROGRAM
to the full name and 3-character country code. Likewise, it can use the full name of these items to
obtain the 2-character abbreviation or 3-character country code.
[Link] [Link]
In many older data sets, the station identifier for the weather data uses the WBAN (Weather
Bureau Army-Navy) designation system. This has largely been superseded by the WMO (World
Meteorological Organization) designation for station collection site identifiers. This file provides a
translation between the two identifier systems. In addition, this file contains latitude, longitude,
time zone and elevation information for the sites.
[Link] ASHRAE_2009_Yearly_DesignConditions.csv
The three files for design conditions have roughly the same format. These are the values from the
ASHRAE Handbook of Fundamentals, 2009, Chapter 14, Appendix. The WMO station identifier is
used to determine the design condition values that apply to a source data file and, thus, are included
in the DESIGN CONDITION header record on the EPW file produced as part of the conversion.
This information is also included in the statistical report file (STAT) produced from the weather
converter utility. In addition, these are used to supply the information for the design day object
(DDY) file creation.
[Link] 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))
2.14. ADVANCED USE - ACCESSING WEATHER CONVERSION CAPABILITIES 93
[Link] 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))
[Link] 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:
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 String , ByVal strValueLen As Long)
[Link] 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 String , ByVal OutTypeLen As Long , ByVal strInFileName As String , ByVal
InFileNameLen As Long , ByVal strOutFileName As String , ByVal OutFileNameLen As Long , ErrorFlag As
Boolean , Optional ByVal strOutFileURL As String , Optional ByVal OutFileURLlen As Long)
Valid values for the Input File Data Type are shown in the following table:
Valid values for the Output File Type(s) are shown in the following table:
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
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.
96 CHAPTER 2. WEATHER CONVERTER PROGRAM
35-km grid tiles across the globe. These files are built by integrating hourly weather station
observations and the new NOAA reanalysis data sets. Both Typical Meteorological Year (TMY)
files and individual, Actual Meteorological Year (AMY) files are available as well as files constructed
from the previous 12 months.
Meteonorm ([Link]) - Files for specific locations can be purchased in EnergyPlus
format from Meteonorm company. Meteonorm extrapolates hourly data from statistical data for a
location. Where statistical data aren’t available, Meteonorm interpolates from other nearby sites.
Generally a statistical approach is a last resort–weather files generated from statistics will not
demonstrate the normal hour-to-hour and day-to-day variability seen in measured data.
Chapter 3
3.1 Caution
For ground-contact surfaces in EnergyPlus, it is important to specify appropriate ground
temperatures. Do not use the “undisturbed” ground temperatures from the weather data. These
values are too extreme for the soil under a conditioned building. For best results, use the Slab
or Basement program described in this section to calculate custom monthly average ground
temperatures. 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.
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
99
100 CHAPTER 3. GROUND HEAT TRANSFER IN ENERGYPLUS
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.
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.
The resulting heat flux is shown below. The inside heat transfer coefficient and slab thermal
properties are specified in the input file. For this example the total thermal resistance from the
inside air to the slab bottom surface was 0.27 (m2 C)/W. This value is controlled by the user with
the inside heat transfer coefficient and slab thermal properties values in the slab program input file.
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
3 17.27 16.00 17.57 18.0
4 18.87 17.77 19.13 20.0
5 19.11 18.16 19.34 20.0
6 19.17 18.34 19.37 20.0
7 20.81 20.07 20.98 22.0
8 21.05 20.36 21.21 22.0
9 21.09 20.38 21.26 22.0
10 21.08 20.19 21.29 22.0
11 19.47 18.45 19.71 20.0
12 19.20 17.92 19.51 20.0
An example of a 24-hour inside temperature profile for this case is shown below. The sine wave
amplitude was 2 C.
102 CHAPTER 3. GROUND HEAT TRANSFER IN ENERGYPLUS
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.
The resulting heat fluxes are shown below. They can be compared with the fluxes shown
above for the constant inside temperature run. The changes resulting from a fairly large 4 C daily
temperature variation are probably not significant.
3.4. SLAB CONFIGURATION DRAWING 103
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 \<rootfolder></span>
CD PreProcess\GrndTempCalc
4) Run the program (for example use the example included with the install):
:Instructions:
: Complete the following path and program names.
: path names must have a following \\ or errors will happen
set program\_path =
set program\_name = [Link]
set input\_path =
set output\_path =
set weather\_path = C:\\ EnergyPlus \\ WeatherData \\
Where you would have [Link] 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.
• GroundSlabPreprocessorAverage
• GroundSlabPreprocessorCore
• GroundSlabPreprocessorPerimeter
• BuildingSurface:Detailed
• Wall:Detailed
• RoofCeiling:Detailed
• Floor:Detailed
106 CHAPTER 3. GROUND HEAT TRANSFER IN ENERGYPLUS
The slab program is capable of supplying the EnergyPlus idf objects needed to use the slab
program outputs directly by copying the objects into the EnergyPlus idf file. The file containing
these objects has the extension gtp, and an example is shown below. It contains the output
temperatures and heat fluxes, and in addition it contains an OtherSideCoefficient object example as
mentioned above, and three compact schedule objects that can be used to describe the average, core
and perimeter temperatures directly in EnergyPlus. The Name in the compact schedule corresponds
to the GroundTemperatureScheduleName in the OtherSideCoefficient object.
======================================
==========
CHECK CONVERGENCE MESSAGE AT END OF THIS FILE!
======================================
==========
Monthly Slab Outside Face Temperatures , C and Heat Fluxes(loss), W/(m^2)
Perimeter Area: 304.00 Core Area: 1296.00
Month TAverage TPerimeter TCore TInside AverageFlux PerimeterFlux CoreFlux
1 17.74 16.41 18.05 18.00 0.88 5.39 -0.17
2 17.49 16.15 17.81 18.00 1.73 6.29 0.66
3 17.45 16.23 17.74 18.00 1.86 6.02 0.88
4 18.96 17.86 19.22 20.00 3.51 7.24 2.64
5 19.22 18.22 19.45 20.00 2.66 6.04 1.86
6 19.28 18.38 19.49 20.00 2.44 5.48 1.73
7 20.83 19.98 21.03 22.00 3.96 6.87 3.28
8 21.12 20.39 21.29 22.00 2.98 5.47 2.40
9 21.18 20.46 21.35 22.00 2.76 5.22 2.19
10 21.17 20.23 21.39 22.00 2.82 6.02 2.08
11 19.64 18.63 19.88 20.00 1.22 4.63 0.42
12 19.36 18.14 19.65 20.00 2.16 6.30 1.19
Schedule:Compact ,
MonthlyAveSurfaceTemp , !Name
Temperature , !- ScheduleType
Through: 1/31,
For:AllDays ,
Until :24:00 ,
17.74 ,
Through: 2/28,
For:AllDays ,
Until :24:00 ,
17.49 ,
Through: 3/31,
For:AllDays ,
Until :24:00 ,
17.45 ,
Through: 4/30,
For:AllDays ,
Until :24:00 ,
18.96 ,
3.8. DESCRIPTION OF THE OBJECTS IN THE E+[Link] 107
Through: 5/31,
For:AllDays ,
Until :24:00 ,
19.22 ,
Through: 6/30,
For:AllDays ,
Until :24:00 ,
19.28 ,
Through: 7/31,
For:AllDays ,
Until :24:00 ,
20.83 ,
Through: 8/31,
For:AllDays ,
Until :24:00 ,
21.12 ,
Through: 9/30,
For:AllDays ,
Until :24:00 ,
21.18 ,
Through: 10/31 ,
For:AllDays ,
Until :24:00 ,
21.17 ,
Through: 11/30 ,
For:AllDays ,
Until :24:00 ,
19.64 ,
Through: 12/31 ,
For:AllDays ,
Until :24:00 ,
19.36 ;
Materials ,
N1 , \field NMAT: Number of materials
\note typical 2
N2 , \field ALBEDO: Surface Albedo: No Snow
\note typical value = 0-1
N3 , \field ALBEDO: Surface Albedo: Snow
\note typical value = 0-1
N4 , \field EPSLW: Surface Emissivity: No Snow
\note typical value = 0.9
N5 , \field EPSLW: Surface Emissivity: Snow
\note typical value = 0.9
N6 , \field Z0: Surface Roughness: No Snow
\note typical value = 0-10 cm
N7 , \field Z0: Surface Roughness: Snow
\note typical value = 0-10
N8 , \field HIN: Indoor HConv: Downward Flow
\note typical value = 4-10
\units W/m2 -K
N9; \field HIN: Indoor HConv: Upward
\note typical value = 4-10
\units W/m2 -K
value at the model depth. The model depth is set by the program using the domain size from the
EquivAutoGrid object below.
[Link] Field: USERH: User specified ground surface heat transfer coeff
This field supplies the value of the heat transfer coefficient if USPHflag is TRUE. W/(m2 -K)
The BoundConds object is shown below:
BoundConds ,
A1 , \field EVTR: Is surface evapotranspiration modeled
\type choice
\key TRUE
\key FALSE
A2 , \field FIXBC: is the lower boundary at a fixed temperature
\type choice
\key TRUE
\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
[Link] Field: TIN1 - TIN12 <month> Indoor Average temperature set point
The next twelve fields specify the average indoor building set point temperatures for each month
of the year. These fields are useful for simulating a building that is not temperature controlled for
some of the year. In such a case, the average indoor set point temperatures can be obtained by first
running the model in EnergyPlus with an insulated floor boundary condition, and then using the
resulting monthly average zone temperatures in these fields.
\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
[Link] Field APRatio: The area to perimeter ratio for this slab
This field specifies the area over perimeter ratio of the slab in meters.
The EquivSlab object and the EquivAutoGrid Objects that follow have been
replaced by the EquivalentSlab object above. They are included in the idd so that old
idf files can still be read.
[Link] Field APRatio: The area to perimeter ratio for this slab
This field specifies the area over perimeter ratio of the slab in meters.
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.
N1 , \field NX: Number of cells in the X direction
\note typical values = 15
N2 , \field NY: Number of cells in the Y direction
\note typical values = 15
N3 , \field NZ: Number of cells in the Z direction
\note typical values = 15
N4 , \field IBOX: X direction cell indicator of slab edge
\note typical values = 1-10
N5; \field JBOX: Y direction cell indicator of slab edge
\note typical values = 1-10
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, !- NMAT: Number of materials
0.158 , !- ALBEDO: Surface Albedo: No Snow
0.379 , !- ALBEDO: Surface Albedo: Snow
0.9, !- EPSLW: Surface Emissivity: No Snow
0.9, !- EPSLW: Surface Emissivity: Snow
0.75, !- Z0: Surface Roughness: No Snow
0.03, !- Z0: Surface Roughness: Snow
6.13, !- HIN: Indoor HConv: Downward Flow {W/m2 -K}
3.9. USING GROUND TEMPERATURES WITH BASEMENTS 117
MatlProps ,
2300, !- RHO: Slab Material density {kg/m3}
1200, !- RHO: Soil Density {kg/m3}
653, !- CP: Slab CP {J/kg -K}
1200, !- CP: Soil CP {J/kg -K}
0.93, !- TCON: Slab k {W/m-K}
1; !- TCON: Soil k {W/m-K}
BoundConds ,
TRUE , !- EVTR: Is surface evapotranspiration modeled
TRUE , !- FIXBC: is the lower boundary at a fixed temperature
FALSE; !- OLDTG: is there an old ground temperature file
BldgProps ,
10, !- IYRS: Number of years to iterate
0, !- Shape: Slab shape
4, !- HBLDG: Building height {m}
18, !- TIN1: January Indoor Average temperature set point {C}
18, !- TIN2: February Indoor Average temperature set point {C}
18, !- TIN3: March Indoor Average temperature set point {C}
20, !- TIN4: April Indoor Average temperature set point {C}
20, !- TIN5: May Indoor Average temperature set point {C}
20, !- TIN6: June Indoor Average temperature set point {C}
22, !- TIN7: July Indoor Average temperature set point {C}
22, !- TIN8: August Indoor Average temperature set point {C}
22, !- TIN9: September Indoor Average temperature set point {C}
22, !- TIN10: October Indoor Average temperature set point {C}
20, !- TIN11: NovemberIndoor Average temperature set point {C}
20, !- TIN12: December Indoor Average temperature set point {C}
0, !- TINAmp: Daily sine wave variation amplitude {C}
0.10; !- ConvTol: Convergence Tolerance
Insulation ,
0., !- RINS: R value of under slab insulation {m2 -K/W}
0., !- DINS: Width of strip of under slab insulation {m}
2.0, !- RVINS: R value of vertical insulation {m2 -K/W}
2.0, !- ZVINS: Depth of vertical insulation {m}
1; !- IVINS: Flag: Is there vertical insulation
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
on this plane is used with the OtherSideCoefficients object in EnergyPlus to supply the outside face
temperature of the walls or slab.
The output from the program is a csv file, named [Link], as shown below.
Column B gives the basement zone temperature. This can vary month by month as will be
explained later. Column C is the monthly average wall outside face 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 [Link]. This file contains the
necessary idf objects to make it easy to include the wall outside surface temperatures in an
3.10. RUNNING THE BASEMENT PROGRAM 119
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.
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 \<rootfolder></span>
CD PreProcess\GrndTempCalc
120 CHAPTER 3. GROUND HEAT TRANSFER IN ENERGYPLUS
4) Run the program (for example use the example included with the install):
Where you would have [Link] 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.
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
\note typical value 1.9
\units W/m-K
N19; \field thermal conductivity for wood
\note typical value 0.12
122 CHAPTER 3. GROUND HEAT TRANSFER IN ENERGYPLUS
\units W/m-K
Insulation ,
N1 , \field REXT: R Value of any exterior insulation , K/(W/m2)]
\units m2 -K/W
A1; \field INSFULL: Flag: Is the wall fully insulated?
\note True for full insulation
\note False for insulation half way down side wall from grade line
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
3.13. THE BASEMENT IDD 123
\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
N8 , \field August average temperature
\units C
N9 , \field September average temperature
\units C
N10 , \field October average temperature
\units C
N11 , \field November average temperature
\units C
N12 , \field December average temperature
\units C
N13; \field Daily variation sine wave amplitude
\units C
\note (Normally zero , just for checking)
EquivAutoGrid ,
\memo EquivAutoGrid necessary when EquivSizing = TRUE , TRUE is is the normal case.
N1 , \field CLEARANCE: Distance from outside of wall to edge of 3-D ground domain
\units m
\note typical value 15m
N2 , \field SlabDepth: Thickness of the floor slab
\units m
\note typical value 0.1m
N3; \field BaseDepth: Depth of the basement wall below grade
\units m
!
! ******** The following input objects are required only for special cases.
!
[Link] Field: DGRAVZN: Gravel depth extending above the floor slab
This field specifies the depth of the gravel fill above the floor slab (m).
[Link] Field: HIN: Downward combined (convection and radiation) heat transfer
coefficient
This field specifies the combined thermal radiation and convection heat transfer coefficient for floors
(downward heat flux - W/m2-K).
[Link] Field: HIN: Upward combined (convection and radiation) heat transfer
coefficient
This field specifies the combined thermal radiation and convection heat transfer coefficient for floors
(upward heat flux - W/m2-K).
3.14. DESCRIPTION OF THE OBJECTS IN THE [Link] 129
[Link] Field: HIN: Horizontal combined (convection and radiation) heat transfer
coefficient
This field specifies the combined thermal radiation and convection heat transfer coefficient for walls
(horizontal heat flux - W/m2-K).
This field is the average air temperature (C) for the basement for October.
This field is the average air temperature (C) for the basement for November.
This field is the average air temperature (C) for the basement for December.
This field is the amplitude (variation) for a daily sine wave variation to be placed on the inside
temperature. This has been shown to have little effect on results so zero can be used safely.
[Link] Field: APRatio: The area to perimeter ratio for this slab
This field specifies the Area to Perimeter (A/P) ratio for the slab.
This field should always be TRUE unless the user wants to specifically look at the differences
between the long wall and the short wall on a rectangular configuration.
[Link] Field: CLEARANCE: Distance from outside of wall to edge of 3-D ground
domain
This field specifies the distance to the outside of the field from the basement wall. It has been
determined that 15 meters is quite satisfactory.
3.14. DESCRIPTION OF THE OBJECTS IN THE [Link] 131
MatlProps ,
6, ! [NMAT: Number of materials in this domain , UP TO 6]
2242.6 , 2242.6 , 311.66 , 1500.0 , 2000.0 , 448.5 ,! [RHO (1-6): Matl density
!( Fndn wall , Floor Slab , Ceiling ,Soil , Gravel , Wood), kg/m3 , ]
880.0 , 880.0 , 1513.0 , 840.0 , 720.0 , 1630.0 ,! [CP(1-6): Specific Heat: J/kg -K,
1.402 , 1.402 , 0.093 , 0.5, 1.9, 0.119; ! [TCON (1-6): Conductivity: W/m-K
Insulation ,
5.0, ! [REXT: R Value of any exterior insulation , K/(W/m2)]
TRUE; ! [INSFULL: Flag: Is the wall fully insulated? TRUE/FALSE]
SurfaceProps ,
.16, .40, ! [ALBEDO: Surface albedo array , .16 .40]
.94, .86, ! [EPSLN: Surface emissivity No Snow/ Snow .94 .86]
6.0, 0.25, ! [VEGHT: Surface roughness NS/S, cm , 6.0, 0.25]
TRUE ;! [PET: Flag , Potential evapotranspiration on? T/F]
! Typically , PET is True
BldgData ,
.2, ! [DWALL: Wall thickness , m, .2]
.1, ! [DSLAB: Floor slab thickness , m, 0.1]
.3, ! [DGRAVXY: Width of gravel pit beside footing , m, 0.3]
.2, ! [DGRAVZN: Gravel depth above the floor slab , m, 0.2]
.1;! [DGRAVZP: Gravel depth below the floor slab , m, 0.1]
Interior ,
TRUE , ! [COND: Flag: Is the basement conditioned? TRUE/FALSE]
132 CHAPTER 3. GROUND HEAT TRANSFER IN ENERGYPLUS
EquivSlab ,
15.0, ! [APRatio: The area to perimeter ratio for this slab: m]
TRUE ;! [EquivSizing: Flag: Will the dimensions of an equivalent
! slab be calculated (TRUE) or will the dimensions be
! input directly? (FALSE)]
! Only advanced special simulations should use FALSE.
ManualGrid ,
\memo Manual Grid only necessary using manual gridding (not recommended)
N1 , \field NX: Number of cells in the X direction: 20]
N2 , \field NY: Number of cells in the Y direction: 20]
N3 , \field NZAG: Number of cells in the Z direction. above grade: 4 Always]
N4 , \field NZBG: Number of cells in Z direction. below grade: 10 -35]
N5 , \field IBASE: X direction cell indicator of slab edge: 5-20]
3.15. USING THE INTERFACE SURFACE TEMPERATURE RESULTS IN ENERGYPLUS133
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
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;
• GroundBasementPreprocessorAverageWall
• GroundBasementPreprocessorAverageFloor
• GroundBasementPreprocessorUpperWall
• GroundBasementPreprocessorLowerWall
• BuildingSurface:Detailed
• Wall:Detailed
• RoofCeiling:Detailed
• Floor:Detailed
134 CHAPTER 3. GROUND HEAT TRANSFER IN ENERGYPLUS
The monthly results from the basement program are used with the SurfaceProperty:OtherSideCoefficients
object in EnergyPlus. The idd corresponding to that object is shown below. The two applicable
fields are N2 and A2. N2 should have the value 1.0. It will be modified by a schedule that is
named in A2, and that temperature will be used on the outside of the surface specified as having
the OtherSideCoeffcients named in A1.
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
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
3.15. USING THE INTERFACE SURFACE TEMPERATURE RESULTS IN ENERGYPLUS135
BuildingSurface:Detailed ,
OSCTest:South Wall , !- User Supplied Surface Name
Wall , !- Surface Type
Exterior , !- Construction Name of the Surface
OSCTest , !- Zone
OtherSideCoefficients , !- Outside Boundary Condition
ExampleOSC , !- Outside Boundary Condition Object
NoSun , !- Sun Exposure
NoWind , !- Wind Exposure
0.5, !- View Factor to Ground
4, !- Number of Vertices
0,0,0, !- Vertex 1 X,Y,Z-coordinates {m}
6.096,0,0, !- Vertex 2 X,Y,Z-coordinates {m}
6.096 ,0 ,4.572 , !- Vertex 3 X,Y,Z-coordinates {m}
0 ,0 ,4.572; !- Vertex 4 X,Y,Z-coordinates {m}
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 [Link].
Schedule:Compact ,
GroundTempCompactSched , !- Name
Temperature , !- ScheduleType
Through: 1/31, !- Complex Field \#1
For:AllDays , !- Complex Field \#2
Until: 24:00 , !- Complex Field \#3
16, !- Complex Field \#4
Through: 2/28, !- Complex Field \#5
For:AllDays , !- Complex Field \#6
Until: 24:00 , !- Complex Field \#7
17, !- Complex Field \#8
Through: 3/31, !- Complex Field \#9
For:AllDays , !- Complex Field \#10
Until: 24:00 , !- Complex Field \#11
18, !- Complex Field \#12
Through: 4/30, !- Complex Field \#13
136 CHAPTER 3. GROUND HEAT TRANSFER IN ENERGYPLUS
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.
Chapter 4
EnergyPlus has the capability of accepting user defined view factors for special research situations.
This option is not recommended for general use because the normal approximate view factor
determination within EnergyPlus accounts for such practical things as thermal mass (furniture),
and realistic exchange limits. However, when a user desires to supply view factors, this auxiliary
program can be used to calculate them for a variety of configurations. The program is named
View3D, and was developed at NIST (1). This document will describe how to use the program.
• [Link]
• [Link]
• [Link]
The first is the executable program that calculates the view factors. The second is an excel
interface that will set up the input files and execute [Link]. The third file is the documentation
file from NIST that contains some explanation of the program.
137
138 CHAPTER 4. VIEW FACTOR CALCULATION PROGRAM
V 4 50 0 8
S 1 1 2 3 4 0 0 .999 SouthWall
! = = = = = = = = = = = = = = = = = = = = = = = = =
V 5 50 60 0
V 6 50.00025 0 0
V 7 50.00026 0 8
V 8 50.00001 60 8
S 2 5 6 7 8 0 0 .999 EastWall
! = = = = = = = = = = = = = = = = = = = = = = = = =
V 9 0 60 0
V 10 50 60.00014 0
V 11 50 60.00015 8
V 12 0 60.00001 8
S 3 9 10 11 12 0 0 .999 NorthWall
! = = = = = = = = = = = = = = = = = = = = = = = = =
V 13 0 0 0
V 14 0 60 0
V 15 0 60 8
V 16 0 0 8
S 4 13 14 15 16 0 0 .999 WestWall
! = = = = = = = = = = = = = = = = = = = = = = = = =
V 17 0 0 0
V 18 50 1.377901E-04 0
V 19 49.99984 60.00014 0
V 20 -1.653482E-04 60 0
S 5 17 18 19 20 0 0 .999 Floor
! = = = = = = = = = = = = = = = = = = = = = = = = =
V 21 0 60 8
V 22 50 60.00014 8
V 23 50.00016 1.373291E-04 8.000166
V 24 1.653482E-04 0 8.000166
S 6 21 22 23 24 0 0 .999 Roof
! = = = = = = = = = = = = = = = = = = = = = = = = =
End Of Data
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)
140 CHAPTER 4. VIEW FACTOR CALCULATION PROGRAM
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 [Link] 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 [Link] 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. 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.
4.2. USING THE VIEW FACTOR INTERFACE PROGRAM 141
The vs3 file produced is shown previously and the dxf file generates the wire frame drawing
shown in Figure 4.3.
The input file and the output files produced by View3D are read into the interface spreadsheet,
and appear on new worksheets.
Figure 4.4 shows the lower corner of the interface sheet with the additional sheet tabs.
The results file is named with the name in cell D13 with an extension of out. This file is shown
below.
View3D 3.2 0 1 0 6
400 480 400 480 3000 3000
0.000000 0.078244 0.029324 0.078217 0.407109 0.407106
0.065204 0.000000 0.065204 0.044282 0.412652 0.412659
0.029324 0.078245 0.000000 0.078217 0.407110 0.407105
0.065181 0.044282 0.065181 0.000000 0.412679 0.412677
0.054281 0.066024 0.054281 0.066029 0.000000 0.759385
0.054281 0.066025 0.054281 0.066028 0.759385 0.000000
0.999 0.999 0.999 0.999 0.999 0.999
142 CHAPTER 4. VIEW FACTOR CALCULATION PROGRAM
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 4.5.
The results file information is used to generate a UserViewFactor object for EnergyPlus. This
object is located in the first column of a new worksheet named UserVFObject. This column can
simply be copied and inserted into the EnergyPlus idf file.
If the results sheet does not appear, or the program terminates, the sheet named View3Dlog
or the output file by the same name should be consulted. It contains a complete history of the
execution. Any problem with the input file or the calculations should show up there.
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.
The transition program(s) are console programs that assist users in converting input files from prior
release versions to the current (or interim). Sometimes many changes are made to the input file
syntax; sometimes very few but the Transition program(s) can do the fastest job of making the
conversions. An ObjectStatus spreadsheet is also included for those who want the details of each
object’s change.
143
144 CHAPTER 5. USING OLDER VERSION INPUT FILES - TRANSITION
The converted file becomes the new <file>.idf and the original file is saved in the original folder
as <file>_original.idf. To delete the original file instead of saving it, check the “Delete Original
Files” checkbox.
Another file “[Link]” 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 [Link] 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.
But you must include the path name in the file if it is not in the same folder as the transition
set of programs:
C:\ Myfiles\[Link]
C:\My Working Files\[Link]
D:\ OtherFiles\[Link]
Etc
Note that the files need not be in the same folder. And, if you use the IDF Version Updater
app, they need not all be the same version! If you use the straight batch files form the CMD line,
all files in this list must be the same starting version and you will need to select that version when
you run the batch file. List files have the implicit transition options seen in the following section.
146 CHAPTER 5. USING OLDER VERSION INPUT FILES - TRANSITION
PEOPLE ,
ZONE ONE , !- Zone Name
**\#\# if \#[ DoSizing [] EQSU Y]**
\#[ FAREA [] / OCCDENPEAK []], !- Number of People
**\#\# else **
\#[ FAREA [] / OCCDENAVG []], !- Number of People
**\#\# endif **
OCCSCHED [], !- Number of People SCHEDULE Name (real --fraction)
0.5000000 , !- Fraction Radiant
Activity Sch; !- Activity level SCHEDULE Name (units W/person , real)
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 ([Link]) is also
needed in the same folder. And its library folders are required in a subfolder (EPDrawGUI Libs).
Help is offered on the Main Tab and on the Options Tab when you place the mouse, without
clicking, over the buttons, check boxes, and option boxes. In addition, the program copyright
information is displayed when the mouse is over the Version number text in the lower left corner.
147
148 CHAPTER 6. EPDRAWGUI
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.
Chapter 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.
• Defining a block of input with parameters and later referencing this block.
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 ([Link]) and, subsequently, in the EnergyPlus echo
print ([Link]). 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.
151
152 CHAPTER 7. INPUT MACROS
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 “[Link]”.
The installed name of the EP-Macro program is “[Link]”. After execution, you can save the
[Link] in an appropriate folder or rename it to [Link] in order to execute EnergyPlus. You can view
the [Link] file for any errors that might have occurred during EP-Macro processing.
External files can also contain ##include commands, as shown in the following example:
Note: Up to nine ##include commands can be nested. However, there should be no recursion.
This is an example of a recursion:
[Link] contains ##include [Link]
[Link] contains ##include [Link]
If {condition 1} is TRUE ,
line1a
line1b
...
otherwise
If {condition 2} is TRUE ,
line2a
line2b
...
otherwise
If {condition 3} is TRUE ,
line3a
line3b
...
otherwise
##ifndef
##if
7.5. DEFINING BLOCKS OF INPUT 155
##elseif
following lines
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 definitions may have one or more arguments; the maximum number of arguments is 32.
When a macro with arguments is referenced, its arguments must be given values. When a macro
has no arguments, the brackets are still required both for macro definition and reference.
Caution: Square brackets [ ] have been used in some versions of EnergyPlus inputs as
comment/units fields. These will be expanded if left in the IDF and sent to EPMacro.
Macro names must be unique (except see ##set1 below); i.e., when a macro name is defined
it cannot be defined again. Macro names are limited to 40 characters.
To summarize, commands you use to define macros are the following:
##def macro-name [arg1,..,argn ] macro-text
Defines a macro with the name macro-name and arguments “arg1” through “argn”. “Macro-
text” is one or more lines of text. If there are no arguments, the syntax is ##def macro-name
macro-text.
##enddef
Indicates the end of the macro definition initiated by ##def.
##def1 macro-name [arg1,..,argn ] macro-text
This is the same as ##def but there is only one line of text so that the terminating command
##enddef is not required.
##set1 macro-name macro-text
Like ##def1 but has no arguments and macro-text is evaluated before storing. “Macro-text
is evaluated” means that if macro-text contains other macros, these macros will be expanded, and
the expanded text becomes the macro-text defined by ##set1.
Example:
**\#\# def1 ** xx 123
**\#\# set1 ** yy xx[]
X* OP ** Y Result
number + (plus) number number
number - (minus) number number
number * (times) number number
number / (divided by) number number
number min number number
number max number number
number mod number number
number ** (power) number number
SIN OF number (degrees) number
COS OF number (degrees) number
TAN OF 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 OF number number
literal1 // (concatenate) literal2 literal
”literal1literal2”
literal1 /// (concatenate) literal2 literal ”literal1
literal2”
literal EQS (=) literal logical (true or false)
case sensitive
literal NES (̸=) literal logical (true or false)
case sensitive
literal EQSU (=) literal logical (true or false)
not case sensitive
literal NESU (̸=) literal logical (true or false)
not case sensitive
logical AND logical logical (true or false)
logical OR logical logical (true or false)
NOT logical logical (true or false)
number EQ (=) number logical (true or false)
number NE (̸=) number logical (true or false)
number GT (>) number logical (true or false)
number GE (≥) number logical (true or false)
158 CHAPTER 7. INPUT MACROS
X* OP ** Y Result
number LT (<) number logical (true or false)
number LE (≤) number logical (true or false)
Upper or lower case
is allowed for SIN,
COS, etc.
Upper or lower case
is allowed for OF,
EQS, etc.
Example
#eval[** 1 + 2 **] when expanded becomes 3.
#eval[** 1 +#eval[2 * 3] **] when expanded becomes 7.
Example
##set1 city[] Washington
DesignDay, #[ city[ ] /// SUMMER ], ! Design Day Name
gives
DesignDay , "Washington SUMMER", ! Design Day Name
The following example illustrates the use of #eval inside #if commands:
##if #[** city[ ] EQS Chicago **]
##if #[#[** city[ ] EQS Chicago ] and#[** occup[ ] NES low **]** **]**
Notes:
False = 0 or BLANK,
True = any other character
2. A literal must be enclosed inside a pair of double quotes if it contains BLANKs or reserved
characters like [ ] ( ) ,
4. Literals are case sensitive. For example, “Chicago”, “CHICAGO” and “chicago” are distinct.
5. EQS and NES are case sensitive string comparisons. EQSU and NESU are case insensitive
string comparisons.
HVAC Diagram
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 [Link]/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.
162
8.1. INTRODUCTION 163
Objects that are recognized by the HVAC diagram are shown in Table 8.1 (sorted by Object
Name) and Table 8.2 (sorted by color).
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 [Link] (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
168
9.2. COEFFCHECK 169
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.
You can also run the CoeffCheck program as a console application. The input file then must be
from file [Link] (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
You can also run both programs as console applications and, because they are small, they are
automatically installed with EnergyPlus. You will need to open a command window using the
following steps:
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 \<rootfolder></span>
CD PreProcess\CoeffConv
After creating your files as shown above, enter either CoeffConv or CoeffCheck as desired. The
folder also contains a “[Link]” file which you can peruse.
Chapter 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 an idf file and generates an [Link]
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 [Link]
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 [Link] file is renamed to the original file name with the extension
expidf.
• HVACTemplate:Thermostat
• HVACTemplate:Zone:IdealLoadsAirSystem
• HVACTemplate:Zone:FanCoil
• HVACTemplate:Zone:PTAC
171
172 CHAPTER 10. EXPANDOBJECTS
• 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
• GroundHeatTransfer:Control
• GroundHeatTransfer:Slab:Materials
• GroundHeatTransfer:Slab:MatlProps
• GroundHeatTransfer:Slab:BoundConds
• GroundHeatTransfer:Slab:BldgProps
• GroundHeatTransfer:Slab:Insulation
• GroundHeatTransfer:Slab:EquivalentSlab
10.4. BUILDING SURFACE OBJECTS PROCESSED 173
• GroundHeatTransfer:Slab:AutoGrid
• GroundHeatTransfer:Slab:ManualGrid
• GroundHeatTransfer:Slab:XFACE
• GroundHeatTransfer:Slab:YFACE
• GroundHeatTransfer:Slab:ZFACE
• GroundHeatTransfer:Basement:SimParameters
• GroundHeatTransfer:Basement:MatlProps
• 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
• BuildingSurface:Detailed
• Wall:Detailed
• RoofCeiling:Detailed
• Floor:Detailed
• Site:GroundTemperature:BuildingSurface
Chapter 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>
CD PostProcess
CSVproc <filename>
Where <filename> is the name of a CSV file, including extension. There is a simple [Link]
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 -[Link] added to the name.
The statistics performed on each column are:
• SUM
• MAX
• MIN
• AVERAGE
• COUNT
• COUNTIF > 0
174
175
• 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 = 1
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 jglazer@[Link].
Chapter 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. If OutputControl:Files is used to write CSV output (variables
and meters) directly from EnergyPlus, convertESOMTR and ReadVarsESO will be skipped when
running with EP-Launch and [Link].
Technically speaking, the convertESOMTR program uses the “[Link]” file which contains
the conversion factors. It creates files “[Link]” and “[Link]” as appropriate. The batch examples
then renames the old [Link] to [Link], old [Link] to [Link] and the
ip files to the default [Link], [Link].
The [Link] 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 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 [Link] file contains some conversions for Inch-Pound
units but any set of units may be used by editing the [Link] file. Note that the [Link] file
uses the standard EnergyPlus comment character (!).
A snippet of the [Link] 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
176
Chapter 13
CalcSoilSurfTemp Program
The CalcSoilSurfTemp program calculates three important parameters for the simulation of the
earth tube:
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.
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>
177
178 CHAPTER 13. CALCSOILSURFTEMP PROGRAM
CD PreProcess\CalcSoilSurfTemp
runcalcsoilsurftemp USA_IL_Chicago-OHare_TMY2
When installed, the batch file automatically points the path for weather data to the installed
weather data path. If you save your weather files in a different location, you will need to modify
the batch file or create your own with your own folder paths.
Note that the program is interactive (expects user responses) from the command line. These
inputs are described in the following section.
Among them, the user should select the number corresponding to the particular soil condition.
This determines the thermal diffusivity and thermal conductivity of the surrounding soil.
After the selection of soil condition, the user should also select the number corresponding to the
condition of the ground surface above the earth tube from the eight following options:
This determines the absorption coefficient and the fraction of evaporation rate of the ground
surface.
Note that both soil condition and soil surface condition are the average of the year - not a
particular time period within the year.
From this information and an analysis of the weather data, the CalcSoilSurfTemp program
calculates the annual average soil surface temperature, the amplitude of soil surface temperature,
and the phase constant of soil surface temperature. The user must then add these parameters as
input parameter into earth tube model in EnergyPlus.
ZoneEarthtube ,
\min -fields 22
\memo Earth Tube is specified as a design level which is modified by a Schedule fraction , temperature
difference and wind speed:
\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
\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
180 CHAPTER 13. CALCSOILSURFTEMP PROGRAM
\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
13.3. PROGRAM OUTPUTS 181
\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
Chapter 14
14.1 Introduction
This auxiliary tool generates HVAC performance curves in EnergyPlus curve object format. For
each set of performance data entered, Capacity and EIR performance curves are generated, and
these curves are generated either as a function of temperature(s) or flow fraction. The Capacity
and EIR of Cooling DX Coils as a function of temperatures require only Biquadratic curve whereas
Capacity and EIR of Heating DX Coils may use Biquadratic, Cubic and Quadratic curves. The
selection of either of these curves is dependent on availability of performance data. The Capacity
and EIR as a function of flow fraction allows either Cubic or Quadratic curve type. The curve types
allowed are:
Biquadratic: CurveValue = a0 + a1 X + a2 X 2 + a3 Y + a4 Y 2 + a5 XY
Cubic: CurveValue = a0 + a1 X + a2 X 2 + a3 X 3
Quadratic: CurveValue = a0 + a1 X + a2 X 2
These performance curves as a function of temperatures are generated for a given set of input
data at a given speed. The curves as a function of flow fraction are generated at the rated
temperature conditions. The rated test condition is the AHRI standard test condition (AHRI
2003;2007; 2008). The AHRI standard test condition may vary by the equipment type. For multiple
speeds or multiple stage DX Coils, different curve sets can be generated by entering a different set
of data for each speed or stage at a time. The tool automatically populates the labels for each
data inputs variable when users select the Coil Type, Independent Variables, Curve Type, and
Units. The curve fit tool interface in Figure 2.1 shows labels selected to generate capacity and EIR
biquadratic curves as function of temperatures for DX cooling coil.
The tool can be used for Coil:Cooing:DX:SingleSpeed, Coil:Heating:DX:SingleSpeed,
Coil:Cooing:DX:TwoSpeed (high and low speed) , CoilPerformance:DX:Cooling (each stage),
and any HVAC equipment that use Biquadratic, Cubic or Quadratic curves. To add this flexibility
generic input data labels can be populated by selecting “Other” for DX Coil Type input field,
located in Cell B3 in Figure 14.1.
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
182
14.2. INPUTS 183
choices available for each input parameters are described in the following table. 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.
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
14.5. OUTPUTS 185
the data points. The coefficients of these curves are displayed on the “OUTPUT” tab as shown in
Figure 2.2.
Besides the curve coefficients, the goodness of curve fit indicator statistical parameters R2 is
also reported. The R2 is the ratio of the sum of the squared deviations of the curve fit values from
the mean to the sum of the squared deviations of the original data from the mean. R squared
values closer to 1.0 are good. The tool has an option to save the curve objects to an output file
by running another macro (SaveCurveObjToTextFile). The option output files and the directory
path are specified in the OUPUT tab in cells C2 and C3, respectively, as shown in Figure 14.2. If
the output file name and path are left blank, then default names, “[Link]” and
the local directory where the tool is located are used. The local directory where the tool is located
must not have write restriction.
Sample EnergyPlus curve objects output file generated using this auxiliary tool.
Curve:Biquadratic ,
HeatPumpCoolingCAPFTemp , !- Name
1.4248528695 , !- Coefficient1 Constant
-0.0554469607 , !- Coefficient2 x
0.0027506982 , !- Coefficient3 x**2
-0.0017453896 , !- Coefficient4 y
-0.0000081 , !- Coefficient5 y**2
-0.0004638975 , !- Coefficient6 x*y
13.8888888889 , !- Minimum Value of x
22.2222222222 , !- Maximum Value of x
29.4444444444 , !- Minimum Value of y
186 CHAPTER 14. HVAC PERFORMANCE CURVE FIT TOOL
Curve:Biquadratic ,
HeatPump1CoolingEIRFTemp , !- Name
0.1566419771 , !- Coefficient1 Constant
0.0522807347 , !- Coefficient2 x
-0.0017986792 , !- Coefficient3 x**2
0.009523995 , !- Coefficient4 y
0.0002405903 , !- Coefficient5 y**2
-0.0001781171 , !- Coefficient6 x*y
13.8888888889 , !- Minimum Value of x
22.2222222222 , !- Maximum Value of x
29.4444444444 , !- Minimum Value of y
46.1111111111 , !- Maximum Value of y
0.8216 , !- Minimum Curve Output
1.3703 , !- Maximum Curve Output
Temperature , !- Input Unit Type for X
Temperature , !- Input Unit Type for Y
Dimensionless; !- Output Unit Type
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.
Chapter 15
Parametric Spreadsheets
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 [Link])
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 [Link])
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 [Link])
187
188 CHAPTER 15. PARAMETRIC SPREADSHEETS
• Using the heat pump performance data, enter the values to Table 2.1 in worksheet “CATALOG
DATA”. The values can be in SI or IP units.
• Click on Button 1 based on the units used.
For IP units:
Figure 15.1:
For SI units:
Figure 15.2:
• The program will convert the values to the desired units and display them on Table 2.2 in
worksheet “INPUT”.
• The button shown below is used clearing Table 2.1 (worksheet “CATALOG DATA”),
and Table 2.2 (worksheet “INPUT”). It is advisable to clear the tables before generating
parameters/coefficients for a new heat pump model.
Figure 15.3:
After Table 2.2 is created, the parameters/coefficients are then calculated as follows:
15.1. WATER-TO-WATER HEAT PUMP PARAMETER / COEFFICIENT GENERATOR (COOLING AND
• Worksheet “ParamEstimator” is used for generating the parameters for the parameter
estimation based model using Nelder Mead Simplex. Refer to the steps in the Parameter
Estimation Procedure.
• Worksheet “CoeffCalculator” is used for calculate the coefficients for the curve-fit model using
the generalized least square method. Refer to the steps in the Curve Fit Model procedure.
• Accuracy: Start with a low accuracy for faster convergence, recommended value of 0.001.
• Refrigerant: Contact the manufacturer on the refrigerant used to generate the catalog data
and select from the list of refrigerants. Usually the refrigerant used is R22. .
• Which Initial Guess?: The user may choose a set of initial guesses(1-5) that will be used
by the optimization routine in generating the parameters. Start with 1, which is the set of
initial guess 1 at column B.
• Initial Guess: Initial guess for all the parameters. For Initial Guess 1, enter a value of 1
for all the parameters except for the loss factor (less than 1.0). The loss factor should be less
than 1.0 because the efficiency of the compressor should be less than 100%. Adjust the values
in Initial Guess 1 if the program happens to crash and try again.
Figure 15.4:
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”.
190 CHAPTER 15. PARAMETRIC SPREADSHEETS
• Now click on Button 2 shown below to generate the second set of parameters.
Figure 15.5:
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
Figure 15.6:
• 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”.
15.1. WATER-TO-WATER HEAT PUMP PARAMETER / COEFFICIENT GENERATOR (COOLING AND
Figure 15.7:
• RatedLoadVolFlowRate: Rated load side volumetric flow rate (m3 /s) which corresponds
to the highest load side heat transfer rate listed in the catalog data.
• RatedSourceVolFlowRate: Rated source side volumetric flow rate (m3 /s) which
corresponds to the highest load side heat transfer rate listed in the catalog data.
• RatedQload: Rated load side heat transfer rate (W) which is the highest load side heat
transfer rate listed in the catalog data.
• RatedPower: Rated power consumption (W) which corresponds to the highest load side
heat transfer rate listed in the catalog data.
Figure 15.8:
• 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”.
Figure 15.9:
192 CHAPTER 15. PARAMETRIC SPREADSHEETS
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 [Link])
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 [Link])
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 [Link])
• Using the heat pump performance data, enter the values to Table 2.1 in worksheet “CATALOG
DATA”. The values can be in SI or IP units.
• Click on Button 1 based on the units used.
For IP units:
For SI units:
• The program will convert the values to the desired units and display them on Table 2.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 2.3 in worksheet “INPUT” shows the input catalog data that will be used by the
parameter/coefficient generator program.
15.2. WATER-TO-AIR HEAT PUMP PARAMETER / COEFFICIENT GENERATOR (COOLING)193
Figure 15.10:
Figure 15.11:
• The button shown below is used clearing Table 2.1 (worksheet “CATALOG DATA”),
Table 2.2, and Table 2.3 (worksheet “INPUT”). It is advisable to clear the tables before
generating parameters/coefficients for a new heat pump model.
Figure 15.12:
After Table 2.3 is created, the parameters/coefficients are then calculated as follows:
• Worksheet “ParamEstimator” is used for generating the parameters for the parameter
estimation based model using Nelder Mead Simplex. Refer to the steps in the Parameter
Estimation Procedure.
• Worksheet “CoeffCalculator” is used for calculate the coefficients for the curve-fit model using
the generalized least square method. Refer to the steps in the Curve Fit Model procedure.
• Accuracy: Start with a low accuracy for faster convergence, recommended value of 0.001.
• Compressor Type: User is allowed to select from 3 types of compressors: scroll, rotary
or reciprocating. Contact the manufacturer to make sure that the compressor selected is
correct. Wrong type of compressor selected would lead to the program crashing or inaccurate
parameters.
194 CHAPTER 15. PARAMETRIC SPREADSHEETS
• Refrigerant: Contact the manufacturer on the refrigerant used to generate the catalog data
and select from the list of refrigerants. Usually the refrigerant used is R22. .
• Which Initial Guess?: The user may choose a set of initial guesses(1-5) that will be used
by the optimization routine in generating the parameters. Start with 1, which is the set of
initial guesses 1 at column B.
• Initial Guess: Initial guess for all the parameters. For Initial Guess 1, enter a value of 1
for all the parameters except for the loss factor (less than 1.0). The loss factor should be less
than 1.0 because the efficiency of the compressor should be less than 100%. Adjust the values
in Initial Guess 1 if the program happens to crash and try again.
Figure 15.13:
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”.
• Now click on Button 2 shown below to generate the second set of parameters.
Figure 15.14:
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.
15.2. WATER-TO-AIR HEAT PUMP PARAMETER / COEFFICIENT GENERATOR (COOLING)195
• 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
Figure 15.15:
• 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”.
Figure 15.16:
• RatedPower: Rated power consumption (W) which corresponds to the highest total cooling
capacity listed in the catalog data.
• Now click on Button 2 shown below to calculate the coefficients.
Figure 15.17:
• 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”.
Figure 15.18:
• Using the heat pump performance data, enter the values to Table 2.1 in worksheet “CATALOG
DATA”. The values can be in SI or IP units.
For IP units:
Figure 15.19:
For SI units:
Figure 15.20:
• The program will convert the values to the desired units and display them on Table 2.2 in
worksheet “INPUT” which will be used by the parameter/coefficient generator program.
• The button shown below is used for clearing Table 2.1 (worksheet “CATALOG DATA”)
and Table 2.2 (worksheet “INPUT”). It is advisable to clear the tables before generating
parameters/coefficients for a new heat pump model.
Figure 15.21:
After Table 2.2 is created, the parameters/coefficients are then calculated as follows:
198 CHAPTER 15. PARAMETRIC SPREADSHEETS
• Worksheet “ParamEstimator” is used for generating the parameters for the parameter
estimation based model using Nelder Mead Simplex. Refer to the steps in the Parameter
Estimation Procedure.
• Worksheet “CoeffCalculator” is used for calculate the coefficients for the curve-fit model using
the generalized least square method. Refer to the steps in the Curve Fit Model procedure.
• Accuracy: Start with a low accuracy for faster convergence, recommended value of 0.001.
• Compressor Type: User is allowed to select from 3 types of compressors: scroll, rotary
or reciprocating. Contact the manufacturer to make sure that the compressor selected is
correct. Wrong type of compressor selected would lead to the program crashing or inaccurate
parameters.
• Refrigerant: Contact the manufacturer on the refrigerant used to generate the catalog data
and select from the list of refrigerants. Usually the refrigerant used is R22. .
• Source Side Fluid: Select the type of fluid used for the source side. 0: Water, 1: Antifreeze
Mixture. Note that the number of parameters will change depending on the type of fluid.
Antifreeze mixture requires one additional parameter.
• Which Initial Guess?: The user may choose a set of initial guesses(1-5) that will be used
by the optimization routine in generating the parameters. Start with 1, which is the set of
initial guesses 1 at column B.
• Initial Guess: Initial guess for all the parameters. For Initial Guess 1, enter a value of 1
for all the parameters except for the loss factor (less than 1.0). The loss factor should be less
than 1.0 because the efficiency of the compressor should be less than 100%. Adjust the values
in Initial Guess 1 if the program happens to crash and try again.
Figure 15.22:
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.
15.3. WATER-TO-AIR HEAT PUMP PARAMETER / COEFFICIENT GENERATOR (HEATING MODE)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”.
Figure 15.23:
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
Figure 15.24:
• 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”.
200 CHAPTER 15. PARAMETRIC SPREADSHEETS
Figure 15.25:
• Using Table 2.2, the program can generate the coefficients. The user must fill all the cells
colored light blue in Worksheet “CoeffCalculator”.
• RatedAirVolFlowRate: Rated volumetric air flow rate (m3 /s) which corresponds to the
highest heating capacity listed in the catalog data.
• RatedWaterVolFlowRate: Rated volumetric water flow rate (m3 /s) which corresponds to
the highest heating capacity listed in the catalog data.
• RatedTotalCap: Rated heating capacity (W) which is the highest heating capacity listed
in the catalog data.
• RatedPower: Rated power consumption (W) which corresponds to the highest heating
capacity listed in the catalog data.
Figure 15.26:
• 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”.
15.4. G-FUNCTION SPREADSHEET 201
Figure 15.27:
• 1 x 2 boreholes
• 4 x 4 boreholes
• 8 x 8 boreholes
Data is given for both ‘standard’ grout (k = 0.744 W/m.K) and ‘thermally enhanced’ grout (k
= 1.471 W/m.K). The flow rate per borehole is .1514 kg/s. The pipe given is 0.75in. Dia. SDR11
HDPE. The fluid is water. The borehole/length ratio is 0.06 (76.2m/4.572m [300ft/15ft])
Chapter 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.
An intermediate file called [Link] is used that contains references to all embedded
expressions that will need to be substituted into the file.
An error file called [Link] 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.
202
Chapter 17
AppGPostProcess - Appendix G
PostProcessing program
The baseline for Standard 90.1 Appendix G requires simulating the baseline building in four
cardinal directions and comparing the average of those simulation results with the proposed building
simulation results. The AppGPostProcess utility helps perform the averaging needed. The utility
takes the four HTML files generated by EnergyPlus and creates an average HTML file. In addition,
the AppGPostProcess utility takes the four CSV files (based on ESO files) and creates an average
CSV file as well as averaging the meter CSV files (based on the MTR files). The source files must
have specific names for this utility to work:
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
Where “fileNameRoot” can be the characters typically used to name files without extension. A
single command line argument is passed to the AppGPostProcess utility which is the name of one
of the HTML files. The remaining file names will be used based on any of the HTML files selected.
The utility creates the files
[Link]
[Link]
[Link]
The numeric values in the output files are the average results from the four corresponding source
files. In the HTML file, if not all the four files contain a numeric value, then the four values are
displayed instead. The source files must have identical structure for AppGPostProcess to work. For
CSV files, the same number of rows and the same number of columns are needed each file. This
203
204 CHAPTER 17. APPGPOSTPROCESS - APPENDIX G POSTPROCESSING PROGRAM
means that monthly or hourly values should be included in the CSV file, and not TimeStep values.
For HTML files, the same reports should be included in each and the IDF files should be identical.
The intention is that the four baseline IDF files would be identical except for the use of the
Compliance:Building object and only the value of the field “Building Rotation for Appendix G”
would change.
EP-Launch can be used to run both the AppGPostProcess program by using the Utilities tab
in EP-Launch. See the EP-Launch section in this document for more information on how to use
EP-Launch.
Chapter 18
Several of the auxiliary programs included with EnergyPlus are Console Applications. This
designation means that they are executed from the “command window” (Windows OS) or terminal
window (Linux OS). We will include generic instructions for the Windows OS use of these
applications in this section. Each program will also include specifics for the Windows OS in the
individual program documentation.
As installed, the batch files that accompany console applications will be set so that file extensions
are not included for input parameters, paths to installed data (such as weather data) will be set
automatically, and these paths can be modified by the user as desired. (Instructions included a bit
later in this section).
Generally, the steps for executing a console application is:
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>
CD <folder>
205
206 CHAPTER 18. RUNNING CONSOLE APPLICATIONS
As the instructions in the batch file show, the path character must terminate the path
specification or errors can occur. The “weather_path” specification shows an example of using
a “relative” path specification. Depending on the program, this specification, of course, might
change.
set weather_path = ..\..\ WeatherData\
What the specification says is that above (..) and above again (..) and then “WeatherData”
is where the weather data files are located. This kind of relative path would be true for most
“Preprocess” programs in the installed folders. The following illustrates the folder tree: (this is
usually EnergyPlusV) Preprocess Specific Program Folders WeatherData
Thus, the user can simply put the name of the weather data file onto the batch file run and it
will look for that file in the installed WeatherData folder.
Chapter 19
This section will contain the details of running EnergyPlus - more (and some duplicated) information
on EP-Launch (basic discussion included in the Getting Started manual) and “by hand” - describing
the batch files that are included with the install. The first parts of this section deal with using
EnergyPlus on a Wintel/Windows OS system. Though similar commands can be used on other OS
- such as Linux, they will not be exactly the same commands (usually).
207
208 CHAPTER 19. TECHNICAL DETAILS OF RUNNING ENERGYPLUS
1) Press the “Control-S” key combination to try to stop the progress and any key to continue.
2) Under the “View” menu on the EP-Launch program, select “Options” then “Command
Window” then check “Pause During Simulation” and this will pause the process immediately
after EnergyPlus executes. To continue after the pause, press any key.
If the file contains Parametric objects, the single input file may cause multiple simulations to
be performed. If multiple simulations are performed, the output files will be listed on the History
tab and will be named with either the file suffixes defined in the input file or with a serial number.
Multiple single input file and group simulations can be started at the same time. On a computer
with multiple-processors or multiple-cores, this will enable the simulations to complete more quickly
than starting one after another.
This status gives you a quick overview of whether there were warning (should look at), severe
(should probably fix) or fatal (must fix) errors in the run as well as the time it took for the
simulation to complete. After pressing “OK” from this box, selecting “ERR/EIO/BND Output
Files Only” from the “View” menu will display the ERR, EIO, and BND files - useful when errors
may have occurred. Alternatively, pressing the F2 function key will display the same three files.
Another way to open files easily is by using the View Results buttons as shown in 29. Two
different panels of buttons can be used under View Results, one shown by using the “All” tab on
the left edge and by using the “Sets” tab on the left edge. The “All” tab shows all the various files
210 CHAPTER 19. TECHNICAL DETAILS OF RUNNING ENERGYPLUS
by file extension that can be viewed individually. Files available for view based on the current input
file name, are “enabled” (extension names clearly readable).
The figure above shows the same main screen of EP-Launch but with the “Sets” tab selected on
the left edge of the View Results section. The buttons on this tab can open many files at the same
time and are a shortcut to opening the files that may be commonly used. The Text Output Files,
Drawing Files, and Spreadsheets buttons cause several different results files to open at once based
on the currently selected Input File. The HTML file opens just the tabular results file if that file
was produced (see OutputControl:Table:Style). The buttons labeled as Set 1 to Set 8 allow you to
select which sets of files you want to open. Press the “Define” button in order to define the files to
view.
When the “Define” button is pressed on the Sets tab of the View Results section of the main
screen, the dialog box in the figure above is shown. This allows the files extensions to be selected
that would be opened for each of the Set 1 to Set 8 buttons. One or many files can be selected for
each of the Set buttons. This allows you to define exactly which files you want opened.
The content of each file extension is listed below. The contents (along with examples) are
discussed in the Output Details document.
By pressing the “Text Output Files” button, a text editor will open each of the text output
files. Up to 29 files will open, if they exist. Selecting “Single File” from the ‘View’ menu displays a
menu of all available output files from which any file can be opened individually. Each file may also
be opened with an associated function key. The output files and function key shortcuts are listed
below:
1. Variable - tabulated results in comma, tab or space delimited format (generated by the
ReadVarsESO postprocessor or directly from EnergyPlus using OutputControl:Files) (F4)
10. METER File - tabulated meter report in comma, tab or space delimited format (generated
by the ReadVarsESO postprocessor or directly from EnergyPlus using OutputControl:Files)
(Ctrl-F4)
11. ZSZ - zone sizing details in comma, tab or space delimited format (Ctrl+F5)
12. SSZ - system sizing details in comma, tab or space delimited format (Ctrl+F6)
13. AUDIT - input file echo with input processor errors and warnings (Ctrl+F8)
212 CHAPTER 19. TECHNICAL DETAILS OF RUNNING ENERGYPLUS
19. EPMDET - EP-Macro detailed output with errors and warnings (Shift+F6)
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)
24. Delight IN - DElight input generated from EnergyPlus processed input (Shift+Ctrl+F4)
26. Delight ELDMP - DElight reference point illuminance per time step (Shift+Ctrl+F6)
29. Group Error - combined error files for a group run. (Shift+Ctrl+F9)
32. Proc CSV - Simple statistiscs generated from CSVProc (also see Create Statistics File option
under View-Options).
Clicking on the “Drawing File” button will open the generated DXF file if an appropriate viewer
has been configured (see Selecting 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 (see Selecting Viewers and Editors below).
214 CHAPTER 19. TECHNICAL DETAILS OF RUNNING ENERGYPLUS
the EPL-RUN batch file. The feature is also described in the Running a Single Input File section
above.
Minimize Single Simulation Command Window - For a single input file, minimizes the
Command Window that EP-Launch uses to run EnergyPlus. The command window will appear
only in the Windows taskbar and the command window will not be visible. You can restore the
command window be clicking on the taskbar item labeled “EnergyPlus Process”. This option should
be used with caution since you will not see any indication of the simulation being complete other
than the “EnergyPlus Process” taskbar item will disappear.
Minimize Group Simulation Command Window - For a group of input files, minimizes the
Command Window that EP-Launch uses to run EnergyPlus. This is a good option when working
on something else on your computer at the same time as the group of simulations is running
since the command window normally becomes the front window each time a new simulation starts.
This option prevents the command window coming to the front for each simulation. The command
window will appear only in the Windows taskbar and the command window will not be visible. You
can restore the command window be clicking on the taskbar item labeled “EnergyPlus Process”.
This option should be used with caution since you will not see any indication of the simulation
being complete other than the “EnergyPlus Process” taskbar item will not be present.
Number of Simultaneous Processes - Select the maximum number of simulations that
should be able to be run at the same time. For a computer with multiple processors or multiple
cores, this will allow better utilization of the computers power. The value selected should correspond
to the number of processors/cores but higher or lower number can be used as well.
the first time EP-Launch is started so that a VRML Viewer is available immediately. Many other
VRML Viewers are available.
PDF Viewer of your choice. The Auto Find button will automatically find the program that is
associated with the PDF file extension and use that program. Auto Find is invoked the first time
EP-Launch is started so that a PDF Viewer is available immediately.
Group file. The first step of the wizard is to selected the EnergyPlus input files that should be
simulated as part of the group:
Use the boxes next to each file to select the files to be simulated. The path to files shown may
be changed using the “path” button. Once the files in a certain directory are selected the “next”
button should be pressed. If additional files are desired in different directories, you will get a chance
to add them to the EnergyPlus group file in a later step.
Select one or several weather files using the second step of the wizard, shown below:
The next step is to review the simulations selected. Each combination of weather file and input
file is initially shown. Each simulation is displayed as a single row. You may select a row and
delete the simulation at this point. In addition, if additional simulations are desired, the “Add
more simulations button” brings you back to the first step of the wizard to add more file.
The next step of the wizard allows you to decide exactly where you want the output files located
and what they should be named. For most people just trying to group their simulations and wanting
the output files in the same directory as the input files, just select “Original Input File Locations”.
More advanced users may choose to define their locations for the output files using symbols that
define the name of the directory and file name using:
%I = input file name
%G = group file name
%W = weather file name
%N = repeat number for IMF files
%J = input file path
%H = group file path
%X = weather file path
Each of these symbols may be used in the location field and substitutions will be made for each
when defining the output file location.
For macro files (they have an extension IMF instead of IDF) used in a parametric analysis,
the macro file may be run repeatedly up to 999 times. Each time they are simulated a new
19.1. EP-LAUNCH PROGRAM 223
[Link] file is created which sets a macro parameter. The [Link] file should be
included using the ##include statement in the macro file.
Finally, you can save the EPG, EnergyPlus Group, file wherever you would like.
To run the simulations press the “Simulate Group” button on the Group of Input Files tab. To
prevent a specific simulation from being performed, edit the file and use a comment character (an
exclamation point) to comment out the line.
When the group of input file simulations is running, the title bar of EP-Launch will show the
progress.
For each utility, input files can be selected by using the Browse Button. The input file can be
opened using a text editor and, for certain utilities, the IDF Editor. If a weather file is needed for
a utility it can also be selected. For other utilities, no weather file is needed and that portion of
the screen is not shown. The appropriate output files can be opened by the “Open” button near
the bottom of the screen. To run the utility, use the “Run” button in the lower left corner of the
screen above the “Exit” button.
In addition, for each utility, a brief description of the function of the utility is shown in the
about box but much more information is available in the AuxiliaryPrograms documentation.
19.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.
19.2. EP-LAUNCH LITE 227
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 [Link] 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.
19.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 the energyplus-support@[Link] 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.
[Link] IDD
The input data dictionary (IDD) is an ascii (text) file containing a list of all possible EnergyPlus
objects and a specification of the data each object requires. This file is analogous to the DOE-
2 keyword file. The Guide for Interface Developers contains a full description of the input data
dictionary.
228 CHAPTER 19. TECHNICAL DETAILS OF RUNNING ENERGYPLUS
[Link] idf
The input data file (IDF) is an ascii file containing the data describing the building and HVAC
system to be simulated. Many example files are installed as part of the EnergyPlus installation.
Additionally, a spreadsheet file “[Link]” contains columnar descriptions of each file’s
features.
[Link] imf
The input macro file (IMF) is an ascii file containing the data describing the building and HVAC
system to be simulated and will have some contents of “macro” commands. The Auxiliary programs
document describes use of the macro commands and the program that processes them - EP-Macro.
Many example files are installed as part of the EnergyPlus installation.
[Link] ini
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 [Link] file
resides, you will not need to change this file.
[Link] 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.
[Link] err
A text file containing the error messages issued by EnergyPlus. This is the first output that
should be examined after a [Link] messages may be issued by EnergyPlus during
its input phase or during the simulation. There are three levels of error severity: fatal, severe,
and warning as well as simple “message” lines. A fatal error causes the program to terminate
immediately. The following table illustrates the necessary actions.
[Link] audit
This is an text file which echoes the IDD and IDF files, flagging syntax errors in either file. Note
that both err and audit will show most of the error messages caused by input syntax errors; however
only err will show errors issued during the actual simulation. The audit can be used when you need
to see the context of the error message to fully ascertain the cause. The audit file also contains
potentially extra information that may be useful from the input scan.
[Link] eso
The EnergyPlus Standard Output (ESO) is a text file containing the time varying simulation
output. The format of the file is discussed in the Guide for Interface Developers and the
InputOutputReference. The contents of the file are controlled by Output:Variable commands in
the IDF file. Although the ESO is a text file, it is not easily interpretable by a human. Usually
postprocessing will be done on this file in order to put it in a format that can be read by a
spreadsheet; however a quick visual inspection of the file does show whether the expected variables
are output at the desired time step.
[Link] mtr
The EnergyPlus Meter Output (MTR) is a text file containing the time varying simulation output.
The format of the file is similar to the ESO file. As described in the Getting Started document,
meters are a powerful reporting tool in EnergyPlus. Values are grouped onto logical meters and can
be viewed the same way that the ESO variables are used. The contents of the file are controlled
by Output:Meter commands in the IDF file. Although the MTR is a text file, it is not easily
interpretable by a human. Usually postprocessing will be done on this file in order to put it in a
format that can be read by a spreadsheet; however a quick visual inspection of the file does show
whether the expected variables are output at the desired time step.
[Link] mtd
This file contains all the details (i.e., which report variables are on a meter and, conversely, what
meters contain) about meters.
19.3. ENERGYPLUS FILE EXTENSIONS 231
[Link] eio
The EnergyPlus Invariant Output (EIO) is a text file containing output that does not vary with
time. For instance, location information (latitude, longitude, time zone, altitude) appears on this
file.
[Link] rdd
[Link] 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;
[Link] 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 ,Yes;
in the IDF file. If Output:DebuggingData,No is entered, you will get an empty [Link]
file.
[Link] 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.
[Link] 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.
232 CHAPTER 19. TECHNICAL DETAILS OF RUNNING ENERGYPLUS
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.31 sec
When execution is finished, [Link] and [Link] will always appear. If the program
terminated with an input error, these may be the only output files. If the program runs normally,
[Link] will appear. Depending on what was requested in the input, the other output files
described above will also be written.
Add the full path for the directory that EnergyPlus is installed after the equals sign and include
double quotes around the path. Make sure the end of the path ends with a trailing backslash. For
example:
SET maindir=”c:\EnergyPlusVx-x-x\”
where the x’s are replaced with the actual version number if EnergyPlus was installed in the
default installation directory.
[Link] Energy+.idd
The input data dictionary (IDD) is an ascii (text) file containing a list of all possible EnergyPlus
objects and a specification of the data each object requires. This file is analogous to the DOE-
2 keyword file. The Guide for Interface Developers contains a full description of the input data
dictionary.
[Link] [Link]
The input data file (IDF) is an ascii file containing the data describing the building and HVAC
system to be simulated. The Guide for Interface Developers shows examples of IDF input. Many
example files are installed as part of the EnergyPlus installation.
[Link] [Link]
The input macro file (IMF) is an ascii file that is formatted for the EP-Macro program. Output
from the EP-Macro program will be the standard [Link] format. IMF files are not directly read by
EnergyPlus.
[Link] Energy+.ini
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. An example is:
[program]
dir = C:\ EnergyPlus
[weather]
dir =
[BasementGHT]
dir = PreProcess\GrndTempCalc
[SlabGHT]
dir = PreProcess\GrndTempCalc
236 CHAPTER 19. TECHNICAL DETAILS OF RUNNING ENERGYPLUS
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.
[Link] [Link]
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.
[Link] [Link]
A text file containing the error messages issued by EnergyPlus. This is the first output that should
be examined after a simulation. Error messages are issued by EnergyPlus during its input phase or
during the simulation. There are three levels of error severity: fatal, severe, and warning as well as
simple “message” lines. A fatal error causes the program to terminate immediately. The following
table illustrates the necessary actions.
[Link] [Link]
This is an text file which echoes the IDD and IDF files, flagging syntax errors in either file. Note that
both [Link] and [Link] will show the error messages caused by input syntax errors;
19.8. ENERGYPLUS FILES 237
however only [Link] will show errors issued during the actual simulation. [Link] can
be used when you need to see the context of the error message to fully ascertain the cause.
[Link] [Link]
The EnergyPlus Standard Output (ESO) is a text file containing the time varying simulation
output. The format of the file is discussed in the Guide for Interface Developers and the
InputOutputReference. The contents of the file are controlled by Report Variable commands in
the IDF file. Although the ESO is a text file, it is not easily interpretable by a human. Usually
postprocessing will be done on this file in order to put it in a format that can be read by a
spreadsheet; however a quick visual inspection of the file does show whether the expected variables
are output at the desired time step.
[Link] [Link]
The EnergyPlus Meter Output (MTR) is a text file containing the time varying simulation output.
The format of the file is similar to the ESO file. Meters are a powerful reporting tool in EnergyPlus.
Values are grouped onto logical meters and can be viewed the same way that the ESO variables are
used. The contents of the file are controlled by Report Meter commands in the IDF file. Although
the MTR is a text file, it is not easily interpretable by a human. Usually postprocessing will be
done on this file in order to put it in a format that can be read by a spreadsheet; however a quick
visual inspection of the file does show whether the expected variables are output at the desired time
step.
[Link] [Link]
The EnergyPlus Invariant Output (EIO) is a text file containing output that does not vary with
time. For instance, location information (latitude, longitude, time zone, altitude) appears on this
file.
[Link] [Link]
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 >;
[Link] [Link]
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;
238 CHAPTER 19. TECHNICAL DETAILS OF RUNNING ENERGYPLUS
in the IDF file. If DEBUG OUTPUT, 0 is entered, you will get an empty [Link] file.
[Link] [Link]
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.
[Link] [Link]
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.
EnergyPlus has several options for the user to create input files. One of the goals of EnergyPlus was
to make a simple, readable input file for the program. More of this background and explanation is
contained in the Interface Developer’s Guide. Understanding the Input Data Dictionary (IDD) is
the key to reading the input file. We have set some conventions for commenting the IDD so that
the units, minimum, maximum, and other information. This changes some of the information that
is shown in the Interface Developer’s guide. The Energy+.idd (delivered with the install program)
contains the most current information. In addition to the four methods for creating inputs described
below, several other items are described that may assist you in getting the results you want from
EnergyPlus in a timely manner.
Four methods (with the installed program) are available to create input files:
1) IDFEditor - this is a very simple, “intelligent” editor that reads the IDD and IDFs and allows
creation/revision of IDF files. It can be run from a shortcut in the main EnergyPlus directory
(created as part of the install) or directly from EP-Launch.
2) BLAST Translator - if you already have BLAST and/or BLAST input files, this program will
produce the bulk of a translation to EnergyPlus for you. It generates a complete IDF file
but does not include specifics for Systems or Plants. (It does include the System and Plant
schedules that were in the BLAST deck). Many of the sample files included with the install
started out as BLAST input files.
3) DOE-2 Translator - if you already have DOE-2.1e input files, this program will produce the
bulk of a translation to EnergyPlus for you. It generates a IMF (input macro file) that must be
run through the EnergyPlus Macro (EPMacro) program before it can be used by EnergyPlus.
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 NOTEPADTM (WordpadTM for large files). For creating HVAC simulations -
the HVACtemplate objects provide a quick way to start at HVAC simulation.
239
240 CHAPTER 20. CREATING INPUT FILES
as a convention for including more specific comments about each field in an object. These have
been used with success in the IDFEditor and it is hoped the flexibility will provide other interface
developers with useful information.
! 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 Note describing the field and its valid values
!
! \required -field To flag fields which may not be left blank
! (this comment has no "value ")
!
! \begin -extensible Marks the first field at which the object accepts an extensible
! field set. A fixed number of fields from this marker define the
! extensible field set , see the object code \extensible for
! more information.
!
! \units Units (must be from EnergyPlus standard units list)
! EnergyPlus units are standard SI units
!
! \ip -units IP -Units (for use by input processors with IP units)
! This is only used if the default conversion is not
! appropriate.
!
! \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 that includes the following value
!
! \minimum > Minimum that must be > than the following value
!
! \maximum Maximum that includes the following value
!
! \maximum < Maximum that must be < than the following value
!
! \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
20.1. IDD CONVENTIONS 241
20.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.
20.2. IDFEDITOR 245
3) The value can be edited. Depending on the field, a drop down list may display the default
value, maximum and minimum, or other keywords that can be used with the field.
4) Numeric fields that can be autosized will include “autosize” as a selection in the drop down
list.
5) Some numeric fields have a maximum and/or minimum value specified in the IDD. If the
value entered is outside this range, the cell will be highlighted in pale orange.
6) For values that are names of nodes, a new dialog box titled “Edit or Select Node Name” can
be shown when the small button is pressed that is on the right side in each node name cell as
described in the next section.
To enter a new node name, type it in the “Node Name” field near the top of the dialog. To select
a name of a node that is already being used in the file, choose a node name from the list shown on
248 CHAPTER 20. CREATING INPUT FILES
the left of the dialog box and labeled “Other Node Names.” When a node name is selected from
the list on the left side of the dialog box, the box near the bottom left shown as “Where Selected
Other Node Name Appears in File” will display the name of the class, name of the object and name
of the field for each other location in the file that node name is currently be used.
The Other Node Names list on the left side of the dialog box may contain a very long list of
node names depending on the complexity of the HVAC system. To help with this, four options
are available just above the list titled All, Recent, Containing, and Class or Field. The All option
shows all node names used in the file while the other options are used to narrow the list down to
only certain node names. The Recent option shows only node names that have recently been edited.
The Containing option shows a list on the right side of the dialog box called “Filter by Contents”
which shows all of the various words used as part of node names. These words can be selected
and the Other Node Names list will only show node names that contain those words. By selecting
words from this list, the list of Other Node Names can be shortened very quickly. The last option,
Class or Field, shows a hierarchical list on the right side titled Filter by Object or Field containing
the list of classes and fields that can have node names. By selecting an object or a field, the Other
Node Names list on the right shows only node names that are present in the selected object or field.
This is another way of quickly shortening the list of Other Node Names so that the appropriate
node name can be selected.
Finally, the Containing Text field just above the OK button can be typed in. Whatever you
type limits the Other Node Names list to just those characters. The more typed, the shorter the
list becomes. This is another method of quickly finding the node name used in other parts of the
file. The Containing Text field is usually used with the All option but can be used with the other
display options as well.
The “Set as Default” option allows you to keep the save options intact for files that have not
been saved yet with a version of IDF Editor that has this capability.
The Help that is available from the Save Options screen is reproduced below:
• The save options are related to the layout of the IDF file after it is saved. These options are
not important if you never edit the IDF file with a text editor.
• The sorted order of saving objects is the traditional way the IDF Editor sorts objects within
files. Each type of object is presented in groups in the order they appear in the Energy+.IDD.
The other options preserve the original order of the objects from the file but each object will
be still be reformatted. By preserving the order, the objects are not rearranged so you can
group them using a text editor and they will stay in that order. New objects are placed either
near the top of the file or near the bottom of the file so that they can be easily found when
using a text editor.
• You can also choose to specially format some objects. This affects how individual fields
in objects are arranged when saved. Selecting this option will format the following
objects on a single line: Report, Report Meter, Report Variable, Version, Timestep in
Hour, Inside Convection Algorithm, Outside Convection Algorithm, Solution Algorithm,
Shadowing Calculations, Ground Reflectances, and GroundTemperatures:Deep. In addition,
Schedule:Compact objects will be formatted to have two field for some lines. With this
option, objects with geometric vertices are formatted to have the X, Y, and Z values
on the same line. Those objects include: Surface:HeatTransfer, Surface:HeatTransfer:Sub,
Surface:Shading:Detached:Fixed, Surface:Shading:Detached:Building and Surface:Shading:Attached.
• These options are saved for each file. If a file has not been saved with IDF Editor yet, the
default is used but if a file does not specify the default values for these can also be set by
using the set as default option. The saved file keeps these options by using the !-option line
with SortedOrder, OriginalOrderTop, OriginalOrderBottom, and UseSpecialFormat.”
250 CHAPTER 20. CREATING INPUT FILES
• Full line comments which begin with “!” are preserved by IDF Editor and become associated
with the object immediately followin the comment line(s).
• Endline comments which begin with “!” are preserved by IDF Editor and are placed
immediately before the object they are found in.
• Endline comment which being with “!-” are automatic comments which IDF Editor will
overwrite with the field name and units. User-provided text which follows “!-” will be lost.
User comments should be added above the pertinent object using “!” to begin the line.
Also on the File menu is the Open DataSet menu and submenu. This allows you to open any
input file that appears in the DataSet subdirectory and copy objects from them into another file.
This is required because EnergyPlus does not read the DataSet files, it is up to you to include
objects from them.
The Find Class dialog can be used to find class names quickly and can be activated by the
CTRL-F keyboard combination. The Find Previous Class (CTRL-T) and Find Next Class (CTRL-
G) can continue the searching process for the next and previous times that the searched text is
found in the Class List. If you find this option useful you may also want to try the Show Quick
Select Dropdowns option under the View menu which also speeds up searching through the Class
List.
The Search and Replace menu item or CTRL-H activates the following dialog box:
The Search and Replace dialog box can be used to find and change each instance of text being
searched with some replacement text. The Search and Replace dialog is used to search and replace
values of fields rather than classes like the Find Class dialog. To use the Search and Replace dialog,
20.2. IDFEDITOR 251
enter the text being searched in the Find What field and press the Find button. After the Find
button is pressed, the list shows the places in the file that the text appears. For each time the text
is found, the entire field value is shown followed by the class name, name of the object, and the
name of the field in parentheses. Each item in the list can be selected using the check box to the
left. The All and None buttons will select all or none of the items found. After the locations are
selected that need to be replaced, you should enter the text in the Replace With field. When the
Replace Selected button is pressed the value in each of locations that were checked will be replaced
with the Replace with text.
The dialog will usually open with the Find What field filled with the value of the currently
selected cell. If the current cell has just been changed, the Find What and the Replace With fields
will contain the before and after values of the change in the current cell. This makes it easy to
change other instances in the file to be consistent with the changes just made. If renaming objects,
the recommended approach is to rename the object and select the cell again and open the Search
and Replace dialog. This will show other places in the file that use that object name that also may
need to be changed.
1) EnergyPlus input files are always in SI units. However, selecting “Inch-Pound” (IP) units
in the View menu displays and edits values in IP units in the IDF editor. The IP unit will
be displayed in the units column of the object grid. Some SI units convert to multiple IP
units. For example, W becomes Btu/hr for heating and cooling capacity but remains as W
for lighting and electrical equipment.
252 CHAPTER 20. CREATING INPUT FILES
2) All conversion factors used in the IDF editor are documented in a block of comments near
the top of the Energy+.IDD file.
3) Schedules, fluid properties and curves now support IP unit conversions. For curves, the
minimum and maximum values are converted but the coefficients are not.
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” option, which can also be turned on and off with CTRL-Q,
displays two dropdown lists above the class list that can be quickly used to select classes. The first
list displays the possible groups. Once those are selected, the second list contains only the classes
within that group. This option may be used to quickly access classes while avoiding scrolling
through the long class list. In addition these pull down menus may be used with the keyboard to
select groups and class names based on the first few letters of the names.
The figure below shows the “Layout Options” also accessible under the View menu.
This option allows for different arrangements of the layout for the main screen of the IDF Editor.
Select one of the four layouts available.
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.
The “Validity Check” function has replaced and expanded upon the old “Check Out-of-Range”
function. It can also be started by using CTRL-R. The “Validity Check” function performs three
kinds of validity checks and displays the results as shown in the dialog box below:
The list displays the values and locations for objects with values that are either above the
maximum or below the minimum values. This allows you to check your input for out-of-range
values prior to running EnergyPlus. It also displays fields that contain invalid references. An
invalid reference is when a name is used that should be the name of object but no object exists
that uses that name. For example, if a Construction object references a layer named IN20 but no
Material (or Material:NoMass, etc.) object is named IN20. When viewing the class that contains
invalid references, those references are shown with a different background color similar to numbers
that are out of range. The “Validity Check” dialog also shows when an entry for a field is not
one of the possible lists of choices. The Goto button allows you to jump directly to the selected
identified problems. The Perform Validity Check When Saving File can be turned on and off and
automatically performs the check whenever the file is saved.
20.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
20.2. IDFEDITOR 253
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.
20.2.12 Bugs
Please report any bugs to the helpdesk (email to energyplus-support@[Link]) so that we can fix
them prior to the next release.
Chapter 21
21.1 EP-Compare
The EP-Compare program is no longer included in the EnergyPlus distribution. Please see the
[Link] file in the EP-Compare folder within the PostProcess folder for more information.
255