ladybug-tools / spider

:spider_web: 3D interactive analysis in your browser mostly written around the Three.js JavaScript library
http://www.ladybug.tools/spider
44 stars 15 forks source link

get Spider gbXML template file fully compatible with OpenStudio #154

Open mdengusiak opened 5 years ago

mdengusiak commented 5 years ago

In this post we will try to get our template building fully compatible with OpenStudio. First step is to run Design Day Sizing Loads + here and aslo dynamic simulation.

Outcome of step 1 - ... Spider gbXML will run in Openstudio Design Day Sizing and dynamic simulation on some standard agreed assumptions

  1. We will run few iteration of this file and I will add additional complexity after each successful run. Starting point is to support: Air building elements and Ground building elements

1a. We will solve and try to reference following existing issues on this subject:

145 and #112

chriswmackey commented 5 years ago

@mdengusiak ,

Sorry for the late response here. I have finally gotten the chance to look at the file and I have converted the london-office.xml into a fully simulate-able osm, which I have added here: https://github.com/ladybug-tools/spider/tree/master/gbxml-sample-files/simulate-able

I essentially did this by taking your original london-office.xml and assigning a bunch of default properties to it in Honeybee (since the original gbXML was missing a lot of important properties like constructions). Then, I converted the Honeybee zones with a bunch of default properties to a simulate-able .osm. So at least now @theo-armour can open up a file in OpenStudio, assign a weather file, hit simulate and get a result.

This issue is that I then translated this .osm file back to a gbXML using OpenStudio's forward translator and you can find this gbXML in the same folder that I linked to above. However, this forward-translated gbXML, when imported back into OpenStudio, is not simulate-able. Specifically, it looks like the gbXML file is missing properties for some of the materials for the window and for the air walls. This has gotten me questioning whether this is just an oversight on the part of OpenStudio team or is it that the gbXML format actually lacks some of the features necessary to create a simulate-able IDF. I am hoping that it is the former but, to solve such an issue, it looks like we will need to do a lot of digging through the gbXML to figure out the correct way to add what is missing and then communicate that to the OpenStudio team.

At least this gives you a better place to start from than your previous gbXML and we can do some comparisons between the .osm and the translated .xml to see what is still missing.

theo-armour commented 5 years ago

@chriswmackey

🕷 thanks you!

mdengusiak commented 5 years ago

@chriswmackey I tried on OS 2.7 and have this warning on import...and can not see model in OS.... which version are you using?

chriswmackey commented 5 years ago

OS 2.5. There are a couple of minor bugs in OS 2.7 and OS 2.6 so I have been sticking to 2.5 until 2.8 is released.