First time here? Check out the Help page!
1 | initial version |
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
2 | No.2 Revision |
If you call the EnergyPlus CLI with the -h
flag, it will display all options:
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
3 | No.3 Revision |
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
4 | No.4 Revision |
If you call the EnergyPlus CLI with the -h
flag, it will display all options:
C:\EnergyPlusV9-0-1\energyplus.exe -h EnergyPlus, Version9.0.1-bb7ca4f0da22.1.0-ed759b17ee, YMD=2022.05.05 09:35 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) ... --convert-only Only convert IDF->epJSON or epJSON->IDF, dependent on input file type. No simulation Example: energyplus -w weather.epw -r input.idf
The
or -c--convert--convert-only
option is used to generate an epJSON file from an IDF (and vice versa). So you can do:
C:\EnergyPlusV9-0-1\energyplus.exe -c C:\EnergyPlusV22-1-0\energyplus.exe --convert-only 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,
Then you can now run the epJSON file like so:
C:\EnergyPlusV9-0-1\energyplus.exe C:\EnergyPlusV22-1-0\energyplus.exe -r in.epJSON
Alternatively, you can use the --convert
or -c
option to do both steps (convert the file and run the simulation) at the same time:
C:\EnergyPlusV22-1-0\energyplus.exe -c in.idf
5 | No.5 Revision |
If you call the EnergyPlus CLI with the -h
flag, it will display all options:
C:\EnergyPlusV9-0-1\energyplus.exeC:\EnergyPlusV22-1-0\energyplus.exe -h EnergyPlus, Version 22.1.0-ed759b17ee, YMD=2022.05.05 09:35 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) ... --convert-only Only convert IDF->epJSON or epJSON->IDF, dependent on input file type. No simulation Example: energyplus -w weather.epw -r input.idf
The --convert-only
option is used to generate an epJSON file from an IDF (and vice versa). So you can do:
C:\EnergyPlusV22-1-0\energyplus.exe --convert-only in.idf
and it will output the in.epJSON file.
Then you can run the epJSON file like so:
C:\EnergyPlusV22-1-0\energyplus.exe -r in.epJSON
Alternatively, you can use the --convert
or -c
option to do both steps (convert the file and run the simulation) at the same time:
C:\EnergyPlusV22-1-0\energyplus.exe -c in.idf
6 | No.6 Revision |
If you call the EnergyPlus CLI with the -h
flag, it will display all options:
C:\EnergyPlusV22-1-0\energyplus.exe -h EnergyPlus, Version 22.1.0-ed759b17ee, YMD=2022.05.05 09:35 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) ... --convert-only Only convert IDF->epJSON or epJSON->IDF, dependent on input file type. No simulation Example: energyplus -w weather.epw -r input.idf
The --convert-only
option is used to generate an epJSON file from an IDF (and vice versa). So you can do:
C:\EnergyPlusV22-1-0\energyplus.exe --convert-only in.idf
and it will output the in.epJSON file.
Then you can run the epJSON file like so:
C:\EnergyPlusV22-1-0\energyplus.exe
-r in.epJSON
Alternatively, you can use the --convert
or -c
option to do both steps (convert the file and run the simulation) at the same time:
C:\EnergyPlusV22-1-0\energyplus.exe -c in.idf