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

Can we use epjson as input file to run energy simulation?

asked 2019-01-10 18:47:43 -0500

katsuya.obara gravatar image

I understand that EnergyPlus is planning to use epJson as input/output file.
However, when I open EP-launch.exe in v9.0.1 which I use to run EP file usually, seems I cannot select json file as input file.
Are there any documentation which explain how I can use epjson file as input to EP-launch or CLI?
Also, are there any converter available from idf file to epjson and vice varsa?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
6

answered 2019-01-11 08:55:58 -0500

updated 2019-01-11 09:24:53 -0500

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 (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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

 



Question Tools

1 follower

Stats

Asked: 2019-01-10 18:47:43 -0500

Seen: 71 times

Last updated: Jan 11