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

Custom Create DOE prototype building measure

asked 2016-11-28 18:40:14 -0500

antonszilasi gravatar image

updated 2017-08-05 07:45:49 -0500

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-11-28 19:13:10 -0500

updated 2016-11-28 19:41:40 -0500

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.

edit flag offensive delete link more


@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 gravatar image antonszilasi  ( 2016-12-12 11:57:18 -0500 )edit

Your Answer

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

Add Answer


Question Tools

1 follower


Asked: 2016-11-28 18:40:14 -0500

Seen: 280 times

Last updated: Nov 28 '16