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

Revision history [back]

RunEplus.bat is deprecated. Use the Command Line Interface (CLI) energyplus indeed.

You just need to read the documentation, the key information can also be gotten directly in your terminal via energyplus --help (see example at end of post).

Anyways, in your case, what you want is to the pass the -x (or equivalent --expandobjects) flag to ensure that expandObjects is run. You will probably be interested in -r too if you want to get CSV files out.

Example to run with expandobjects and readvareso, use weather.epw to run in.epw and output results in a out/ folder:

energyplus -w weather.epw -d out/ -r -x in.epw


$ energyplus --help
EnergyPlus, Version 9.2.0-4f4f5d8ca1
Usage: energyplus [options] [input-file]
Options:
  -a, --annual                 Force annual simulation
  -c, --convert                Output IDF->epJSON or epJSON->IDF, dependent on
                               input file type
  -D, --design-day             Force design-day-only simulation
  -d, --output-directory ARG   Output directory path (default: current
                               directory)
  -h, --help                   Display help information
  -i, --idd ARG                Input data dictionary path (default: Energy+.idd
                               in executable directory)
  -m, --epmacro                Run EPMacro prior to simulation
  -p, --output-prefix ARG      Prefix for output file names (default: eplus)
  -r, --readvars               Run ReadVarsESO after simulation
  -s, --output-suffix ARG      Suffix style for output file names (default: L)
                                  L: Legacy (e.g., eplustbl.csv)
                                  C: Capital (e.g., eplusTable.csv)
                                  D: Dash (e.g., eplus-table.csv)
  -v, --version                Display version information
  -w, --weather ARG            Weather file path (default: in.epw in current
                               directory)
  -x, --expandobjects          Run ExpandObjects prior to simulation
Example: energyplus -w weather.epw -r input.idf

RunEplus.bat is deprecated. Use the Command Line Interface (CLI) energyplus indeed.

You just need to read the documentation, the key information can also be gotten directly in your terminal via energyplus --help (see example at end of post).

Anyways, in your case, what you want is to the pass the -x (or equivalent --expandobjects) flag to ensure that expandObjects is run. You will probably be interested in -r too if you want to get CSV files out.

Example to run with expandobjects and readvareso, use weather.epw to run in.epw and output results in a out/ folder:

energyplus -w weather.epw -d out/ -r -x in.epwin.epw

Example of embedded CLI help:


$ energyplus --help
EnergyPlus, Version 9.2.0-4f4f5d8ca1
Usage: energyplus [options] [input-file]
Options:
  -a, --annual                 Force annual simulation
  -c, --convert                Output IDF->epJSON or epJSON->IDF, dependent on
                               input file type
  -D, --design-day             Force design-day-only simulation
  -d, --output-directory ARG   Output directory path (default: current
                               directory)
  -h, --help                   Display help information
  -i, --idd ARG                Input data dictionary path (default: Energy+.idd
                               in executable directory)
  -m, --epmacro                Run EPMacro prior to simulation
  -p, --output-prefix ARG      Prefix for output file names (default: eplus)
  -r, --readvars               Run ReadVarsESO after simulation
  -s, --output-suffix ARG      Suffix style for output file names (default: L)
                                  L: Legacy (e.g., eplustbl.csv)
                                  C: Capital (e.g., eplusTable.csv)
                                  D: Dash (e.g., eplus-table.csv)
  -v, --version                Display version information
  -w, --weather ARG            Weather file path (default: in.epw in current
                               directory)
  -x, --expandobjects          Run ExpandObjects prior to simulation
Example: energyplus -w weather.epw -r input.idf

RunEplus.bat is deprecated. Use the Command Line Interface (CLI) energyplus indeed.

You just need to read the documentation, the key information can also be gotten directly in your terminal via energyplus --help (see example at end of post).

Anyways, in your case, what you want is to the pass the -x (or equivalent --expandobjects) flag to ensure that expandObjects is run. You will probably be interested in -r too if you want to get CSV files out.

Example to run with expandobjects and readvareso, use weather.epw to run in.epw and output results in a out/ folder:

energyplus -w weather.epw -d out/ -r -x in.epw
in.idf

Example of embedded CLI help:

$ energyplus --help
EnergyPlus, Version 9.2.0-4f4f5d8ca1
Usage: energyplus [options] [input-file]
Options:
  -a, --annual                 Force annual simulation
  -c, --convert                Output IDF->epJSON or epJSON->IDF, dependent on
                               input file type
  -D, --design-day             Force design-day-only simulation
  -d, --output-directory ARG   Output directory path (default: current
                               directory)
  -h, --help                   Display help information
  -i, --idd ARG                Input data dictionary path (default: Energy+.idd
                               in executable directory)
  -m, --epmacro                Run EPMacro prior to simulation
  -p, --output-prefix ARG      Prefix for output file names (default: eplus)
  -r, --readvars               Run ReadVarsESO after simulation
  -s, --output-suffix ARG      Suffix style for output file names (default: L)
                                  L: Legacy (e.g., eplustbl.csv)
                                  C: Capital (e.g., eplusTable.csv)
                                  D: Dash (e.g., eplus-table.csv)
  -v, --version                Display version information
  -w, --weather ARG            Weather file path (default: in.epw in current
                               directory)
  -x, --expandobjects          Run ExpandObjects prior to simulation
Example: energyplus -w weather.epw -r input.idf