The method is failing at this line:
minz = z_points.min + space.zOrigin
In this piece of code:
z_points = []
space.surfaces.each do |surface|
surface.vertices.each do |vertex|
z_points << vertex.z
end
end
minz = z_points.min + space.zOrigin
z_points.min is nil, which means the were no z_points for a surface. Running this check on the model shows that space 'Space 150_Non' doesn't have any surfaces.
You need to simplify the model geometry. You have 667 spaces over 46 thermal zones and 8025 surfaces. This will take a while to run and render, and makes debugging in the OS App nearly impossible. Try reducing the number of spaces down to as close to 46 as possible. EnergyPlus simulates at the thermal zone level with a mixed air model anyways, so separating out this many spaces doesn't increase model fidelity. You can keep separate spaces in the same thermal zone if the two spaces have different internal loads.
1) you are running an old version of openstudio-standards (v0.2.2). Please download a newer version of OpenStudio and update your model to that version, and make sure that your BCL measures are updated as well.
2) The measure is failing on this line: minz = z_points.min + space.zOrigin This appears to be a missing .zOrigin. Can you check that your spaces all have defined surfaces?
when I look into ashrae_90_1_2013.Model.rb file it creates only for 10 storey building. But I made this building about 12 storey for which it will create this kind of error?
I tried in openstudio-2.9.0, still it could not solved.
copy a link to your model. I'm guessing that issue 2) in my comment above applies - you have a space with missing surfaces.
Dear Mdahlhausen,
Thanks a lot!
How to check where is that missing surface? Is there any way to figure out the missing surface?
Here I attached the OSM file link https://drive.google.com/file/d/1Xg1J....