lib/from_openstudio/geometry/room.rb in honeybee-openstudio-2.30.4 vs lib/from_openstudio/geometry/room.rb in honeybee-openstudio-2.30.5

- old
+ new

@@ -54,10 +54,13 @@ hash[:outdoor_shades] = outdoor_shades if !outdoor_shades.empty? multipler = multiplier_from_space(space) hash[:multipler] = multipler if multipler + exclude_floor_area = exclude_floor_area_from_space(space) + hash[:exclude_floor_area] = exclude_floor_area + story = story_from_space(space) hash[:story] = story if story hash end @@ -275,9 +278,17 @@ multiplier = space.multiplier if multiplier != 1 return multiplier end nil + end + + def self.exclude_floor_area_from_space(space) + incl_floor = space.partofTotalFloorArea + if incl_floor + return false + end + true end def self.story_from_space(space) story = space.buildingStory if !story.empty?