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

Openstudio Baseline Building measure Error.

asked 2017-02-22 08:17:52 -0600

Santiago Velez's avatar

updated 2017-08-05 07:35:36 -0600

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2017-02-22 09:15:20 -0600

updated 2017-02-22 12:35:19 -0600

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
edit flag offensive delete link more

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 -0600 )edit

You're welcome :)

Julien Marrec's avatar Julien Marrec  ( 2017-02-22 13:37:43 -0600 )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 -0600 )edit

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2017-02-22 08:17:52 -0600

Seen: 253 times

Last updated: Feb 22 '17