openstudio-load-flexibility-measures 0.1.3 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- # Guide for Using Replace Cooling Cool with Packaged Ice Storage Unit Measure
1
+ # Guide for the Add Packaged Ice Storage Measure
2
2
 
3
3
  ## Description
4
4
  This measure removes the cooling coils in the model and replaces them with packaged air conditioning units with integrated ice storage.
@@ -8,7 +8,7 @@ This measure applies to packaged single zone air conditioning systems or package
8
8
 
9
9
  Users inputs are accepted for cooling coil size, ice storage size, system control method, modes of operation, and operating schedule.
10
10
 
11
- The measure requires schedule objects and performance curves from an included resource file TESCurves.idf. Output variables of typical interest are included as well..
11
+ The measure requires schedule objects and performance curves from an included resource file TESCurves.idf. Output variables of typical interest are included as well.
12
12
 
13
13
  ## Measure Type
14
14
  EnergyPlus Measure
@@ -30,7 +30,7 @@ This measure is built to simulate packaged ice storage units which integrate wit
30
30
  ## How the Measure Works
31
31
  The measure works by replacing user-selected single-speed and two-speed cooling coils (all applicable coils are pre-selected by default) with *Coil:Cooling:DX:SingleSpeed:ThermalStorage* objects. These TES units may be AutoSized, or hard-sized
32
32
 
33
- An Energy Management System (EMS) program is created for each new TES coil. The default controller turns ice charging and discharging on/off based on ice storage tank end fraction (state of charge). If users desire advanced control strategies, the EMS code may be modified directly in the "measure.rb" file (line 663 ff.). The default controller includes state-of-charge criteria that must be met before ice re-charging is permitted. This value is set at 70%, but may be manually adjusted within the measure.rb file at line 681. A built-in Schedule Modes controller is also available.
33
+ An Energy Management System (EMS) program is created for each new TES coil. The default controller turns ice charging and discharging on/off based on ice storage tank end fraction (state of charge) and user-defined operating schedule. If users desire advanced control strategies, the EMS code may be modified directly in the "measure.rb" file (line 663 ff.). A built-in Schedule Modes controller is also available.
34
34
 
35
35
  Whether EMS Control or Schedule Modes are used, a charge/discharge schedule is required. The default is a simple schedule created by user inputs. Ice storage capacity is based on the ice discharge window.
36
36
 
@@ -40,7 +40,7 @@
40
40
  class AddPackagedIceStorage < OpenStudio::Measure::EnergyPlusMeasure
41
41
  # human readable name
42
42
  def name
43
- 'Add Distributed Ice Storage to Air Loop for Load Flexibility'
43
+ 'Add Packaged Ice Storage'
44
44
  end
45
45
 
46
46
  # human readable description
@@ -61,11 +61,11 @@ class AddPackagedIceStorage < OpenStudio::Measure::EnergyPlusMeasure
61
61
  def arguments(workspace)
62
62
  args = OpenStudio::Measure::OSArgumentVector.new
63
63
 
64
- # Add a delimiter for clarify
65
- delimiter = OpenStudio::Measure::OSArgument.makeStringArgument('delimiter', false)
66
- delimiter.setDisplayName('Select Coils to Replace:')
67
- delimiter.setDefaultValue('-----------------------------------------------------------------')
68
- args << delimiter
64
+ # # Add a delimiter for clarify
65
+ # delimiter = OpenStudio::Measure::OSArgument.makeStringArgument('delimiter', false)
66
+ # delimiter.setDisplayName('Select Coils to Replace:')
67
+ # delimiter.setDefaultValue('-----------------------------------------------------------------')
68
+ # args << delimiter
69
69
 
70
70
  # get existing dx coils for user selection
71
71
  coils = workspace.getObjectsByType('Coil:Cooling:DX:SingleSpeed'.to_IddObjectType)
@@ -82,6 +82,7 @@ class AddPackagedIceStorage < OpenStudio::Measure::EnergyPlusMeasure
82
82
  coil_selection = OpenStudio::Measure::OSArgument.makeBoolArgument(k, true)
83
83
  coil_selection.setDisplayName(k)
84
84
  coil_selection.setDefaultValue(v)
85
+ coil_selection.setDescription('Replace this coil?')
85
86
  args << coil_selection
86
87
  end
87
88
 
@@ -3,11 +3,11 @@
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>db67a99f-13f3-4084-ab3f-548cfb8c32a5</version_id>
7
- <version_modified>20200903T163041Z</version_modified>
6
+ <version_id>c0df7e6f-d86f-4f80-875d-420a727dbf8a</version_id>
7
+ <version_modified>20210421T154438Z</version_modified>
8
8
  <xml_checksum>2617824F</xml_checksum>
9
9
  <class_name>AddPackagedIceStorage</class_name>
10
- <display_name>Add Distributed Ice Storage to Air Loop for Load Flexibility</display_name>
10
+ <display_name>Add Packaged Ice Storage</display_name>
11
11
  <description>This measure removes the cooling coils in the model and replaces them with packaged air conditioning units with integrated ice storage.</description>
12
12
  <modeler_description>This measure applies to packaged single zone air conditioning systems or packaged variable air volume systems that were originally modeled with CoilSystem:Cooling:DX or AirLoopHVAC:UnitarySystem container objects. It adds a Coil:Cooling:DX:SingleSpeed:ThermalStorage coil object to each user-selected thermal zone and deletes the existing cooling coil.
13
13
 
@@ -15,14 +15,6 @@
15
15
 
16
16
  The measure requires schedule objects and performance curves from an included resource file TESCurves.idf. Output variables of typical interest are included as well.</modeler_description>
17
17
  <arguments>
18
- <argument>
19
- <name>delimiter</name>
20
- <display_name>Select Coils to Replace:</display_name>
21
- <type>String</type>
22
- <required>false</required>
23
- <model_dependent>false</model_dependent>
24
- <default_value>-----------------------------------------------------------------</default_value>
25
- </argument>
26
18
  <argument>
27
19
  <name>ice_cap</name>
28
20
  <display_name>Input the ice storage capacity [ton-hours]</display_name>
@@ -220,18 +212,18 @@ If 'AutoSize' is selected for ice capacity, these inputs set an ice capacity siz
220
212
  <usage_type>test</usage_type>
221
213
  <checksum>DC0DCC4B</checksum>
222
214
  </file>
223
- <file>
224
- <filename>README.md</filename>
225
- <filetype>md</filetype>
226
- <usage_type>readme</usage_type>
227
- <checksum>B27484F2</checksum>
228
- </file>
229
215
  <file>
230
216
  <filename>LICENSE.md</filename>
231
217
  <filetype>md</filetype>
232
218
  <usage_type>license</usage_type>
233
219
  <checksum>E0468DD6</checksum>
234
220
  </file>
221
+ <file>
222
+ <filename>add_packaged_ice_storage_test.rb</filename>
223
+ <filetype>rb</filetype>
224
+ <usage_type>test</usage_type>
225
+ <checksum>2D918464</checksum>
226
+ </file>
235
227
  <file>
236
228
  <version>
237
229
  <software_program>OpenStudio</software_program>
@@ -241,13 +233,13 @@ If 'AutoSize' is selected for ice capacity, these inputs set an ice capacity siz
241
233
  <filename>measure.rb</filename>
242
234
  <filetype>rb</filetype>
243
235
  <usage_type>script</usage_type>
244
- <checksum>C1C62C47</checksum>
236
+ <checksum>749A70A0</checksum>
245
237
  </file>
246
238
  <file>
247
- <filename>add_packaged_ice_storage_test.rb</filename>
248
- <filetype>rb</filetype>
249
- <usage_type>test</usage_type>
250
- <checksum>2D918464</checksum>
239
+ <filename>README.md</filename>
240
+ <filetype>md</filetype>
241
+ <usage_type>readme</usage_type>
242
+ <checksum>E6FBC489</checksum>
251
243
  </file>
252
244
  </files>
253
245
  </measure>
@@ -35,6 +35,6 @@
35
35
 
36
36
  module OpenStudio
37
37
  module LoadFlexibilityMeasures
38
- VERSION = '0.1.3'.freeze
38
+ VERSION = '0.3.2'.freeze
39
39
  end
40
40
  end
@@ -22,11 +22,13 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ['lib']
24
24
 
25
+ spec.required_ruby_version = '~> 2.7.0'
26
+
25
27
  spec.add_development_dependency 'bundler', '~> 2.1'
26
28
  spec.add_development_dependency 'rake', '~> 13.0'
27
29
  spec.add_development_dependency 'rspec', '~> 3.9'
28
30
  spec.add_development_dependency 'rubocop', '~> 0.54.0'
29
31
 
30
- spec.add_dependency 'openstudio-extension', '~> 0.2.4'
31
- spec.add_dependency 'openstudio-standards', '~> 0.2.11'
32
+ spec.add_dependency 'openstudio-extension', '~> 0.4.2'
33
+ spec.add_dependency 'openstudio-standards', '~> 0.2.13'
32
34
  end
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.1.3
4
+ version: 0.3.2
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: 2020-09-03 00:00:00.000000000 Z
12
+ date: 2021-06-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -73,28 +73,28 @@ dependencies:
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: 0.2.4
76
+ version: 0.4.2
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: 0.2.4
83
+ version: 0.4.2
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: openstudio-standards
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: 0.2.11
90
+ version: 0.2.13
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: 0.2.11
97
+ version: 0.2.13
98
98
  description: library and measures for OpenStudio for load flexibility applications.
99
99
  email:
100
100
  - karl.heine@nrel.gov
@@ -105,8 +105,10 @@ extra_rdoc_files: []
105
105
  files:
106
106
  - ".gitignore"
107
107
  - ".rubocop.yml"
108
+ - CHANGELOG.html
108
109
  - CHANGELOG.md
109
110
  - Gemfile
111
+ - Jenkinsfile
110
112
  - README.md
111
113
  - Rakefile
112
114
  - doc_templates/LICENSE.md
@@ -130,8 +132,9 @@ files:
130
132
  - lib/measures/add_hpwh/measure.rb
131
133
  - lib/measures/add_hpwh/measure.xml
132
134
  - lib/measures/add_hpwh/tests/SmallHotel-2A.osm
133
- - lib/measures/add_hpwh/tests/add_hphw.rb
135
+ - lib/measures/add_hpwh/tests/add_hphw_test.rb
134
136
  - lib/measures/add_packaged_ice_storage/LICENSE.md
137
+ - lib/measures/add_packaged_ice_storage/README.html
135
138
  - lib/measures/add_packaged_ice_storage/README.md
136
139
  - lib/measures/add_packaged_ice_storage/measure.rb
137
140
  - lib/measures/add_packaged_ice_storage/measure.xml
@@ -144,24 +147,23 @@ files:
144
147
  homepage: https://openstudio.net
145
148
  licenses: []
146
149
  metadata: {}
147
- post_install_message:
150
+ post_install_message:
148
151
  rdoc_options: []
149
152
  require_paths:
150
153
  - lib
151
154
  required_ruby_version: !ruby/object:Gem::Requirement
152
155
  requirements:
153
- - - ">="
156
+ - - "~>"
154
157
  - !ruby/object:Gem::Version
155
- version: '0'
158
+ version: 2.7.0
156
159
  required_rubygems_version: !ruby/object:Gem::Requirement
157
160
  requirements:
158
161
  - - ">="
159
162
  - !ruby/object:Gem::Version
160
163
  version: '0'
161
164
  requirements: []
162
- rubyforge_project:
163
- rubygems_version: 2.7.6.2
164
- signing_key:
165
+ rubygems_version: 3.1.4
166
+ signing_key:
165
167
  specification_version: 4
166
168
  summary: library and measures for OpenStudio for load flexibility applications.
167
169
  test_files: []