openstudio-aedg 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a91478e18187ba9126f4958a05332efc855c1fba1d902d08187b20cf2467ed8
4
- data.tar.gz: b98140eac90b3c4a5f03da1f87214bea5811e4a87e96e008735ce3ea8d4dd628
3
+ metadata.gz: e52f7cec4aa618a49cd9fceb2ca693648e29768b9f912d227d9021a91776f32c
4
+ data.tar.gz: 4e1d8e1f97d5e5be0c7e6da36f35c6b2b0bf374e84594988b5afdc4a7f30fd5e
5
5
  SHA512:
6
- metadata.gz: 9d40d700df23f79831b27ea81e765e1e583e0a512e8f15c2fda7092597e16dad268a3db1cca36719bdd20a7a4cd27afdcb92672551a443c09454335158b52b1e
7
- data.tar.gz: a8949cf27c3e96e2d979d63e3f7874716c18090d75377fc0923cc1fdac57169c5e5671761c56e4eed69cccda8fb7c5fbd7683fdeaad9d5fb2870c67382791708
6
+ metadata.gz: 7ac7bfea2953254ca8b98ccc8704d7bff2fb4dd841afb8a68e4d858cbd06702c395f5240193e5232632550bef0b792468999d32a0a16305c149e3b44f240105b
7
+ data.tar.gz: 53226e7aff5702d75030d73f467ad6467435ecb42b744c0df60937dbe4516a8e6159e468d43708c6955f13efe2c7c5cd6df66e886c47dddccbefde2e5d01d8e2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # OpenStudio AEDG Gem
2
2
 
3
+ ## Version 0.7.0
4
+ * Support for OpenStudio 3.5 (upgrade to standards gem 0.3.0, extension gem 0.6.0)
5
+
3
6
  ## Version 0.6.0
4
7
  * Support for OpenStudio 3.4 (upgrade to standards gem 0.2.16, no extension gem upgrade)
5
8
 
data/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
- OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC. All rights reserved.
1
+ OpenStudio(R), Copyright (c) 2008-2022, 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:
data/README.md CHANGED
@@ -22,6 +22,7 @@ Or install it yourself as:
22
22
 
23
23
  |OpenStudio AEDG Gem|OpenStudio|Ruby|
24
24
  |:--------------:|:----------:|:--------:|
25
+ | 0.7.0 | 3.5 | 2.7 |
25
26
  | 0.6.0 | 3.4 | 2.7 |
26
27
  | 0.5.0 | 3.3 | 2.7 |
27
28
  | 0.4.0 | 3.2 | 2.7 |
@@ -822,7 +822,7 @@ module OsLib_HVAC_zedg_fan_coil
822
822
  # create air loop fan
823
823
  if options['primaryHVAC']['fan'] == 'Variable'
824
824
  # create variable speed fan and set system sizing accordingly
825
- sizing_system.setMinimumSystemAirFlowRatio(0.3) # DCV
825
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) # DCV
826
826
  # variable speed fan
827
827
  fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule)
828
828
  fan.setFanEfficiency(0.6)
@@ -833,7 +833,7 @@ module OsLib_HVAC_zedg_fan_coil
833
833
  fan.setMotorInAirstreamFraction(1.0)
834
834
  air_loop_comps << fan
835
835
  else
836
- sizing_system.setMinimumSystemAirFlowRatio(1.0) # No DCV
836
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
837
837
  # constant speed fan
838
838
  fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule)
839
839
  fan.setFanEfficiency(0.6)
@@ -1087,13 +1087,13 @@ module OsLib_HVAC_zedg_fan_coil
1087
1087
  sizing_system.setTypeofLoadtoSizeOn('Sensible') # PSZ
1088
1088
  sizing_system.setAllOutdoorAirinCooling(false) # PSZ
1089
1089
  sizing_system.setAllOutdoorAirinHeating(false) # PSZ
1090
- sizing_system.setMinimumSystemAirFlowRatio(1.0) # Constant volume fan
1090
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # Constant volume fan
1091
1091
  air_loop_comps = []
1092
1092
  # set availability schedule (HVAC operation schedule)
1093
1093
  airloop_secondary.setAvailabilitySchedule(options['hvac_schedule'])
1094
1094
  if options['secondaryHVAC']['fan'] == 'Variable'
1095
1095
  # create variable speed fan and set system sizing accordingly
1096
- sizing_system.setMinimumSystemAirFlowRatio(0.3) # DCV
1096
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) # DCV
1097
1097
  # variable speed fan
1098
1098
  fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule)
1099
1099
  fan.setFanEfficiency(0.6)
@@ -1104,7 +1104,7 @@ module OsLib_HVAC_zedg_fan_coil
1104
1104
  fan.setMotorInAirstreamFraction(1.0)
1105
1105
  air_loop_comps << fan
1106
1106
  else
1107
- sizing_system.setMinimumSystemAirFlowRatio(1.0) # No DCV
1107
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
1108
1108
  # constant speed fan
1109
1109
  fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule)
1110
1110
  fan.setFanEfficiency(0.6)
@@ -822,7 +822,7 @@ module OsLib_HVAC_zedg_fan_coil_air_cooled
822
822
  # create air loop fan
823
823
  if options['primaryHVAC']['fan'] == 'Variable'
824
824
  # create variable speed fan and set system sizing accordingly
825
- sizing_system.setMinimumSystemAirFlowRatio(0.3) # DCV
825
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) # DCV
826
826
  # variable speed fan
827
827
  fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule)
828
828
  fan.setFanEfficiency(0.6)
@@ -833,7 +833,7 @@ module OsLib_HVAC_zedg_fan_coil_air_cooled
833
833
  fan.setMotorInAirstreamFraction(1.0)
834
834
  air_loop_comps << fan
835
835
  else
836
- sizing_system.setMinimumSystemAirFlowRatio(1.0) # No DCV
836
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
837
837
  # constant speed fan
838
838
  fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule)
839
839
  fan.setFanEfficiency(0.6)
@@ -1087,13 +1087,13 @@ module OsLib_HVAC_zedg_fan_coil_air_cooled
1087
1087
  sizing_system.setTypeofLoadtoSizeOn('Sensible') # PSZ
1088
1088
  sizing_system.setAllOutdoorAirinCooling(false) # PSZ
1089
1089
  sizing_system.setAllOutdoorAirinHeating(false) # PSZ
1090
- sizing_system.setMinimumSystemAirFlowRatio(1.0) # Constant volume fan
1090
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # Constant volume fan
1091
1091
  air_loop_comps = []
1092
1092
  # set availability schedule (HVAC operation schedule)
1093
1093
  airloop_secondary.setAvailabilitySchedule(options['hvac_schedule'])
1094
1094
  if options['secondaryHVAC']['fan'] == 'Variable'
1095
1095
  # create variable speed fan and set system sizing accordingly
1096
- sizing_system.setMinimumSystemAirFlowRatio(0.3) # DCV
1096
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) # DCV
1097
1097
  # variable speed fan
1098
1098
  fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule)
1099
1099
  fan.setFanEfficiency(0.6)
@@ -1104,7 +1104,7 @@ module OsLib_HVAC_zedg_fan_coil_air_cooled
1104
1104
  fan.setMotorInAirstreamFraction(1.0)
1105
1105
  air_loop_comps << fan
1106
1106
  else
1107
- sizing_system.setMinimumSystemAirFlowRatio(1.0) # No DCV
1107
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
1108
1108
  # constant speed fan
1109
1109
  fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule)
1110
1110
  fan.setFanEfficiency(0.6)
@@ -1090,7 +1090,7 @@ module OsLib_HVAC_zedg_gshp
1090
1090
  demand_side_components << unitary_component_b
1091
1091
 
1092
1092
  # TODO: - do I need to set system sizing?
1093
- # sizing_system.setMinimumSystemAirFlowRatio(0.3) #DCV
1093
+ # sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) #DCV
1094
1094
 
1095
1095
  return demand_side_components
1096
1096
  end
@@ -1159,7 +1159,7 @@ module OsLib_HVAC_zedg_gshp
1159
1159
  # create air loop fan
1160
1160
  if options['primaryHVAC']['fan'] == 'Variable'
1161
1161
  # create variable speed fan and set system sizing accordingly
1162
- sizing_system.setMinimumSystemAirFlowRatio(0.3) # DCV
1162
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) # DCV
1163
1163
  # variable speed fan
1164
1164
  fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule)
1165
1165
  fan.setFanEfficiency(0.69)
@@ -1170,7 +1170,7 @@ module OsLib_HVAC_zedg_gshp
1170
1170
  fan.setMotorInAirstreamFraction(1.0)
1171
1171
  air_loop_comps << fan
1172
1172
  else
1173
- sizing_system.setMinimumSystemAirFlowRatio(1.0) # No DCV
1173
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
1174
1174
  # constant speed fan
1175
1175
  fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule)
1176
1176
  fan.setFanEfficiency(0.6)
@@ -1429,7 +1429,7 @@ module OsLib_HVAC_zedg_gshp
1429
1429
  sizing_system.setTypeofLoadtoSizeOn('Sensible') # PSZ
1430
1430
  sizing_system.setAllOutdoorAirinCooling(false) # PSZ
1431
1431
  sizing_system.setAllOutdoorAirinHeating(false) # PSZ
1432
- sizing_system.setMinimumSystemAirFlowRatio(1.0) # Constant volume fan
1432
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # Constant volume fan
1433
1433
  air_loop_comps = []
1434
1434
  # set availability schedule (HVAC operation schedule)
1435
1435
  airloop_secondary.setAvailabilitySchedule(options['hvac_schedule'])
@@ -1446,7 +1446,7 @@ module OsLib_HVAC_zedg_gshp
1446
1446
 
1447
1447
  if options['secondaryHVAC']['fan'] == 'Variable'
1448
1448
  # create variable speed fan and set system sizing accordingly
1449
- sizing_system.setMinimumSystemAirFlowRatio(0.3) # DCV
1449
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) # DCV
1450
1450
  # variable speed fan
1451
1451
  fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule)
1452
1452
  fan.setFanEfficiency(0.69)
@@ -1457,7 +1457,7 @@ module OsLib_HVAC_zedg_gshp
1457
1457
  fan.setMotorInAirstreamFraction(1.0)
1458
1458
  air_loop_comps << fan
1459
1459
  else
1460
- sizing_system.setMinimumSystemAirFlowRatio(1.0) # No DCV
1460
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
1461
1461
  # constant speed fan
1462
1462
  fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule)
1463
1463
  fan.setFanEfficiency(0.6)
@@ -2,7 +2,7 @@
2
2
 
3
3
  ###### (Automatically generated documentation)
4
4
 
5
- # ZEDG VRF with DOAS
5
+ #
6
6
 
7
7
  ## Description
8
8
 
@@ -19,30 +19,8 @@ ModelMeasure
19
19
  ## Arguments
20
20
 
21
21
 
22
- ### This space type should be part of a ceiling return air plenum.
23
-
24
- **Name:** ceilingReturnPlenumSpaceType,
25
- **Type:** Choice,
26
- **Units:** ,
27
- **Required:** false,
28
- **Model Dependent:** false
29
-
30
- ### Total Cost for HVAC System ($).
31
-
32
- **Name:** costTotalHVACSystem,
33
- **Type:** Double,
34
- **Units:** ,
35
- **Required:** true,
36
- **Model Dependent:** false
37
-
38
- ### Apply recommended availability and ventilation schedules for air handlers?
39
-
40
- **Name:** remake_schedules,
41
- **Type:** Boolean,
42
- **Units:** ,
43
- **Required:** true,
44
- **Model Dependent:** false
45
22
 
46
23
 
24
+ This measure does not have any user arguments
47
25
 
48
26
 
@@ -295,10 +295,13 @@ class ZEDGVRFWithDOAS < OpenStudio::Measure::ModelMeasure
295
295
  options['heat_pump_loop'] = heat_pump_loop
296
296
  end
297
297
 
298
+ # string check for components used twice
299
+ string_check = 'v350.osc' # change to `old.osc` to test using 1.x source OSC files
300
+
298
301
  # added in custom code to load components to be used by createVRFAirConditioners
299
302
  files = Dir.entries("#{File.dirname(__FILE__)}/resources/")
300
303
  files.each do |new_object|
301
- next if !new_object.include?('.osc')
304
+ next if !new_object.include?(string_check)
302
305
 
303
306
  # load the osc file
304
307
  new_object_path = OpenStudio::Path.new("#{File.dirname(__FILE__)}/resources/#{new_object}")
@@ -409,7 +412,7 @@ class ZEDGVRFWithDOAS < OpenStudio::Measure::ModelMeasure
409
412
  base_vrf_terminalUnit = nil
410
413
  files = Dir.entries("#{File.dirname(__FILE__)}/resources/")
411
414
  files.each do |new_object|
412
- next if !new_object.include?('.osc')
415
+ next if !new_object.include?(string_check)
413
416
  runner.registerInfo("Importing component from #{new_object}")
414
417
 
415
418
  # load the osc file
@@ -1,10 +1,11 @@
1
1
  <?xml version="1.0"?>
2
2
  <measure>
3
3
  <schema_version>3.0</schema_version>
4
+ <error>Unable to extract OpenStudio::Measure::OSMeasure object from /Users/dgoldwas/Documents/github/nrel/openstudio-aedg-gem/lib/measures/zedgk_12_hvac_vrf_with_doas/measure.rb. The script should contain a class that derives from OpenStudio::Measure::OSMeasure and should close with a line stating the class name followed by .new.registerWithApplication.</error>
4
5
  <name>zedgvrf_with_doas</name>
5
6
  <uid>633b8efc-7bcb-4aa0-8821-d0ee08f960db</uid>
6
- <version_id>9cb92f03-be3e-405b-a5ca-202fda032373</version_id>
7
- <version_modified>20210429T165034Z</version_modified>
7
+ <version_id>7428198c-0e3e-4932-811d-4fa40bf26884</version_id>
8
+ <version_modified>20221130T070053Z</version_modified>
8
9
  <xml_checksum>87BA8B1E</xml_checksum>
9
10
  <class_name>ZEDGVRFWithDOAS</class_name>
10
11
  <display_name>ZEDG VRF with DOAS</display_name>
@@ -15,22 +16,33 @@
15
16
  <argument>
16
17
  <name>ceilingReturnPlenumSpaceType</name>
17
18
  <display_name>This space type should be part of a ceiling return air plenum.</display_name>
19
+ <description></description>
18
20
  <type>Choice</type>
21
+ <units></units>
19
22
  <required>false</required>
20
23
  <model_dependent>false</model_dependent>
24
+ <default_value></default_value>
25
+ <min_value></min_value>
26
+ <max_value></max_value>
21
27
  </argument>
22
28
  <argument>
23
29
  <name>costTotalHVACSystem</name>
24
30
  <display_name>Total Cost for HVAC System ($).</display_name>
31
+ <description></description>
25
32
  <type>Double</type>
33
+ <units></units>
26
34
  <required>true</required>
27
35
  <model_dependent>false</model_dependent>
28
36
  <default_value>0</default_value>
37
+ <min_value></min_value>
38
+ <max_value></max_value>
29
39
  </argument>
30
40
  <argument>
31
41
  <name>remake_schedules</name>
32
42
  <display_name>Apply recommended availability and ventilation schedules for air handlers?</display_name>
43
+ <description></description>
33
44
  <type>Boolean</type>
45
+ <units></units>
34
46
  <required>true</required>
35
47
  <model_dependent>false</model_dependent>
36
48
  <default_value>true</default_value>
@@ -44,6 +56,8 @@
44
56
  <display_name>false</display_name>
45
57
  </choice>
46
58
  </choices>
59
+ <min_value></min_value>
60
+ <max_value></max_value>
47
61
  </argument>
48
62
  </arguments>
49
63
  <outputs />
@@ -76,30 +90,12 @@
76
90
  <usage_type>test</usage_type>
77
91
  <checksum>9D7EFAB2</checksum>
78
92
  </file>
79
- <file>
80
- <filename>VRF_AC.osc</filename>
81
- <filetype>osc</filetype>
82
- <usage_type>resource</usage_type>
83
- <checksum>B44F5D91</checksum>
84
- </file>
85
- <file>
86
- <filename>VRF_Terminal.osc</filename>
87
- <filetype>osc</filetype>
88
- <usage_type>resource</usage_type>
89
- <checksum>49418453</checksum>
90
- </file>
91
93
  <file>
92
94
  <filename>README.md.erb</filename>
93
95
  <filetype>erb</filetype>
94
96
  <usage_type>readmeerb</usage_type>
95
97
  <checksum>703C9964</checksum>
96
98
  </file>
97
- <file>
98
- <filename>README.md</filename>
99
- <filetype>md</filetype>
100
- <usage_type>readme</usage_type>
101
- <checksum>8F22CB1F</checksum>
102
- </file>
103
99
  <file>
104
100
  <filename>LICENSE.md</filename>
105
101
  <filetype>md</filetype>
@@ -121,13 +117,43 @@
121
117
  <filename>measure.rb</filename>
122
118
  <filetype>rb</filetype>
123
119
  <usage_type>script</usage_type>
124
- <checksum>A672A989</checksum>
120
+ <checksum>1DC4506F</checksum>
125
121
  </file>
126
122
  <file>
127
123
  <filename>OsLib_HVAC_zedg_vrf.rb</filename>
128
124
  <filetype>rb</filetype>
129
125
  <usage_type>resource</usage_type>
130
- <checksum>FFB4CB27</checksum>
126
+ <checksum>7B7AF853</checksum>
127
+ </file>
128
+ <file>
129
+ <filename>VRF_Terminal_old.osc</filename>
130
+ <filetype>osc</filetype>
131
+ <usage_type>resource</usage_type>
132
+ <checksum>49418453</checksum>
133
+ </file>
134
+ <file>
135
+ <filename>VRF_AC_old.osc</filename>
136
+ <filetype>osc</filetype>
137
+ <usage_type>resource</usage_type>
138
+ <checksum>B44F5D91</checksum>
139
+ </file>
140
+ <file>
141
+ <filename>VRF_Terminal_v350.osc</filename>
142
+ <filetype>osc</filetype>
143
+ <usage_type>resource</usage_type>
144
+ <checksum>DCAF494D</checksum>
145
+ </file>
146
+ <file>
147
+ <filename>VRF_AC_v350.osc</filename>
148
+ <filetype>osc</filetype>
149
+ <usage_type>resource</usage_type>
150
+ <checksum>EAE2D7D6</checksum>
151
+ </file>
152
+ <file>
153
+ <filename>README.md</filename>
154
+ <filetype>md</filetype>
155
+ <usage_type>readme</usage_type>
156
+ <checksum>0B68E96D</checksum>
131
157
  </file>
132
158
  </files>
133
159
  </measure>
@@ -862,7 +862,7 @@ module OsLib_HVAC_zedg_vrf
862
862
  # create air loop fan
863
863
  if options['primaryHVAC']['fan'] == 'Variable'
864
864
  # create variable speed fan and set system sizing accordingly
865
- sizing_system.setMinimumSystemAirFlowRatio(0.3) # DCV
865
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(0.3) # DCV
866
866
  # variable speed fan
867
867
  fan = OpenStudio::Model::FanVariableVolume.new(model, model.alwaysOnDiscreteSchedule)
868
868
  fan.setFanEfficiency(0.6)
@@ -873,7 +873,7 @@ module OsLib_HVAC_zedg_vrf
873
873
  fan.setMotorInAirstreamFraction(1.0)
874
874
  air_loop_comps << fan
875
875
  else
876
- sizing_system.setMinimumSystemAirFlowRatio(1.0) # No DCV
876
+ sizing_system.setCentralHeatingMaximumSystemAirFlowRatio(1.0) # No DCV
877
877
  # constant speed fan
878
878
  fan = OpenStudio::Model::FanConstantVolume.new(model, model.alwaysOnDiscreteSchedule)
879
879
  fan.setFanEfficiency(0.6)