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.
Files changed (183) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/LICENSE.md +7 -21
  4. data/README.md +2 -0
  5. data/doc_templates/LICENSE.md +7 -21
  6. data/doc_templates/copyright_erb.txt +2 -32
  7. data/doc_templates/copyright_js.txt +2 -2
  8. data/doc_templates/copyright_ruby.txt +3 -33
  9. data/lib/measures/AedgK12ElectricEquipment/LICENSE.md +1 -1
  10. data/lib/measures/AedgK12ElectricEquipment/measure.rb +2 -32
  11. data/lib/measures/AedgK12ElectricEquipment/resources/OsLib_AedgMeasures.rb +2 -32
  12. data/lib/measures/AedgK12ElectricEquipmentControls/LICENSE.md +1 -1
  13. data/lib/measures/AedgK12ElectricEquipmentControls/measure.rb +2 -32
  14. data/lib/measures/AedgK12ElectricEquipmentControls/resources/OsLib_AedgMeasures.rb +2 -32
  15. data/lib/measures/AedgK12EnvelopeAndEntryInfiltration/LICENSE.md +1 -1
  16. data/lib/measures/AedgK12EnvelopeAndEntryInfiltration/measure.rb +2 -32
  17. data/lib/measures/AedgK12EnvelopeAndEntryInfiltration/resources/OsLib_AedgMeasures.rb +2 -32
  18. data/lib/measures/AedgK12ExteriorDoorConstruction/LICENSE.md +1 -1
  19. data/lib/measures/AedgK12ExteriorDoorConstruction/measure.rb +2 -32
  20. data/lib/measures/AedgK12ExteriorDoorConstruction/resources/OsLib_AedgMeasures.rb +2 -32
  21. data/lib/measures/AedgK12ExteriorFloorConstruction/LICENSE.md +1 -1
  22. data/lib/measures/AedgK12ExteriorFloorConstruction/measure.rb +2 -32
  23. data/lib/measures/AedgK12ExteriorFloorConstruction/resources/OsLib_AedgMeasures.rb +2 -32
  24. data/lib/measures/AedgK12ExteriorLighting/LICENSE.md +1 -1
  25. data/lib/measures/AedgK12ExteriorLighting/measure.rb +2 -32
  26. data/lib/measures/AedgK12ExteriorLighting/resources/OsLib_AedgMeasures.rb +2 -32
  27. data/lib/measures/AedgK12ExteriorWallConstruction/LICENSE.md +1 -1
  28. data/lib/measures/AedgK12ExteriorWallConstruction/measure.rb +2 -32
  29. data/lib/measures/AedgK12ExteriorWallConstruction/resources/OsLib_AedgMeasures.rb +2 -32
  30. data/lib/measures/AedgK12FenestrationAndDaylightingControls/LICENSE.md +1 -1
  31. data/lib/measures/AedgK12FenestrationAndDaylightingControls/measure.rb +2 -32
  32. data/lib/measures/AedgK12FenestrationAndDaylightingControls/resources/OsLib_AedgMeasures.rb +2 -32
  33. data/lib/measures/AedgK12HvacDualDuctDoas/LICENSE.md +1 -1
  34. data/lib/measures/AedgK12HvacDualDuctDoas/measure.rb +2 -32
  35. data/lib/measures/AedgK12HvacDualDuctDoas/resources/OsLib_AedgMeasures.rb +2 -32
  36. data/lib/measures/AedgK12HvacFanCoilDoas/LICENSE.md +1 -1
  37. data/lib/measures/AedgK12HvacFanCoilDoas/measure.rb +2 -32
  38. data/lib/measures/AedgK12HvacFanCoilDoas/resources/OsLib_AedgMeasures.rb +2 -32
  39. data/lib/measures/AedgK12HvacGshpDoas/LICENSE.md +1 -1
  40. data/lib/measures/AedgK12HvacGshpDoas/measure.rb +2 -32
  41. data/lib/measures/AedgK12HvacGshpDoas/resources/OsLib_AedgMeasures.rb +2 -32
  42. data/lib/measures/AedgK12InteriorFinishes/LICENSE.md +1 -1
  43. data/lib/measures/AedgK12InteriorFinishes/measure.rb +2 -32
  44. data/lib/measures/AedgK12InteriorFinishes/resources/OsLib_AedgMeasures.rb +2 -32
  45. data/lib/measures/AedgK12InteriorLighting/LICENSE.md +1 -1
  46. data/lib/measures/AedgK12InteriorLighting/measure.rb +2 -32
  47. data/lib/measures/AedgK12InteriorLighting/resources/OsLib_AedgMeasures.rb +2 -32
  48. data/lib/measures/AedgK12InteriorLightingControls/LICENSE.md +1 -1
  49. data/lib/measures/AedgK12InteriorLightingControls/measure.rb +2 -32
  50. data/lib/measures/AedgK12InteriorLightingControls/resources/OsLib_AedgMeasures.rb +2 -32
  51. data/lib/measures/AedgK12Kitchen/LICENSE.md +1 -1
  52. data/lib/measures/AedgK12Kitchen/measure.rb +2 -32
  53. data/lib/measures/AedgK12Kitchen/resources/OsLib_AedgMeasures.rb +2 -32
  54. data/lib/measures/AedgK12RoofConstruction/LICENSE.md +1 -1
  55. data/lib/measures/AedgK12RoofConstruction/measure.rb +2 -32
  56. data/lib/measures/AedgK12RoofConstruction/resources/OsLib_AedgMeasures.rb +2 -32
  57. data/lib/measures/AedgK12SlabAndBasement/LICENSE.md +1 -1
  58. data/lib/measures/AedgK12SlabAndBasement/measure.rb +2 -32
  59. data/lib/measures/AedgK12SlabAndBasement/resources/OsLib_AedgMeasures.rb +2 -32
  60. data/lib/measures/AedgK12SlabAndBasement/resources/OsLib_EnergyPlusMethods.rb +2 -32
  61. data/lib/measures/AedgK12SlabAndBasement/resources/os_lib_helper_methods.rb +2 -32
  62. data/lib/measures/AedgK12Swh/LICENSE.md +1 -1
  63. data/lib/measures/AedgK12Swh/measure.rb +2 -32
  64. data/lib/measures/AedgK12Swh/resources/OsLib_AedgMeasures.rb +2 -32
  65. data/lib/measures/AedgOfficeHvacAshpDoas/LICENSE.md +1 -1
  66. data/lib/measures/AedgOfficeHvacAshpDoas/measure.rb +2 -32
  67. data/lib/measures/AedgOfficeHvacAshpDoas/resources/OsLib_AedgMeasures.rb +2 -32
  68. data/lib/measures/AedgOfficeHvacFanCoilDoas/LICENSE.md +1 -1
  69. data/lib/measures/AedgOfficeHvacFanCoilDoas/measure.rb +2 -32
  70. data/lib/measures/AedgOfficeHvacFanCoilDoas/resources/OsLib_AedgMeasures.rb +2 -32
  71. data/lib/measures/AedgOfficeHvacRadiantDoas/LICENSE.md +1 -1
  72. data/lib/measures/AedgOfficeHvacRadiantDoas/measure.rb +2 -32
  73. data/lib/measures/AedgOfficeHvacRadiantDoas/resources/OsLib_AedgMeasures.rb +2 -32
  74. data/lib/measures/AedgOfficeHvacVavChW/LICENSE.md +1 -1
  75. data/lib/measures/AedgOfficeHvacVavChW/measure.rb +2 -32
  76. data/lib/measures/AedgOfficeHvacVavChW/resources/OsLib_AedgMeasures.rb +2 -32
  77. data/lib/measures/AedgOfficeHvacVavDx/LICENSE.md +1 -1
  78. data/lib/measures/AedgOfficeHvacVavDx/measure.rb +2 -32
  79. data/lib/measures/AedgOfficeHvacVavDx/resources/OsLib_AedgMeasures.rb +2 -32
  80. data/lib/measures/AedgOfficeHvacWshpDoas/LICENSE.md +1 -1
  81. data/lib/measures/AedgOfficeHvacWshpDoas/measure.rb +2 -32
  82. data/lib/measures/AedgOfficeHvacWshpDoas/resources/OsLib_AedgMeasures.rb +2 -32
  83. data/lib/measures/AedgOfficeSwh/LICENSE.md +1 -1
  84. data/lib/measures/AedgOfficeSwh/measure.rb +2 -32
  85. data/lib/measures/AedgOfficeSwh/resources/OsLib_AedgMeasures.rb +2 -32
  86. data/lib/measures/AedgSmallToMediumOfficeElectricEquipment/LICENSE.md +1 -1
  87. data/lib/measures/AedgSmallToMediumOfficeElectricEquipment/measure.rb +2 -32
  88. data/lib/measures/AedgSmallToMediumOfficeElectricEquipment/resources/OsLib_AedgMeasures.rb +2 -32
  89. data/lib/measures/AedgSmallToMediumOfficeElectricEquipmentControls/LICENSE.md +1 -1
  90. data/lib/measures/AedgSmallToMediumOfficeElectricEquipmentControls/measure.rb +2 -32
  91. data/lib/measures/AedgSmallToMediumOfficeElectricEquipmentControls/resources/OsLib_AedgMeasures.rb +2 -32
  92. data/lib/measures/AedgSmallToMediumOfficeEnvelopeAndEntryInfiltration/LICENSE.md +1 -1
  93. data/lib/measures/AedgSmallToMediumOfficeEnvelopeAndEntryInfiltration/measure.rb +2 -32
  94. data/lib/measures/AedgSmallToMediumOfficeEnvelopeAndEntryInfiltration/resources/OsLib_AedgMeasures.rb +2 -32
  95. data/lib/measures/AedgSmallToMediumOfficeExteriorDoorConstruction/LICENSE.md +1 -1
  96. data/lib/measures/AedgSmallToMediumOfficeExteriorDoorConstruction/measure.rb +2 -32
  97. data/lib/measures/AedgSmallToMediumOfficeExteriorDoorConstruction/resources/OsLib_AedgMeasures.rb +2 -32
  98. data/lib/measures/AedgSmallToMediumOfficeExteriorFloorConstruction/LICENSE.md +1 -1
  99. data/lib/measures/AedgSmallToMediumOfficeExteriorFloorConstruction/measure.rb +2 -32
  100. data/lib/measures/AedgSmallToMediumOfficeExteriorFloorConstruction/resources/OsLib_AedgMeasures.rb +2 -32
  101. data/lib/measures/AedgSmallToMediumOfficeExteriorLighting/LICENSE.md +1 -1
  102. data/lib/measures/AedgSmallToMediumOfficeExteriorLighting/measure.rb +2 -32
  103. data/lib/measures/AedgSmallToMediumOfficeExteriorLighting/resources/OsLib_AedgMeasures.rb +2 -32
  104. data/lib/measures/AedgSmallToMediumOfficeExteriorWallConstruction/LICENSE.md +1 -1
  105. data/lib/measures/AedgSmallToMediumOfficeExteriorWallConstruction/measure.rb +2 -32
  106. data/lib/measures/AedgSmallToMediumOfficeExteriorWallConstruction/resources/OsLib_AedgMeasures.rb +2 -32
  107. data/lib/measures/AedgSmallToMediumOfficeFenestrationAndDaylightingControls/LICENSE.md +1 -1
  108. data/lib/measures/AedgSmallToMediumOfficeFenestrationAndDaylightingControls/measure.rb +2 -32
  109. data/lib/measures/AedgSmallToMediumOfficeFenestrationAndDaylightingControls/resources/OsLib_AedgMeasures.rb +2 -32
  110. data/lib/measures/AedgSmallToMediumOfficeInteriorFinishes/LICENSE.md +1 -1
  111. data/lib/measures/AedgSmallToMediumOfficeInteriorFinishes/measure.rb +2 -32
  112. data/lib/measures/AedgSmallToMediumOfficeInteriorFinishes/resources/OsLib_AedgMeasures.rb +2 -32
  113. data/lib/measures/AedgSmallToMediumOfficeInteriorLighting/LICENSE.md +1 -1
  114. data/lib/measures/AedgSmallToMediumOfficeInteriorLighting/measure.rb +2 -32
  115. data/lib/measures/AedgSmallToMediumOfficeInteriorLighting/resources/OsLib_AedgMeasures.rb +2 -32
  116. data/lib/measures/AedgSmallToMediumOfficeInteriorLightingControls/LICENSE.md +1 -1
  117. data/lib/measures/AedgSmallToMediumOfficeInteriorLightingControls/measure.rb +2 -32
  118. data/lib/measures/AedgSmallToMediumOfficeInteriorLightingControls/resources/OsLib_AedgMeasures.rb +2 -32
  119. data/lib/measures/AedgSmallToMediumOfficeRoofConstruction/LICENSE.md +1 -1
  120. data/lib/measures/AedgSmallToMediumOfficeRoofConstruction/measure.rb +2 -32
  121. data/lib/measures/AedgSmallToMediumOfficeRoofConstruction/resources/OsLib_AedgMeasures.rb +2 -32
  122. data/lib/measures/AedgSmallToMediumOfficeSlabAndBasement/LICENSE.md +1 -1
  123. data/lib/measures/AedgSmallToMediumOfficeSlabAndBasement/measure.rb +2 -32
  124. data/lib/measures/AedgSmallToMediumOfficeSlabAndBasement/resources/OsLib_AedgMeasures.rb +2 -32
  125. data/lib/measures/AedgSmallToMediumOfficeSlabAndBasement/resources/OsLib_EnergyPlusMethods.rb +2 -32
  126. data/lib/measures/AedgSmallToMediumOfficeSlabAndBasement/resources/os_lib_helper_methods.rb +2 -32
  127. data/lib/measures/zedgk_12_electric_equipment/LICENSE.md +1 -1
  128. data/lib/measures/zedgk_12_electric_equipment/measure.rb +2 -32
  129. data/lib/measures/zedgk_12_electric_equipment/resources/OsLib_AedgMeasures.rb +2 -32
  130. data/lib/measures/zedgk_12_envelope_infiltration/LICENSE.md +1 -1
  131. data/lib/measures/zedgk_12_envelope_infiltration/measure.rb +2 -32
  132. data/lib/measures/zedgk_12_envelope_infiltration/resources/OsLib_AedgMeasures.rb +2 -32
  133. data/lib/measures/zedgk_12_exterior_door_construction/LICENSE.md +1 -1
  134. data/lib/measures/zedgk_12_exterior_door_construction/measure.rb +2 -32
  135. data/lib/measures/zedgk_12_exterior_door_construction/resources/OsLib_AedgMeasures.rb +2 -32
  136. data/lib/measures/zedgk_12_exterior_wall_construction/LICENSE.md +1 -1
  137. data/lib/measures/zedgk_12_exterior_wall_construction/measure.rb +2 -32
  138. data/lib/measures/zedgk_12_exterior_wall_construction/resources/OsLib_AedgMeasures.rb +2 -32
  139. data/lib/measures/zedgk_12_fenestration_and_daylighting_controls/LICENSE.md +1 -1
  140. data/lib/measures/zedgk_12_fenestration_and_daylighting_controls/measure.rb +2 -32
  141. data/lib/measures/zedgk_12_fenestration_and_daylighting_controls/resources/OsLib_AedgMeasures.rb +2 -32
  142. data/lib/measures/zedgk_12_hvac_fan_coil_doas/LICENSE.md +1 -1
  143. data/lib/measures/zedgk_12_hvac_fan_coil_doas/measure.rb +2 -32
  144. data/lib/measures/zedgk_12_hvac_fan_coil_doas/resources/OsLib_AedgMeasures.rb +2 -32
  145. data/lib/measures/zedgk_12_hvac_fan_coil_doas/resources/OsLib_HVAC_zedg_fan_coil.rb +7 -37
  146. data/lib/measures/zedgk_12_hvac_fan_coil_doas_air_cooled_chiller/LICENSE.md +1 -1
  147. data/lib/measures/zedgk_12_hvac_fan_coil_doas_air_cooled_chiller/measure.rb +2 -32
  148. data/lib/measures/zedgk_12_hvac_fan_coil_doas_air_cooled_chiller/resources/OsLib_AedgMeasures.rb +2 -32
  149. data/lib/measures/zedgk_12_hvac_fan_coil_doas_air_cooled_chiller/resources/OsLib_HVAC_zedg_fan_coil_air_cooled.rb +7 -37
  150. data/lib/measures/zedgk_12_hvac_gshp_doas/LICENSE.md +1 -1
  151. data/lib/measures/zedgk_12_hvac_gshp_doas/measure.rb +2 -32
  152. data/lib/measures/zedgk_12_hvac_gshp_doas/resources/OsLib_AedgMeasures.rb +2 -32
  153. data/lib/measures/zedgk_12_hvac_gshp_doas/resources/OsLib_HVAC_zedg_gshp.rb +8 -38
  154. data/lib/measures/zedgk_12_hvac_gshp_doas/resources/TableLib.rb +2 -32
  155. data/lib/measures/zedgk_12_hvac_vrf_with_doas/LICENSE.md +1 -1
  156. data/lib/measures/zedgk_12_hvac_vrf_with_doas/measure.rb +9 -36
  157. data/lib/measures/zedgk_12_hvac_vrf_with_doas/measure.xml +53 -41
  158. data/lib/measures/zedgk_12_hvac_vrf_with_doas/resources/OsLib_HVAC_zedg_vrf.rb +6 -36
  159. data/lib/measures/zedgk_12_hvac_vrf_with_doas/resources/VRF_AC_v350.osc +1289 -0
  160. data/lib/measures/zedgk_12_hvac_vrf_with_doas/resources/VRF_Terminal_v350.osc +521 -0
  161. data/lib/measures/zedgk_12_insert_ground_domain_e_kusdua/LICENSE.md +1 -1
  162. data/lib/measures/zedgk_12_insert_ground_domain_e_kusdua/measure.rb +2 -32
  163. data/lib/measures/zedgk_12_insert_ground_domain_e_kusdua/measure.xml +9 -3
  164. data/lib/measures/zedgk_12_interior_lighting/LICENSE.md +1 -1
  165. data/lib/measures/zedgk_12_interior_lighting/measure.rb +2 -32
  166. data/lib/measures/zedgk_12_interior_lighting/resources/OsLib_AedgMeasures.rb +2 -32
  167. data/lib/measures/zedgk_12_kitchen/LICENSE.md +1 -1
  168. data/lib/measures/zedgk_12_kitchen/measure.rb +2 -32
  169. data/lib/measures/zedgk_12_kitchen/resources/OsLib_AedgMeasures.rb +2 -32
  170. data/lib/measures/zedgk_12_roof_construction/LICENSE.md +1 -1
  171. data/lib/measures/zedgk_12_roof_construction/measure.rb +2 -32
  172. data/lib/measures/zedgk_12_roof_construction/resources/OsLib_AedgMeasures.rb +2 -32
  173. data/lib/measures/zedgk_12_swh/LICENSE.md +1 -1
  174. data/lib/measures/zedgk_12_swh/measure.rb +2 -32
  175. data/lib/measures/zedgk_12_swh/resources/OsLib_AedgMeasures.rb +2 -32
  176. data/lib/openstudio/aedg_measures/extension.rb +2 -32
  177. data/lib/openstudio/aedg_measures/version.rb +3 -33
  178. data/lib/openstudio/aedg_measures.rb +2 -32
  179. data/lib/openstudio-aedg-measures.rb +2 -32
  180. data/openstudio-aedg.gemspec +3 -2
  181. metadata +14 -12
  182. /data/lib/measures/zedgk_12_hvac_vrf_with_doas/resources/{VRF_AC.osc → VRF_AC_old.osc} +0 -0
  183. /data/lib/measures/zedgk_12_hvac_vrf_with_doas/resources/{VRF_Terminal.osc → VRF_Terminal_old.osc} +0 -0
@@ -1,10 +1,10 @@
1
1
  <?xml version="1.0"?>
2
2
  <measure>
3
- <schema_version>3.0</schema_version>
3
+ <schema_version>3.1</schema_version>
4
4
  <name>zedgvrf_with_doas</name>
5
5
  <uid>633b8efc-7bcb-4aa0-8821-d0ee08f960db</uid>
6
- <version_id>9cb92f03-be3e-405b-a5ca-202fda032373</version_id>
7
- <version_modified>20210429T165034Z</version_modified>
6
+ <version_id>c429af2d-05e5-4dbd-ae64-8f1f52df699e</version_id>
7
+ <version_modified>2023-11-30T21:21:39Z</version_modified>
8
8
  <xml_checksum>87BA8B1E</xml_checksum>
9
9
  <class_name>ZEDGVRFWithDOAS</class_name>
10
10
  <display_name>ZEDG VRF with DOAS</display_name>
@@ -65,46 +65,69 @@
65
65
  </attributes>
66
66
  <files>
67
67
  <file>
68
- <filename>AEDG_HVAC_GenericTestModel_0225_a.osm</filename>
69
- <filetype>osm</filetype>
70
- <usage_type>test</usage_type>
71
- <checksum>ED45BF2B</checksum>
68
+ <filename>LICENSE.md</filename>
69
+ <filetype>md</filetype>
70
+ <usage_type>license</usage_type>
71
+ <checksum>A21A3ED2</checksum>
72
72
  </file>
73
73
  <file>
74
- <filename>test.osm</filename>
75
- <filetype>osm</filetype>
76
- <usage_type>test</usage_type>
77
- <checksum>9D7EFAB2</checksum>
74
+ <filename>README.md</filename>
75
+ <filetype>md</filetype>
76
+ <usage_type>readme</usage_type>
77
+ <checksum>8F22CB1F</checksum>
78
78
  </file>
79
79
  <file>
80
- <filename>VRF_AC.osc</filename>
80
+ <filename>README.md.erb</filename>
81
+ <filetype>erb</filetype>
82
+ <usage_type>readmeerb</usage_type>
83
+ <checksum>703C9964</checksum>
84
+ </file>
85
+ <file>
86
+ <version>
87
+ <software_program>OpenStudio</software_program>
88
+ <identifier>2.0.0</identifier>
89
+ <min_compatible>3.6.1</min_compatible>
90
+ </version>
91
+ <filename>measure.rb</filename>
92
+ <filetype>rb</filetype>
93
+ <usage_type>script</usage_type>
94
+ <checksum>136DBD83</checksum>
95
+ </file>
96
+ <file>
97
+ <filename>OsLib_HVAC_zedg_vrf.rb</filename>
98
+ <filetype>rb</filetype>
99
+ <usage_type>resource</usage_type>
100
+ <checksum>A90A4F16</checksum>
101
+ </file>
102
+ <file>
103
+ <filename>VRF_AC_old.osc</filename>
81
104
  <filetype>osc</filetype>
82
105
  <usage_type>resource</usage_type>
83
106
  <checksum>B44F5D91</checksum>
84
107
  </file>
85
108
  <file>
86
- <filename>VRF_Terminal.osc</filename>
109
+ <filename>VRF_AC_v350.osc</filename>
87
110
  <filetype>osc</filetype>
88
111
  <usage_type>resource</usage_type>
89
- <checksum>49418453</checksum>
112
+ <checksum>EAE2D7D6</checksum>
90
113
  </file>
91
114
  <file>
92
- <filename>README.md.erb</filename>
93
- <filetype>erb</filetype>
94
- <usage_type>readmeerb</usage_type>
95
- <checksum>703C9964</checksum>
115
+ <filename>VRF_Terminal_old.osc</filename>
116
+ <filetype>osc</filetype>
117
+ <usage_type>resource</usage_type>
118
+ <checksum>49418453</checksum>
96
119
  </file>
97
120
  <file>
98
- <filename>README.md</filename>
99
- <filetype>md</filetype>
100
- <usage_type>readme</usage_type>
101
- <checksum>8F22CB1F</checksum>
121
+ <filename>VRF_Terminal_v350.osc</filename>
122
+ <filetype>osc</filetype>
123
+ <usage_type>resource</usage_type>
124
+ <checksum>DCAF494D</checksum>
102
125
  </file>
103
126
  <file>
104
- <filename>LICENSE.md</filename>
105
- <filetype>md</filetype>
106
- <usage_type>license</usage_type>
107
- <checksum>A21A3ED2</checksum>
127
+ <filename>AEDG_HVAC_GenericTestModel_0225_a.osm</filename>
128
+ <filetype>osm</filetype>
129
+ <usage_type>test</usage_type>
130
+ <checksum>ED45BF2B</checksum>
108
131
  </file>
109
132
  <file>
110
133
  <filename>measure_Test.rb</filename>
@@ -113,21 +136,10 @@
113
136
  <checksum>C921A002</checksum>
114
137
  </file>
115
138
  <file>
116
- <version>
117
- <software_program>OpenStudio</software_program>
118
- <identifier>2.0.0</identifier>
119
- <min_compatible>2.8.0</min_compatible>
120
- </version>
121
- <filename>measure.rb</filename>
122
- <filetype>rb</filetype>
123
- <usage_type>script</usage_type>
124
- <checksum>A672A989</checksum>
125
- </file>
126
- <file>
127
- <filename>OsLib_HVAC_zedg_vrf.rb</filename>
128
- <filetype>rb</filetype>
129
- <usage_type>resource</usage_type>
130
- <checksum>FFB4CB27</checksum>
139
+ <filename>test.osm</filename>
140
+ <filetype>osm</filetype>
141
+ <usage_type>test</usage_type>
142
+ <checksum>9D7EFAB2</checksum>
131
143
  </file>
132
144
  </files>
133
145
  </measure>
@@ -1,38 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # *******************************************************************************
4
- # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
5
- # All rights reserved.
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_vrf
@@ -862,7 +832,7 @@ module OsLib_HVAC_zedg_vrf
862
832
  # create air loop fan
863
833
  if options['primaryHVAC']['fan'] == 'Variable'
864
834
  # create variable speed fan and set system sizing accordingly
865
- sizing_system.setMinimumSystemAirFlowRatio(0.3) # DCV
835
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) # DCV
866
836
  # variable speed fan
867
837
  fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule)
868
838
  fan.setFanEfficiency(0.6)
@@ -873,7 +843,7 @@ module OsLib_HVAC_zedg_vrf
873
843
  fan.setMotorInAirstreamFraction(1.0)
874
844
  air_loop_comps << fan
875
845
  else
876
- sizing_system.setMinimumSystemAirFlowRatio(1.0) # No DCV
846
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
877
847
  # constant speed fan
878
848
  fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule)
879
849
  fan.setFanEfficiency(0.6)
@@ -1245,12 +1215,12 @@ end
1245
1215
  min_version_feature1 = OpenStudio::VersionString.new('2.3.1')
1246
1216
  if os_version >= min_version_feature1
1247
1217
  if base_vrf_terminalUnit.coolingCoil.is_initialized
1248
- vrf_clg_coil = base_vrf_terminalUnit.coolingCoil.get
1218
+ vrf_clg_coil = base_vrf_terminalUnit.coolingCoil.get.to_CoilCoolingDXVariableRefrigerantFlow.get
1249
1219
  else
1250
1220
  runner.registerWarning("Didn't find expected cooling coil for #{base_vrf_terminalUnit.name}")
1251
1221
  end
1252
1222
  if base_vrf_terminalUnit.heatingCoil.is_initialized
1253
- vrf_htg_coil = base_vrf_terminalUnit.heatingCoil.get
1223
+ vrf_htg_coil = base_vrf_terminalUnit.heatingCoil.get.to_CoilHeatingDXVariableRefrigerantFlow.get
1254
1224
  else
1255
1225
  runner.registerWarning("Didn't find expected heating coil for #{base_vrf_terminalUnit.name}")
1256
1226
  end