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 2015-01-12 12:15:47 -0600

Waseem's avatar

updated 2015-07-11 17:12:22 -0600

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

edit retag flag offensive reopen merge delete

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  ( 2017-12-18 22:43:54 -0600 )edit

3 Answers

Sort by ยป oldest newest most voted
5

answered 2015-01-16 16:09:45 -0600

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

edit flag offensive delete link more
4

answered 2015-01-12 15:33:41 -0600

updated 2015-01-12 15:35:22 -0600

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

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

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

Dan

edit flag offensive delete link more

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__  ( 2015-01-12 21:28:30 -0600 )edit
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  ( 2015-01-12 21:46:36 -0600 )edit

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  ( 2015-01-12 22:16:21 -0600 )edit

Hi @Waseem Which Python file to be executed first?

Sasi's avatar Sasi  ( 2017-06-08 06:35:20 -0600 )edit
1

answered 2015-03-18 13:18:17 -0600

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

edit flag offensive delete link more

Training Workshops

Careers

Question Tools

2 followers

Stats

Asked: 2015-01-12 12:15:47 -0600

Seen: 2,246 times

Last updated: Mar 18 '15