openstudio-load-flexibility-measures 0.9.0 → 0.10.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 +3 -0
- data/LICENSE.md +1 -1
- data/README.md +1 -0
- data/lib/measures/PeakPeriodSchedulesShift/LICENSE.md +13 -0
- data/lib/measures/PeakPeriodSchedulesShift/README.md +140 -0
- data/lib/measures/PeakPeriodSchedulesShift/README.md.erb +106 -0
- data/lib/measures/PeakPeriodSchedulesShift/docs/measures-overview.png +0 -0
- data/lib/measures/PeakPeriodSchedulesShift/docs/other-examples1.png +0 -0
- data/lib/measures/PeakPeriodSchedulesShift/docs/other-examples2.png +0 -0
- data/lib/measures/PeakPeriodSchedulesShift/docs/other-examples3.png +0 -0
- data/lib/measures/PeakPeriodSchedulesShift/measure.rb +441 -0
- data/lib/measures/PeakPeriodSchedulesShift/measure.xml +230 -0
- data/lib/measures/PeakPeriodSchedulesShift/tests/PeakPeriodSchedulesShift_Test.rb +603 -0
- data/lib/measures/PeakPeriodSchedulesShift/tests/base-schedules-detailed-occupancy-stochastic.osm +8306 -0
- data/lib/measures/PeakPeriodSchedulesShift/tests/base.osm +15647 -0
- data/lib/measures/PeakPeriodSchedulesShift/tests/files/schedules20230418-20180-18nykxu.csv +8761 -0
- data/lib/measures/PeakPeriodSchedulesShift/tests/files/unmodified_schedules.csv +8761 -0
- data/lib/measures/PeakPeriodSchedulesShift/tests/test_smooth_schedules.osm +23698 -0
- data/lib/measures/PeakPeriodSchedulesShift/tests/test_stochastic_schedules.osm +8985 -0
- data/lib/measures/PeakPeriodSchedulesShift/tests/test_stochastic_schedules_no_stacking.osm +8306 -0
- data/lib/measures/ShiftScheduleByType/LICENSE.md +1 -1
- data/lib/measures/ShiftScheduleByType/measure.xml +23 -23
- data/lib/measures/add_central_ice_storage/LICENSE.md +1 -1
- data/lib/measures/add_central_ice_storage/measure.xml +3 -3
- data/lib/measures/add_hpwh/LICENSE.md +1 -1
- data/lib/measures/add_hpwh/measure.rb +19 -19
- data/lib/measures/add_hpwh/measure.xml +4 -4
- data/lib/measures/add_packaged_ice_storage/LICENSE.md +1 -1
- data/lib/measures/add_packaged_ice_storage/measure.xml +3 -3
- data/lib/openstudio/load_flexibility_measures/version.rb +1 -1
- data/openstudio-load-flexibility-measures.gemspec +2 -3
- metadata +23 -20
@@ -1,4 +1,4 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008,
|
1
|
+
OpenStudio(R), Copyright (c) 2008, 2024 Alliance for Sustainable Energy, LLC.
|
2
2
|
|
3
3
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
4
4
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
<?xml version="1.0"?>
|
2
2
|
<measure>
|
3
|
-
<schema_version>3.
|
3
|
+
<schema_version>3.1</schema_version>
|
4
4
|
<name>shift_schedule_by_type</name>
|
5
5
|
<uid>1c642348-f074-4ad1-98ee-2208ddc89ac7</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>26b33d75-4173-4721-a59b-999f6576d90c</version_id>
|
7
|
+
<version_modified>2024-11-16T23:41:35Z</version_modified>
|
8
8
|
<xml_checksum>B6CD1F98</xml_checksum>
|
9
9
|
<class_name>ShiftScheduleByType</class_name>
|
10
10
|
<display_name>ShiftScheduleByType</display_name>
|
@@ -71,16 +71,10 @@
|
|
71
71
|
</attributes>
|
72
72
|
<files>
|
73
73
|
<file>
|
74
|
-
<filename>
|
75
|
-
<filetype>
|
76
|
-
<usage_type>
|
77
|
-
<checksum>
|
78
|
-
</file>
|
79
|
-
<file>
|
80
|
-
<filename>3Story2Space.osm</filename>
|
81
|
-
<filetype>osm</filetype>
|
82
|
-
<usage_type>test</usage_type>
|
83
|
-
<checksum>B4AB814E</checksum>
|
74
|
+
<filename>LICENSE.md</filename>
|
75
|
+
<filetype>md</filetype>
|
76
|
+
<usage_type>license</usage_type>
|
77
|
+
<checksum>8696A072</checksum>
|
84
78
|
</file>
|
85
79
|
<file>
|
86
80
|
<filename>README.md</filename>
|
@@ -89,16 +83,10 @@
|
|
89
83
|
<checksum>74D43592</checksum>
|
90
84
|
</file>
|
91
85
|
<file>
|
92
|
-
<filename>
|
93
|
-
<filetype>
|
94
|
-
<usage_type>
|
95
|
-
<checksum>
|
96
|
-
</file>
|
97
|
-
<file>
|
98
|
-
<filename>LICENSE.md</filename>
|
99
|
-
<filetype>md</filetype>
|
100
|
-
<usage_type>license</usage_type>
|
101
|
-
<checksum>BFFB1AA6</checksum>
|
86
|
+
<filename>README.md.erb</filename>
|
87
|
+
<filetype>erb</filetype>
|
88
|
+
<usage_type>readmeerb</usage_type>
|
89
|
+
<checksum>703C9964</checksum>
|
102
90
|
</file>
|
103
91
|
<file>
|
104
92
|
<version>
|
@@ -111,5 +99,17 @@
|
|
111
99
|
<usage_type>script</usage_type>
|
112
100
|
<checksum>50925435</checksum>
|
113
101
|
</file>
|
102
|
+
<file>
|
103
|
+
<filename>3Story2Space.osm</filename>
|
104
|
+
<filetype>osm</filetype>
|
105
|
+
<usage_type>test</usage_type>
|
106
|
+
<checksum>B4AB814E</checksum>
|
107
|
+
</file>
|
108
|
+
<file>
|
109
|
+
<filename>ShiftScheduleByType_Test.rb</filename>
|
110
|
+
<filetype>rb</filetype>
|
111
|
+
<usage_type>test</usage_type>
|
112
|
+
<checksum>7A931A23</checksum>
|
113
|
+
</file>
|
114
114
|
</files>
|
115
115
|
</measure>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008,
|
1
|
+
OpenStudio(R), Copyright (c) 2008, 2024 Alliance for Sustainable Energy, LLC.
|
2
2
|
|
3
3
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
4
4
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.1</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>2024-
|
6
|
+
<version_id>6c7f9443-b473-4efd-a88d-a5ffdfc3a780</version_id>
|
7
|
+
<version_modified>2024-11-16T23:41:37Z</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>
|
@@ -450,7 +450,7 @@
|
|
450
450
|
<filename>LICENSE.md</filename>
|
451
451
|
<filetype>md</filetype>
|
452
452
|
<usage_type>license</usage_type>
|
453
|
-
<checksum>
|
453
|
+
<checksum>8696A072</checksum>
|
454
454
|
</file>
|
455
455
|
<file>
|
456
456
|
<filename>README.md</filename>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008,
|
1
|
+
OpenStudio(R), Copyright (c) 2008, 2024 Alliance for Sustainable Energy, LLC.
|
2
2
|
|
3
3
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
4
4
|
|
@@ -514,34 +514,34 @@ class AddHpwh < OpenStudio::Measure::ModelMeasure
|
|
514
514
|
# => openstudio-standards/prototypes/common/objects/Prototype.ServiceWaterHeating.rb
|
515
515
|
if type != 'Simplified'
|
516
516
|
# convert zone name from STRING into OS model OBJECT
|
517
|
-
hpwh =
|
518
|
-
|
517
|
+
hpwh = OpenstudioStandards::ServiceWaterHeating.create_heatpump_water_heater(model, # model
|
518
|
+
heat_pump_type: type, # type
|
519
519
|
water_heater_capacity: (cap * 1000 / cop), # water_heater_capacity
|
520
520
|
electric_backup_capacity: (bu_cap * 1000), # electric_backup_capacity
|
521
521
|
water_heater_volume: v.to_f, # water_heater_volume
|
522
522
|
service_water_temperature: OpenStudio.convert(140.0, 'F', 'C').get, # service_water_temperature
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
tank_ua: 3.9, # tank_ua
|
523
|
+
on_cycle_parasitic_fuel_consumption_rate: 3.0, # parasitic_fuel_consumption_rate
|
524
|
+
off_cycle_parasitic_fuel_consumption_rate: 3.0, # parasitic_fuel_consumption_rate
|
525
|
+
service_water_temperature_schedule: sched, # swh_temp_sch
|
526
|
+
coefficient_of_performance: cop, # cop
|
528
527
|
set_peak_use_flowrate: false, # set_peak_use_flowrate
|
529
528
|
peak_flowrate: 0.0, # peak_flowrate
|
530
529
|
flowrate_schedule: nil, # flowrate_schedule
|
531
530
|
water_heater_thermal_zone: zone) # water_heater_thermal_zone
|
532
531
|
else
|
533
|
-
hpwh =
|
534
|
-
(cap * 1000),
|
535
|
-
v.to_f,
|
536
|
-
'HeatPump',
|
537
|
-
OpenStudio.convert(140.0, 'F', 'C').to_f,
|
538
|
-
3.0,
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
532
|
+
hpwh = OpenstudioStandards::ServiceWaterHeating.create_water_heater(model, # model
|
533
|
+
water_heater_capacity: (cap * 1000), # water_heater_capacity
|
534
|
+
water_heater_volume: v.to_f, # water_heater_volume
|
535
|
+
water_heater_fuel: 'HeatPump', # water_heater_fuel
|
536
|
+
service_water_temperature: OpenStudio.convert(140.0, 'F', 'C').to_f, # service_water_temperature
|
537
|
+
on_cycle_parasitic_fuel_consumption_rate: 3.0, # parasitic_fuel_consumption_rate
|
538
|
+
off_cycle_parasitic_fuel_consumption_rate: 3.0, # parasitic_fuel_consumption_rate
|
539
|
+
service_water_temperature_schedule: sched, # swh_temp_sch
|
540
|
+
set_peak_use_flowrate: false, # set_peak_use_flowrate
|
541
|
+
peak_flowrate: 0.0, # peak_flowrate
|
542
|
+
flowrate_schedule: nil, # flowrate_schedule
|
543
|
+
water_heater_thermal_zone: model.getThermalZones[0], # water_heater_thermal_zone
|
544
|
+
number_of_water_heaters: 1) # number_water_heaters
|
545
545
|
# set COP in PLF curve
|
546
546
|
cop_curve = hpwh.partLoadFactorCurve.get
|
547
547
|
cop_curve.setName(cop_curve.name.get.gsub('2.8', cop.to_s))
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.1</schema_version>
|
4
4
|
<name>add_hpwh</name>
|
5
5
|
<uid>518cde6f-1806-4b9a-bee9-ccaac49c7a53</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>2024-
|
6
|
+
<version_id>1f3ac405-6cec-400a-8a3c-f4af50cd425d</version_id>
|
7
|
+
<version_modified>2024-11-16T23:41:37Z</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>
|
@@ -355,7 +355,7 @@ The flexibility of the system is based on user-defined temperatures and times, w
|
|
355
355
|
<filename>LICENSE.md</filename>
|
356
356
|
<filetype>md</filetype>
|
357
357
|
<usage_type>license</usage_type>
|
358
|
-
<checksum>
|
358
|
+
<checksum>8696A072</checksum>
|
359
359
|
</file>
|
360
360
|
<file>
|
361
361
|
<filename>README.md</filename>
|
@@ -384,7 +384,7 @@ The flexibility of the system is based on user-defined temperatures and times, w
|
|
384
384
|
<filename>measure.rb</filename>
|
385
385
|
<filetype>rb</filetype>
|
386
386
|
<usage_type>script</usage_type>
|
387
|
-
<checksum>
|
387
|
+
<checksum>7A066B5F</checksum>
|
388
388
|
</file>
|
389
389
|
<file>
|
390
390
|
<filename>SmallHotel-2A.osm</filename>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008,
|
1
|
+
OpenStudio(R), Copyright (c) 2008, 2024 Alliance for Sustainable Energy, LLC.
|
2
2
|
|
3
3
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
4
4
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.1</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>091c4b30-9e1c-44c2-b77e-ee9236dabc46</version_id>
|
7
|
+
<version_modified>2024-11-16T23:41:37Z</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>
|
@@ -204,7 +204,7 @@ If 'AutoSize' is selected for ice capacity, these inputs set an ice capacity siz
|
|
204
204
|
<filename>LICENSE.md</filename>
|
205
205
|
<filetype>md</filetype>
|
206
206
|
<usage_type>license</usage_type>
|
207
|
-
<checksum>
|
207
|
+
<checksum>8696A072</checksum>
|
208
208
|
</file>
|
209
209
|
<file>
|
210
210
|
<filename>README.md</filename>
|
@@ -24,15 +24,14 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.required_ruby_version = '~> 3.2.2'
|
25
25
|
|
26
26
|
spec.add_dependency 'bundler', '~> 2.4.10'
|
27
|
-
spec.add_dependency 'openstudio-extension', '~> 0.8.
|
28
|
-
spec.add_dependency 'openstudio-standards', '0.
|
27
|
+
spec.add_dependency 'openstudio-extension', '~> 0.8.2'
|
28
|
+
spec.add_dependency 'openstudio-standards', '0.7.0'
|
29
29
|
spec.add_dependency 'openstudio_measure_tester', '~> 0.4.0'
|
30
30
|
spec.add_dependency 'openstudio-workflow', '~> 2.4.0'
|
31
31
|
spec.add_dependency 'bcl', '~> 0.8.0'
|
32
32
|
spec.add_dependency 'octokit', '4.18.0' # for change logs
|
33
33
|
spec.add_dependency 'multipart-post', '2.4.0'
|
34
34
|
spec.add_dependency 'parallel', '1.19.1'
|
35
|
-
spec.add_dependency 'regexp_parser', '2.9.0'
|
36
35
|
spec.add_dependency 'addressable', '2.8.1'
|
37
36
|
|
38
37
|
spec.add_development_dependency 'rake', '~> 13.0'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karl Heine
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-11-18 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.8.
|
34
|
+
version: 0.8.2
|
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.8.
|
41
|
+
version: 0.8.2
|
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.7.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.7.0
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: openstudio_measure_tester
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,20 +137,6 @@ dependencies:
|
|
137
137
|
- - '='
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: 1.19.1
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
|
-
name: regexp_parser
|
142
|
-
requirement: !ruby/object:Gem::Requirement
|
143
|
-
requirements:
|
144
|
-
- - '='
|
145
|
-
- !ruby/object:Gem::Version
|
146
|
-
version: 2.9.0
|
147
|
-
type: :runtime
|
148
|
-
prerelease: false
|
149
|
-
version_requirements: !ruby/object:Gem::Requirement
|
150
|
-
requirements:
|
151
|
-
- - '='
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
version: 2.9.0
|
154
140
|
- !ruby/object:Gem::Dependency
|
155
141
|
name: addressable
|
156
142
|
requirement: !ruby/object:Gem::Requirement
|
@@ -215,6 +201,23 @@ files:
|
|
215
201
|
- doc_templates/copyright_erb.txt
|
216
202
|
- doc_templates/copyright_js.txt
|
217
203
|
- doc_templates/copyright_ruby.txt
|
204
|
+
- lib/measures/PeakPeriodSchedulesShift/LICENSE.md
|
205
|
+
- lib/measures/PeakPeriodSchedulesShift/README.md
|
206
|
+
- lib/measures/PeakPeriodSchedulesShift/README.md.erb
|
207
|
+
- lib/measures/PeakPeriodSchedulesShift/docs/measures-overview.png
|
208
|
+
- lib/measures/PeakPeriodSchedulesShift/docs/other-examples1.png
|
209
|
+
- lib/measures/PeakPeriodSchedulesShift/docs/other-examples2.png
|
210
|
+
- lib/measures/PeakPeriodSchedulesShift/docs/other-examples3.png
|
211
|
+
- lib/measures/PeakPeriodSchedulesShift/measure.rb
|
212
|
+
- lib/measures/PeakPeriodSchedulesShift/measure.xml
|
213
|
+
- lib/measures/PeakPeriodSchedulesShift/tests/PeakPeriodSchedulesShift_Test.rb
|
214
|
+
- lib/measures/PeakPeriodSchedulesShift/tests/base-schedules-detailed-occupancy-stochastic.osm
|
215
|
+
- lib/measures/PeakPeriodSchedulesShift/tests/base.osm
|
216
|
+
- lib/measures/PeakPeriodSchedulesShift/tests/files/schedules20230418-20180-18nykxu.csv
|
217
|
+
- lib/measures/PeakPeriodSchedulesShift/tests/files/unmodified_schedules.csv
|
218
|
+
- lib/measures/PeakPeriodSchedulesShift/tests/test_smooth_schedules.osm
|
219
|
+
- lib/measures/PeakPeriodSchedulesShift/tests/test_stochastic_schedules.osm
|
220
|
+
- lib/measures/PeakPeriodSchedulesShift/tests/test_stochastic_schedules_no_stacking.osm
|
218
221
|
- lib/measures/ShiftScheduleByType/LICENSE.md
|
219
222
|
- lib/measures/ShiftScheduleByType/README.md
|
220
223
|
- lib/measures/ShiftScheduleByType/README.md.erb
|