Skip to content

Commit

Permalink
forgot to add to count for logging of missed matches
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGoldwasser committed Oct 30, 2021
1 parent 9adc1d0 commit 2888cf4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/openstudio/extension/core/os_lib_model_generation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ def create_bar(runner, model, bar_hash, story_multiplier_method = 'Basements Gro
v[:spaces].each do |space|
space.surfaces.each do |space_surface|
next if not space_surface.surfaceType == "Wall"
next if space_surface.outsideBoundaryCondition == "Surface" # if if found a match leave it alone, don't chagne to adiabiatc
next if space_surface.outsideBoundaryCondition == "Surface" # if if found a match leave it alone, don't change to adiabiatc
surface_bounding_box = OpenStudio::BoundingBox.new
surface_bounding_box.addPoints(space.transformation * space_surface.vertices)
surface_on_outside = false
Expand All @@ -1256,6 +1256,7 @@ def create_bar(runner, model, bar_hash, story_multiplier_method = 'Basements Gro
# change if not exterior
if !surface_on_outside
space_surface.setOutsideBoundaryCondition("Adiabatic")
missed_match_count += 1
end
end
end
Expand Down

0 comments on commit 2888cf4

Please sign in to comment.