Running WWR with DOE Prototype building giving this error optional not Initialized
I am running set wwr measure along with DOE prototype building (Secondary School) in PAT and OS but its giving me error when I apply set WWR measure.Below is the error that I am getting.
Optional not initialized
C:/Users/rwadhwa/AppData/Local/Temp/osmodel-1625060736-1/resources/measures/Set Window to Wall Ratio by Facade/measure.rb:220:in get'
C:/Users/rwadhwa/AppData/Local/Temp/osmodel-1625060736-1/resources/measures/Set Window to Wall Ratio by Facade/measure.rb:220:in
block in run'
C:/Users/rwadhwa/AppData/Local/Temp/osmodel-1625060736-1/resources/measures/Set Window to Wall Ratio by Facade/measure.rb:208:in each'
C:/Users/rwadhwa/AppData/Local/Temp/osmodel-1625060736-1/resources/measures/Set Window to Wall Ratio by Facade/measure.rb:208:in
run'
:/ruby/2.5.0/gems/openstudio-workflow-2.1.0/lib/openstudio/workflow/util/measure.rb:515:in `apply_measure'
The strange part is When I change the Buildign type to primary school or other the measure will run without any error.
Similar to other prototype WWR question did you intend to tag this as legacy-openstudio? Related to this error, the directory name of the measure with spaces is suspicions. It doesn't match the GiitHub.com name or the UUID string that would come from BCL. the reason I ask is maybe that measure has been modified. Line 220 does get parent surface for a sub-surface and then gets the parent space for the surface. If the model had be hand edited in text editor without the SDK or otherwise had orphaned surfaces this could happen.
https://github.com/NREL/openstudio-mo...
@David Goldwasser So now I am using the measure from the directory that you have specified, I am stilling getting the same error, The main concern is when I am using create doe prototype building measure and using Secondary school as my building I am getting this error If I select any other building type it won't give me this error also If I run the measure using my openstudio model I won' t get any error.
"[10:39:08.277871 ERROR] Optional not initialized ", " C:/Users/rwadhwa/sim/Bar_model/temp_data/analysis_c7ac3195-6b44-4980-8218-c73eb0932e1d/measures/SetWindowToWallRatioByFacade/measure.rb:220:in
get' ", " C:/Users/rwadhwa/sim/Bar_model/temp_data/analysis_c7ac3195-6b44-4980-8218-c73eb0932e1d/measures/SetWindowToWallRatioByFacade/measure.rb:220:in
block in run' ", " C:/Users/rwadhwa/sim/Bar_model/temp_data/analysis_c7ac3195-6b44-4980-8218-c73eb0932e1d/measures/SetWindowToWallRatioByFacade/measure.rb:208:in `each' ", " C:/Users/rwadhwa/sim/Bar_model/temp_data/analysis_c7ac3195-6b44-4980-8218I can see this and filed an issue, will look at it soon https://github.com/NREL/openstudio-mo...