First time here? Check our help page!
2

Custom Create DOE prototype building measure

Dear all,

I would like to create a custom measure, where I apply all the code of the Create DOE prototype measure to my osm file except for the part where the geometry of my osm is changed. In other words I want to keep the original geometry of my osm file while still applying the measure.

Is this possible?

I tried to do this by modifying the Prototype.Model file in the openstudio-standards to contain a new create_prototype_building method (called create_prototype_building_TOCore) which is exactly the same as the create_prototype_building method except for the fact that the load_geometry method is not called.

My new measure calls the create_prototype_building_TOCore method instead of the create_prototype_building method.

The code compiles but when I look in the output folder that the measure creates there is simply nothing there.

Any pointers or suggestions on the best way to approach this would be greatly appreciated.

antonszilasi's avatar
1.5k
antonszilasi
asked 2016-11-28 18:40:14 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2017-08-05 07:45:49 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

The Create Baseline Building doesn't do exactly this but does use a lot of the same logic from the openstudio-standards gem. This measure expects to have a compled model passed in. You could use the baseline measure in a workflow running after the Space Type and Construction Set Wizard measure that now also uses the openstudio-standards gem. This would set any loads, schedules, and constructions that are not altered by the baseline measure.

Of course you would add your geometry and assign space types, and I believe you also need to add an HVAC system to use the baseline measure.

David Goldwasser's avatar
20.4k
David Goldwasser
answered 2016-11-28 19:13:10 -0500, updated 2016-11-28 19:41:40 -0500
edit flag offensive 0 remove flag delete link

Comments

@DavidGoldwasser thanks for your answer, it would be nice to have all of this contained in one measure since I am applying the measure through Honeybee.

Do you think its possible to modify the code of the DOE prototype measure to exclude changing the geometry as I discussed above?

antonszilasi's avatar antonszilasi (2016-12-12 11:57:18 -0500) edit
add a comment see more comments