Auxiliary Programs — EnergyPlus 8.4

<< Prev | Table of Contents | Next >>

Introduction[LINK]

The Input Macros feature increases the flexibility of the EnergyPlus input files. This feature is intended for advanced users who are already familiar with EnergyPlus IDF files and need to prepare input manually. The basic capabilities are:

  • Incorporating external files containing pieces of IDF into the main EnergyPlus input stream.

  • Selectively accepting or skipping portions of the input.

  • Defining a block of input with parameters and later referencing this block.

  • Performing arithmetic and logical operations on the input.

  • Input macro debugging and listing control.

These capabilities are invoked in the EP-MACRO program by using macro commands. Macro commands are preceded by ## to distinguish them from regular EnergyPlus input commands. After execution by the EP-MACRO processor, macro commands produce regular lines of EnergyPlus input that are shown in the resultant IDF file (out.idf) and, subsequently, in the EnergyPlus echo print (audit.out). Following are descriptions of the macro commands associated with the above capabilities. A detailed example of input macros is given at the end of this section; you should review it before reading the macro command descriptions.