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

# 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:

Any thoughts or ideas on how to solve it?

edit retag close merge delete

Sort by ยป oldest newest most voted

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

end
`
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!

( 2017-02-22 10:40:25 -0600 )edit

You're welcome :)

( 2017-02-22 13:37:43 -0600 )edit

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

( 2017-02-22 13:45:14 -0600 )edit

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