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

Revision history [back]

If you call the EnergyPlus CLI with the -h flag, it will display all options:

C:\EnergyPlusV9-0-1\energyplus.exe -h EnergyPlus, Version 9.0.1-bb7ca4f0da Usage: energyplus [options] [input-file] Options: -a, --annual Force annual simulation -c, --convert Output IDF->epJSON or epJSON->IDF, dependent on input file type ... (truncated) ... Example: energyplus -w weather.epw -r input.idf

The -c or --convert option is used to generate an epJSON file from an IDF. So you can do:

C:\EnergyPlusV9-0-1\energyplus.exe -c in.idf

and it will output the in.epJSON file. Note that it still runs the energy simulation in addition to converting the input file, so if you only want to convert the file, you might modify the IDF so that it doesn't run an annual simulation.

Finally, you can now run the epJSON file like so:

C:\EnergyPlusV9-0-1\energyplus.exe -r in.epJSON

If you call the EnergyPlus CLI with the -h flag, it will display all options:

C:\EnergyPlusV9-0-1\energyplus.exe -h
EnergyPlus, Version 9.0.1-bb7ca4f0da
Usage: energyplus [options] [input-file]
Options:
  -a, --annual                 Force annual simulation
  -c, --convert                Output IDF->epJSON or epJSON->IDF, dependent on
                               input file type
   ...
   (truncated)
   ...
Example: energyplus -w weather.epw -r input.idf

The -c or --convert option is used to generate an epJSON file from an IDF. So you can do:

C:\EnergyPlusV9-0-1\energyplus.exe -c in.idf

and it will output the in.epJSON file. Note that it still runs the energy simulation in addition to converting the input file, so if you only want to convert the file, you might modify the IDF so that it doesn't run an annual simulation.

Finally, you can now run the epJSON file like so:

C:\EnergyPlusV9-0-1\energyplus.exe -r in.epJSON

If you call the EnergyPlus CLI with the -h flag, it will display all options:

C:\EnergyPlusV9-0-1\energyplus.exe -h
EnergyPlus, Version 9.0.1-bb7ca4f0da
Usage: energyplus [options] [input-file]
Options:
  -a, --annual                 Force annual simulation
  -c, --convert                Output IDF->epJSON or epJSON->IDF, dependent on
                               input file type
   ...
   (truncated)
   ...
Example: energyplus -w weather.epw -r input.idf

The -c or --convert option is used to generate an epJSON file from an IDF. IDF (and vice versa). So you can do:

C:\EnergyPlusV9-0-1\energyplus.exe -c in.idf

and it will output the in.epJSON file. Note that it still runs the energy simulation in addition to converting the input file, so if you only want to convert the file, you might modify the IDF so that it doesn't run an annual simulation.

Finally, you can now run the epJSON file like so:

C:\EnergyPlusV9-0-1\energyplus.exe -r in.epJSON