openstudio-calibration 0.3.1 → 0.5.1
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/.rubocop.yml +3 -1
- data/CHANGELOG.md +18 -0
- data/Gemfile +6 -0
- data/Jenkinsfile +4 -3
- data/LICENSE.md +1 -1
- data/README.md +13 -2
- data/Rakefile +1 -1
- 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/AddMonthlyJSONUtilityData/LICENSE.md +1 -1
- data/lib/measures/AddMonthlyJSONUtilityData/measure.rb +1 -1
- data/lib/measures/AddMonthlyJSONUtilityData/measure.xml +12 -11
- data/lib/measures/AddMonthlyUtilityData/LICENSE.md +1 -1
- data/lib/measures/AddMonthlyUtilityData/measure.rb +1 -1
- data/lib/measures/AddMonthlyUtilityData/measure.xml +13 -12
- data/lib/measures/CalibrationReports/LICENSE.md +1 -1
- data/lib/measures/CalibrationReports/README.md +2 -2
- data/lib/measures/CalibrationReports/measure.rb +1 -1
- data/lib/measures/CalibrationReports/measure.xml +11 -11
- data/lib/measures/CalibrationReportsEnhanced/LICENSE.md +1 -1
- data/lib/measures/CalibrationReportsEnhanced/measure.rb +2 -2
- data/lib/measures/CalibrationReportsEnhanced/measure.xml +18 -17
- data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/LICENSE.md +1 -1
- data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/measure.rb +1 -1
- data/lib/measures/CoilCoolingDXSingleSpeedMultiplier/measure.xml +14 -13
- data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/LICENSE.md +1 -1
- data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/measure.rb +1 -1
- data/lib/measures/CoilCoolingDXSingleSpeedPercentChange/measure.xml +14 -13
- data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/LICENSE.md +1 -1
- data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/measure.rb +1 -1
- data/lib/measures/CoilCoolingDXTwoSpeedMultiplier/measure.xml +14 -13
- data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/LICENSE.md +1 -1
- data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/measure.rb +1 -1
- data/lib/measures/CoilCoolingDXTwoSpeedPercentChange/measure.xml +14 -13
- data/lib/measures/CoilCoolingWaterMultiplier/LICENSE.md +1 -1
- data/lib/measures/CoilCoolingWaterMultiplier/measure.rb +1 -1
- data/lib/measures/CoilCoolingWaterMultiplier/measure.xml +14 -13
- data/lib/measures/CoilCoolingWaterPercentChange/LICENSE.md +1 -1
- data/lib/measures/CoilCoolingWaterPercentChange/measure.rb +1 -1
- data/lib/measures/CoilCoolingWaterPercentChange/measure.xml +14 -13
- data/lib/measures/CoilHeatingElectricMultiplier/LICENSE.md +1 -1
- data/lib/measures/CoilHeatingElectricMultiplier/measure.rb +1 -1
- data/lib/measures/CoilHeatingElectricMultiplier/measure.xml +14 -13
- data/lib/measures/CoilHeatingElectricPercentChange/LICENSE.md +1 -1
- data/lib/measures/CoilHeatingElectricPercentChange/measure.rb +1 -1
- data/lib/measures/CoilHeatingElectricPercentChange/measure.xml +14 -13
- data/lib/measures/CoilHeatingGasMultiplier/LICENSE.md +1 -1
- data/lib/measures/CoilHeatingGasMultiplier/measure.rb +1 -1
- data/lib/measures/CoilHeatingGasMultiplier/measure.xml +14 -13
- data/lib/measures/CoilHeatingGasPercentChange/LICENSE.md +1 -1
- data/lib/measures/CoilHeatingGasPercentChange/measure.rb +1 -1
- data/lib/measures/CoilHeatingGasPercentChange/measure.xml +14 -13
- data/lib/measures/CoilHeatingWaterMultiplier/LICENSE.md +1 -1
- data/lib/measures/CoilHeatingWaterMultiplier/measure.rb +1 -1
- data/lib/measures/CoilHeatingWaterMultiplier/measure.xml +14 -13
- data/lib/measures/CoilHeatingWaterPercentChange/LICENSE.md +1 -1
- data/lib/measures/CoilHeatingWaterPercentChange/measure.rb +1 -1
- data/lib/measures/CoilHeatingWaterPercentChange/measure.xml +14 -13
- data/lib/measures/ConstructionLayerZeroMaterialProperties/LICENSE.md +1 -1
- data/lib/measures/ConstructionLayerZeroMaterialProperties/measure.rb +1 -1
- data/lib/measures/ConstructionLayerZeroMaterialProperties/measure.xml +12 -11
- data/lib/measures/ElectricBaseboardEfficiencyAndCapacity/LICENSE.md +1 -1
- data/lib/measures/ElectricBaseboardEfficiencyAndCapacity/measure.rb +1 -1
- data/lib/measures/ElectricBaseboardEfficiencyAndCapacity/measure.xml +12 -11
- data/lib/measures/ExteriorWallThermalPropertiesMultiplier/LICENSE.md +1 -1
- data/lib/measures/ExteriorWallThermalPropertiesMultiplier/measure.rb +3 -3
- data/lib/measures/ExteriorWallThermalPropertiesMultiplier/measure.xml +25 -13
- data/lib/measures/ExteriorWallThermalPropertiesPercentChange/LICENSE.md +1 -1
- data/lib/measures/ExteriorWallThermalPropertiesPercentChange/measure.rb +3 -3
- data/lib/measures/ExteriorWallThermalPropertiesPercentChange/measure.xml +25 -13
- data/lib/measures/FansMultiplier/LICENSE.md +1 -1
- data/lib/measures/FansMultiplier/measure.rb +1 -1
- data/lib/measures/FansMultiplier/measure.xml +14 -13
- data/lib/measures/FansPercentChange/LICENSE.md +1 -1
- data/lib/measures/FansPercentChange/measure.rb +1 -1
- data/lib/measures/FansPercentChange/measure.xml +14 -13
- data/lib/measures/GeneralCalibrationMeasureMultiplier/LICENSE.md +1 -1
- data/lib/measures/GeneralCalibrationMeasureMultiplier/measure.rb +1 -1
- data/lib/measures/GeneralCalibrationMeasureMultiplier/measure.xml +16 -15
- data/lib/measures/GeneralCalibrationMeasurePercentChange/LICENSE.md +1 -1
- data/lib/measures/GeneralCalibrationMeasurePercentChange/measure.rb +1 -1
- data/lib/measures/GeneralCalibrationMeasurePercentChange/measure.xml +16 -15
- data/lib/measures/HardSizeHvac/LICENSE.md +1 -1
- data/lib/measures/HardSizeHvac/measure.rb +9 -7
- data/lib/measures/HardSizeHvac/measure.xml +26 -13
- data/lib/measures/RValueOfInsulationForConstructionMultiplier/LICENSE.md +1 -1
- data/lib/measures/RValueOfInsulationForConstructionMultiplier/measure.rb +1 -1
- data/lib/measures/RValueOfInsulationForConstructionMultiplier/measure.xml +12 -11
- data/lib/measures/RValueOfInsulationForConstructionPercentageChange/LICENSE.md +1 -1
- data/lib/measures/RValueOfInsulationForConstructionPercentageChange/measure.rb +1 -1
- data/lib/measures/RValueOfInsulationForConstructionPercentageChange/measure.xml +12 -11
- data/lib/measures/RoofThermalPropertiesMultiplier/LICENSE.md +1 -1
- data/lib/measures/RoofThermalPropertiesMultiplier/measure.rb +3 -3
- data/lib/measures/RoofThermalPropertiesMultiplier/measure.xml +25 -13
- data/lib/measures/RoofThermalPropertiesPercentChange/LICENSE.md +1 -1
- data/lib/measures/RoofThermalPropertiesPercentChange/measure.rb +3 -3
- data/lib/measures/RoofThermalPropertiesPercentChange/measure.xml +25 -13
- data/lib/measures/TimeseriesObjectiveFunction/LICENSE.md +1 -1
- data/lib/measures/TimeseriesObjectiveFunction/README.md +171 -5
- data/lib/measures/TimeseriesObjectiveFunction/measure.rb +2 -2
- data/lib/measures/TimeseriesObjectiveFunction/measure.xml +6 -81
- data/lib/measures/TimeseriesObjectiveFunction/resources/report.html.erb +4 -1
- data/lib/measures/TimeseriesPlot/LICENSE.md +1 -1
- data/lib/measures/TimeseriesPlot/README.md +35 -5
- data/lib/measures/TimeseriesPlot/measure.rb +2 -2
- data/lib/measures/TimeseriesPlot/measure.xml +11 -26
- data/lib/measures/TimeseriesPlot/resources/report.html.erb +4 -1
- data/lib/measures/WaterHeaterMixedMultiplier/LICENSE.md +1 -1
- data/lib/measures/WaterHeaterMixedMultiplier/measure.rb +1 -1
- data/lib/measures/WaterHeaterMixedMultiplier/measure.xml +14 -13
- data/lib/measures/WaterHeaterMixedPercentChange/LICENSE.md +1 -1
- data/lib/measures/WaterHeaterMixedPercentChange/measure.rb +1 -1
- data/lib/measures/WaterHeaterMixedPercentChange/measure.xml +14 -13
- data/lib/measures/{zone_report → inspect_and_edit_parametric_schedules}/LICENSE.md +1 -1
- data/lib/measures/inspect_and_edit_parametric_schedules/README.md +41 -0
- data/lib/measures/inspect_and_edit_parametric_schedules/README.md.erb +53 -0
- data/lib/measures/inspect_and_edit_parametric_schedules/docs/apply_measures_now.png +0 -0
- data/lib/measures/inspect_and_edit_parametric_schedules/measure.rb +224 -0
- data/lib/measures/inspect_and_edit_parametric_schedules/measure.xml +125 -0
- data/lib/measures/shift_hours_of_operation/LICENSE.md +27 -0
- data/lib/measures/shift_hours_of_operation/README.md +147 -0
- data/lib/measures/{zone_report → shift_hours_of_operation}/README.md.erb +5 -0
- data/lib/measures/shift_hours_of_operation/docs/.gitkeep +0 -0
- data/lib/measures/shift_hours_of_operation/measure.rb +525 -0
- data/lib/measures/shift_hours_of_operation/measure.xml +280 -0
- data/lib/openstudio/calibration/extension.rb +1 -1
- data/lib/openstudio/calibration/version.rb +2 -2
- data/lib/openstudio/calibration.rb +1 -1
- data/lib/openstudio-calibration.rb +1 -1
- data/openstudio-calibration.gemspec +3 -3
- metadata +23 -17
- data/lib/measures/zone_report/README.md +0 -26
- data/lib/measures/zone_report/measure.rb +0 -706
- data/lib/measures/zone_report/measure.xml +0 -69
- data/lib/measures/zone_report/resources/report.html.in +0 -342
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.0</schema_version>
|
4
4
|
<name>timeseries_objective_function</name>
|
5
5
|
<uid>6804217d-4737-45f3-82df-b81393c29ce3</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>300a1bda-e79c-4290-bbd9-bd1fe843264a</version_id>
|
7
|
+
<version_modified>20220223T012006Z</version_modified>
|
8
8
|
<xml_checksum>FFE04372</xml_checksum>
|
9
9
|
<class_name>TimeseriesObjectiveFunction</class_name>
|
10
10
|
<display_name>TimeSeries Objective Function</display_name>
|
@@ -16,43 +16,33 @@
|
|
16
16
|
<display_name>Path to CSV file for the metered data</display_name>
|
17
17
|
<description>Path to CSV file including file name.</description>
|
18
18
|
<type>String</type>
|
19
|
-
<units></units>
|
20
19
|
<required>true</required>
|
21
20
|
<model_dependent>false</model_dependent>
|
22
21
|
<default_value>../../../lib/resources/mtr.csv</default_value>
|
23
|
-
<min_value></min_value>
|
24
|
-
<max_value></max_value>
|
25
22
|
</argument>
|
26
23
|
<argument>
|
27
24
|
<name>csv_time_header</name>
|
28
25
|
<display_name>CSV Time Header</display_name>
|
29
26
|
<description>CSV Time Header Value. Used to determine the timestamp column in the CSV file</description>
|
30
27
|
<type>String</type>
|
31
|
-
<units></units>
|
32
28
|
<required>true</required>
|
33
29
|
<model_dependent>false</model_dependent>
|
34
30
|
<default_value>Date/Time</default_value>
|
35
|
-
<min_value></min_value>
|
36
|
-
<max_value></max_value>
|
37
31
|
</argument>
|
38
32
|
<argument>
|
39
33
|
<name>csv_var</name>
|
40
34
|
<display_name>CSV variable name</display_name>
|
41
35
|
<description>CSV variable name. Used to determine the variable column in the CSV file</description>
|
42
36
|
<type>String</type>
|
43
|
-
<units></units>
|
44
37
|
<required>true</required>
|
45
38
|
<model_dependent>false</model_dependent>
|
46
39
|
<default_value>Whole Building:Facility Total Electric Demand Power [W](TimeStep)</default_value>
|
47
|
-
<min_value></min_value>
|
48
|
-
<max_value></max_value>
|
49
40
|
</argument>
|
50
41
|
<argument>
|
51
42
|
<name>convert_data</name>
|
52
43
|
<display_name>Convert Units</display_name>
|
53
44
|
<description>Convert Units in Metered Data</description>
|
54
45
|
<type>Choice</type>
|
55
|
-
<units></units>
|
56
46
|
<required>true</required>
|
57
47
|
<model_dependent>false</model_dependent>
|
58
48
|
<default_value>None</default_value>
|
@@ -78,27 +68,21 @@
|
|
78
68
|
<display_name>None</display_name>
|
79
69
|
</choice>
|
80
70
|
</choices>
|
81
|
-
<min_value></min_value>
|
82
|
-
<max_value></max_value>
|
83
71
|
</argument>
|
84
72
|
<argument>
|
85
73
|
<name>csv_var_dn</name>
|
86
74
|
<display_name>CSV variable display name</display_name>
|
87
75
|
<description>CSV variable display name. Not yet Implemented</description>
|
88
76
|
<type>String</type>
|
89
|
-
<units></units>
|
90
77
|
<required>true</required>
|
91
78
|
<model_dependent>false</model_dependent>
|
92
79
|
<default_value></default_value>
|
93
|
-
<min_value></min_value>
|
94
|
-
<max_value></max_value>
|
95
80
|
</argument>
|
96
81
|
<argument>
|
97
82
|
<name>year</name>
|
98
83
|
<display_name>Year in csv data timestamp</display_name>
|
99
84
|
<description>Is the Year in the csv data timestamp => mm:dd:yy or mm:dd (true/false)</description>
|
100
85
|
<type>Boolean</type>
|
101
|
-
<units></units>
|
102
86
|
<required>true</required>
|
103
87
|
<model_dependent>false</model_dependent>
|
104
88
|
<default_value>true</default_value>
|
@@ -112,15 +96,12 @@
|
|
112
96
|
<display_name>false</display_name>
|
113
97
|
</choice>
|
114
98
|
</choices>
|
115
|
-
<min_value></min_value>
|
116
|
-
<max_value></max_value>
|
117
99
|
</argument>
|
118
100
|
<argument>
|
119
101
|
<name>seconds</name>
|
120
102
|
<display_name>Seconds in csv data timestamp</display_name>
|
121
103
|
<description>Is the Seconds in the csv data timestamp => hh:mm:ss or hh:mm (true/false)</description>
|
122
104
|
<type>Boolean</type>
|
123
|
-
<units></units>
|
124
105
|
<required>true</required>
|
125
106
|
<model_dependent>false</model_dependent>
|
126
107
|
<default_value>true</default_value>
|
@@ -134,42 +115,32 @@
|
|
134
115
|
<display_name>false</display_name>
|
135
116
|
</choice>
|
136
117
|
</choices>
|
137
|
-
<min_value></min_value>
|
138
|
-
<max_value></max_value>
|
139
118
|
</argument>
|
140
119
|
<argument>
|
141
120
|
<name>key_value</name>
|
142
121
|
<display_name>SQL key value</display_name>
|
143
122
|
<description>SQL key value for the SQL query to find the variable in the SQL file</description>
|
144
123
|
<type>String</type>
|
145
|
-
<units></units>
|
146
124
|
<required>true</required>
|
147
125
|
<model_dependent>false</model_dependent>
|
148
126
|
<default_value></default_value>
|
149
|
-
<min_value></min_value>
|
150
|
-
<max_value></max_value>
|
151
127
|
</argument>
|
152
128
|
<argument>
|
153
129
|
<name>timeseries_name</name>
|
154
130
|
<display_name>TimeSeries Name</display_name>
|
155
131
|
<description>TimeSeries Name for the SQL query to find the variable in the SQL file</description>
|
156
132
|
<type>String</type>
|
157
|
-
<units></units>
|
158
133
|
<required>true</required>
|
159
134
|
<model_dependent>false</model_dependent>
|
160
135
|
<default_value>Facility Total Electric Demand Power</default_value>
|
161
|
-
<min_value></min_value>
|
162
|
-
<max_value></max_value>
|
163
136
|
</argument>
|
164
137
|
<argument>
|
165
138
|
<name>reporting_frequency</name>
|
166
139
|
<display_name>Reporting Frequency</display_name>
|
167
140
|
<description>Reporting Frequency for SQL Query</description>
|
168
141
|
<type>Choice</type>
|
169
|
-
<units></units>
|
170
142
|
<required>true</required>
|
171
143
|
<model_dependent>false</model_dependent>
|
172
|
-
<default_value></default_value>
|
173
144
|
<choices>
|
174
145
|
<choice>
|
175
146
|
<value>Detailed</value>
|
@@ -196,51 +167,39 @@
|
|
196
167
|
<display_name>RunPeriod</display_name>
|
197
168
|
</choice>
|
198
169
|
</choices>
|
199
|
-
<min_value></min_value>
|
200
|
-
<max_value></max_value>
|
201
170
|
</argument>
|
202
171
|
<argument>
|
203
172
|
<name>environment_period</name>
|
204
173
|
<display_name>Environment Period</display_name>
|
205
174
|
<description>Environment Period for SQL query</description>
|
206
175
|
<type>String</type>
|
207
|
-
<units></units>
|
208
176
|
<required>true</required>
|
209
177
|
<model_dependent>false</model_dependent>
|
210
178
|
<default_value>RUN PERIOD 1</default_value>
|
211
|
-
<min_value></min_value>
|
212
|
-
<max_value></max_value>
|
213
179
|
</argument>
|
214
180
|
<argument>
|
215
181
|
<name>norm</name>
|
216
182
|
<display_name>Norm of the difference of csv and sql</display_name>
|
217
183
|
<description>Norm of the difference of csv and sql. 1 is absolute value. 2 is euclidean distance. 3 is raw difference.</description>
|
218
184
|
<type>Double</type>
|
219
|
-
<units></units>
|
220
185
|
<required>true</required>
|
221
186
|
<model_dependent>false</model_dependent>
|
222
187
|
<default_value>1</default_value>
|
223
|
-
<min_value></min_value>
|
224
|
-
<max_value></max_value>
|
225
188
|
</argument>
|
226
189
|
<argument>
|
227
190
|
<name>scale</name>
|
228
191
|
<display_name>Scale factor to apply to the difference</display_name>
|
229
192
|
<description>Scale factor to apply to the difference (1 is no scale)</description>
|
230
193
|
<type>Double</type>
|
231
|
-
<units></units>
|
232
194
|
<required>true</required>
|
233
195
|
<model_dependent>false</model_dependent>
|
234
196
|
<default_value>1</default_value>
|
235
|
-
<min_value></min_value>
|
236
|
-
<max_value></max_value>
|
237
197
|
</argument>
|
238
198
|
<argument>
|
239
199
|
<name>find_avail</name>
|
240
200
|
<display_name>Find Available data in the SQL file</display_name>
|
241
201
|
<description>Will RegisterInfo all the 'EnvPeriod', 'ReportingFrequencies', 'VariableNames', 'KeyValues' in the SQL file. Useful for debugging SQL issues.</description>
|
242
202
|
<type>Boolean</type>
|
243
|
-
<units></units>
|
244
203
|
<required>true</required>
|
245
204
|
<model_dependent>false</model_dependent>
|
246
205
|
<default_value>true</default_value>
|
@@ -254,15 +213,12 @@
|
|
254
213
|
<display_name>false</display_name>
|
255
214
|
</choice>
|
256
215
|
</choices>
|
257
|
-
<min_value></min_value>
|
258
|
-
<max_value></max_value>
|
259
216
|
</argument>
|
260
217
|
<argument>
|
261
218
|
<name>algorithm_download</name>
|
262
219
|
<display_name>algorithm_download</display_name>
|
263
220
|
<description>Make JSON data available for algorithm_download (true/false)</description>
|
264
221
|
<type>Boolean</type>
|
265
|
-
<units></units>
|
266
222
|
<required>true</required>
|
267
223
|
<model_dependent>false</model_dependent>
|
268
224
|
<default_value>false</default_value>
|
@@ -276,15 +232,12 @@
|
|
276
232
|
<display_name>false</display_name>
|
277
233
|
</choice>
|
278
234
|
</choices>
|
279
|
-
<min_value></min_value>
|
280
|
-
<max_value></max_value>
|
281
235
|
</argument>
|
282
236
|
<argument>
|
283
237
|
<name>plot_flag</name>
|
284
238
|
<display_name>plot_flag timeseries data</display_name>
|
285
239
|
<description>Create plot of timeseries data (true/false)</description>
|
286
240
|
<type>Boolean</type>
|
287
|
-
<units></units>
|
288
241
|
<required>true</required>
|
289
242
|
<model_dependent>false</model_dependent>
|
290
243
|
<default_value>true</default_value>
|
@@ -298,27 +251,21 @@
|
|
298
251
|
<display_name>false</display_name>
|
299
252
|
</choice>
|
300
253
|
</choices>
|
301
|
-
<min_value></min_value>
|
302
|
-
<max_value></max_value>
|
303
254
|
</argument>
|
304
255
|
<argument>
|
305
256
|
<name>plot_name</name>
|
306
257
|
<display_name>Plot name</display_name>
|
307
258
|
<description>Name to include in reporting file name.</description>
|
308
259
|
<type>String</type>
|
309
|
-
<units></units>
|
310
260
|
<required>true</required>
|
311
261
|
<model_dependent>false</model_dependent>
|
312
262
|
<default_value></default_value>
|
313
|
-
<min_value></min_value>
|
314
|
-
<max_value></max_value>
|
315
263
|
</argument>
|
316
264
|
<argument>
|
317
265
|
<name>verbose_messages</name>
|
318
266
|
<display_name>verbose_messages</display_name>
|
319
267
|
<description>verbose messages. Useful for debugging but MAJOR Performance Hit.</description>
|
320
268
|
<type>Boolean</type>
|
321
|
-
<units></units>
|
322
269
|
<required>true</required>
|
323
270
|
<model_dependent>false</model_dependent>
|
324
271
|
<default_value>false</default_value>
|
@@ -332,15 +279,12 @@
|
|
332
279
|
<display_name>false</display_name>
|
333
280
|
</choice>
|
334
281
|
</choices>
|
335
|
-
<min_value></min_value>
|
336
|
-
<max_value></max_value>
|
337
282
|
</argument>
|
338
283
|
<argument>
|
339
284
|
<name>warning_messages</name>
|
340
285
|
<display_name>warning_messages</display_name>
|
341
286
|
<description>Warn on missing data.</description>
|
342
287
|
<type>Boolean</type>
|
343
|
-
<units></units>
|
344
288
|
<required>true</required>
|
345
289
|
<model_dependent>false</model_dependent>
|
346
290
|
<default_value>true</default_value>
|
@@ -354,15 +298,12 @@
|
|
354
298
|
<display_name>false</display_name>
|
355
299
|
</choice>
|
356
300
|
</choices>
|
357
|
-
<min_value></min_value>
|
358
|
-
<max_value></max_value>
|
359
301
|
</argument>
|
360
302
|
<argument>
|
361
303
|
<name>add_first_zero_for_plots</name>
|
362
304
|
<display_name>add_first_zero_for_plots</display_name>
|
363
305
|
<description>Add a point of zero value to the plot at the beginning of the runperiod.</description>
|
364
306
|
<type>Boolean</type>
|
365
|
-
<units></units>
|
366
307
|
<required>true</required>
|
367
308
|
<model_dependent>false</model_dependent>
|
368
309
|
<default_value>false</default_value>
|
@@ -376,15 +317,12 @@
|
|
376
317
|
<display_name>false</display_name>
|
377
318
|
</choice>
|
378
319
|
</choices>
|
379
|
-
<min_value></min_value>
|
380
|
-
<max_value></max_value>
|
381
320
|
</argument>
|
382
321
|
<argument>
|
383
322
|
<name>add_last_zero_for_plots</name>
|
384
323
|
<display_name>add_last_zero_for_plots</display_name>
|
385
324
|
<description>Add a point of zero value to the plot at the end of the runperiod.</description>
|
386
325
|
<type>Boolean</type>
|
387
|
-
<units></units>
|
388
326
|
<required>true</required>
|
389
327
|
<model_dependent>false</model_dependent>
|
390
328
|
<default_value>false</default_value>
|
@@ -398,8 +336,6 @@
|
|
398
336
|
<display_name>false</display_name>
|
399
337
|
</choice>
|
400
338
|
</choices>
|
401
|
-
<min_value></min_value>
|
402
|
-
<max_value></max_value>
|
403
339
|
</argument>
|
404
340
|
</arguments>
|
405
341
|
<outputs>
|
@@ -407,45 +343,35 @@
|
|
407
343
|
<name>diff</name>
|
408
344
|
<display_name>diff</display_name>
|
409
345
|
<short_name>diff</short_name>
|
410
|
-
<description></description>
|
411
346
|
<type>Double</type>
|
412
|
-
<units></units>
|
413
347
|
<model_dependent>false</model_dependent>
|
414
348
|
</output>
|
415
349
|
<output>
|
416
350
|
<name>simdata</name>
|
417
351
|
<display_name>simdata</display_name>
|
418
352
|
<short_name>simdata</short_name>
|
419
|
-
<description></description>
|
420
353
|
<type>Double</type>
|
421
|
-
<units></units>
|
422
354
|
<model_dependent>false</model_dependent>
|
423
355
|
</output>
|
424
356
|
<output>
|
425
357
|
<name>csvdata</name>
|
426
358
|
<display_name>csvdata</display_name>
|
427
359
|
<short_name>csvdata</short_name>
|
428
|
-
<description></description>
|
429
360
|
<type>Double</type>
|
430
|
-
<units></units>
|
431
361
|
<model_dependent>false</model_dependent>
|
432
362
|
</output>
|
433
363
|
<output>
|
434
364
|
<name>cvrmse</name>
|
435
365
|
<display_name>cvrmse</display_name>
|
436
366
|
<short_name>cvrmse</short_name>
|
437
|
-
<description></description>
|
438
367
|
<type>Double</type>
|
439
|
-
<units></units>
|
440
368
|
<model_dependent>false</model_dependent>
|
441
369
|
</output>
|
442
370
|
<output>
|
443
371
|
<name>nmbe</name>
|
444
372
|
<display_name>nmbe</display_name>
|
445
373
|
<short_name>nmbe</short_name>
|
446
|
-
<description></description>
|
447
374
|
<type>Double</type>
|
448
|
-
<units></units>
|
449
375
|
<model_dependent>false</model_dependent>
|
450
376
|
</output>
|
451
377
|
</outputs>
|
@@ -481,7 +407,7 @@
|
|
481
407
|
<filename>LICENSE.md</filename>
|
482
408
|
<filetype>md</filetype>
|
483
409
|
<usage_type>license</usage_type>
|
484
|
-
<checksum>
|
410
|
+
<checksum>A21A3ED2</checksum>
|
485
411
|
</file>
|
486
412
|
<file>
|
487
413
|
<version>
|
@@ -492,20 +418,19 @@
|
|
492
418
|
<filename>measure.rb</filename>
|
493
419
|
<filetype>rb</filetype>
|
494
420
|
<usage_type>script</usage_type>
|
495
|
-
<checksum>
|
421
|
+
<checksum>70C9D9FB</checksum>
|
496
422
|
</file>
|
497
423
|
<file>
|
498
424
|
<filename>README.md</filename>
|
499
425
|
<filetype>md</filetype>
|
500
426
|
<usage_type>readme</usage_type>
|
501
|
-
<checksum>
|
427
|
+
<checksum>3F176FE0</checksum>
|
502
428
|
</file>
|
503
429
|
<file>
|
504
430
|
<filename>report.html.erb</filename>
|
505
431
|
<filetype>erb</filetype>
|
506
432
|
<usage_type>resource</usage_type>
|
507
|
-
<checksum>
|
433
|
+
<checksum>4D36345D</checksum>
|
508
434
|
</file>
|
509
435
|
</files>
|
510
436
|
</measure>
|
511
|
-
<error>wrong number of arguments (given 1, expected 0)</error>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<%
|
2
2
|
# *******************************************************************************
|
3
|
-
# OpenStudio(R), Copyright (c) 2008-
|
3
|
+
# OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
|
4
4
|
# All rights reserved.
|
5
5
|
# Redistribution and use in source and binary forms, with or without
|
6
6
|
# modification, are permitted provided that the following conditions are met:
|
@@ -39,6 +39,9 @@
|
|
39
39
|
|
40
40
|
|
41
41
|
|
42
|
+
|
43
|
+
|
44
|
+
|
42
45
|
<!DOCTYPE html>
|
43
46
|
<meta charset="utf-8">
|
44
47
|
<style>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008-
|
1
|
+
OpenStudio(R), Copyright (c) 2008-2021, 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:
|
@@ -2,16 +2,16 @@
|
|
2
2
|
|
3
3
|
###### (Automatically generated documentation)
|
4
4
|
|
5
|
-
#
|
5
|
+
# Timeseries Plot
|
6
6
|
|
7
7
|
## Description
|
8
|
-
|
8
|
+
Creates an interactive timeseries plot of selected variable.
|
9
9
|
|
10
10
|
## Modeler Description
|
11
|
-
|
11
|
+
NOTE: This will load and respond slowly in the OS app, especially if you select * on a variable with many possible keys or you select timestep data. Suggest you open it in a web browser like Chrome instead.
|
12
12
|
|
13
13
|
## Measure Type
|
14
|
-
|
14
|
+
ReportingMeasure
|
15
15
|
|
16
16
|
## Taxonomy
|
17
17
|
|
@@ -19,8 +19,38 @@ ModelMeasure
|
|
19
19
|
## Arguments
|
20
20
|
|
21
21
|
|
22
|
+
### Enter Variable Name.
|
23
|
+
Valid values can be found in the eplusout.rdd file after a simulation is run.
|
24
|
+
**Name:** variable_name,
|
25
|
+
**Type:** String,
|
26
|
+
**Units:** ,
|
27
|
+
**Required:** true,
|
28
|
+
**Model Dependent:** false
|
29
|
+
|
30
|
+
### Reporting Frequency.
|
31
|
+
|
32
|
+
**Name:** reporting_frequency,
|
33
|
+
**Type:** Choice,
|
34
|
+
**Units:** ,
|
35
|
+
**Required:** true,
|
36
|
+
**Model Dependent:** false
|
37
|
+
|
38
|
+
### Enter Key Name.
|
39
|
+
Enter * for all objects or the full name of a specific object to.
|
40
|
+
**Name:** key_value,
|
41
|
+
**Type:** String,
|
42
|
+
**Units:** ,
|
43
|
+
**Required:** true,
|
44
|
+
**Model Dependent:** false
|
45
|
+
|
46
|
+
### availableEnvPeriods
|
47
|
+
availableEnvPeriods
|
48
|
+
**Name:** env,
|
49
|
+
**Type:** String,
|
50
|
+
**Units:** ,
|
51
|
+
**Required:** true,
|
52
|
+
**Model Dependent:** false
|
22
53
|
|
23
54
|
|
24
|
-
This measure does not have any user arguments
|
25
55
|
|
26
56
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# *******************************************************************************
|
2
|
-
# OpenStudio(R), Copyright (c) 2008-
|
2
|
+
# OpenStudio(R), Copyright (c) 2008-2021, 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:
|
@@ -56,7 +56,7 @@ class TimeseriesPlot < OpenStudio::Measure::ReportingMeasure
|
|
56
56
|
end
|
57
57
|
|
58
58
|
# define the arguments that the user will input
|
59
|
-
def arguments
|
59
|
+
def arguments(model = nil)
|
60
60
|
args = OpenStudio::Measure::OSArgumentVector.new
|
61
61
|
|
62
62
|
# make an argument for the variable name
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<schema_version>3.0</schema_version>
|
4
4
|
<name>timeseries_plot</name>
|
5
5
|
<uid>6804217d-4737-45f3-82df-b81393c29ce7</uid>
|
6
|
-
<version_id>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>f98dc824-7042-4ea0-be6d-200a24b5757e</version_id>
|
7
|
+
<version_modified>20220223T012006Z</version_modified>
|
8
8
|
<xml_checksum>FFE04372</xml_checksum>
|
9
9
|
<class_name>TimeseriesPlot</class_name>
|
10
10
|
<display_name>Timeseries Plot</display_name>
|
@@ -16,19 +16,13 @@
|
|
16
16
|
<display_name>Enter Variable Name.</display_name>
|
17
17
|
<description>Valid values can be found in the eplusout.rdd file after a simulation is run.</description>
|
18
18
|
<type>String</type>
|
19
|
-
<units></units>
|
20
19
|
<required>true</required>
|
21
20
|
<model_dependent>false</model_dependent>
|
22
|
-
<default_value></default_value>
|
23
|
-
<min_value></min_value>
|
24
|
-
<max_value></max_value>
|
25
21
|
</argument>
|
26
22
|
<argument>
|
27
23
|
<name>reporting_frequency</name>
|
28
24
|
<display_name>Reporting Frequency.</display_name>
|
29
|
-
<description></description>
|
30
25
|
<type>Choice</type>
|
31
|
-
<units></units>
|
32
26
|
<required>true</required>
|
33
27
|
<model_dependent>false</model_dependent>
|
34
28
|
<default_value>Hourly</default_value>
|
@@ -62,32 +56,24 @@
|
|
62
56
|
<display_name>Runperiod</display_name>
|
63
57
|
</choice>
|
64
58
|
</choices>
|
65
|
-
<min_value></min_value>
|
66
|
-
<max_value></max_value>
|
67
59
|
</argument>
|
68
60
|
<argument>
|
69
61
|
<name>key_value</name>
|
70
62
|
<display_name>Enter Key Name.</display_name>
|
71
63
|
<description>Enter * for all objects or the full name of a specific object to.</description>
|
72
64
|
<type>String</type>
|
73
|
-
<units></units>
|
74
65
|
<required>true</required>
|
75
66
|
<model_dependent>false</model_dependent>
|
76
67
|
<default_value>*</default_value>
|
77
|
-
<min_value></min_value>
|
78
|
-
<max_value></max_value>
|
79
68
|
</argument>
|
80
69
|
<argument>
|
81
70
|
<name>env</name>
|
82
71
|
<display_name>availableEnvPeriods</display_name>
|
83
72
|
<description>availableEnvPeriods</description>
|
84
73
|
<type>String</type>
|
85
|
-
<units></units>
|
86
74
|
<required>true</required>
|
87
75
|
<model_dependent>false</model_dependent>
|
88
76
|
<default_value>RUN PERIOD 1</default_value>
|
89
|
-
<min_value></min_value>
|
90
|
-
<max_value></max_value>
|
91
77
|
</argument>
|
92
78
|
</arguments>
|
93
79
|
<outputs />
|
@@ -113,18 +99,18 @@
|
|
113
99
|
</attribute>
|
114
100
|
</attributes>
|
115
101
|
<files>
|
116
|
-
<file>
|
117
|
-
<filename>LICENSE.md</filename>
|
118
|
-
<filetype>md</filetype>
|
119
|
-
<usage_type>license</usage_type>
|
120
|
-
<checksum>E0468DD6</checksum>
|
121
|
-
</file>
|
122
102
|
<file>
|
123
103
|
<filename>README.md.erb</filename>
|
124
104
|
<filetype>erb</filetype>
|
125
105
|
<usage_type>readmeerb</usage_type>
|
126
106
|
<checksum>703C9964</checksum>
|
127
107
|
</file>
|
108
|
+
<file>
|
109
|
+
<filename>LICENSE.md</filename>
|
110
|
+
<filetype>md</filetype>
|
111
|
+
<usage_type>license</usage_type>
|
112
|
+
<checksum>A21A3ED2</checksum>
|
113
|
+
</file>
|
128
114
|
<file>
|
129
115
|
<version>
|
130
116
|
<software_program>OpenStudio</software_program>
|
@@ -134,20 +120,19 @@
|
|
134
120
|
<filename>measure.rb</filename>
|
135
121
|
<filetype>rb</filetype>
|
136
122
|
<usage_type>script</usage_type>
|
137
|
-
<checksum>
|
123
|
+
<checksum>210E98F2</checksum>
|
138
124
|
</file>
|
139
125
|
<file>
|
140
126
|
<filename>README.md</filename>
|
141
127
|
<filetype>md</filetype>
|
142
128
|
<usage_type>readme</usage_type>
|
143
|
-
<checksum>
|
129
|
+
<checksum>A3A04D6D</checksum>
|
144
130
|
</file>
|
145
131
|
<file>
|
146
132
|
<filename>report.html.erb</filename>
|
147
133
|
<filetype>erb</filetype>
|
148
134
|
<usage_type>resource</usage_type>
|
149
|
-
<checksum>
|
135
|
+
<checksum>279ABA14</checksum>
|
150
136
|
</file>
|
151
137
|
</files>
|
152
138
|
</measure>
|
153
|
-
<error>wrong number of arguments (given 1, expected 0)</error>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<%
|
2
2
|
# *******************************************************************************
|
3
|
-
# OpenStudio(R), Copyright (c) 2008-
|
3
|
+
# OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
|
4
4
|
# All rights reserved.
|
5
5
|
# Redistribution and use in source and binary forms, with or without
|
6
6
|
# modification, are permitted provided that the following conditions are met:
|
@@ -39,6 +39,9 @@
|
|
39
39
|
|
40
40
|
|
41
41
|
|
42
|
+
|
43
|
+
|
44
|
+
|
42
45
|
<!DOCTYPE html>
|
43
46
|
<meta charset="utf-8">
|
44
47
|
<style>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
OpenStudio(R), Copyright (c) 2008-
|
1
|
+
OpenStudio(R), Copyright (c) 2008-2021, 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-2021, 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:
|