openstudio-aedg 0.6.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +7 -21
- data/README.md +2 -0
- data/doc_templates/LICENSE.md +7 -21
- data/doc_templates/copyright_erb.txt +2 -32
- data/doc_templates/copyright_js.txt +2 -2
- data/doc_templates/copyright_ruby.txt +3 -33
- data/lib/measures/AedgK12ElectricEquipment/LICENSE.md +1 -1
- data/lib/measures/AedgK12ElectricEquipment/measure.rb +2 -32
- data/lib/measures/AedgK12ElectricEquipment/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgK12ElectricEquipmentControls/LICENSE.md +1 -1
- data/lib/measures/AedgK12ElectricEquipmentControls/measure.rb +2 -32
- data/lib/measures/AedgK12ElectricEquipmentControls/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgK12EnvelopeAndEntryInfiltration/LICENSE.md +1 -1
- data/lib/measures/AedgK12EnvelopeAndEntryInfiltration/measure.rb +2 -32
- data/lib/measures/AedgK12EnvelopeAndEntryInfiltration/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgK12ExteriorDoorConstruction/LICENSE.md +1 -1
- data/lib/measures/AedgK12ExteriorDoorConstruction/measure.rb +2 -32
- data/lib/measures/AedgK12ExteriorDoorConstruction/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgK12ExteriorFloorConstruction/LICENSE.md +1 -1
- data/lib/measures/AedgK12ExteriorFloorConstruction/measure.rb +2 -32
- data/lib/measures/AedgK12ExteriorFloorConstruction/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgK12ExteriorLighting/LICENSE.md +1 -1
- data/lib/measures/AedgK12ExteriorLighting/measure.rb +2 -32
- data/lib/measures/AedgK12ExteriorLighting/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgK12ExteriorWallConstruction/LICENSE.md +1 -1
- data/lib/measures/AedgK12ExteriorWallConstruction/measure.rb +2 -32
- data/lib/measures/AedgK12ExteriorWallConstruction/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgK12FenestrationAndDaylightingControls/LICENSE.md +1 -1
- data/lib/measures/AedgK12FenestrationAndDaylightingControls/measure.rb +2 -32
- data/lib/measures/AedgK12FenestrationAndDaylightingControls/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgK12HvacDualDuctDoas/LICENSE.md +1 -1
- data/lib/measures/AedgK12HvacDualDuctDoas/measure.rb +2 -32
- data/lib/measures/AedgK12HvacDualDuctDoas/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgK12HvacFanCoilDoas/LICENSE.md +1 -1
- data/lib/measures/AedgK12HvacFanCoilDoas/measure.rb +2 -32
- data/lib/measures/AedgK12HvacFanCoilDoas/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgK12HvacGshpDoas/LICENSE.md +1 -1
- data/lib/measures/AedgK12HvacGshpDoas/measure.rb +2 -32
- data/lib/measures/AedgK12HvacGshpDoas/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgK12InteriorFinishes/LICENSE.md +1 -1
- data/lib/measures/AedgK12InteriorFinishes/measure.rb +2 -32
- data/lib/measures/AedgK12InteriorFinishes/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgK12InteriorLighting/LICENSE.md +1 -1
- data/lib/measures/AedgK12InteriorLighting/measure.rb +2 -32
- data/lib/measures/AedgK12InteriorLighting/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgK12InteriorLightingControls/LICENSE.md +1 -1
- data/lib/measures/AedgK12InteriorLightingControls/measure.rb +2 -32
- data/lib/measures/AedgK12InteriorLightingControls/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgK12Kitchen/LICENSE.md +1 -1
- data/lib/measures/AedgK12Kitchen/measure.rb +2 -32
- data/lib/measures/AedgK12Kitchen/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgK12RoofConstruction/LICENSE.md +1 -1
- data/lib/measures/AedgK12RoofConstruction/measure.rb +2 -32
- data/lib/measures/AedgK12RoofConstruction/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgK12SlabAndBasement/LICENSE.md +1 -1
- data/lib/measures/AedgK12SlabAndBasement/measure.rb +2 -32
- data/lib/measures/AedgK12SlabAndBasement/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgK12SlabAndBasement/resources/OsLib_EnergyPlusMethods.rb +2 -32
- data/lib/measures/AedgK12SlabAndBasement/resources/os_lib_helper_methods.rb +2 -32
- data/lib/measures/AedgK12Swh/LICENSE.md +1 -1
- data/lib/measures/AedgK12Swh/measure.rb +2 -32
- data/lib/measures/AedgK12Swh/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgOfficeHvacAshpDoas/LICENSE.md +1 -1
- data/lib/measures/AedgOfficeHvacAshpDoas/measure.rb +2 -32
- data/lib/measures/AedgOfficeHvacAshpDoas/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgOfficeHvacFanCoilDoas/LICENSE.md +1 -1
- data/lib/measures/AedgOfficeHvacFanCoilDoas/measure.rb +2 -32
- data/lib/measures/AedgOfficeHvacFanCoilDoas/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgOfficeHvacRadiantDoas/LICENSE.md +1 -1
- data/lib/measures/AedgOfficeHvacRadiantDoas/measure.rb +2 -32
- data/lib/measures/AedgOfficeHvacRadiantDoas/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgOfficeHvacVavChW/LICENSE.md +1 -1
- data/lib/measures/AedgOfficeHvacVavChW/measure.rb +2 -32
- data/lib/measures/AedgOfficeHvacVavChW/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgOfficeHvacVavDx/LICENSE.md +1 -1
- data/lib/measures/AedgOfficeHvacVavDx/measure.rb +2 -32
- data/lib/measures/AedgOfficeHvacVavDx/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgOfficeHvacWshpDoas/LICENSE.md +1 -1
- data/lib/measures/AedgOfficeHvacWshpDoas/measure.rb +2 -32
- data/lib/measures/AedgOfficeHvacWshpDoas/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgOfficeSwh/LICENSE.md +1 -1
- data/lib/measures/AedgOfficeSwh/measure.rb +2 -32
- data/lib/measures/AedgOfficeSwh/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeElectricEquipment/LICENSE.md +1 -1
- data/lib/measures/AedgSmallToMediumOfficeElectricEquipment/measure.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeElectricEquipment/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeElectricEquipmentControls/LICENSE.md +1 -1
- data/lib/measures/AedgSmallToMediumOfficeElectricEquipmentControls/measure.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeElectricEquipmentControls/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeEnvelopeAndEntryInfiltration/LICENSE.md +1 -1
- data/lib/measures/AedgSmallToMediumOfficeEnvelopeAndEntryInfiltration/measure.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeEnvelopeAndEntryInfiltration/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeExteriorDoorConstruction/LICENSE.md +1 -1
- data/lib/measures/AedgSmallToMediumOfficeExteriorDoorConstruction/measure.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeExteriorDoorConstruction/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeExteriorFloorConstruction/LICENSE.md +1 -1
- data/lib/measures/AedgSmallToMediumOfficeExteriorFloorConstruction/measure.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeExteriorFloorConstruction/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeExteriorLighting/LICENSE.md +1 -1
- data/lib/measures/AedgSmallToMediumOfficeExteriorLighting/measure.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeExteriorLighting/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeExteriorWallConstruction/LICENSE.md +1 -1
- data/lib/measures/AedgSmallToMediumOfficeExteriorWallConstruction/measure.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeExteriorWallConstruction/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeFenestrationAndDaylightingControls/LICENSE.md +1 -1
- data/lib/measures/AedgSmallToMediumOfficeFenestrationAndDaylightingControls/measure.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeFenestrationAndDaylightingControls/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeInteriorFinishes/LICENSE.md +1 -1
- data/lib/measures/AedgSmallToMediumOfficeInteriorFinishes/measure.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeInteriorFinishes/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeInteriorLighting/LICENSE.md +1 -1
- data/lib/measures/AedgSmallToMediumOfficeInteriorLighting/measure.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeInteriorLighting/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeInteriorLightingControls/LICENSE.md +1 -1
- data/lib/measures/AedgSmallToMediumOfficeInteriorLightingControls/measure.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeInteriorLightingControls/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeRoofConstruction/LICENSE.md +1 -1
- data/lib/measures/AedgSmallToMediumOfficeRoofConstruction/measure.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeRoofConstruction/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeSlabAndBasement/LICENSE.md +1 -1
- data/lib/measures/AedgSmallToMediumOfficeSlabAndBasement/measure.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeSlabAndBasement/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeSlabAndBasement/resources/OsLib_EnergyPlusMethods.rb +2 -32
- data/lib/measures/AedgSmallToMediumOfficeSlabAndBasement/resources/os_lib_helper_methods.rb +2 -32
- data/lib/measures/zedgk_12_electric_equipment/LICENSE.md +1 -1
- data/lib/measures/zedgk_12_electric_equipment/measure.rb +2 -32
- data/lib/measures/zedgk_12_electric_equipment/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/zedgk_12_envelope_infiltration/LICENSE.md +1 -1
- data/lib/measures/zedgk_12_envelope_infiltration/measure.rb +2 -32
- data/lib/measures/zedgk_12_envelope_infiltration/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/zedgk_12_exterior_door_construction/LICENSE.md +1 -1
- data/lib/measures/zedgk_12_exterior_door_construction/measure.rb +2 -32
- data/lib/measures/zedgk_12_exterior_door_construction/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/zedgk_12_exterior_wall_construction/LICENSE.md +1 -1
- data/lib/measures/zedgk_12_exterior_wall_construction/measure.rb +2 -32
- data/lib/measures/zedgk_12_exterior_wall_construction/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/zedgk_12_fenestration_and_daylighting_controls/LICENSE.md +1 -1
- data/lib/measures/zedgk_12_fenestration_and_daylighting_controls/measure.rb +2 -32
- data/lib/measures/zedgk_12_fenestration_and_daylighting_controls/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/zedgk_12_hvac_fan_coil_doas/LICENSE.md +1 -1
- data/lib/measures/zedgk_12_hvac_fan_coil_doas/measure.rb +2 -32
- data/lib/measures/zedgk_12_hvac_fan_coil_doas/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/zedgk_12_hvac_fan_coil_doas/resources/OsLib_HVAC_zedg_fan_coil.rb +7 -37
- data/lib/measures/zedgk_12_hvac_fan_coil_doas_air_cooled_chiller/LICENSE.md +1 -1
- data/lib/measures/zedgk_12_hvac_fan_coil_doas_air_cooled_chiller/measure.rb +2 -32
- data/lib/measures/zedgk_12_hvac_fan_coil_doas_air_cooled_chiller/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/zedgk_12_hvac_fan_coil_doas_air_cooled_chiller/resources/OsLib_HVAC_zedg_fan_coil_air_cooled.rb +7 -37
- data/lib/measures/zedgk_12_hvac_gshp_doas/LICENSE.md +1 -1
- data/lib/measures/zedgk_12_hvac_gshp_doas/measure.rb +2 -32
- data/lib/measures/zedgk_12_hvac_gshp_doas/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/zedgk_12_hvac_gshp_doas/resources/OsLib_HVAC_zedg_gshp.rb +8 -38
- data/lib/measures/zedgk_12_hvac_gshp_doas/resources/TableLib.rb +2 -32
- data/lib/measures/zedgk_12_hvac_vrf_with_doas/LICENSE.md +1 -1
- data/lib/measures/zedgk_12_hvac_vrf_with_doas/measure.rb +9 -36
- data/lib/measures/zedgk_12_hvac_vrf_with_doas/measure.xml +53 -41
- data/lib/measures/zedgk_12_hvac_vrf_with_doas/resources/OsLib_HVAC_zedg_vrf.rb +6 -36
- data/lib/measures/zedgk_12_hvac_vrf_with_doas/resources/VRF_AC_v350.osc +1289 -0
- data/lib/measures/zedgk_12_hvac_vrf_with_doas/resources/VRF_Terminal_v350.osc +521 -0
- data/lib/measures/zedgk_12_insert_ground_domain_e_kusdua/LICENSE.md +1 -1
- data/lib/measures/zedgk_12_insert_ground_domain_e_kusdua/measure.rb +2 -32
- data/lib/measures/zedgk_12_insert_ground_domain_e_kusdua/measure.xml +9 -3
- data/lib/measures/zedgk_12_interior_lighting/LICENSE.md +1 -1
- data/lib/measures/zedgk_12_interior_lighting/measure.rb +2 -32
- data/lib/measures/zedgk_12_interior_lighting/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/zedgk_12_kitchen/LICENSE.md +1 -1
- data/lib/measures/zedgk_12_kitchen/measure.rb +2 -32
- data/lib/measures/zedgk_12_kitchen/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/zedgk_12_roof_construction/LICENSE.md +1 -1
- data/lib/measures/zedgk_12_roof_construction/measure.rb +2 -32
- data/lib/measures/zedgk_12_roof_construction/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/measures/zedgk_12_swh/LICENSE.md +1 -1
- data/lib/measures/zedgk_12_swh/measure.rb +2 -32
- data/lib/measures/zedgk_12_swh/resources/OsLib_AedgMeasures.rb +2 -32
- data/lib/openstudio/aedg_measures/extension.rb +2 -32
- data/lib/openstudio/aedg_measures/version.rb +3 -33
- data/lib/openstudio/aedg_measures.rb +2 -32
- data/lib/openstudio-aedg-measures.rb +2 -32
- data/openstudio-aedg.gemspec +3 -2
- metadata +14 -12
- /data/lib/measures/zedgk_12_hvac_vrf_with_doas/resources/{VRF_AC.osc → VRF_AC_old.osc} +0 -0
- /data/lib/measures/zedgk_12_hvac_vrf_with_doas/resources/{VRF_Terminal.osc → VRF_Terminal_old.osc} +0 -0
@@ -1,36 +1,6 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c)
|
3
|
-
#
|
4
|
-
# Redistribution and use in source and binary forms, with or without
|
5
|
-
# modification, are permitted provided that the following conditions are met:
|
6
|
-
#
|
7
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
8
|
-
# this list of conditions and the following disclaimer.
|
9
|
-
#
|
10
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
11
|
-
# this list of conditions and the following disclaimer in the documentation
|
12
|
-
# and/or other materials provided with the distribution.
|
13
|
-
#
|
14
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
15
|
-
# may be used to endorse or promote products derived from this software without
|
16
|
-
# specific prior written permission from the respective party.
|
17
|
-
#
|
18
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
19
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
20
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
21
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
22
|
-
#
|
23
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
24
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
25
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
26
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
27
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
28
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
29
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
30
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
31
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
32
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
33
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
3
|
+
# See also https://openstudio.net/license
|
34
4
|
# *******************************************************************************
|
35
5
|
|
36
6
|
module OsLib_HVAC_zedg_fan_coil
|
@@ -822,7 +792,7 @@ module OsLib_HVAC_zedg_fan_coil
|
|
822
792
|
# create air loop fan
|
823
793
|
if options['primaryHVAC']['fan'] == 'Variable'
|
824
794
|
# create variable speed fan and set system sizing accordingly
|
825
|
-
sizing_system.
|
795
|
+
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) # DCV
|
826
796
|
# variable speed fan
|
827
797
|
fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule)
|
828
798
|
fan.setFanEfficiency(0.6)
|
@@ -833,7 +803,7 @@ module OsLib_HVAC_zedg_fan_coil
|
|
833
803
|
fan.setMotorInAirstreamFraction(1.0)
|
834
804
|
air_loop_comps << fan
|
835
805
|
else
|
836
|
-
sizing_system.
|
806
|
+
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
|
837
807
|
# constant speed fan
|
838
808
|
fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule)
|
839
809
|
fan.setFanEfficiency(0.6)
|
@@ -1087,13 +1057,13 @@ module OsLib_HVAC_zedg_fan_coil
|
|
1087
1057
|
sizing_system.setTypeofLoadtoSizeOn('Sensible') # PSZ
|
1088
1058
|
sizing_system.setAllOutdoorAirinCooling(false) # PSZ
|
1089
1059
|
sizing_system.setAllOutdoorAirinHeating(false) # PSZ
|
1090
|
-
sizing_system.
|
1060
|
+
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # Constant volume fan
|
1091
1061
|
air_loop_comps = []
|
1092
1062
|
# set availability schedule (HVAC operation schedule)
|
1093
1063
|
airloop_secondary.setAvailabilitySchedule(options['hvac_schedule'])
|
1094
1064
|
if options['secondaryHVAC']['fan'] == 'Variable'
|
1095
1065
|
# create variable speed fan and set system sizing accordingly
|
1096
|
-
sizing_system.
|
1066
|
+
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) # DCV
|
1097
1067
|
# variable speed fan
|
1098
1068
|
fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule)
|
1099
1069
|
fan.setFanEfficiency(0.6)
|
@@ -1104,7 +1074,7 @@ module OsLib_HVAC_zedg_fan_coil
|
|
1104
1074
|
fan.setMotorInAirstreamFraction(1.0)
|
1105
1075
|
air_loop_comps << fan
|
1106
1076
|
else
|
1107
|
-
sizing_system.
|
1077
|
+
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
|
1108
1078
|
# constant speed fan
|
1109
1079
|
fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule)
|
1110
1080
|
fan.setFanEfficiency(0.6)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008-
|
1
|
+
OpenStudio(R), Copyright (c) 2008-2023, Alliance for Sustainable Energy, LLC. All rights reserved.
|
2
2
|
|
3
3
|
Redistribution and use in source and binary forms, with or without modification, are permitted
|
4
4
|
provided that the following conditions are met:
|
@@ -1,36 +1,6 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c)
|
3
|
-
#
|
4
|
-
# Redistribution and use in source and binary forms, with or without
|
5
|
-
# modification, are permitted provided that the following conditions are met:
|
6
|
-
#
|
7
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
8
|
-
# this list of conditions and the following disclaimer.
|
9
|
-
#
|
10
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
11
|
-
# this list of conditions and the following disclaimer in the documentation
|
12
|
-
# and/or other materials provided with the distribution.
|
13
|
-
#
|
14
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
15
|
-
# may be used to endorse or promote products derived from this software without
|
16
|
-
# specific prior written permission from the respective party.
|
17
|
-
#
|
18
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
19
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
20
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
21
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
22
|
-
#
|
23
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
24
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
25
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
26
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
27
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
28
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
29
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
30
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
31
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
32
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
33
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
3
|
+
# See also https://openstudio.net/license
|
34
4
|
# *******************************************************************************
|
35
5
|
|
36
6
|
# see the URL below for information on how to write OpenStudio measures
|
data/lib/measures/zedgk_12_hvac_fan_coil_doas_air_cooled_chiller/resources/OsLib_AedgMeasures.rb
CHANGED
@@ -1,36 +1,6 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c)
|
3
|
-
#
|
4
|
-
# Redistribution and use in source and binary forms, with or without
|
5
|
-
# modification, are permitted provided that the following conditions are met:
|
6
|
-
#
|
7
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
8
|
-
# this list of conditions and the following disclaimer.
|
9
|
-
#
|
10
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
11
|
-
# this list of conditions and the following disclaimer in the documentation
|
12
|
-
# and/or other materials provided with the distribution.
|
13
|
-
#
|
14
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
15
|
-
# may be used to endorse or promote products derived from this software without
|
16
|
-
# specific prior written permission from the respective party.
|
17
|
-
#
|
18
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
19
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
20
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
21
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
22
|
-
#
|
23
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
24
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
25
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
26
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
27
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
28
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
29
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
30
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
31
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
32
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
33
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
3
|
+
# See also https://openstudio.net/license
|
34
4
|
# *******************************************************************************
|
35
5
|
|
36
6
|
module OsLib_AedgMeasures
|
@@ -1,36 +1,6 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c)
|
3
|
-
#
|
4
|
-
# Redistribution and use in source and binary forms, with or without
|
5
|
-
# modification, are permitted provided that the following conditions are met:
|
6
|
-
#
|
7
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
8
|
-
# this list of conditions and the following disclaimer.
|
9
|
-
#
|
10
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
11
|
-
# this list of conditions and the following disclaimer in the documentation
|
12
|
-
# and/or other materials provided with the distribution.
|
13
|
-
#
|
14
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
15
|
-
# may be used to endorse or promote products derived from this software without
|
16
|
-
# specific prior written permission from the respective party.
|
17
|
-
#
|
18
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
19
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
20
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
21
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
22
|
-
#
|
23
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
24
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
25
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
26
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
27
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
28
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
29
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
30
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
31
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
32
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
33
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
3
|
+
# See also https://openstudio.net/license
|
34
4
|
# *******************************************************************************
|
35
5
|
|
36
6
|
module OsLib_HVAC_zedg_fan_coil_air_cooled
|
@@ -822,7 +792,7 @@ module OsLib_HVAC_zedg_fan_coil_air_cooled
|
|
822
792
|
# create air loop fan
|
823
793
|
if options['primaryHVAC']['fan'] == 'Variable'
|
824
794
|
# create variable speed fan and set system sizing accordingly
|
825
|
-
sizing_system.
|
795
|
+
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) # DCV
|
826
796
|
# variable speed fan
|
827
797
|
fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule)
|
828
798
|
fan.setFanEfficiency(0.6)
|
@@ -833,7 +803,7 @@ module OsLib_HVAC_zedg_fan_coil_air_cooled
|
|
833
803
|
fan.setMotorInAirstreamFraction(1.0)
|
834
804
|
air_loop_comps << fan
|
835
805
|
else
|
836
|
-
sizing_system.
|
806
|
+
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
|
837
807
|
# constant speed fan
|
838
808
|
fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule)
|
839
809
|
fan.setFanEfficiency(0.6)
|
@@ -1087,13 +1057,13 @@ module OsLib_HVAC_zedg_fan_coil_air_cooled
|
|
1087
1057
|
sizing_system.setTypeofLoadtoSizeOn('Sensible') # PSZ
|
1088
1058
|
sizing_system.setAllOutdoorAirinCooling(false) # PSZ
|
1089
1059
|
sizing_system.setAllOutdoorAirinHeating(false) # PSZ
|
1090
|
-
sizing_system.
|
1060
|
+
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # Constant volume fan
|
1091
1061
|
air_loop_comps = []
|
1092
1062
|
# set availability schedule (HVAC operation schedule)
|
1093
1063
|
airloop_secondary.setAvailabilitySchedule(options['hvac_schedule'])
|
1094
1064
|
if options['secondaryHVAC']['fan'] == 'Variable'
|
1095
1065
|
# create variable speed fan and set system sizing accordingly
|
1096
|
-
sizing_system.
|
1066
|
+
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) # DCV
|
1097
1067
|
# variable speed fan
|
1098
1068
|
fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule)
|
1099
1069
|
fan.setFanEfficiency(0.6)
|
@@ -1104,7 +1074,7 @@ module OsLib_HVAC_zedg_fan_coil_air_cooled
|
|
1104
1074
|
fan.setMotorInAirstreamFraction(1.0)
|
1105
1075
|
air_loop_comps << fan
|
1106
1076
|
else
|
1107
|
-
sizing_system.
|
1077
|
+
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
|
1108
1078
|
# constant speed fan
|
1109
1079
|
fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule)
|
1110
1080
|
fan.setFanEfficiency(0.6)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008-
|
1
|
+
OpenStudio(R), Copyright (c) 2008-2023, Alliance for Sustainable Energy, LLC. All rights reserved.
|
2
2
|
|
3
3
|
Redistribution and use in source and binary forms, with or without modification, are permitted
|
4
4
|
provided that the following conditions are met:
|
@@ -1,38 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# *******************************************************************************
|
4
|
-
# OpenStudio(R), Copyright (c)
|
5
|
-
#
|
6
|
-
# Redistribution and use in source and binary forms, with or without
|
7
|
-
# modification, are permitted provided that the following conditions are met:
|
8
|
-
#
|
9
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
10
|
-
# this list of conditions and the following disclaimer.
|
11
|
-
#
|
12
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
13
|
-
# this list of conditions and the following disclaimer in the documentation
|
14
|
-
# and/or other materials provided with the distribution.
|
15
|
-
#
|
16
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
17
|
-
# may be used to endorse or promote products derived from this software without
|
18
|
-
# specific prior written permission from the respective party.
|
19
|
-
#
|
20
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
21
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
22
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
23
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
24
|
-
#
|
25
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
26
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
27
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
28
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
29
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
30
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
31
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
32
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
33
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
34
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
35
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
4
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
5
|
+
# See also https://openstudio.net/license
|
36
6
|
# *******************************************************************************
|
37
7
|
|
38
8
|
# see the URL below for information on how to write OpenStudio measures
|
@@ -1,38 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# *******************************************************************************
|
4
|
-
# OpenStudio(R), Copyright (c)
|
5
|
-
#
|
6
|
-
# Redistribution and use in source and binary forms, with or without
|
7
|
-
# modification, are permitted provided that the following conditions are met:
|
8
|
-
#
|
9
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
10
|
-
# this list of conditions and the following disclaimer.
|
11
|
-
#
|
12
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
13
|
-
# this list of conditions and the following disclaimer in the documentation
|
14
|
-
# and/or other materials provided with the distribution.
|
15
|
-
#
|
16
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
17
|
-
# may be used to endorse or promote products derived from this software without
|
18
|
-
# specific prior written permission from the respective party.
|
19
|
-
#
|
20
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
21
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
22
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
23
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
24
|
-
#
|
25
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
26
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
27
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
28
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
29
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
30
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
31
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
32
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
33
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
34
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
35
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
4
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
5
|
+
# See also https://openstudio.net/license
|
36
6
|
# *******************************************************************************
|
37
7
|
|
38
8
|
module OsLib_AedgMeasures
|
@@ -1,38 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# *******************************************************************************
|
4
|
-
# OpenStudio(R), Copyright (c)
|
5
|
-
#
|
6
|
-
# Redistribution and use in source and binary forms, with or without
|
7
|
-
# modification, are permitted provided that the following conditions are met:
|
8
|
-
#
|
9
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
10
|
-
# this list of conditions and the following disclaimer.
|
11
|
-
#
|
12
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
13
|
-
# this list of conditions and the following disclaimer in the documentation
|
14
|
-
# and/or other materials provided with the distribution.
|
15
|
-
#
|
16
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
17
|
-
# may be used to endorse or promote products derived from this software without
|
18
|
-
# specific prior written permission from the respective party.
|
19
|
-
#
|
20
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
21
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
22
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
23
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
24
|
-
#
|
25
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
26
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
27
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
28
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
29
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
30
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
31
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
32
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
33
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
34
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
35
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
4
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
5
|
+
# See also https://openstudio.net/license
|
36
6
|
# *******************************************************************************
|
37
7
|
|
38
8
|
module OsLib_HVAC_zedg_gshp
|
@@ -1090,7 +1060,7 @@ module OsLib_HVAC_zedg_gshp
|
|
1090
1060
|
demand_side_components << unitary_component_b
|
1091
1061
|
|
1092
1062
|
# TODO: - do I need to set system sizing?
|
1093
|
-
# sizing_system.
|
1063
|
+
# sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) #DCV
|
1094
1064
|
|
1095
1065
|
return demand_side_components
|
1096
1066
|
end
|
@@ -1159,7 +1129,7 @@ module OsLib_HVAC_zedg_gshp
|
|
1159
1129
|
# create air loop fan
|
1160
1130
|
if options['primaryHVAC']['fan'] == 'Variable'
|
1161
1131
|
# create variable speed fan and set system sizing accordingly
|
1162
|
-
sizing_system.
|
1132
|
+
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) # DCV
|
1163
1133
|
# variable speed fan
|
1164
1134
|
fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule)
|
1165
1135
|
fan.setFanEfficiency(0.69)
|
@@ -1170,7 +1140,7 @@ module OsLib_HVAC_zedg_gshp
|
|
1170
1140
|
fan.setMotorInAirstreamFraction(1.0)
|
1171
1141
|
air_loop_comps << fan
|
1172
1142
|
else
|
1173
|
-
sizing_system.
|
1143
|
+
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
|
1174
1144
|
# constant speed fan
|
1175
1145
|
fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule)
|
1176
1146
|
fan.setFanEfficiency(0.6)
|
@@ -1429,7 +1399,7 @@ module OsLib_HVAC_zedg_gshp
|
|
1429
1399
|
sizing_system.setTypeofLoadtoSizeOn('Sensible') # PSZ
|
1430
1400
|
sizing_system.setAllOutdoorAirinCooling(false) # PSZ
|
1431
1401
|
sizing_system.setAllOutdoorAirinHeating(false) # PSZ
|
1432
|
-
sizing_system.
|
1402
|
+
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # Constant volume fan
|
1433
1403
|
air_loop_comps = []
|
1434
1404
|
# set availability schedule (HVAC operation schedule)
|
1435
1405
|
airloop_secondary.setAvailabilitySchedule(options['hvac_schedule'])
|
@@ -1446,7 +1416,7 @@ module OsLib_HVAC_zedg_gshp
|
|
1446
1416
|
|
1447
1417
|
if options['secondaryHVAC']['fan'] == 'Variable'
|
1448
1418
|
# create variable speed fan and set system sizing accordingly
|
1449
|
-
sizing_system.
|
1419
|
+
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) # DCV
|
1450
1420
|
# variable speed fan
|
1451
1421
|
fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule)
|
1452
1422
|
fan.setFanEfficiency(0.69)
|
@@ -1457,7 +1427,7 @@ module OsLib_HVAC_zedg_gshp
|
|
1457
1427
|
fan.setMotorInAirstreamFraction(1.0)
|
1458
1428
|
air_loop_comps << fan
|
1459
1429
|
else
|
1460
|
-
sizing_system.
|
1430
|
+
sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
|
1461
1431
|
# constant speed fan
|
1462
1432
|
fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule)
|
1463
1433
|
fan.setFanEfficiency(0.6)
|
@@ -1,38 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# *******************************************************************************
|
4
|
-
# OpenStudio(R), Copyright (c)
|
5
|
-
#
|
6
|
-
# Redistribution and use in source and binary forms, with or without
|
7
|
-
# modification, are permitted provided that the following conditions are met:
|
8
|
-
#
|
9
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
10
|
-
# this list of conditions and the following disclaimer.
|
11
|
-
#
|
12
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
13
|
-
# this list of conditions and the following disclaimer in the documentation
|
14
|
-
# and/or other materials provided with the distribution.
|
15
|
-
#
|
16
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
17
|
-
# may be used to endorse or promote products derived from this software without
|
18
|
-
# specific prior written permission from the respective party.
|
19
|
-
#
|
20
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
21
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
22
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
23
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
24
|
-
#
|
25
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
26
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
27
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
28
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
29
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
30
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
31
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
32
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
33
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
34
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
35
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
4
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
5
|
+
# See also https://openstudio.net/license
|
36
6
|
# *******************************************************************************
|
37
7
|
|
38
8
|
module TableLib
|
@@ -1,4 +1,4 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008-
|
1
|
+
OpenStudio(R), Copyright (c) 2008-2023, Alliance for Sustainable Energy, LLC. All rights reserved.
|
2
2
|
|
3
3
|
Redistribution and use in source and binary forms, with or without modification, are permitted
|
4
4
|
provided that the following conditions are met:
|
@@ -1,38 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# *******************************************************************************
|
4
|
-
# OpenStudio(R), Copyright (c)
|
5
|
-
#
|
6
|
-
# Redistribution and use in source and binary forms, with or without
|
7
|
-
# modification, are permitted provided that the following conditions are met:
|
8
|
-
#
|
9
|
-
# (1) Redistributions of source code must retain the above copyright notice,
|
10
|
-
# this list of conditions and the following disclaimer.
|
11
|
-
#
|
12
|
-
# (2) Redistributions in binary form must reproduce the above copyright notice,
|
13
|
-
# this list of conditions and the following disclaimer in the documentation
|
14
|
-
# and/or other materials provided with the distribution.
|
15
|
-
#
|
16
|
-
# (3) Neither the name of the copyright holder nor the names of any contributors
|
17
|
-
# may be used to endorse or promote products derived from this software without
|
18
|
-
# specific prior written permission from the respective party.
|
19
|
-
#
|
20
|
-
# (4) Other than as required in clauses (1) and (2), distributions in any form
|
21
|
-
# of modifications or other derivative works may not use the "OpenStudio"
|
22
|
-
# trademark, "OS", "os", or any other confusingly similar designation without
|
23
|
-
# specific prior written permission from Alliance for Sustainable Energy, LLC.
|
24
|
-
#
|
25
|
-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS
|
26
|
-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
27
|
-
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
28
|
-
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE
|
29
|
-
# UNITED STATES GOVERNMENT, OR THE UNITED STATES DEPARTMENT OF ENERGY, NOR ANY OF
|
30
|
-
# THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
31
|
-
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
32
|
-
# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
33
|
-
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
34
|
-
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
35
|
-
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
4
|
+
# OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC.
|
5
|
+
# See also https://openstudio.net/license
|
36
6
|
# *******************************************************************************
|
37
7
|
|
38
8
|
# load OpenStudio measure libraries from openstudio-extension gem
|
@@ -295,10 +265,13 @@ class ZEDGVRFWithDOAS < OpenStudio::Measure::ModelMeasure
|
|
295
265
|
options['heat_pump_loop'] = heat_pump_loop
|
296
266
|
end
|
297
267
|
|
268
|
+
# string check for components used twice
|
269
|
+
string_check = 'v350.osc' # change to `old.osc` to test using 1.x source OSC files
|
270
|
+
|
298
271
|
# added in custom code to load components to be used by createVRFAirConditioners
|
299
272
|
files = Dir.entries("#{File.dirname(__FILE__)}/resources/")
|
300
273
|
files.each do |new_object|
|
301
|
-
next if !new_object.include?(
|
274
|
+
next if !new_object.include?(string_check)
|
302
275
|
|
303
276
|
# load the osc file
|
304
277
|
new_object_path = OpenStudio::Path.new("#{File.dirname(__FILE__)}/resources/#{new_object}")
|
@@ -409,7 +382,7 @@ class ZEDGVRFWithDOAS < OpenStudio::Measure::ModelMeasure
|
|
409
382
|
base_vrf_terminalUnit = nil
|
410
383
|
files = Dir.entries("#{File.dirname(__FILE__)}/resources/")
|
411
384
|
files.each do |new_object|
|
412
|
-
next if !new_object.include?(
|
385
|
+
next if !new_object.include?(string_check)
|
413
386
|
runner.registerInfo("Importing component from #{new_object}")
|
414
387
|
|
415
388
|
# load the osc file
|
@@ -470,12 +443,12 @@ class ZEDGVRFWithDOAS < OpenStudio::Measure::ModelMeasure
|
|
470
443
|
min_version_feature1 = OpenStudio::VersionString.new('2.3.1')
|
471
444
|
if os_version >= min_version_feature1
|
472
445
|
if base_vrf_terminalUnit.coolingCoil.is_initialized
|
473
|
-
vrf_clg_coil = base_vrf_terminalUnit.coolingCoil.get
|
446
|
+
vrf_clg_coil = base_vrf_terminalUnit.coolingCoil.get.to_CoilCoolingDXVariableRefrigerantFlow.get
|
474
447
|
else
|
475
448
|
runner.registerWarning("Didn't find expected cooling coil for #{base_vrf_terminalUnit.name}")
|
476
449
|
end
|
477
450
|
if base_vrf_terminalUnit.heatingCoil.is_initialized
|
478
|
-
vrf_htg_coil = base_vrf_terminalUnit.heatingCoil.get
|
451
|
+
vrf_htg_coil = base_vrf_terminalUnit.heatingCoil.get.to_CoilHeatingDXVariableRefrigerantFlow.get
|
479
452
|
else
|
480
453
|
runner.registerWarning("Didn't find expected heating coil for #{base_vrf_terminalUnit.name}")
|
481
454
|
end
|