openstudio-geb 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +3 -1
- data/lib/measures/add_chilled_water_storage_tank/measure.rb +163 -35
- data/lib/measures/average_ventilation_for_peak_hours/measure.rb +22 -11
- data/lib/measures/average_ventilation_for_peak_hours/tests/LargeOffice-90.1-2013-ASHRAE 169-2013-5A.osm +21863 -0
- data/lib/measures/reduce_epd_by_percentage_for_peak_hours/measure.rb +5 -5
- data/lib/openstudio/geb/version.rb +1 -1
- metadata +4 -3
- data/lib/measures/average_ventilation_for_peak_hours/tests/example_model.osm +0 -8077
@@ -51,14 +51,14 @@ class ReduceEPDByPercentageForPeakHours < OpenStudio::Measure::ModelMeasure
|
|
51
51
|
start_date1 = OpenStudio::Ruleset::OSArgument.makeStringArgument('start_date1', false)
|
52
52
|
start_date1.setDisplayName('First start date for the Reduction')
|
53
53
|
start_date1.setDescription('In MM-DD format')
|
54
|
-
start_date1.setDefaultValue('
|
54
|
+
start_date1.setDefaultValue('07-01')
|
55
55
|
args << start_date1
|
56
56
|
|
57
57
|
# make an argument for the end date of the reduction
|
58
58
|
end_date1 = OpenStudio::Ruleset::OSArgument.makeStringArgument('end_date1', false)
|
59
59
|
end_date1.setDisplayName('First end date for the Reduction')
|
60
60
|
end_date1.setDescription('In MM-DD format')
|
61
|
-
end_date1.setDefaultValue('
|
61
|
+
end_date1.setDefaultValue('08-31')
|
62
62
|
args << end_date1
|
63
63
|
|
64
64
|
|
@@ -71,21 +71,21 @@ class ReduceEPDByPercentageForPeakHours < OpenStudio::Measure::ModelMeasure
|
|
71
71
|
|
72
72
|
# make an argument for the second end date of the reduction
|
73
73
|
end_date2 = OpenStudio::Ruleset::OSArgument.makeStringArgument('end_date2', false)
|
74
|
-
end_date2.setDisplayName('Second end date for the Reduction')
|
74
|
+
end_date2.setDisplayName('Second end date for the Reduction (optional)')
|
75
75
|
end_date2.setDescription('Specify a date in MM-DD format if you want a second period of reduction; leave blank if not needed. If either the start or end date is blank, the period is considered not used.')
|
76
76
|
end_date2.setDefaultValue('')
|
77
77
|
args << end_date2
|
78
78
|
|
79
79
|
# make an argument for the third start date of the reduction
|
80
80
|
start_date3 = OpenStudio::Ruleset::OSArgument.makeStringArgument('start_date3', false)
|
81
|
-
start_date3.setDisplayName('
|
81
|
+
start_date3.setDisplayName('Third start date for the Reduction (optional)')
|
82
82
|
start_date3.setDescription('Specify a date in MM-DD format if you want a third period of reduction; leave blank if not needed.')
|
83
83
|
start_date3.setDefaultValue('')
|
84
84
|
args << start_date3
|
85
85
|
|
86
86
|
# make an argument for the third end date of the reduction
|
87
87
|
end_date3 = OpenStudio::Ruleset::OSArgument.makeStringArgument('end_date3', false)
|
88
|
-
end_date3.setDisplayName('
|
88
|
+
end_date3.setDisplayName('Third end date for the Reduction')
|
89
89
|
end_date3.setDescription('Specify a date in MM-DD format if you want a third period of reduction; leave blank if not needed. If either the start or end date is blank, the period is considered not used.')
|
90
90
|
end_date3.setDefaultValue('')
|
91
91
|
args << end_date3
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstudio-geb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kaiyu Sun
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-10-
|
12
|
+
date: 2022-10-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -229,8 +229,9 @@ files:
|
|
229
229
|
- lib/measures/average_ventilation_for_peak_hours/README.md.erb
|
230
230
|
- lib/measures/average_ventilation_for_peak_hours/measure.rb
|
231
231
|
- lib/measures/average_ventilation_for_peak_hours/measure.xml
|
232
|
+
- lib/measures/average_ventilation_for_peak_hours/tests/LargeOffice-90.1-2013-ASHRAE
|
233
|
+
169-2013-5A.osm
|
232
234
|
- lib/measures/average_ventilation_for_peak_hours/tests/average_ventilation_for_peak_hours_test.rb
|
233
|
-
- lib/measures/average_ventilation_for_peak_hours/tests/example_model.osm
|
234
235
|
- lib/measures/enable_occupancy_driven_lighting/LICENSE.md
|
235
236
|
- lib/measures/enable_occupancy_driven_lighting/README.md
|
236
237
|
- lib/measures/enable_occupancy_driven_lighting/README.md.erb
|