openstudio-analysis 0.4.2 → 0.4.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/CHANGELOG.md +13 -0
- data/README.md +6 -1
- data/lib/openstudio-analysis.rb +4 -0
- data/lib/openstudio/analysis.rb +16 -0
- data/lib/openstudio/analysis/algorithm_attributes.rb +4 -0
- data/lib/openstudio/analysis/formulation.rb +115 -49
- data/lib/openstudio/analysis/server_api.rb +151 -12
- data/lib/openstudio/analysis/support_files.rb +21 -3
- data/lib/openstudio/analysis/translator/excel.rb +84 -299
- data/lib/openstudio/analysis/version.rb +1 -1
- data/lib/openstudio/analysis/workflow.rb +79 -33
- data/lib/openstudio/analysis/workflow_step.rb +165 -39
- data/lib/openstudio/helpers/string.rb +1 -1
- data/lib/openstudio/weather/epw.rb +193 -0
- data/spec/files/0_1_09_outputvars.xlsx +0 -0
- data/spec/files/0_1_09_setup_version_2.xlsx +0 -0
- data/spec/files/0_3_0_dynamic_uuids.xlsx +0 -0
- data/spec/files/0_3_0_outputs.xlsx +0 -0
- data/spec/files/0_3_3_short_names.xlsx +0 -0
- data/spec/files/0_3_5_multiple_measure_paths.xlsx +0 -0
- data/spec/files/0_3_7_unique_measure_names.xlsx +0 -0
- data/spec/files/0_3_7_worker_init_final.xlsx +0 -0
- data/spec/files/0_4_0_multiple_seeds.xlsx +0 -0
- data/spec/files/0_4_0_pivot_test.xlsx +0 -0
- data/spec/files/analysis/examples/medium_office_workflow.json +1298 -0
- data/spec/files/analysis/medium_office.json +666 -603
- data/spec/files/analysis/medium_office.zip +0 -0
- data/spec/files/analysis/name_goes_here.json +1752 -0
- data/spec/files/{export/analysis/small_seed.zip → analysis/name_goes_here.zip} +0 -0
- data/spec/files/export/analysis/0_1_09_outputvars.json +265 -230
- data/spec/files/export/analysis/0_1_09_outputvars.zip +0 -0
- data/spec/files/export/analysis/{71bebb0a-34b7-404b-b430-0ee7dab962ff.json → 0_3_0_dynamic_uuids.json} +684 -590
- data/spec/files/export/analysis/{67e3ba4a-2660-41b6-a7c5-d4457a4275c4.zip → 0_3_0_dynamic_uuids.zip} +0 -0
- data/spec/files/export/analysis/0_3_0_outputs.json +684 -590
- data/spec/files/export/analysis/0_3_0_outputs.zip +0 -0
- data/spec/files/export/analysis/{5b5264db-a31e-4bab-931b-94101bd23b80.json → 0_3_3_short_names.json} +697 -622
- data/spec/files/export/analysis/{1d8d62bb-f058-4c38-893b-8eaa7ceea254.zip → 0_3_3_short_names.zip} +0 -0
- data/spec/files/export/analysis/{1d8d62bb-f058-4c38-893b-8eaa7ceea254.json → 0_3_5_multiple_measure_paths.json} +717 -602
- data/spec/files/export/analysis/{5b5264db-a31e-4bab-931b-94101bd23b80.zip → 0_3_5_multiple_measure_paths.zip} +0 -0
- data/spec/files/export/analysis/{67e3ba4a-2660-41b6-a7c5-d4457a4275c4.json → 0_3_7_worker_init_final.json} +708 -613
- data/spec/files/export/analysis/{71bebb0a-34b7-404b-b430-0ee7dab962ff.zip → 0_3_7_worker_init_final.zip} +0 -0
- data/spec/files/export/analysis/{0_1_11_discrete_variables.json → example_analysis.json} +279 -214
- data/spec/files/export/analysis/{0_1_11_discrete_variables.zip → example_analysis.zip} +0 -0
- data/spec/files/export/analysis/{discrete_lhs_example.json → lhs_discrete_and_continuous_variables.json} +549 -436
- data/spec/files/export/analysis/{discrete_lhs_example.zip → lhs_discrete_and_continuous_variables.zip} +0 -0
- data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_f4a73fc4-0514-4033-b54d-d1c58c77c724.json +1298 -0
- data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_f4a73fc4-0514-4033-b54d-d1c58c77c724.zip +0 -0
- data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_model_-_1.json +1298 -0
- data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_model_-_1.zip +0 -0
- data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_something_else.json +1298 -0
- data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_something_else.zip +0 -0
- data/spec/files/export/analysis/pivot_test.json +1323 -0
- data/spec/files/export/analysis/pivot_test.zip +0 -0
- data/spec/files/export/analysis/{0_2_0_template_simpletest.json → simple_test.json} +201 -178
- data/spec/files/export/analysis/{0_2_0_template_simpletest.zip → simple_test.zip} +0 -0
- data/spec/files/export/analysis/{0_1_12_discrete_dynamic_columns.json → test_model.json} +189 -167
- data/spec/files/export/analysis/{0_1_12_discrete_dynamic_columns.zip → test_model.zip} +0 -0
- data/spec/files/export/weather/weather_out.epw +32 -0
- data/spec/files/export/weather/weather_out_appended.epw +56 -0
- data/spec/files/export/workflow/analysis.json +0 -1
- data/spec/files/measures/reduce_space_infiltration_by_percentage/measure.rb +5 -0
- data/spec/files/measures/reduce_space_infiltration_by_percentage/measure.xml +1 -0
- data/spec/files/measures/rotate_building/measure.rb +5 -0
- data/spec/files/measures/rotate_building/measure.xml +1 -0
- data/spec/files/measures/set_window_to_wall_ratio_by_facade/measure.rb +5 -0
- data/spec/files/measures/set_window_to_wall_ratio_by_facade/measure.xml +1 -0
- data/spec/files/partial_weather.epw +32 -32
- data/spec/openstudio/excel_spec.rb +103 -69
- data/spec/openstudio/formulation_spec.rb +28 -14
- data/spec/openstudio/support_files_spec.rb +2 -2
- data/spec/openstudio/weather_spec.rb +45 -0
- data/spec/openstudio/workflow_spec.rb +2 -1
- data/spec/openstudio/workflow_step_spec.rb +24 -22
- data/spec/reports/SPEC-OpenStudio-Analysis-Formulation.xml +59 -10
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-object-instance.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.xml +1 -1
- data/spec/reports/SPEC-OpenStudio-Analysis-SupportFiles.xml +6 -6
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.xml +25 -7
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.xml +18 -5
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.xml +5 -8
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.xml +29 -12
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.xml +5 -5
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.xml +26 -9
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.xml +2 -2
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.xml +3 -7
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.xml +20 -9
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.xml +35 -10
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-dynamic-uuid-assignments.xml +47 -5
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-measure-existence-checks.xml +3 -6
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.xml +48 -10
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.xml +48 -6
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-5-and-measure-paths.xml +48 -8
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-7-and-worker-init-final-scripts.0.xml +55 -6
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-7-and-worker-init-final-scripts.xml +51 -8
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-4-0-multiple-seed-models.xml +165 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-4-0-pivot-test.xml +60 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.xml +1 -1
- data/spec/reports/SPEC-OpenStudio-Analysis-Workflow.xml +7 -7
- data/spec/reports/SPEC-OpenStudio-Analysis-WorkflowStep.xml +8 -14
- data/spec/reports/SPEC-OpenStudio-Weather-Epw.xml +9 -0
- metadata +97 -50
- data/spec/files/export/analysis/small_seed.json +0 -593
Binary file
|
@@ -4,319 +4,320 @@
|
|
4
4
|
"name": "test_model",
|
5
5
|
"output_variables": [
|
6
6
|
{
|
7
|
-
"display_name": "Total Natual Gas",
|
8
|
-
"display_name_short": "Total Natual Gas",
|
9
|
-
"metadata_id": null,
|
10
|
-
"name": "total_natural_gas",
|
11
7
|
"units": "MJ/m2",
|
12
8
|
"objective_function": true,
|
13
9
|
"objective_function_index": 0,
|
14
10
|
"objective_function_target": 330.7,
|
11
|
+
"objective_function_group": "TRUE",
|
15
12
|
"scaling_factor": null,
|
16
|
-
"
|
13
|
+
"display_name": "Total Natual Gas",
|
14
|
+
"display_name_short": "Total Natual Gas",
|
15
|
+
"metadata_id": null,
|
16
|
+
"name": "total_natural_gas"
|
17
17
|
},
|
18
18
|
{
|
19
|
-
"display_name": "Total Electricity",
|
20
|
-
"display_name_short": "Total Electricity",
|
21
|
-
"metadata_id": null,
|
22
|
-
"name": "total_electricity",
|
23
19
|
"units": "MJ/m2",
|
24
20
|
"objective_function": true,
|
25
21
|
"objective_function_index": 1,
|
26
22
|
"objective_function_target": 496.5,
|
23
|
+
"objective_function_group": "TRUE",
|
27
24
|
"scaling_factor": null,
|
28
|
-
"
|
25
|
+
"display_name": "Total Electricity",
|
26
|
+
"display_name_short": "Total Electricity",
|
27
|
+
"metadata_id": null,
|
28
|
+
"name": "total_electricity"
|
29
29
|
},
|
30
30
|
{
|
31
|
-
"display_name": "cooling_electricity_jan",
|
32
|
-
"display_name_short": "cooling_electricity_jan",
|
33
|
-
"metadata_id": null,
|
34
|
-
"name": "cooling_electricity_jan",
|
35
31
|
"units": "J",
|
36
32
|
"objective_function": true,
|
37
33
|
"objective_function_index": 2,
|
38
34
|
"objective_function_target": 63597914341.3388,
|
35
|
+
"objective_function_group": "TRUE",
|
39
36
|
"scaling_factor": 46320380000.0,
|
40
|
-
"
|
37
|
+
"display_name": "cooling_electricity_jan",
|
38
|
+
"display_name_short": "cooling_electricity_jan",
|
39
|
+
"metadata_id": null,
|
40
|
+
"name": "cooling_electricity_jan"
|
41
41
|
},
|
42
42
|
{
|
43
|
-
"display_name": "cooling_electricity_feb",
|
44
|
-
"display_name_short": "cooling_electricity_feb",
|
45
|
-
"metadata_id": null,
|
46
|
-
"name": "cooling_electricity_feb",
|
47
43
|
"units": "J",
|
48
44
|
"objective_function": true,
|
49
45
|
"objective_function_index": 3,
|
50
46
|
"objective_function_target": 58138465958.3439,
|
47
|
+
"objective_function_group": "TRUE",
|
51
48
|
"scaling_factor": 46320380000.0,
|
52
|
-
"
|
49
|
+
"display_name": "cooling_electricity_feb",
|
50
|
+
"display_name_short": "cooling_electricity_feb",
|
51
|
+
"metadata_id": null,
|
52
|
+
"name": "cooling_electricity_feb"
|
53
53
|
},
|
54
54
|
{
|
55
|
-
"display_name": "cooling_electricity_mar",
|
56
|
-
"display_name_short": "cooling_electricity_mar",
|
57
|
-
"metadata_id": null,
|
58
|
-
"name": "cooling_electricity_mar",
|
59
55
|
"units": "J",
|
60
56
|
"objective_function": true,
|
61
57
|
"objective_function_index": 4,
|
62
58
|
"objective_function_target": 301531761648.05,
|
59
|
+
"objective_function_group": "TRUE",
|
63
60
|
"scaling_factor": 46320380000.0,
|
64
|
-
"
|
61
|
+
"display_name": "cooling_electricity_mar",
|
62
|
+
"display_name_short": "cooling_electricity_mar",
|
63
|
+
"metadata_id": null,
|
64
|
+
"name": "cooling_electricity_mar"
|
65
65
|
},
|
66
66
|
{
|
67
|
-
"display_name": "cooling_electricity_apr",
|
68
|
-
"display_name_short": "cooling_electricity_apr",
|
69
|
-
"metadata_id": null,
|
70
|
-
"name": "cooling_electricity_apr",
|
71
67
|
"units": "J",
|
72
68
|
"objective_function": true,
|
73
69
|
"objective_function_index": 5,
|
74
70
|
"objective_function_target": 336163175378.778,
|
71
|
+
"objective_function_group": "TRUE",
|
75
72
|
"scaling_factor": 46320380000.0,
|
76
|
-
"
|
73
|
+
"display_name": "cooling_electricity_apr",
|
74
|
+
"display_name_short": "cooling_electricity_apr",
|
75
|
+
"metadata_id": null,
|
76
|
+
"name": "cooling_electricity_apr"
|
77
77
|
},
|
78
78
|
{
|
79
|
-
"display_name": "cooling_electricity_may",
|
80
|
-
"display_name_short": "cooling_electricity_may",
|
81
|
-
"metadata_id": null,
|
82
|
-
"name": "cooling_electricity_may",
|
83
79
|
"units": "J",
|
84
80
|
"objective_function": true,
|
85
81
|
"objective_function_index": 6,
|
86
82
|
"objective_function_target": 1412749721236.32,
|
83
|
+
"objective_function_group": "TRUE",
|
87
84
|
"scaling_factor": 46320380000.0,
|
88
|
-
"
|
85
|
+
"display_name": "cooling_electricity_may",
|
86
|
+
"display_name_short": "cooling_electricity_may",
|
87
|
+
"metadata_id": null,
|
88
|
+
"name": "cooling_electricity_may"
|
89
89
|
},
|
90
90
|
{
|
91
|
-
"display_name": "cooling_electricity_jun",
|
92
|
-
"display_name_short": "cooling_electricity_jun",
|
93
|
-
"metadata_id": null,
|
94
|
-
"name": "cooling_electricity_jun",
|
95
91
|
"units": "J",
|
96
92
|
"objective_function": true,
|
97
93
|
"objective_function_index": 7,
|
98
94
|
"objective_function_target": 2327741408781.58,
|
95
|
+
"objective_function_group": "TRUE",
|
99
96
|
"scaling_factor": 46320380000.0,
|
100
|
-
"
|
97
|
+
"display_name": "cooling_electricity_jun",
|
98
|
+
"display_name_short": "cooling_electricity_jun",
|
99
|
+
"metadata_id": null,
|
100
|
+
"name": "cooling_electricity_jun"
|
101
101
|
},
|
102
102
|
{
|
103
|
-
"display_name": "cooling_electricity_jul",
|
104
|
-
"display_name_short": "cooling_electricity_jul",
|
105
|
-
"metadata_id": null,
|
106
|
-
"name": "cooling_electricity_jul",
|
107
103
|
"units": "J",
|
108
104
|
"objective_function": true,
|
109
105
|
"objective_function_index": 8,
|
110
106
|
"objective_function_target": 2402590637505.39,
|
107
|
+
"objective_function_group": "TRUE",
|
111
108
|
"scaling_factor": 46320380000.0,
|
112
|
-
"
|
109
|
+
"display_name": "cooling_electricity_jul",
|
110
|
+
"display_name_short": "cooling_electricity_jul",
|
111
|
+
"metadata_id": null,
|
112
|
+
"name": "cooling_electricity_jul"
|
113
113
|
},
|
114
114
|
{
|
115
|
-
"display_name": "cooling_electricity_aug",
|
116
|
-
"display_name_short": "cooling_electricity_aug",
|
117
|
-
"metadata_id": null,
|
118
|
-
"name": "cooling_electricity_aug",
|
119
115
|
"units": "J",
|
120
116
|
"objective_function": true,
|
121
117
|
"objective_function_index": 9,
|
122
118
|
"objective_function_target": 2472656245279.37,
|
119
|
+
"objective_function_group": "TRUE",
|
123
120
|
"scaling_factor": 46320380000.0,
|
124
|
-
"
|
121
|
+
"display_name": "cooling_electricity_aug",
|
122
|
+
"display_name_short": "cooling_electricity_aug",
|
123
|
+
"metadata_id": null,
|
124
|
+
"name": "cooling_electricity_aug"
|
125
125
|
},
|
126
126
|
{
|
127
|
-
"display_name": "cooling_electricity_sep",
|
128
|
-
"display_name_short": "cooling_electricity_sep",
|
129
|
-
"metadata_id": null,
|
130
|
-
"name": "cooling_electricity_sep",
|
131
127
|
"units": "J",
|
132
128
|
"objective_function": true,
|
133
129
|
"objective_function_index": 10,
|
134
130
|
"objective_function_target": 1807432185051.14,
|
131
|
+
"objective_function_group": "TRUE",
|
135
132
|
"scaling_factor": 46320380000.0,
|
136
|
-
"
|
133
|
+
"display_name": "cooling_electricity_sep",
|
134
|
+
"display_name_short": "cooling_electricity_sep",
|
135
|
+
"metadata_id": null,
|
136
|
+
"name": "cooling_electricity_sep"
|
137
137
|
},
|
138
138
|
{
|
139
|
-
"display_name": "cooling_electricity_oct",
|
140
|
-
"display_name_short": "cooling_electricity_oct",
|
141
|
-
"metadata_id": null,
|
142
|
-
"name": "cooling_electricity_oct",
|
143
139
|
"units": "J",
|
144
140
|
"objective_function": true,
|
145
141
|
"objective_function_index": 11,
|
146
142
|
"objective_function_target": 619615878181.616,
|
143
|
+
"objective_function_group": "TRUE",
|
147
144
|
"scaling_factor": 46320380000.0,
|
148
|
-
"
|
145
|
+
"display_name": "cooling_electricity_oct",
|
146
|
+
"display_name_short": "cooling_electricity_oct",
|
147
|
+
"metadata_id": null,
|
148
|
+
"name": "cooling_electricity_oct"
|
149
149
|
},
|
150
150
|
{
|
151
|
-
"display_name": "cooling_electricity_nov",
|
152
|
-
"display_name_short": "cooling_electricity_nov",
|
153
|
-
"metadata_id": null,
|
154
|
-
"name": "cooling_electricity_nov",
|
155
151
|
"units": "J",
|
156
152
|
"objective_function": true,
|
157
153
|
"objective_function_index": 12,
|
158
154
|
"objective_function_target": 117109844324.095,
|
155
|
+
"objective_function_group": "TRUE",
|
159
156
|
"scaling_factor": 46320380000.0,
|
160
|
-
"
|
157
|
+
"display_name": "cooling_electricity_nov",
|
158
|
+
"display_name_short": "cooling_electricity_nov",
|
159
|
+
"metadata_id": null,
|
160
|
+
"name": "cooling_electricity_nov"
|
161
161
|
},
|
162
162
|
{
|
163
|
-
"display_name": "cooling_electricity_dec",
|
164
|
-
"display_name_short": "cooling_electricity_dec",
|
165
|
-
"metadata_id": null,
|
166
|
-
"name": "cooling_electricity_dec",
|
167
163
|
"units": "J",
|
168
164
|
"objective_function": true,
|
169
165
|
"objective_function_index": 13,
|
170
166
|
"objective_function_target": 103360013175.794,
|
167
|
+
"objective_function_group": "TRUE",
|
171
168
|
"scaling_factor": 46320380000.0,
|
172
|
-
"
|
169
|
+
"display_name": "cooling_electricity_dec",
|
170
|
+
"display_name_short": "cooling_electricity_dec",
|
171
|
+
"metadata_id": null,
|
172
|
+
"name": "cooling_electricity_dec"
|
173
173
|
},
|
174
174
|
{
|
175
|
-
"display_name": "heating_gas_jan",
|
176
|
-
"display_name_short": "heating_gas_jan",
|
177
|
-
"metadata_id": null,
|
178
|
-
"name": "heating_gas_jan",
|
179
175
|
"units": "J",
|
180
176
|
"objective_function": true,
|
181
177
|
"objective_function_index": 14,
|
182
178
|
"objective_function_target": 2799558466140.68,
|
179
|
+
"objective_function_group": "TRUE",
|
183
180
|
"scaling_factor": 46320380000.0,
|
184
|
-
"
|
181
|
+
"display_name": "heating_gas_jan",
|
182
|
+
"display_name_short": "heating_gas_jan",
|
183
|
+
"metadata_id": null,
|
184
|
+
"name": "heating_gas_jan"
|
185
185
|
},
|
186
186
|
{
|
187
|
-
"display_name": "heating_gas_feb",
|
188
|
-
"display_name_short": "heating_gas_feb",
|
189
|
-
"metadata_id": null,
|
190
|
-
"name": "heating_gas_feb",
|
191
187
|
"units": "J",
|
192
188
|
"objective_function": true,
|
193
189
|
"objective_function_index": 15,
|
194
190
|
"objective_function_target": 2663349812763.18,
|
191
|
+
"objective_function_group": "TRUE",
|
195
192
|
"scaling_factor": 46320380000.0,
|
196
|
-
"
|
193
|
+
"display_name": "heating_gas_feb",
|
194
|
+
"display_name_short": "heating_gas_feb",
|
195
|
+
"metadata_id": null,
|
196
|
+
"name": "heating_gas_feb"
|
197
197
|
},
|
198
198
|
{
|
199
|
-
"display_name": "heating_gas_mar",
|
200
|
-
"display_name_short": "heating_gas_mar",
|
201
|
-
"metadata_id": null,
|
202
|
-
"name": "heating_gas_mar",
|
203
199
|
"units": "J",
|
204
200
|
"objective_function": true,
|
205
201
|
"objective_function_index": 16,
|
206
202
|
"objective_function_target": 1576136833664.73,
|
203
|
+
"objective_function_group": "TRUE",
|
207
204
|
"scaling_factor": 46320380000.0,
|
208
|
-
"
|
205
|
+
"display_name": "heating_gas_mar",
|
206
|
+
"display_name_short": "heating_gas_mar",
|
207
|
+
"metadata_id": null,
|
208
|
+
"name": "heating_gas_mar"
|
209
209
|
},
|
210
210
|
{
|
211
|
-
"display_name": "heating_gas_apr",
|
212
|
-
"display_name_short": "heating_gas_apr",
|
213
|
-
"metadata_id": null,
|
214
|
-
"name": "heating_gas_apr",
|
215
211
|
"units": "J",
|
216
212
|
"objective_function": true,
|
217
213
|
"objective_function_index": 17,
|
218
214
|
"objective_function_target": 1752794439290.69,
|
215
|
+
"objective_function_group": "TRUE",
|
219
216
|
"scaling_factor": 46320380000.0,
|
220
|
-
"
|
217
|
+
"display_name": "heating_gas_apr",
|
218
|
+
"display_name_short": "heating_gas_apr",
|
219
|
+
"metadata_id": null,
|
220
|
+
"name": "heating_gas_apr"
|
221
221
|
},
|
222
222
|
{
|
223
|
-
"display_name": "heating_gas_may",
|
224
|
-
"display_name_short": "heating_gas_may",
|
225
|
-
"metadata_id": null,
|
226
|
-
"name": "heating_gas_may",
|
227
223
|
"units": "J",
|
228
224
|
"objective_function": true,
|
229
225
|
"objective_function_index": 18,
|
230
226
|
"objective_function_target": 375145279804.892,
|
227
|
+
"objective_function_group": "TRUE",
|
231
228
|
"scaling_factor": 46320380000.0,
|
232
|
-
"
|
229
|
+
"display_name": "heating_gas_may",
|
230
|
+
"display_name_short": "heating_gas_may",
|
231
|
+
"metadata_id": null,
|
232
|
+
"name": "heating_gas_may"
|
233
233
|
},
|
234
234
|
{
|
235
|
-
"display_name": "heating_gas_jun",
|
236
|
-
"display_name_short": "heating_gas_jun",
|
237
|
-
"metadata_id": null,
|
238
|
-
"name": "heating_gas_jun",
|
239
235
|
"units": "J",
|
240
236
|
"objective_function": true,
|
241
237
|
"objective_function_index": 19,
|
242
238
|
"objective_function_target": 32970706746.2053,
|
239
|
+
"objective_function_group": "TRUE",
|
243
240
|
"scaling_factor": 46320380000.0,
|
244
|
-
"
|
241
|
+
"display_name": "heating_gas_jun",
|
242
|
+
"display_name_short": "heating_gas_jun",
|
243
|
+
"metadata_id": null,
|
244
|
+
"name": "heating_gas_jun"
|
245
245
|
},
|
246
246
|
{
|
247
|
-
"display_name": "heating_gas_jul",
|
248
|
-
"display_name_short": "heating_gas_jul",
|
249
|
-
"metadata_id": null,
|
250
|
-
"name": "heating_gas_jul",
|
251
247
|
"units": "J",
|
252
248
|
"objective_function": true,
|
253
249
|
"objective_function_index": 20,
|
254
250
|
"objective_function_target": 50096876832.5083,
|
251
|
+
"objective_function_group": "TRUE",
|
255
252
|
"scaling_factor": 46320380000.0,
|
256
|
-
"
|
253
|
+
"display_name": "heating_gas_jul",
|
254
|
+
"display_name_short": "heating_gas_jul",
|
255
|
+
"metadata_id": null,
|
256
|
+
"name": "heating_gas_jul"
|
257
257
|
},
|
258
258
|
{
|
259
|
-
"display_name": "heating_gas_aug",
|
260
|
-
"display_name_short": "heating_gas_aug",
|
261
|
-
"metadata_id": null,
|
262
|
-
"name": "heating_gas_aug",
|
263
259
|
"units": "J",
|
264
260
|
"objective_function": true,
|
265
261
|
"objective_function_index": 21,
|
266
262
|
"objective_function_target": 32660740137.6019,
|
263
|
+
"objective_function_group": "TRUE",
|
267
264
|
"scaling_factor": 46320380000.0,
|
268
|
-
"
|
265
|
+
"display_name": "heating_gas_aug",
|
266
|
+
"display_name_short": "heating_gas_aug",
|
267
|
+
"metadata_id": null,
|
268
|
+
"name": "heating_gas_aug"
|
269
269
|
},
|
270
270
|
{
|
271
|
-
"display_name": "heating_gas_sep",
|
272
|
-
"display_name_short": "heating_gas_sep",
|
273
|
-
"metadata_id": null,
|
274
|
-
"name": "heating_gas_sep",
|
275
271
|
"units": "J",
|
276
272
|
"objective_function": true,
|
277
273
|
"objective_function_index": 22,
|
278
274
|
"objective_function_target": 144097879467.636,
|
275
|
+
"objective_function_group": "TRUE",
|
279
276
|
"scaling_factor": 46320380000.0,
|
280
|
-
"
|
277
|
+
"display_name": "heating_gas_sep",
|
278
|
+
"display_name_short": "heating_gas_sep",
|
279
|
+
"metadata_id": null,
|
280
|
+
"name": "heating_gas_sep"
|
281
281
|
},
|
282
282
|
{
|
283
|
-
"display_name": "heating_gas_oct",
|
284
|
-
"display_name_short": "heating_gas_oct",
|
285
|
-
"metadata_id": null,
|
286
|
-
"name": "heating_gas_oct",
|
287
283
|
"units": "J",
|
288
284
|
"objective_function": true,
|
289
285
|
"objective_function_index": 23,
|
290
286
|
"objective_function_target": 970975709027.067,
|
287
|
+
"objective_function_group": "TRUE",
|
291
288
|
"scaling_factor": 46320380000.0,
|
292
|
-
"
|
289
|
+
"display_name": "heating_gas_oct",
|
290
|
+
"display_name_short": "heating_gas_oct",
|
291
|
+
"metadata_id": null,
|
292
|
+
"name": "heating_gas_oct"
|
293
293
|
},
|
294
294
|
{
|
295
|
-
"display_name": "heating_gas_nov",
|
296
|
-
"display_name_short": "heating_gas_nov",
|
297
|
-
"metadata_id": null,
|
298
|
-
"name": "heating_gas_nov",
|
299
295
|
"units": "J",
|
300
296
|
"objective_function": true,
|
301
297
|
"objective_function_index": 24,
|
302
298
|
"objective_function_target": 2261115778226.24,
|
299
|
+
"objective_function_group": "TRUE",
|
303
300
|
"scaling_factor": 46320380000.0,
|
304
|
-
"
|
301
|
+
"display_name": "heating_gas_nov",
|
302
|
+
"display_name_short": "heating_gas_nov",
|
303
|
+
"metadata_id": null,
|
304
|
+
"name": "heating_gas_nov"
|
305
305
|
},
|
306
306
|
{
|
307
|
-
"display_name": "heating_gas_dec",
|
308
|
-
"display_name_short": "heating_gas_dec",
|
309
|
-
"metadata_id": null,
|
310
|
-
"name": "heating_gas_dec",
|
311
307
|
"units": "J",
|
312
308
|
"objective_function": true,
|
313
309
|
"objective_function_index": 25,
|
314
310
|
"objective_function_target": 2657735386128.84,
|
311
|
+
"objective_function_group": "TRUE",
|
315
312
|
"scaling_factor": 46320380000.0,
|
316
|
-
"
|
313
|
+
"display_name": "heating_gas_dec",
|
314
|
+
"display_name_short": "heating_gas_dec",
|
315
|
+
"metadata_id": null,
|
316
|
+
"name": "heating_gas_dec"
|
317
317
|
}
|
318
318
|
],
|
319
319
|
"problem": {
|
320
|
+
"analysis_type": "lhs",
|
320
321
|
"algorithm": {
|
321
322
|
"sample_method": "all_variables",
|
322
323
|
"number_of_samples": 4,
|
@@ -355,38 +356,50 @@
|
|
355
356
|
},
|
356
357
|
"workflow": [
|
357
358
|
{
|
359
|
+
"name": "adjust_thermostat_setpoints_by_degrees",
|
360
|
+
"display_name": "Adjust Thermostat Setpoints by Degrees",
|
361
|
+
"measure_type": "RubyMeasure",
|
358
362
|
"measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
|
359
363
|
"measure_definition_directory": "./measures/example_measure_auto_directory_name",
|
360
|
-
"
|
361
|
-
"
|
362
|
-
"
|
363
|
-
"
|
364
|
+
"measure_definition_directory_local": "/Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/example_measure_auto_directory_name",
|
365
|
+
"measure_definition_display_name": "Adjust Thermostat Setpoints by Degrees",
|
366
|
+
"measure_definition_name": "adjust_thermostat_setpoints_by_degrees",
|
367
|
+
"measure_definition_name_xml": null,
|
368
|
+
"measure_definition_uuid": "f9f8760d-a963-45e0-bbb9-a3a9c01f2d99",
|
369
|
+
"measure_definition_version_uuid": "38680c68-822d-4210-930b-1685e7e966a9",
|
364
370
|
"arguments": [
|
365
371
|
{
|
366
372
|
"display_name": "Alter Design Day Thermostats?",
|
367
373
|
"display_name_short": "Alter Design Day Thermostats?",
|
368
374
|
"name": "alter_design_days",
|
369
|
-
"
|
370
|
-
"
|
375
|
+
"value_type": "bool",
|
376
|
+
"default_value": false,
|
377
|
+
"value": false
|
371
378
|
}
|
372
379
|
],
|
373
|
-
"display_name": "Adjust Thermostat Setpoints by Degrees",
|
374
|
-
"name": "adjust_thermostat_setpoints_by_degrees",
|
375
380
|
"variables": [
|
376
381
|
{
|
377
382
|
"argument": {
|
378
383
|
"display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
|
379
384
|
"display_name_short": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
|
380
385
|
"name": "cooling_adjustment",
|
381
|
-
"value_type": "double"
|
386
|
+
"value_type": "double",
|
387
|
+
"default_value": 0.0,
|
388
|
+
"value": 0.0
|
382
389
|
},
|
383
390
|
"display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
|
384
391
|
"display_name_short": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
|
385
|
-
"
|
392
|
+
"variable_type": "variable",
|
393
|
+
"units": null,
|
386
394
|
"minimum": 0.0,
|
387
|
-
"
|
395
|
+
"maximum": 5.0,
|
396
|
+
"relation_to_output": null,
|
388
397
|
"static_value": 0.0,
|
398
|
+
"uuid": "af9cbdfb-cf29-4a75-9664-f7fc84d4d32c",
|
399
|
+
"version_uuid": "b8651084-93e7-4065-b59f-883e9b716bbe",
|
400
|
+
"variable": true,
|
389
401
|
"uncertainty_description": {
|
402
|
+
"type": "discrete_uncertain",
|
390
403
|
"attributes": [
|
391
404
|
{
|
392
405
|
"name": "discrete",
|
@@ -416,31 +429,41 @@
|
|
416
429
|
{
|
417
430
|
"name": "modes",
|
418
431
|
"value": 5.0
|
432
|
+
},
|
433
|
+
{
|
434
|
+
"name": "delta_x",
|
435
|
+
"value": null
|
436
|
+
},
|
437
|
+
{
|
438
|
+
"name": "stddev",
|
439
|
+
"value": null
|
419
440
|
}
|
420
|
-
]
|
421
|
-
"type": "discrete_uncertain"
|
441
|
+
]
|
422
442
|
},
|
423
|
-
"
|
424
|
-
"value_type": "double",
|
425
|
-
"variable": true,
|
426
|
-
"variable_type": "RubyContinuousVariable",
|
427
|
-
"uuid": "773998d6-b32f-4a42-8c39-5febdfec60dc",
|
428
|
-
"version_uuid": "ab88c93b-6871-457c-acb1-e7a14b711b7d"
|
443
|
+
"workflow_index": 0
|
429
444
|
},
|
430
445
|
{
|
431
446
|
"argument": {
|
432
447
|
"display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
|
433
448
|
"display_name_short": "Degrees Fahrenheit to Adjust heating Setpoint By.",
|
434
449
|
"name": "heating_adjustment",
|
435
|
-
"value_type": "double"
|
450
|
+
"value_type": "double",
|
451
|
+
"default_value": 0.0,
|
452
|
+
"value": 0.0
|
436
453
|
},
|
437
454
|
"display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
|
438
455
|
"display_name_short": "Degrees Fahrenheit to Adjust heating Setpoint By.",
|
439
|
-
"
|
456
|
+
"variable_type": "variable",
|
457
|
+
"units": null,
|
440
458
|
"minimum": 0.0,
|
441
|
-
"
|
459
|
+
"maximum": 5.0,
|
460
|
+
"relation_to_output": null,
|
442
461
|
"static_value": 0.0,
|
462
|
+
"uuid": "28426bb1-9fb9-4937-9d18-f1454a3fefe8",
|
463
|
+
"version_uuid": "eb022e32-5040-4532-91b8-6fa4c167e8c8",
|
464
|
+
"variable": true,
|
443
465
|
"uncertainty_description": {
|
466
|
+
"type": "discrete_uncertain",
|
444
467
|
"attributes": [
|
445
468
|
{
|
446
469
|
"name": "discrete",
|
@@ -470,25 +493,23 @@
|
|
470
493
|
{
|
471
494
|
"name": "modes",
|
472
495
|
"value": 4.0
|
496
|
+
},
|
497
|
+
{
|
498
|
+
"name": "delta_x",
|
499
|
+
"value": null
|
500
|
+
},
|
501
|
+
{
|
502
|
+
"name": "stddev",
|
503
|
+
"value": null
|
473
504
|
}
|
474
|
-
]
|
475
|
-
"type": "discrete_uncertain"
|
505
|
+
]
|
476
506
|
},
|
477
|
-
"
|
478
|
-
"value_type": "double",
|
479
|
-
"variable": true,
|
480
|
-
"variable_type": "RubyContinuousVariable",
|
481
|
-
"uuid": "b2d8532a-c820-463a-8901-03fd1fecb388",
|
482
|
-
"version_uuid": "6dd2489c-f561-434e-8886-2ac553e9d1ea"
|
507
|
+
"workflow_index": 1
|
483
508
|
}
|
484
509
|
],
|
485
|
-
"workflow_index": 0
|
486
|
-
"workflow_step_type": "Measure",
|
487
|
-
"uuid": "197f233f-f216-4a3f-9f17-8c8fd4ffaafc",
|
488
|
-
"version_uuid": "2c594d7c-fa2a-49ca-b903-8f500005688b"
|
510
|
+
"workflow_index": 0
|
489
511
|
}
|
490
|
-
]
|
491
|
-
"analysis_type": "lhs"
|
512
|
+
]
|
492
513
|
},
|
493
514
|
"seed": {
|
494
515
|
"file_type": "OSM",
|
@@ -497,6 +518,7 @@
|
|
497
518
|
"weather_file": {
|
498
519
|
"file_type": "EPW",
|
499
520
|
"path": "./weather/partial_weather.epw"
|
500
|
-
}
|
521
|
+
},
|
522
|
+
"file_format_version": 1
|
501
523
|
}
|
502
524
|
}
|