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

Convert XML to OSM

asked 2025-01-13 14:16:30 -0600

Khosro's avatar

updated 2025-01-13 15:33:02 -0600

Hi all,

I read all of the previous questions about these and I tried them to convert an HPXML file to OSM model (like this). I used the resources/hpxml-measures/HPXMLtoOpenStudio measure, but it only creates another XML file named in.xml.

Is that the correct workflow?

Is there any other way to create an OSM model from an existing XML file?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2025-01-14 13:27:06 -0600

The HPXMLtoOpenStudio measure doesn't write the OpenStudio model to disk by default, rather it's generally used as part of an OpenStudio Workflow (example) where the measure creates an OpenStudio model in memory, it's translated to EnergyPlus (IDF), the simulation is run, and various outputs are reported. Or there is a run_simulation.rb script that you can use instead. See the Usage Instructions for more details on these two ways of running simulations.

That said, the measure will produce an OSM if you set the debug argument to True.

edit flag offensive delete link more

Comments

Thanks a lot. That worked perfectly.

Khosro's avatar Khosro  ( 2025-01-14 13:50:25 -0600 )edit

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2025-01-13 14:16:30 -0600

Seen: 53 times

Last updated: yesterday