openstudio-load-flexibility-measures 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +7 -0
- data/Gemfile +7 -0
- data/LICENSE.md +1 -1
- data/README.md +1 -0
- data/doc_templates/LICENSE.md +1 -1
- data/doc_templates/copyright_erb.txt +1 -1
- data/doc_templates/copyright_js.txt +1 -1
- data/doc_templates/copyright_ruby.txt +1 -1
- data/lib/measures/ShiftScheduleByType/LICENSE.md +27 -0
- data/lib/measures/ShiftScheduleByType/README.md +40 -0
- data/lib/measures/ShiftScheduleByType/README.md.erb +42 -0
- data/lib/measures/ShiftScheduleByType/measure.rb +385 -0
- data/lib/measures/ShiftScheduleByType/measure.xml +115 -0
- data/lib/measures/ShiftScheduleByType/tests/3Story2Space.osm +3030 -0
- data/lib/measures/ShiftScheduleByType/tests/ShiftScheduleByType_Test.rb +193 -0
- data/lib/measures/add_central_ice_storage/LICENSE.md +1 -1
- data/lib/measures/add_central_ice_storage/measure.rb +3 -3
- data/lib/measures/add_central_ice_storage/measure.xml +6 -6
- data/lib/measures/add_central_ice_storage/resources/OsLib_Schedules.rb +1 -1
- data/lib/measures/add_central_ice_storage/tests/add_central_ice_storage_test.rb +1 -1
- data/lib/measures/add_hpwh/LICENSE.md +1 -1
- data/lib/measures/add_hpwh/measure.rb +1 -1
- data/lib/measures/add_hpwh/measure.xml +5 -5
- data/lib/measures/add_hpwh/tests/add_hpwh_test.rb +1 -1
- data/lib/measures/add_packaged_ice_storage/LICENSE.md +1 -1
- data/lib/measures/add_packaged_ice_storage/measure.rb +1 -1
- data/lib/measures/add_packaged_ice_storage/measure.xml +5 -5
- data/lib/measures/add_packaged_ice_storage/tests/add_packaged_ice_storage_test.rb +1 -1
- data/lib/openstudio/load_flexibility_measures/version.rb +2 -2
- data/lib/openstudio/load_flexibility_measures.rb +1 -1
- data/openstudio-load-flexibility-measures.gemspec +3 -2
- metadata +16 -9
@@ -0,0 +1,193 @@
|
|
1
|
+
# *******************************************************************************
|
2
|
+
# OpenStudio(R), Copyright (c) 2008-2022, Alliance for Sustainable Energy, LLC.
|
3
|
+
# All rights reserved.
|
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.
|
34
|
+
# *******************************************************************************
|
35
|
+
|
36
|
+
require 'openstudio'
|
37
|
+
require 'openstudio/measure/ShowRunnerOutput'
|
38
|
+
require 'fileutils'
|
39
|
+
|
40
|
+
require_relative '../measure.rb'
|
41
|
+
require 'minitest/autorun'
|
42
|
+
|
43
|
+
class ShiftScheduleByType_Test < Minitest::Test
|
44
|
+
def test_ShiftScheduleByType_a
|
45
|
+
# create an instance of the measure
|
46
|
+
measure = ShiftScheduleByType.new
|
47
|
+
|
48
|
+
# create an instance of a runner
|
49
|
+
runner = OpenStudio::Measure::OSRunner.new(OpenStudio::WorkflowJSON.new)
|
50
|
+
|
51
|
+
# load the test model
|
52
|
+
translator = OpenStudio::OSVersion::VersionTranslator.new
|
53
|
+
path = OpenStudio::Path.new(File.dirname(__FILE__) + '/3Story2Space.osm')
|
54
|
+
model = translator.loadModel(path)
|
55
|
+
assert(!model.empty?)
|
56
|
+
model = model.get
|
57
|
+
|
58
|
+
# set argument values to good values and run the measure on model with spaces
|
59
|
+
arguments = measure.arguments(model)
|
60
|
+
argument_map = OpenStudio::Measure.convertOSArgumentVectorToMap(arguments)
|
61
|
+
|
62
|
+
shift_value = arguments[0].clone
|
63
|
+
assert(shift_value.setValue(1.5))
|
64
|
+
argument_map['shift_value'] = shift_value
|
65
|
+
|
66
|
+
schedchoice = arguments[1].clone
|
67
|
+
assert(schedchoice.setValue('CoolHeat'))
|
68
|
+
argument_map['schedchoice'] = schedchoice
|
69
|
+
|
70
|
+
measure.run(model, runner, argument_map)
|
71
|
+
result = runner.result
|
72
|
+
show_output(result)
|
73
|
+
assert(result.value.valueName == 'Success')
|
74
|
+
assert(result.warnings.empty?)
|
75
|
+
# assert(result.info.size == 5)
|
76
|
+
|
77
|
+
# save the model
|
78
|
+
# output_file_path = OpenStudio::Path.new('C:\SVN_Utilities\OpenStudio\measures\test.osm')
|
79
|
+
# model.save(output_file_path,true)
|
80
|
+
end
|
81
|
+
|
82
|
+
def test_ShiftScheduleByType_b
|
83
|
+
# create an instance of the measure
|
84
|
+
measure = ShiftScheduleByType.new
|
85
|
+
|
86
|
+
# create an instance of a runner
|
87
|
+
runner = OpenStudio::Measure::OSRunner.new(OpenStudio::WorkflowJSON.new)
|
88
|
+
|
89
|
+
# load the test model
|
90
|
+
translator = OpenStudio::OSVersion::VersionTranslator.new
|
91
|
+
path = OpenStudio::Path.new(File.dirname(__FILE__) + '/3Story2Space.osm')
|
92
|
+
model = translator.loadModel(path)
|
93
|
+
assert(!model.empty?)
|
94
|
+
model = model.get
|
95
|
+
|
96
|
+
# set argument values to good values and run the measure on model with spaces
|
97
|
+
arguments = measure.arguments(model)
|
98
|
+
argument_map = OpenStudio::Measure.convertOSArgumentVectorToMap(arguments)
|
99
|
+
|
100
|
+
shift_value = arguments[0].clone
|
101
|
+
assert(shift_value.setValue(-6.0))
|
102
|
+
argument_map['shift_value'] = shift_value
|
103
|
+
|
104
|
+
schedchoice = arguments[1].clone
|
105
|
+
assert(schedchoice.setValue('CoolHeat'))
|
106
|
+
argument_map['schedchoice'] = schedchoice
|
107
|
+
|
108
|
+
measure.run(model, runner, argument_map)
|
109
|
+
result = runner.result
|
110
|
+
show_output(result)
|
111
|
+
assert(result.value.valueName == 'Success')
|
112
|
+
assert(result.warnings.empty?)
|
113
|
+
# assert(result.info.size == 5)
|
114
|
+
|
115
|
+
# save the model
|
116
|
+
# output_file_path = OpenStudio::Path.new('C:\SVN_Utilities\OpenStudio\measures\test.osm')
|
117
|
+
# model.save(output_file_path,true)
|
118
|
+
end
|
119
|
+
|
120
|
+
def test_ShiftScheduleByType_all_schedules
|
121
|
+
# create an instance of the measure
|
122
|
+
measure = ShiftScheduleByType.new
|
123
|
+
|
124
|
+
# create an instance of a runner
|
125
|
+
runner = OpenStudio::Measure::OSRunner.new(OpenStudio::WorkflowJSON.new)
|
126
|
+
|
127
|
+
# load the test model
|
128
|
+
translator = OpenStudio::OSVersion::VersionTranslator.new
|
129
|
+
path = OpenStudio::Path.new(File.dirname(__FILE__) + '/3Story2Space.osm')
|
130
|
+
model = translator.loadModel(path)
|
131
|
+
assert(!model.empty?)
|
132
|
+
model = model.get
|
133
|
+
|
134
|
+
# set argument values to good values and run the measure on model with spaces
|
135
|
+
arguments = measure.arguments(model)
|
136
|
+
argument_map = OpenStudio::Measure.convertOSArgumentVectorToMap(arguments)
|
137
|
+
|
138
|
+
shift_value = arguments[0].clone
|
139
|
+
assert(shift_value.setValue(-6.0))
|
140
|
+
argument_map['shift_value'] = shift_value
|
141
|
+
|
142
|
+
schedchoice = arguments[1].clone
|
143
|
+
assert(schedchoice.setValue('CoolHeat'))
|
144
|
+
argument_map['schedchoice'] = schedchoice
|
145
|
+
|
146
|
+
measure.run(model, runner, argument_map)
|
147
|
+
result = runner.result
|
148
|
+
show_output(result)
|
149
|
+
assert(result.value.valueName == 'Success')
|
150
|
+
# assert(result.warnings.size == 0)
|
151
|
+
# assert(result.info.size == 5)
|
152
|
+
|
153
|
+
# save the model
|
154
|
+
# output_file_path = OpenStudio::Path.new('C:\SVN_Utilities\OpenStudio\measures\test.osm')
|
155
|
+
# model.save(output_file_path,true)
|
156
|
+
end
|
157
|
+
|
158
|
+
def test_ShiftScheduleByType_NA
|
159
|
+
# create an instance of the measure
|
160
|
+
measure = ShiftScheduleByType.new
|
161
|
+
|
162
|
+
# create an instance of a runner
|
163
|
+
runner = OpenStudio::Measure::OSRunner.new(OpenStudio::WorkflowJSON.new)
|
164
|
+
|
165
|
+
# load the test model
|
166
|
+
translator = OpenStudio::OSVersion::VersionTranslator.new
|
167
|
+
path = OpenStudio::Path.new(File.dirname(__FILE__) + '/3Story2Space.osm')
|
168
|
+
model = translator.loadModel(path)
|
169
|
+
assert(!model.empty?)
|
170
|
+
model = model.get
|
171
|
+
|
172
|
+
# set argument values to good values and run the measure on model with spaces
|
173
|
+
arguments = measure.arguments(model)
|
174
|
+
argument_map = OpenStudio::Measure.convertOSArgumentVectorToMap(arguments)
|
175
|
+
|
176
|
+
shift_value = arguments[0].clone
|
177
|
+
assert(shift_value.setValue(24))
|
178
|
+
argument_map['shift_value'] = shift_value
|
179
|
+
|
180
|
+
schedchoice = arguments[1].clone
|
181
|
+
assert(schedchoice.setValue('CoolHeat'))
|
182
|
+
argument_map['schedchoice'] = schedchoice
|
183
|
+
|
184
|
+
measure.run(model, runner, argument_map)
|
185
|
+
result = runner.result
|
186
|
+
show_output(result)
|
187
|
+
assert(result.value.valueName == 'NA')
|
188
|
+
|
189
|
+
# save the model
|
190
|
+
# output_file_path = OpenStudio::Path.new('C:\SVN_Utilities\OpenStudio\measures\test.osm')
|
191
|
+
# model.save(output_file_path,true)
|
192
|
+
end
|
193
|
+
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008-
|
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:
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c) 2008-
|
2
|
+
# OpenStudio(R), Copyright (c) 2008-2022, Alliance for Sustainable Energy, LLC.
|
3
3
|
# All rights reserved.
|
4
4
|
# Redistribution and use in source and binary forms, with or without
|
5
5
|
# modification, are permitted provided that the following conditions are met:
|
@@ -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>
|
@@ -474,19 +474,19 @@
|
|
474
474
|
<filename>LICENSE.md</filename>
|
475
475
|
<filetype>md</filetype>
|
476
476
|
<usage_type>license</usage_type>
|
477
|
-
<checksum>
|
477
|
+
<checksum>64FFEBDE</checksum>
|
478
478
|
</file>
|
479
479
|
<file>
|
480
480
|
<filename>OsLib_Schedules.rb</filename>
|
481
481
|
<filetype>rb</filetype>
|
482
482
|
<usage_type>resource</usage_type>
|
483
|
-
<checksum>
|
483
|
+
<checksum>0582294E</checksum>
|
484
484
|
</file>
|
485
485
|
<file>
|
486
486
|
<filename>add_central_ice_storage_test.rb</filename>
|
487
487
|
<filetype>rb</filetype>
|
488
488
|
<usage_type>test</usage_type>
|
489
|
-
<checksum>
|
489
|
+
<checksum>B4007921</checksum>
|
490
490
|
</file>
|
491
491
|
<file>
|
492
492
|
<version>
|
@@ -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>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c) 2008-
|
2
|
+
# OpenStudio(R), Copyright (c) 2008-2022, Alliance for Sustainable Energy, LLC.
|
3
3
|
# All rights reserved.
|
4
4
|
# Redistribution and use in source and binary forms, with or without
|
5
5
|
# modification, are permitted provided that the following conditions are met:
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c) 2008-
|
2
|
+
# OpenStudio(R), Copyright (c) 2008-2022, Alliance for Sustainable Energy, LLC.
|
3
3
|
# All rights reserved.
|
4
4
|
# Redistribution and use in source and binary forms, with or without
|
5
5
|
# modification, are permitted provided that the following conditions are met:
|
@@ -1,4 +1,4 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008-
|
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:
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c) 2008-
|
2
|
+
# OpenStudio(R), Copyright (c) 2008-2022, Alliance for Sustainable Energy, LLC.
|
3
3
|
# All rights reserved.
|
4
4
|
# Redistribution and use in source and binary forms, with or without
|
5
5
|
# modification, are permitted provided that the following conditions are met:
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.0</schema_version>
|
4
4
|
<name>add_hpwh</name>
|
5
5
|
<uid>518cde6f-1806-4b9a-bee9-ccaac49c7a53</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>5f32552c-4726-4ed6-b89a-a991afaecd60</version_id>
|
7
|
+
<version_modified>20221011T225330Z</version_modified>
|
8
8
|
<xml_checksum>A374667A</xml_checksum>
|
9
9
|
<class_name>AddHpwh</class_name>
|
10
10
|
<display_name>Add HPWH for Domestic Hot Water</display_name>
|
@@ -379,7 +379,7 @@ The flexibility of the system is based on user-defined temperatures and times, w
|
|
379
379
|
<filename>LICENSE.md</filename>
|
380
380
|
<filetype>md</filetype>
|
381
381
|
<usage_type>license</usage_type>
|
382
|
-
<checksum>
|
382
|
+
<checksum>64FFEBDE</checksum>
|
383
383
|
</file>
|
384
384
|
<file>
|
385
385
|
<version>
|
@@ -390,13 +390,13 @@ The flexibility of the system is based on user-defined temperatures and times, w
|
|
390
390
|
<filename>measure.rb</filename>
|
391
391
|
<filetype>rb</filetype>
|
392
392
|
<usage_type>script</usage_type>
|
393
|
-
<checksum>
|
393
|
+
<checksum>BDB9B944</checksum>
|
394
394
|
</file>
|
395
395
|
<file>
|
396
396
|
<filename>add_hpwh_test.rb</filename>
|
397
397
|
<filetype>rb</filetype>
|
398
398
|
<usage_type>test</usage_type>
|
399
|
-
<checksum>
|
399
|
+
<checksum>85B7D1A6</checksum>
|
400
400
|
</file>
|
401
401
|
</files>
|
402
402
|
</measure>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c) 2008-
|
2
|
+
# OpenStudio(R), Copyright (c) 2008-2022, Alliance for Sustainable Energy, LLC.
|
3
3
|
# All rights reserved.
|
4
4
|
# Redistribution and use in source and binary forms, with or without
|
5
5
|
# modification, are permitted provided that the following conditions are met:
|
@@ -1,4 +1,4 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008-
|
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:
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c) 2008-
|
2
|
+
# OpenStudio(R), Copyright (c) 2008-2022, Alliance for Sustainable Energy, LLC.
|
3
3
|
# All rights reserved.
|
4
4
|
# Redistribution and use in source and binary forms, with or without
|
5
5
|
# modification, are permitted provided that the following conditions are met:
|
@@ -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>12ace3fc-b9d5-4236-9087-9c2fb61ec8c2</version_id>
|
7
|
+
<version_modified>20221011T225330Z</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>
|
@@ -222,13 +222,13 @@ If 'AutoSize' is selected for ice capacity, these inputs set an ice capacity siz
|
|
222
222
|
<filename>LICENSE.md</filename>
|
223
223
|
<filetype>md</filetype>
|
224
224
|
<usage_type>license</usage_type>
|
225
|
-
<checksum>
|
225
|
+
<checksum>64FFEBDE</checksum>
|
226
226
|
</file>
|
227
227
|
<file>
|
228
228
|
<filename>add_packaged_ice_storage_test.rb</filename>
|
229
229
|
<filetype>rb</filetype>
|
230
230
|
<usage_type>test</usage_type>
|
231
|
-
<checksum>
|
231
|
+
<checksum>F32CF657</checksum>
|
232
232
|
</file>
|
233
233
|
<file>
|
234
234
|
<version>
|
@@ -239,7 +239,7 @@ If 'AutoSize' is selected for ice capacity, these inputs set an ice capacity siz
|
|
239
239
|
<filename>measure.rb</filename>
|
240
240
|
<filetype>rb</filetype>
|
241
241
|
<usage_type>script</usage_type>
|
242
|
-
<checksum>
|
242
|
+
<checksum>85F2A9C5</checksum>
|
243
243
|
</file>
|
244
244
|
</files>
|
245
245
|
</measure>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c) 2008-
|
2
|
+
# OpenStudio(R), Copyright (c) 2008-2022, Alliance for Sustainable Energy, LLC.
|
3
3
|
# All rights reserved.
|
4
4
|
# Redistribution and use in source and binary forms, with or without
|
5
5
|
# modification, are permitted provided that the following conditions are met:
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c) 2008-
|
2
|
+
# OpenStudio(R), Copyright (c) 2008-2022, Alliance for Sustainable Energy, LLC.
|
3
3
|
# All rights reserved.
|
4
4
|
# Redistribution and use in source and binary forms, with or without
|
5
5
|
# modification, are permitted provided that the following conditions are met:
|
@@ -35,6 +35,6 @@
|
|
35
35
|
|
36
36
|
module OpenStudio
|
37
37
|
module LoadFlexibilityMeasures
|
38
|
-
VERSION = '0.
|
38
|
+
VERSION = '0.6.0'.freeze
|
39
39
|
end
|
40
40
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c) 2008-
|
2
|
+
# OpenStudio(R), Copyright (c) 2008-2022, Alliance for Sustainable Energy, LLC.
|
3
3
|
# All rights reserved.
|
4
4
|
# Redistribution and use in source and binary forms, with or without
|
5
5
|
# modification, are permitted provided that the following conditions are met:
|
@@ -24,8 +24,9 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.required_ruby_version = '~> 2.7.0'
|
25
25
|
|
26
26
|
spec.add_dependency 'bundler', '~> 2.1'
|
27
|
-
|
28
|
-
spec.add_dependency 'openstudio-
|
27
|
+
|
28
|
+
spec.add_dependency 'openstudio-extension', '~> 0.6.0'
|
29
|
+
spec.add_dependency 'openstudio-standards', '~> 0.3.0'
|
29
30
|
|
30
31
|
spec.add_development_dependency 'rake', '~> 13.0'
|
31
32
|
spec.add_development_dependency 'rspec', '~> 3.9'
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstudio-load-flexibility-measures
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karl Heine
|
8
8
|
- Ryan Meyer
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-11-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -31,28 +31,28 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 0.
|
34
|
+
version: 0.6.0
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 0.
|
41
|
+
version: 0.6.0
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: openstudio-standards
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 0.
|
48
|
+
version: 0.3.0
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
55
|
+
version: 0.3.0
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: rake
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -117,6 +117,13 @@ files:
|
|
117
117
|
- doc_templates/copyright_erb.txt
|
118
118
|
- doc_templates/copyright_js.txt
|
119
119
|
- doc_templates/copyright_ruby.txt
|
120
|
+
- lib/measures/ShiftScheduleByType/LICENSE.md
|
121
|
+
- lib/measures/ShiftScheduleByType/README.md
|
122
|
+
- lib/measures/ShiftScheduleByType/README.md.erb
|
123
|
+
- lib/measures/ShiftScheduleByType/measure.rb
|
124
|
+
- lib/measures/ShiftScheduleByType/measure.xml
|
125
|
+
- lib/measures/ShiftScheduleByType/tests/3Story2Space.osm
|
126
|
+
- lib/measures/ShiftScheduleByType/tests/ShiftScheduleByType_Test.rb
|
120
127
|
- lib/measures/add_central_ice_storage/LICENSE.md
|
121
128
|
- lib/measures/add_central_ice_storage/README.md
|
122
129
|
- lib/measures/add_central_ice_storage/README.md.erb
|
@@ -148,7 +155,7 @@ files:
|
|
148
155
|
homepage: https://openstudio.net
|
149
156
|
licenses: []
|
150
157
|
metadata: {}
|
151
|
-
post_install_message:
|
158
|
+
post_install_message:
|
152
159
|
rdoc_options: []
|
153
160
|
require_paths:
|
154
161
|
- lib
|
@@ -164,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
171
|
version: '0'
|
165
172
|
requirements: []
|
166
173
|
rubygems_version: 3.1.4
|
167
|
-
signing_key:
|
174
|
+
signing_key:
|
168
175
|
specification_version: 4
|
169
176
|
summary: library and measures for OpenStudio for load flexibility applications.
|
170
177
|
test_files: []
|