openstudio-load-flexibility-measures 0.5.1 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile +7 -0
- data/README.md +2 -0
- data/lib/measures/add_central_ice_storage/measure.rb +2 -2
- data/lib/measures/add_central_ice_storage/measure.xml +3 -3
- data/lib/measures/add_packaged_ice_storage/measure.rb +7 -5
- data/lib/measures/add_packaged_ice_storage/measure.xml +22 -10
- data/lib/measures/add_packaged_ice_storage/tests/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.epw +8768 -0
- data/lib/measures/add_packaged_ice_storage/tests/add_packaged_ice_storage_test.rb +158 -3
- data/lib/measures/add_packaged_ice_storage/tests/single_speed_dx_350.osm +4316 -0
- data/lib/openstudio/load_flexibility_measures/version.rb +1 -1
- data/openstudio-load-flexibility-measures.gemspec +3 -2
- metadata +11 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c86f876d5017b550bbbf598751f500ff57a1c7b6d0304b329bf6eab2846f60a1
|
4
|
+
data.tar.gz: 2c666929a604908cf25dcccb22c09851de83e59143d7496811dc820f19897f4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a0266f0b7cb39297eb07001be1095158dcaaf262134676570422b8c9ebabfa7335422d50d96c9020325551732b084da12a3daa4ca6ade17379e0cd7679b547a
|
7
|
+
data.tar.gz: 9c39b80b87829f7ed3d9fc50baf8634adae5d1a6e5a80a229b2396bb7c7c2e1e7cef5f019503f3d126975986bb96aa872c8d7c1abae6fa2307a98bee80725817
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# OpenStudio Load Flexibility Measures Gem
|
2
2
|
|
3
|
+
## Version 0.6.1
|
4
|
+
- Fixing E+ run using Coil:Cooling:DX:SingleSpeed:ThermalStorage in Packaged Ice Storage Measure [#52](https://github.com/NREL/openstudio-load-flexibility-measures-gem/issues/52)
|
5
|
+
|
6
|
+
## Version 0.6.0
|
7
|
+
- Support for OpenStudio 3.5 (upgrade to standards gem 0.3.0, extension gem 0.6.0)
|
8
|
+
|
3
9
|
## Version 0.5.1
|
4
10
|
- Added the ShiftScheduleByType measure - [#47](https://github.com/NREL/openstudio-load-flexibility-measures-gem/issues/47)
|
5
11
|
- Updating licenses and measure versions / checksums for 2022
|
data/Gemfile
CHANGED
@@ -10,6 +10,13 @@ gemspec
|
|
10
10
|
# checkout the latest version (develop) from github.
|
11
11
|
allow_local = ENV['FAVOR_LOCAL_GEMS']
|
12
12
|
|
13
|
+
|
14
|
+
# Delete when these branchesa are merged and released
|
15
|
+
#gem 'openstudio-extension', github: 'NREL/OpenStudio-extension-gem', branch: 'v0.6.0-rc1'
|
16
|
+
#gem 'openstudio-standards', '= 0.2.17.rc1', :github => 'NREL/openstudio-standards', :ref => '3.5.0_changes'
|
17
|
+
|
18
|
+
|
19
|
+
|
13
20
|
# uncomment when you want CI to use develop branch of extension gem
|
14
21
|
# gem 'openstudio-extension', github: 'NREL/OpenStudio-extension-gem', branch: 'develop'
|
15
22
|
|
data/README.md
CHANGED
@@ -31,6 +31,8 @@ Detailed instructions for usage are included in each measure's respective README
|
|
31
31
|
|
32
32
|
|OpenStudio Load Flexibility Measures Gem|OpenStudio|Ruby|
|
33
33
|
|:--------------:|:----------:|:--------:|
|
34
|
+
| 0.6.1| 3.5 | 2.7 |
|
35
|
+
| 0.6 | 3.5 | 2.7 |
|
34
36
|
| 0.5 | 3.4 | 2.7 |
|
35
37
|
| 0.4 | 3.2 | 2.7 |
|
36
38
|
| 0.3.2 | 3.2 | 2.7 |
|
@@ -457,7 +457,7 @@ class AddCentralIceStorage < OpenStudio::Measure::ModelMeasure
|
|
457
457
|
|
458
458
|
# Check limits of chiller performance curves and adjust if necessary - Notify user with WARNING
|
459
459
|
curve_output_check = false
|
460
|
-
cap_ft = ctes_chiller.coolingCapacityFunctionOfTemperature
|
460
|
+
cap_ft = ctes_chiller.coolingCapacityFunctionOfTemperature.to_CurveBiquadratic.get
|
461
461
|
min_x = cap_ft.minimumValueofx.to_f
|
462
462
|
if min_x > chg_sp
|
463
463
|
cap_ft.setMinimumValueofx(chg_sp)
|
@@ -467,7 +467,7 @@ class AddCentralIceStorage < OpenStudio::Measure::ModelMeasure
|
|
467
467
|
curve_output_check = true
|
468
468
|
end
|
469
469
|
|
470
|
-
eir_ft = ctes_chiller.electricInputToCoolingOutputRatioFunctionOfTemperature
|
470
|
+
eir_ft = ctes_chiller.electricInputToCoolingOutputRatioFunctionOfTemperature.to_CurveBiquadratic.get
|
471
471
|
min_x = eir_ft.minimumValueofx.to_f
|
472
472
|
if min_x > chg_sp
|
473
473
|
runner.registerWarning("VERIFY CURVE VALIDITY: The input range for the '#{eir_ft.name}' curve is too " \
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.0</schema_version>
|
4
4
|
<name>add_central_ice_storage</name>
|
5
5
|
<uid>48f37812-0cb6-4770-b695-beb8d8a5660d</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>ed2dd58f-3a63-40a3-8518-924757ed8471</version_id>
|
7
|
+
<version_modified>20221129T221355Z</version_modified>
|
8
8
|
<xml_checksum>6394841D</xml_checksum>
|
9
9
|
<class_name>AddCentralIceStorage</class_name>
|
10
10
|
<display_name>Add Central Ice Storage</display_name>
|
@@ -497,7 +497,7 @@
|
|
497
497
|
<filename>measure.rb</filename>
|
498
498
|
<filetype>rb</filetype>
|
499
499
|
<usage_type>script</usage_type>
|
500
|
-
<checksum>
|
500
|
+
<checksum>8884BAF8</checksum>
|
501
501
|
</file>
|
502
502
|
</files>
|
503
503
|
</measure>
|
@@ -563,14 +563,16 @@ class AddPackagedIceStorage < OpenStudio::Measure::EnergyPlusMeasure
|
|
563
563
|
# copy old coil information over to TES object (use low-speed info for 2spd coils)
|
564
564
|
case sel_coil.iddObject.name
|
565
565
|
when 'Coil:Cooling:DX:SingleSpeed'
|
566
|
+
runner.registerInfo("Grabing inputs for #{utss.getString(0)} from #{sel_coil.iddObject.name} object named #{sel_coil.getString(0)}")
|
566
567
|
utss.setString(16, sel_coil.getString(2).get)
|
567
568
|
utss.setString(18, sel_coil.getString(4).get)
|
568
|
-
utss.setString(19, sel_coil.getString(
|
569
|
-
utss.setString(20, sel_coil.getString(
|
570
|
-
utss.setString(21, sel_coil.getString(
|
571
|
-
utss.setString(22, sel_coil.getString(
|
572
|
-
utss.setString(23, sel_coil.getString(
|
569
|
+
utss.setString(19, sel_coil.getString(10).get)
|
570
|
+
utss.setString(20, sel_coil.getString(11).get)
|
571
|
+
utss.setString(21, sel_coil.getString(12).get)
|
572
|
+
utss.setString(22, sel_coil.getString(13).get)
|
573
|
+
utss.setString(23, sel_coil.getString(14).get)
|
573
574
|
when 'Coil:Cooling:DX:TwoSpeed'
|
575
|
+
runner.registerInfo("Grabing inputs for #{utss.getString(0)} from #{sel_coil.iddObject.name} object named #{sel_coil.getString(0)}")
|
574
576
|
utss.setString(16, sel_coil.getString(14).get)
|
575
577
|
utss.setString(18, sel_coil.getString(16).get)
|
576
578
|
utss.setString(19, sel_coil.getString(18).get)
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.0</schema_version>
|
4
4
|
<name>add_packaged_ice_storage</name>
|
5
5
|
<uid>2aa8c128-53b9-49fd-9aaf-9253a1f05936</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>cabd98f6-7dbd-4bb3-a924-ab64a742302a</version_id>
|
7
|
+
<version_modified>20221208T212556Z</version_modified>
|
8
8
|
<xml_checksum>2617824F</xml_checksum>
|
9
9
|
<class_name>AddPackagedIceStorage</class_name>
|
10
10
|
<display_name>Add Packaged Ice Storage</display_name>
|
@@ -224,22 +224,34 @@ If 'AutoSize' is selected for ice capacity, these inputs set an ice capacity siz
|
|
224
224
|
<usage_type>license</usage_type>
|
225
225
|
<checksum>64FFEBDE</checksum>
|
226
226
|
</file>
|
227
|
-
<file>
|
228
|
-
<filename>add_packaged_ice_storage_test.rb</filename>
|
229
|
-
<filetype>rb</filetype>
|
230
|
-
<usage_type>test</usage_type>
|
231
|
-
<checksum>F32CF657</checksum>
|
232
|
-
</file>
|
233
227
|
<file>
|
234
228
|
<version>
|
235
229
|
<software_program>OpenStudio</software_program>
|
236
230
|
<identifier>3.0.0</identifier>
|
237
|
-
<min_compatible>3.
|
231
|
+
<min_compatible>3.5.0</min_compatible>
|
238
232
|
</version>
|
239
233
|
<filename>measure.rb</filename>
|
240
234
|
<filetype>rb</filetype>
|
241
235
|
<usage_type>script</usage_type>
|
242
|
-
<checksum>
|
236
|
+
<checksum>7D84A7F7</checksum>
|
237
|
+
</file>
|
238
|
+
<file>
|
239
|
+
<filename>single_speed_dx_350.osm</filename>
|
240
|
+
<filetype>osm</filetype>
|
241
|
+
<usage_type>test</usage_type>
|
242
|
+
<checksum>D9B82B85</checksum>
|
243
|
+
</file>
|
244
|
+
<file>
|
245
|
+
<filename>USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.epw</filename>
|
246
|
+
<filetype>epw</filetype>
|
247
|
+
<usage_type>test</usage_type>
|
248
|
+
<checksum>C254B53F</checksum>
|
249
|
+
</file>
|
250
|
+
<file>
|
251
|
+
<filename>add_packaged_ice_storage_test.rb</filename>
|
252
|
+
<filetype>rb</filetype>
|
253
|
+
<usage_type>test</usage_type>
|
254
|
+
<checksum>8E684800</checksum>
|
243
255
|
</file>
|
244
256
|
</files>
|
245
257
|
</measure>
|