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

Openstudio Baseline Building measure Error.

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

Santiago Velez gravatar image

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

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

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

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

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


# 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

  return total_area
edit flag offensive delete link more


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 gravatar imageSantiago Velez ( 2017-02-22 10:40:25 -0500 )edit

You're welcome :)

Julien Marrec gravatar imageJulien 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 gravatar imageJulien Marrec ( 2017-02-22 13:45:14 -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: 2017-02-22 08:17:52 -0500

Seen: 109 times

Last updated: Feb 22 '17