First time here? Check our help page!
2

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

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

Waseem's avatar
2.5k
Waseem
asked 2015-01-12 12:15:47 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2015-07-11 17:12:22 -0500
edit flag offensive 0 remove flag reopen merge delete

Closed for the following reason "the question is answered, right answer was accepted" by __AmirRoth__ 2017-04-16 11:28:54 -0500

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 -0500) edit
add a comment see more comments

3 Answers

5

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

JoshuaRNew's avatar
108
JoshuaRNew
answered 2015-01-16 16:09:45 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
4

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

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

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

Dan

macumber's avatar
12k
macumber
answered 2015-01-12 15:33:41 -0500, updated 2015-01-12 15:35:22 -0500
edit flag offensive 0 remove flag delete 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__ (2015-01-12 21:28:30 -0500) 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 -0500) 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 -0500) edit

Hi @Waseem Which Python file to be executed first?

Sasi's avatar Sasi (2017-06-08 06:35:20 -0500) edit
add a comment see more comments
1

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

wangh's avatar
395
wangh
answered 2015-03-18 13:18:17 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments