From 0586c5e3cd8df0e97fc099c0d39abe0f5e40ca3a Mon Sep 17 00:00:00 2001 From: Matthew Dahlhausen Date: Wed, 9 Oct 2024 12:42:15 -0600 Subject: [PATCH] correct logic require_adjustment is true if the wwr is above the limit, not unless --- lib/openstudio-standards/standards/Standards.Model.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/openstudio-standards/standards/Standards.Model.rb b/lib/openstudio-standards/standards/Standards.Model.rb index e8a6948dee..03466def0d 100644 --- a/lib/openstudio-standards/standards/Standards.Model.rb +++ b/lib/openstudio-standards/standards/Standards.Model.rb @@ -5504,7 +5504,7 @@ def model_apply_userdata_outdoor_air(model) def model_does_require_wwr_adjustment?(wwr_limit, wwr_list) require_adjustment = false wwr_list.each do |wwr| - require_adjustment = true unless wwr > wwr_limit + require_adjustment = true if wwr > wwr_limit end return require_adjustment end