2

Openstudio Baseline Building measure Error.

I'm struggling to run the 90.1-2007 measure without error. I'm getting the following error message:

C:/Program Files/OpenStudio 1.14.0/ruby-install/ruby/lib/ruby/gems/2.0.0/gems/openstudio-standards-0.1.8/lib/openstudio-standards/standards/Standards.AirLoopHVAC.rb:349:in `round': Infinity (FloatDomainError)

Here is an image of the error message: image description

Any thoughts or ideas on how to solve it?

Santiago Velez's avatar
142
Santiago Velez
asked 2017-02-22 08:17:52 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2017-08-05 07:35:36 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

Do you have an AirLoopHVAC that serves no zones? Or zones that have zero area?

From AirLoopHVAC#L349:

OpenStudio.logFree(OpenStudio::Debug, 'openstudio.standards.AirLoopHVAC', "For #{name}: flow per area = #{cfm_per_ft2.round} cfm/ft^2.")

And if you go up a little:

# Calculate and report the total area for debugging/testing
floor_area_served_m2 = floor_area_served
floor_area_served_ft2 = OpenStudio.convert(floor_area_served_m2, 'm^2', 'ft^2').get
cfm_per_ft2 = dsn_air_flow_cfm / floor_area_served_ft2

AirLoopHVAC#L3490

# Calculate the total floor area of all zones attached
# to the air loop, in m^2.
#
# return [Double] the total floor area of all zones attached
# to the air loop, in m^2.
def floor_area_served
  total_area = 0.0

  thermalZones.each do |zone|
    total_area += zone.floorArea
  end

  return total_area
end
Julien Marrec's avatar
29.7k
Julien Marrec
answered 2017-02-22 09:15:20 -0500, updated 2017-02-22 12:35:19 -0500
edit flag offensive 0 remove flag delete link

Comments

yes! I found two spaces and corresponding zones which had floor area = 0. Well spotted. I re-drew the floors in SketchUp which solved the floor area issue and re-ran the Baseline measure successfully. Your answer also taught me how to try and find errors myself. Thank you!

Santiago Velez's avatar Santiago Velez (2017-02-22 10:40:25 -0500) edit

You're welcome :)

Julien Marrec's avatar Julien Marrec (2017-02-22 13:37:43 -0500) edit

@aparker: might be worth adding an if statement to throw an explicit error message

Julien Marrec's avatar Julien Marrec (2017-02-22 13:45:14 -0500) edit
add a comment see more comments