How to convert Energyplus IDF file - building geometry to json format ?
How to convert Energyplus IDF file - building geometry to json format ?
First time here? Check out the Help page!
How to convert Energyplus IDF file - building geometry to json format ?
I believe you're a tiny bit early on this. There is currently a work in progress by notably @MarkAdams (aided by Ksennia Burova and Preston Shires) on Pull Request #5893 that is planned to go in E+ v8.8.0.
If you're feeling confident, you can checkout the code of the PR, and build compile EnergyPlus yourself. I believe the function you're after is around IdfParser#L165.
EDIT:
I actually found this presentation from Building SImulation 2017: 2017_IBPSA_JSON that will reference this companion repository: IBPSA-BuildingSim-2017-JSON. In this repository you'll find a JSON-enabled EnergyPlus (see "Releases" tab to download) and instructions to run an IDF and also produce the epJSON.
IDF input (with epJSON converted output)
./energyplus -c -d Outputs/ -w USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.epw 1ZoneUncontrolled.idf
Otherwise I'm pretty sure you could use eppy for this, perhaps not directly, but since it stores everything in a python dict-like objects it shouldn't be too hard to create a JSON output.
Directly, no. You should look at the view_model measure on BCL, which uses a JSON file (different format, vA3C JSON) and which goal is to visualize an OpenStudio model in a browser. That might be informative!
Yes i got it. JSON file format should be similar to this. https://github.com/va3c/json/blob/gh-...
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2017-09-10 23:59:39 -0600
Seen: 1,115 times
Last updated: Sep 12 '17