Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This may sound a little old-fashioned, but it's worked for me for over 30 years in doing zillions of parametric simulations by adding macros to a template input file, and then creating a master batch file that calls an individual batch file like runeplus.bat once for each run. What are macros? That's an interpreter language first developed for DOE-2 back in the mid-80's, and then made into a stand-alone program for EnergyPlus called EPMacro. I still have my first version of the DOE Reference Buildings done in 2006 and all using macros, but DOE didn't like that and requested flat IDF files.

To show how macros work, I will provide a link to a sample file and batch scripts, all in EnergyPlus, no less!

This may sound a little old-fashioned, but it's worked for me for over 30 years in doing zillions of parametric simulations by adding macros to a template input file, and then creating a master batch file that calls an individual batch file like runeplus.bat once for each run. What are macros? That's an interpreter language first developed for DOE-2 back in the mid-80's, and then made into a stand-alone program for EnergyPlus called EPMacro. I still have my first version of the DOE Reference Buildings done in 2006 and all using macros, but DOE didn't like that and requested flat IDF files.

To show how macros work, I will was going to provide a link to a sample file and batch scripts, all scriptsin EnergyPlus, but then decided just to give a link to the entire DOE Commercial Buildings analysis package that I put together in EnergyPlus, no less!2007 here. There are two versions, one done for EnergyPlus and the other for DOE-2.1E. The EPlus version zip file is large (> 11 MB) because it actually includes the EnergyPlus (V3.0 ?) and EPMacro executables.

This may sound a little old-fashioned, but it's worked for me for over 30 years in doing zillions of parametric simulations by adding macros to a template input file, and then creating a master batch file that calls an individual batch file like runeplus.bat once for each run. What are macros? That's an interpreter language first developed for DOE-2 back in the mid-80's, and then made into a stand-alone program for EnergyPlus called EPMacro. I still have my first version of the DOE Reference Buildings done in 2006 and all using macros, but DOE didn't like that and requested flat IDF files.

To show how macros work, I was going to provide a link to a sample file and batch scriptsin EnergyPlus, but then decided just to give a link to the entire DOE Commercial Buildings analysis package that I put together in 2007 here. There are two versions, one done for EnergyPlus and the other for DOE-2.1E. The EPlus version zip file is large (> 11 MB) because it actually includes the EnergyPlus (V3.0 ?) and EPMacro executables.

This may sound a little old-fashioned, but it's worked for me for over 30 years in doing zillions of parametric simulations by adding macros to a template input file, and then creating a master batch file that calls an individual batch file like runeplus.bat once for each run. What are macros? That's an interpreter language first developed for DOE-2 back in the mid-80's, and then made into a stand-alone program for EnergyPlus called EPMacro. I still have my first version of the DOE Reference Buildings done in 2006 and all using macros, but DOE didn't like that and requested flat IDF files.

To show how macros work, I was going to provide a link to a sample file and batch scriptsin EnergyPlus, but then decided just to give a link to the entire DOE Commercial Buildings analysis package that I put together in 2007 here. There are two versions, one done for EnergyPlus and the other for DOE-2.1E. The EPlus version zip file is large (> 11 MB) because it actually includes had included the EnergyPlus (V3.0 ?) and EPMacro executables. executables, but I have deleted those to avoid setting off download warnings.

This may sound a little old-fashioned, but it's worked for me for over 30 years in doing zillions of parametric simulations by adding macros to a template input file, and then creating a master batch file that calls an individual batch file like runeplus.bat once for each run. What are macros? That's an interpreter language first developed for DOE-2 back in the mid-80's, and then made into a stand-alone program for EnergyPlus called EPMacro. I still have my first version of the DOE Reference Buildings done in 2006 and all using macros, but DOE didn't like that and requested flat IDF files.

To show how macros work, I was going to provide a link to a sample file and batch scriptsin scripts in EnergyPlus, but then decided just to give a link to the entire DOE Commercial Buildings analysis package that I put together in 2007 here. There are two versions, one done for EnergyPlus and the other for DOE-2.1E. The EPlus version zip file had included the EnergyPlus (V3.0 ?) and EPMacro executables, but I have deleted those to avoid setting off download warnings.warnings.