Skip to content

Commit

Permalink
Merge pull request #55 from NREL/os3_8_fixes
Browse files Browse the repository at this point in the history
update nze_hvac thermal zone methods
  • Loading branch information
DavidGoldwasser authored May 8, 2024
2 parents e0f9fdc + d387c24 commit ae7f111
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/measures/nze_hvac/measure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,8 @@ def run(model, runner, user_arguments)
# exclude plenum zones, zones without thermostats, and zones with no floor area
conditioned_zones = []
model.getThermalZones.each do |zone|
next if std.thermal_zone_plenum?(zone)
next if !std.thermal_zone_heated?(zone) && !std.thermal_zone_cooled?(zone)
next if OpenstudioStandards::ThermalZone.thermal_zone_plenum?(zone)
next if !OpenstudioStandards::ThermalZone.thermal_zone_heated?(zone) && !OpenstudioStandards::ThermalZone.thermal_zone_cooled?(zone)
conditioned_zones << zone
end

Expand Down
6 changes: 3 additions & 3 deletions lib/measures/nze_hvac/measure.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<schema_version>3.1</schema_version>
<name>nze_hvac</name>
<uid>f060dff2-b28d-4194-a6af-e66d88ddb33c</uid>
<version_id>30f88170-8790-4a5b-a7a2-75840782b1f7</version_id>
<version_modified>2023-11-30T22:42:51Z</version_modified>
<version_id>a2ad7907-8083-482b-a970-f891362eb561</version_id>
<version_modified>2024-05-07T22:07:52Z</version_modified>
<xml_checksum>0E5E4776</xml_checksum>
<class_name>NzeHvac</class_name>
<display_name>NZEHVAC</display_name>
Expand Down Expand Up @@ -258,7 +258,7 @@
<filename>measure.rb</filename>
<filetype>rb</filetype>
<usage_type>script</usage_type>
<checksum>1711274D</checksum>
<checksum>C8C36771</checksum>
</file>
<file>
<filename>NZEHVAC_Test.rb</filename>
Expand Down

0 comments on commit ae7f111

Please sign in to comment.