First time here? Check out the Help page!

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

Is there a way to convert IDF to XML or vice versa? [closed]

asked 10 years ago

Waseem's avatar

updated 9 years ago

Hi All, Is there any way to convert IDF to XML or vice versa? I am looking for some computer code or some IDF post processing?

Thanks

Kindest Regards

Waseem

Preview: (hide)

Closed for the following reason the question is answered, right answer was accepted by __AmirRoth__
close date 2017-04-16 11:28:54.205833

Comments

For broad questions like this, it might be useful to keep them open. Just because one answer was posted and accepted doesn't mean there might not be better ones in the future, that's one of the main benefits of these types of forums. I'm also surprised that OpenStudio isn't listed and an accepted answer.

bbrannon4's avatar bbrannon4  ( 7 years ago )

3 Answers

Sort by » oldest newest most voted
5

answered 10 years ago

JoshuaRNew's avatar

If you'd like to extend the conversion capabilities beyond what is freely available at http://eventstar.ornl.gov/trinity, you can download and make your contributions via GitHub:

https://github.com/aarongarrett/idf2xml

Preview: (hide)
link
4

answered 10 years ago

updated 10 years ago

I believe the Autotune project has a feature to do this:

http://energy.gov/eere/buildings/down...

http://evenstar.ornl.gov/trinity/

Dan

Preview: (hide)
link

Comments

The Trinity testing website has this feature. If you ask, @JoshuaNew may give you the code for it. No promises.

__AmirRoth__'s avatar __AmirRoth__  ( 10 years ago )
2

The caveat is that the website only works for EnergyPlus 7.0. We'd need to run the *.idd for the EnergyPlus version you want through our conversion tool to *.xsd so you can have validated *.xml converted from the *.idd. What version of EnergyPlus are you using? I'd be glad to provide the code we have and post any conversion utilities that support newer EnergyPlus versions.

JoshuaRNew's avatar JoshuaRNew  ( 10 years ago )

Dear All, Thanks for your reply. @JoshuaRNew I am using EnergyPlus 8.1, to be very precise version 8.1.0.009. Thanks again. Kindest Regards Waseem

Waseem's avatar Waseem  ( 10 years ago )

Hi @Waseem Which Python file to be executed first?

Sasi's avatar Sasi  ( 7 years ago )
1

answered 10 years ago

wangh's avatar

Openstudio can convert idf to gbXML. There are quite a lot of XML so I dont know which one you want. But gbXML is the most common one for building model

Preview: (hide)
link

Training Workshops

Careers

Question Tools

2 followers

Stats

Asked: 10 years ago

Seen: 2,338 times

Last updated: Mar 18 '15