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.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +13 -0
  3. data/README.md +6 -1
  4. data/lib/openstudio-analysis.rb +4 -0
  5. data/lib/openstudio/analysis.rb +16 -0
  6. data/lib/openstudio/analysis/algorithm_attributes.rb +4 -0
  7. data/lib/openstudio/analysis/formulation.rb +115 -49
  8. data/lib/openstudio/analysis/server_api.rb +151 -12
  9. data/lib/openstudio/analysis/support_files.rb +21 -3
  10. data/lib/openstudio/analysis/translator/excel.rb +84 -299
  11. data/lib/openstudio/analysis/version.rb +1 -1
  12. data/lib/openstudio/analysis/workflow.rb +79 -33
  13. data/lib/openstudio/analysis/workflow_step.rb +165 -39
  14. data/lib/openstudio/helpers/string.rb +1 -1
  15. data/lib/openstudio/weather/epw.rb +193 -0
  16. data/spec/files/0_1_09_outputvars.xlsx +0 -0
  17. data/spec/files/0_1_09_setup_version_2.xlsx +0 -0
  18. data/spec/files/0_3_0_dynamic_uuids.xlsx +0 -0
  19. data/spec/files/0_3_0_outputs.xlsx +0 -0
  20. data/spec/files/0_3_3_short_names.xlsx +0 -0
  21. data/spec/files/0_3_5_multiple_measure_paths.xlsx +0 -0
  22. data/spec/files/0_3_7_unique_measure_names.xlsx +0 -0
  23. data/spec/files/0_3_7_worker_init_final.xlsx +0 -0
  24. data/spec/files/0_4_0_multiple_seeds.xlsx +0 -0
  25. data/spec/files/0_4_0_pivot_test.xlsx +0 -0
  26. data/spec/files/analysis/examples/medium_office_workflow.json +1298 -0
  27. data/spec/files/analysis/medium_office.json +666 -603
  28. data/spec/files/analysis/medium_office.zip +0 -0
  29. data/spec/files/analysis/name_goes_here.json +1752 -0
  30. data/spec/files/{export/analysis/small_seed.zip → analysis/name_goes_here.zip} +0 -0
  31. data/spec/files/export/analysis/0_1_09_outputvars.json +265 -230
  32. data/spec/files/export/analysis/0_1_09_outputvars.zip +0 -0
  33. data/spec/files/export/analysis/{71bebb0a-34b7-404b-b430-0ee7dab962ff.json → 0_3_0_dynamic_uuids.json} +684 -590
  34. data/spec/files/export/analysis/{67e3ba4a-2660-41b6-a7c5-d4457a4275c4.zip → 0_3_0_dynamic_uuids.zip} +0 -0
  35. data/spec/files/export/analysis/0_3_0_outputs.json +684 -590
  36. data/spec/files/export/analysis/0_3_0_outputs.zip +0 -0
  37. data/spec/files/export/analysis/{5b5264db-a31e-4bab-931b-94101bd23b80.json → 0_3_3_short_names.json} +697 -622
  38. data/spec/files/export/analysis/{1d8d62bb-f058-4c38-893b-8eaa7ceea254.zip → 0_3_3_short_names.zip} +0 -0
  39. data/spec/files/export/analysis/{1d8d62bb-f058-4c38-893b-8eaa7ceea254.json → 0_3_5_multiple_measure_paths.json} +717 -602
  40. data/spec/files/export/analysis/{5b5264db-a31e-4bab-931b-94101bd23b80.zip → 0_3_5_multiple_measure_paths.zip} +0 -0
  41. data/spec/files/export/analysis/{67e3ba4a-2660-41b6-a7c5-d4457a4275c4.json → 0_3_7_worker_init_final.json} +708 -613
  42. data/spec/files/export/analysis/{71bebb0a-34b7-404b-b430-0ee7dab962ff.zip → 0_3_7_worker_init_final.zip} +0 -0
  43. data/spec/files/export/analysis/{0_1_11_discrete_variables.json → example_analysis.json} +279 -214
  44. data/spec/files/export/analysis/{0_1_11_discrete_variables.zip → example_analysis.zip} +0 -0
  45. data/spec/files/export/analysis/{discrete_lhs_example.json → lhs_discrete_and_continuous_variables.json} +549 -436
  46. data/spec/files/export/analysis/{discrete_lhs_example.zip → lhs_discrete_and_continuous_variables.zip} +0 -0
  47. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_f4a73fc4-0514-4033-b54d-d1c58c77c724.json +1298 -0
  48. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_f4a73fc4-0514-4033-b54d-d1c58c77c724.zip +0 -0
  49. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_model_-_1.json +1298 -0
  50. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_model_-_1.zip +0 -0
  51. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_something_else.json +1298 -0
  52. data/spec/files/export/analysis/lhs_discrete_and_continuous_variables_something_else.zip +0 -0
  53. data/spec/files/export/analysis/pivot_test.json +1323 -0
  54. data/spec/files/export/analysis/pivot_test.zip +0 -0
  55. data/spec/files/export/analysis/{0_2_0_template_simpletest.json → simple_test.json} +201 -178
  56. data/spec/files/export/analysis/{0_2_0_template_simpletest.zip → simple_test.zip} +0 -0
  57. data/spec/files/export/analysis/{0_1_12_discrete_dynamic_columns.json → test_model.json} +189 -167
  58. data/spec/files/export/analysis/{0_1_12_discrete_dynamic_columns.zip → test_model.zip} +0 -0
  59. data/spec/files/export/weather/weather_out.epw +32 -0
  60. data/spec/files/export/weather/weather_out_appended.epw +56 -0
  61. data/spec/files/export/workflow/analysis.json +0 -1
  62. data/spec/files/measures/reduce_space_infiltration_by_percentage/measure.rb +5 -0
  63. data/spec/files/measures/reduce_space_infiltration_by_percentage/measure.xml +1 -0
  64. data/spec/files/measures/rotate_building/measure.rb +5 -0
  65. data/spec/files/measures/rotate_building/measure.xml +1 -0
  66. data/spec/files/measures/set_window_to_wall_ratio_by_facade/measure.rb +5 -0
  67. data/spec/files/measures/set_window_to_wall_ratio_by_facade/measure.xml +1 -0
  68. data/spec/files/partial_weather.epw +32 -32
  69. data/spec/openstudio/excel_spec.rb +103 -69
  70. data/spec/openstudio/formulation_spec.rb +28 -14
  71. data/spec/openstudio/support_files_spec.rb +2 -2
  72. data/spec/openstudio/weather_spec.rb +45 -0
  73. data/spec/openstudio/workflow_spec.rb +2 -1
  74. data/spec/openstudio/workflow_step_spec.rb +24 -22
  75. data/spec/reports/SPEC-OpenStudio-Analysis-Formulation.xml +59 -10
  76. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-object-instance.xml +2 -2
  77. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.xml +2 -2
  78. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.xml +1 -1
  79. data/spec/reports/SPEC-OpenStudio-Analysis-SupportFiles.xml +6 -6
  80. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.xml +25 -7
  81. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.xml +18 -5
  82. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.xml +5 -8
  83. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.xml +2 -2
  84. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.xml +2 -2
  85. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.xml +29 -12
  86. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.xml +5 -5
  87. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.xml +2 -2
  88. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.xml +2 -2
  89. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.xml +26 -9
  90. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.xml +2 -2
  91. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.xml +3 -7
  92. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.xml +20 -9
  93. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.xml +35 -10
  94. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-dynamic-uuid-assignments.xml +47 -5
  95. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-measure-existence-checks.xml +3 -6
  96. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.xml +48 -10
  97. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.xml +48 -6
  98. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-5-and-measure-paths.xml +48 -8
  99. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-7-and-worker-init-final-scripts.0.xml +55 -6
  100. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-7-and-worker-init-final-scripts.xml +51 -8
  101. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-4-0-multiple-seed-models.xml +165 -0
  102. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-4-0-pivot-test.xml +60 -0
  103. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.xml +1 -1
  104. data/spec/reports/SPEC-OpenStudio-Analysis-Workflow.xml +7 -7
  105. data/spec/reports/SPEC-OpenStudio-Analysis-WorkflowStep.xml +8 -14
  106. data/spec/reports/SPEC-OpenStudio-Weather-Epw.xml +9 -0
  107. metadata +97 -50
  108. data/spec/files/export/analysis/small_seed.json +0 -593
@@ -1,29 +1,23 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="OpenStudio::Analysis::WorkflowStep" tests="6" time="0.00287" failures="0" errors="0" skipped="0" timestamp="2015-01-07T17:25:54-07:00">
3
- <testcase name="OpenStudio::Analysis::WorkflowStep should create a workflow" time="0.0003">
2
+ <testsuite name="OpenStudio::Analysis::WorkflowStep" tests="6" time="0.001806" failures="0" errors="0" skipped="0" timestamp="2015-04-22T13:49:49-06:00">
3
+ <testcase name="OpenStudio::Analysis::WorkflowStep should create a workflow" time="0.00016">
4
4
  </testcase>
5
- <testcase name="OpenStudio::Analysis::WorkflowStep should add a measure" time="0.000272">
5
+ <testcase name="OpenStudio::Analysis::WorkflowStep should add a measure" time="0.000195">
6
6
  </testcase>
7
- <testcase name="OpenStudio::Analysis::WorkflowStep should tag a discrete variable" time="0.00033">
7
+ <testcase name="OpenStudio::Analysis::WorkflowStep should tag a discrete variable" time="0.000237">
8
8
  </testcase>
9
- <testcase name="OpenStudio::Analysis::WorkflowStep should tag a continuous variable" time="0.000399">
9
+ <testcase name="OpenStudio::Analysis::WorkflowStep should tag a continuous variable" time="0.000257">
10
10
  </testcase>
11
- <testcase name="OpenStudio::Analysis::WorkflowStep should tag a normal continuous variable" time="0.000376">
11
+ <testcase name="OpenStudio::Analysis::WorkflowStep should tag a normal continuous variable" time="0.000229">
12
12
  </testcase>
13
- <testcase name="OpenStudio::Analysis::WorkflowStep should tag a uniform variable" time="0.000357">
13
+ <testcase name="OpenStudio::Analysis::WorkflowStep should tag a uniform variable" time="0.000222">
14
14
  </testcase>
15
15
  <system-out>
16
- #&lt;OpenStudio::Analysis::WorkflowStep:0x007fd419bc48b0&gt;
16
+ #&lt;OpenStudio::Analysis::WorkflowStep:0x007fc144e52e70&gt;
17
17
  </system-out>
18
18
  <system-err>
19
19
  Deprecation Warning. In Version 0.5 the _uncertain text will be removed from distribution types: triangle_uncertain
20
- Deprecation Warning. RubyContinuousVariable (OpenStudio called this the variable_type) is no longer persisted
21
- Deprecation Warning. workflow_step_type is no longer persisted
22
20
  Deprecation Warning. In Version 0.5 the _uncertain text will be removed from distribution types: normal_uncertain
23
- Deprecation Warning. RubyContinuousVariable (OpenStudio called this the variable_type) is no longer persisted
24
- Deprecation Warning. workflow_step_type is no longer persisted
25
21
  Deprecation Warning. In Version 0.5 the _uncertain text will be removed from distribution types: uniform_uncertain
26
- Deprecation Warning. RubyContinuousVariable (OpenStudio called this the variable_type) is no longer persisted
27
- Deprecation Warning. workflow_step_type is no longer persisted
28
22
  </system-err>
29
23
  </testsuite>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Weather::Epw" tests="3" time="0.008176" failures="0" errors="0" skipped="0" timestamp="2015-04-22T13:49:49-06:00">
3
+ <testcase name="OpenStudio::Weather::Epw should process the header of a weather file" time="0.00134">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Weather::Epw should read and write the weather file" time="0.002387">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Weather::Epw should append weather data" time="0.004089">
8
+ </testcase>
9
+ </testsuite>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstudio-analysis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Long
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-08 00:00:00.000000000 Z
11
+ date: 2015-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -87,6 +87,11 @@ executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
+ - CHANGELOG.md
91
+ - README.md
92
+ - Rakefile
93
+ - lib/openstudio-analysis.rb
94
+ - lib/openstudio/analysis.rb
90
95
  - lib/openstudio/analysis/algorithm_attributes.rb
91
96
  - lib/openstudio/analysis/formulation.rb
92
97
  - lib/openstudio/analysis/server_api.rb
@@ -95,7 +100,6 @@ files:
95
100
  - lib/openstudio/analysis/version.rb
96
101
  - lib/openstudio/analysis/workflow.rb
97
102
  - lib/openstudio/analysis/workflow_step.rb
98
- - lib/openstudio/analysis.rb
99
103
  - lib/openstudio/helpers/hash.rb
100
104
  - lib/openstudio/helpers/string.rb
101
105
  - lib/openstudio/templates/analysis.json.erb
@@ -104,10 +108,7 @@ files:
104
108
  - lib/openstudio/templates/pivot_variable.json.erb
105
109
  - lib/openstudio/templates/uncertain_variable.json.erb
106
110
  - lib/openstudio/templates/workflow_item.json.erb
107
- - lib/openstudio-analysis.rb
108
- - README.md
109
- - CHANGELOG.md
110
- - Rakefile
111
+ - lib/openstudio/weather/epw.rb
111
112
  - spec/files/0_1_09_no_variables.xlsx
112
113
  - spec/files/0_1_09_outputvars.xlsx
113
114
  - spec/files/0_1_09_setup_version_2.xlsx
@@ -130,12 +131,17 @@ files:
130
131
  - spec/files/0_3_7_unique_measure_names.xlsx
131
132
  - spec/files/0_3_7_worker_init_final.xlsx
132
133
  - spec/files/0_4_0_lhs_discrete_continuous.xlsx
134
+ - spec/files/0_4_0_multiple_seeds.xlsx
135
+ - spec/files/0_4_0_pivot_test.xlsx
133
136
  - spec/files/analysis/example_analysis_api.json
134
137
  - spec/files/analysis/examples/discrete_lhs_example.json
135
138
  - spec/files/analysis/examples/medium_office_example.json
139
+ - spec/files/analysis/examples/medium_office_workflow.json
136
140
  - spec/files/analysis/lhs_discrete_and_continuous_variables_api.json
137
141
  - spec/files/analysis/medium_office.json
138
142
  - spec/files/analysis/medium_office.zip
143
+ - spec/files/analysis/name_goes_here.json
144
+ - spec/files/analysis/name_goes_here.zip
139
145
  - spec/files/analysis/name_goes_here_api.json
140
146
  - spec/files/analysis/output_vars_api.json
141
147
  - spec/files/analysis/preflight_api.json
@@ -143,48 +149,62 @@ files:
143
149
  - spec/files/analysis/test_model_api.json
144
150
  - spec/files/export/analysis/0_1_09_outputvars.json
145
151
  - spec/files/export/analysis/0_1_09_outputvars.zip
146
- - spec/files/export/analysis/0_1_11_discrete_variables.json
147
- - spec/files/export/analysis/0_1_11_discrete_variables.zip
148
- - spec/files/export/analysis/0_1_12_discrete_dynamic_columns.json
149
- - spec/files/export/analysis/0_1_12_discrete_dynamic_columns.zip
150
- - spec/files/export/analysis/0_2_0_template_simpletest.json
151
- - spec/files/export/analysis/0_2_0_template_simpletest.zip
152
+ - spec/files/export/analysis/0_3_0_dynamic_uuids.json
153
+ - spec/files/export/analysis/0_3_0_dynamic_uuids.zip
152
154
  - spec/files/export/analysis/0_3_0_outputs.json
153
155
  - spec/files/export/analysis/0_3_0_outputs.zip
154
- - spec/files/export/analysis/1d8d62bb-f058-4c38-893b-8eaa7ceea254.json
155
- - spec/files/export/analysis/1d8d62bb-f058-4c38-893b-8eaa7ceea254.zip
156
- - spec/files/export/analysis/5b5264db-a31e-4bab-931b-94101bd23b80.json
157
- - spec/files/export/analysis/5b5264db-a31e-4bab-931b-94101bd23b80.zip
158
- - spec/files/export/analysis/67e3ba4a-2660-41b6-a7c5-d4457a4275c4.json
159
- - spec/files/export/analysis/67e3ba4a-2660-41b6-a7c5-d4457a4275c4.zip
160
- - spec/files/export/analysis/71bebb0a-34b7-404b-b430-0ee7dab962ff.json
161
- - spec/files/export/analysis/71bebb0a-34b7-404b-b430-0ee7dab962ff.zip
162
- - spec/files/export/analysis/discrete_lhs_example.json
163
- - spec/files/export/analysis/discrete_lhs_example.zip
164
- - spec/files/export/analysis/small_seed.json
165
- - spec/files/export/analysis/small_seed.zip
156
+ - spec/files/export/analysis/0_3_3_short_names.json
157
+ - spec/files/export/analysis/0_3_3_short_names.zip
158
+ - spec/files/export/analysis/0_3_5_multiple_measure_paths.json
159
+ - spec/files/export/analysis/0_3_5_multiple_measure_paths.zip
160
+ - spec/files/export/analysis/0_3_7_worker_init_final.json
161
+ - spec/files/export/analysis/0_3_7_worker_init_final.zip
162
+ - spec/files/export/analysis/example_analysis.json
163
+ - spec/files/export/analysis/example_analysis.zip
164
+ - spec/files/export/analysis/lhs_discrete_and_continuous_variables.json
165
+ - spec/files/export/analysis/lhs_discrete_and_continuous_variables.zip
166
+ - spec/files/export/analysis/lhs_discrete_and_continuous_variables_f4a73fc4-0514-4033-b54d-d1c58c77c724.json
167
+ - spec/files/export/analysis/lhs_discrete_and_continuous_variables_f4a73fc4-0514-4033-b54d-d1c58c77c724.zip
168
+ - spec/files/export/analysis/lhs_discrete_and_continuous_variables_model_-_1.json
169
+ - spec/files/export/analysis/lhs_discrete_and_continuous_variables_model_-_1.zip
170
+ - spec/files/export/analysis/lhs_discrete_and_continuous_variables_something_else.json
171
+ - spec/files/export/analysis/lhs_discrete_and_continuous_variables_something_else.zip
172
+ - spec/files/export/analysis/pivot_test.json
173
+ - spec/files/export/analysis/pivot_test.zip
174
+ - spec/files/export/analysis/simple_test.json
175
+ - spec/files/export/analysis/simple_test.zip
176
+ - spec/files/export/analysis/test_model.json
177
+ - spec/files/export/analysis/test_model.zip
178
+ - spec/files/export/weather/weather_out.epw
179
+ - spec/files/export/weather/weather_out_appended.epw
166
180
  - spec/files/export/workflow/analysis.json
167
181
  - spec/files/measures/ActualMeasureNoJson/measure.json
168
182
  - spec/files/measures/ActualMeasureNoJson/measure.rb
169
183
  - spec/files/measures/ActualMeasureNoJson/measure.xml
170
- - spec/files/measures/example_measure_auto_directory_name/measure.json
171
- - spec/files/measures/example_measure_auto_directory_name/measure.rb
172
- - spec/files/measures/example_measure_auto_directory_name/measure.xml
173
184
  - spec/files/measures/ExampleMeasure/measure.json
174
185
  - spec/files/measures/ExampleMeasure/measure.rb
175
186
  - spec/files/measures/ExampleMeasure/measure.xml
176
187
  - spec/files/measures/IncreaseInsulationRValueForRoofs/measure.json
177
188
  - spec/files/measures/IncreaseInsulationRValueForRoofs/measure.rb
178
189
  - spec/files/measures/IncreaseInsulationRValueForRoofs/measure.xml
179
- - spec/files/measures/reduce_lighting_loads_by_percentage/measure.json
180
- - spec/files/measures/reduce_lighting_loads_by_percentage/measure.rb
181
- - spec/files/measures/reduce_lighting_loads_by_percentage/measure.xml
182
190
  - spec/files/measures/ReduceLightingLoadsByPercentage/measure.json
183
191
  - spec/files/measures/ReduceLightingLoadsByPercentage/measure.rb
184
192
  - spec/files/measures/ReduceLightingLoadsByPercentage/measure.xml
185
193
  - spec/files/measures/SetThermostatSchedules/measure.json
186
194
  - spec/files/measures/SetThermostatSchedules/measure.rb
187
195
  - spec/files/measures/SetThermostatSchedules/measure.xml
196
+ - spec/files/measures/example_measure_auto_directory_name/measure.json
197
+ - spec/files/measures/example_measure_auto_directory_name/measure.rb
198
+ - spec/files/measures/example_measure_auto_directory_name/measure.xml
199
+ - spec/files/measures/reduce_lighting_loads_by_percentage/measure.json
200
+ - spec/files/measures/reduce_lighting_loads_by_percentage/measure.rb
201
+ - spec/files/measures/reduce_lighting_loads_by_percentage/measure.xml
202
+ - spec/files/measures/reduce_space_infiltration_by_percentage/measure.rb
203
+ - spec/files/measures/reduce_space_infiltration_by_percentage/measure.xml
204
+ - spec/files/measures/rotate_building/measure.rb
205
+ - spec/files/measures/rotate_building/measure.xml
206
+ - spec/files/measures/set_window_to_wall_ratio_by_facade/measure.rb
207
+ - spec/files/measures/set_window_to_wall_ratio_by_facade/measure.xml
188
208
  - spec/files/measures_second_path/measure_in_another_dir/measure.json
189
209
  - spec/files/measures_second_path/measure_in_another_dir/measure.rb
190
210
  - spec/files/measures_second_path/measure_in_another_dir/measure.xml
@@ -198,6 +218,7 @@ files:
198
218
  - spec/openstudio/formulation_spec.rb
199
219
  - spec/openstudio/server_api_spec.rb
200
220
  - spec/openstudio/support_files_spec.rb
221
+ - spec/openstudio/weather_spec.rb
201
222
  - spec/openstudio/workflow_spec.rb
202
223
  - spec/openstudio/workflow_step_spec.rb
203
224
  - spec/reports/SPEC-OpenStudio-Analysis-Formulation.xml
@@ -226,9 +247,12 @@ files:
226
247
  - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-5-and-measure-paths.xml
227
248
  - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-7-and-worker-init-final-scripts.0.xml
228
249
  - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-7-and-worker-init-final-scripts.xml
250
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-4-0-multiple-seed-models.xml
251
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-4-0-pivot-test.xml
229
252
  - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.xml
230
253
  - spec/reports/SPEC-OpenStudio-Analysis-Workflow.xml
231
254
  - spec/reports/SPEC-OpenStudio-Analysis-WorkflowStep.xml
255
+ - spec/reports/SPEC-OpenStudio-Weather-Epw.xml
232
256
  - spec/spec_helper.rb
233
257
  homepage: http://openstudio.nrel.gov
234
258
  licenses:
@@ -250,7 +274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
250
274
  version: 1.3.6
251
275
  requirements: []
252
276
  rubyforge_project:
253
- rubygems_version: 2.0.14
277
+ rubygems_version: 2.4.5
254
278
  signing_key:
255
279
  specification_version: 4
256
280
  summary: Create JSON, ZIP to communicate with OpenStudio Distributed Analysis in the
@@ -278,12 +302,17 @@ test_files:
278
302
  - spec/files/0_3_7_unique_measure_names.xlsx
279
303
  - spec/files/0_3_7_worker_init_final.xlsx
280
304
  - spec/files/0_4_0_lhs_discrete_continuous.xlsx
305
+ - spec/files/0_4_0_multiple_seeds.xlsx
306
+ - spec/files/0_4_0_pivot_test.xlsx
281
307
  - spec/files/analysis/example_analysis_api.json
282
308
  - spec/files/analysis/examples/discrete_lhs_example.json
283
309
  - spec/files/analysis/examples/medium_office_example.json
310
+ - spec/files/analysis/examples/medium_office_workflow.json
284
311
  - spec/files/analysis/lhs_discrete_and_continuous_variables_api.json
285
312
  - spec/files/analysis/medium_office.json
286
313
  - spec/files/analysis/medium_office.zip
314
+ - spec/files/analysis/name_goes_here.json
315
+ - spec/files/analysis/name_goes_here.zip
287
316
  - spec/files/analysis/name_goes_here_api.json
288
317
  - spec/files/analysis/output_vars_api.json
289
318
  - spec/files/analysis/preflight_api.json
@@ -291,26 +320,34 @@ test_files:
291
320
  - spec/files/analysis/test_model_api.json
292
321
  - spec/files/export/analysis/0_1_09_outputvars.json
293
322
  - spec/files/export/analysis/0_1_09_outputvars.zip
294
- - spec/files/export/analysis/0_1_11_discrete_variables.json
295
- - spec/files/export/analysis/0_1_11_discrete_variables.zip
296
- - spec/files/export/analysis/0_1_12_discrete_dynamic_columns.json
297
- - spec/files/export/analysis/0_1_12_discrete_dynamic_columns.zip
298
- - spec/files/export/analysis/0_2_0_template_simpletest.json
299
- - spec/files/export/analysis/0_2_0_template_simpletest.zip
323
+ - spec/files/export/analysis/0_3_0_dynamic_uuids.json
324
+ - spec/files/export/analysis/0_3_0_dynamic_uuids.zip
300
325
  - spec/files/export/analysis/0_3_0_outputs.json
301
326
  - spec/files/export/analysis/0_3_0_outputs.zip
302
- - spec/files/export/analysis/1d8d62bb-f058-4c38-893b-8eaa7ceea254.json
303
- - spec/files/export/analysis/1d8d62bb-f058-4c38-893b-8eaa7ceea254.zip
304
- - spec/files/export/analysis/5b5264db-a31e-4bab-931b-94101bd23b80.json
305
- - spec/files/export/analysis/5b5264db-a31e-4bab-931b-94101bd23b80.zip
306
- - spec/files/export/analysis/67e3ba4a-2660-41b6-a7c5-d4457a4275c4.json
307
- - spec/files/export/analysis/67e3ba4a-2660-41b6-a7c5-d4457a4275c4.zip
308
- - spec/files/export/analysis/71bebb0a-34b7-404b-b430-0ee7dab962ff.json
309
- - spec/files/export/analysis/71bebb0a-34b7-404b-b430-0ee7dab962ff.zip
310
- - spec/files/export/analysis/discrete_lhs_example.json
311
- - spec/files/export/analysis/discrete_lhs_example.zip
312
- - spec/files/export/analysis/small_seed.json
313
- - spec/files/export/analysis/small_seed.zip
327
+ - spec/files/export/analysis/0_3_3_short_names.json
328
+ - spec/files/export/analysis/0_3_3_short_names.zip
329
+ - spec/files/export/analysis/0_3_5_multiple_measure_paths.json
330
+ - spec/files/export/analysis/0_3_5_multiple_measure_paths.zip
331
+ - spec/files/export/analysis/0_3_7_worker_init_final.json
332
+ - spec/files/export/analysis/0_3_7_worker_init_final.zip
333
+ - spec/files/export/analysis/example_analysis.json
334
+ - spec/files/export/analysis/example_analysis.zip
335
+ - spec/files/export/analysis/lhs_discrete_and_continuous_variables.json
336
+ - spec/files/export/analysis/lhs_discrete_and_continuous_variables.zip
337
+ - spec/files/export/analysis/lhs_discrete_and_continuous_variables_f4a73fc4-0514-4033-b54d-d1c58c77c724.json
338
+ - spec/files/export/analysis/lhs_discrete_and_continuous_variables_f4a73fc4-0514-4033-b54d-d1c58c77c724.zip
339
+ - spec/files/export/analysis/lhs_discrete_and_continuous_variables_model_-_1.json
340
+ - spec/files/export/analysis/lhs_discrete_and_continuous_variables_model_-_1.zip
341
+ - spec/files/export/analysis/lhs_discrete_and_continuous_variables_something_else.json
342
+ - spec/files/export/analysis/lhs_discrete_and_continuous_variables_something_else.zip
343
+ - spec/files/export/analysis/pivot_test.json
344
+ - spec/files/export/analysis/pivot_test.zip
345
+ - spec/files/export/analysis/simple_test.json
346
+ - spec/files/export/analysis/simple_test.zip
347
+ - spec/files/export/analysis/test_model.json
348
+ - spec/files/export/analysis/test_model.zip
349
+ - spec/files/export/weather/weather_out.epw
350
+ - spec/files/export/weather/weather_out_appended.epw
314
351
  - spec/files/export/workflow/analysis.json
315
352
  - spec/files/measures/ActualMeasureNoJson/measure.json
316
353
  - spec/files/measures/ActualMeasureNoJson/measure.rb
@@ -327,9 +364,15 @@ test_files:
327
364
  - spec/files/measures/reduce_lighting_loads_by_percentage/measure.json
328
365
  - spec/files/measures/reduce_lighting_loads_by_percentage/measure.rb
329
366
  - spec/files/measures/reduce_lighting_loads_by_percentage/measure.xml
367
+ - spec/files/measures/reduce_space_infiltration_by_percentage/measure.rb
368
+ - spec/files/measures/reduce_space_infiltration_by_percentage/measure.xml
330
369
  - spec/files/measures/ReduceLightingLoadsByPercentage/measure.json
331
370
  - spec/files/measures/ReduceLightingLoadsByPercentage/measure.rb
332
371
  - spec/files/measures/ReduceLightingLoadsByPercentage/measure.xml
372
+ - spec/files/measures/rotate_building/measure.rb
373
+ - spec/files/measures/rotate_building/measure.xml
374
+ - spec/files/measures/set_window_to_wall_ratio_by_facade/measure.rb
375
+ - spec/files/measures/set_window_to_wall_ratio_by_facade/measure.xml
333
376
  - spec/files/measures/SetThermostatSchedules/measure.json
334
377
  - spec/files/measures/SetThermostatSchedules/measure.rb
335
378
  - spec/files/measures/SetThermostatSchedules/measure.xml
@@ -346,6 +389,7 @@ test_files:
346
389
  - spec/openstudio/formulation_spec.rb
347
390
  - spec/openstudio/server_api_spec.rb
348
391
  - spec/openstudio/support_files_spec.rb
392
+ - spec/openstudio/weather_spec.rb
349
393
  - spec/openstudio/workflow_spec.rb
350
394
  - spec/openstudio/workflow_step_spec.rb
351
395
  - spec/reports/SPEC-OpenStudio-Analysis-Formulation.xml
@@ -374,7 +418,10 @@ test_files:
374
418
  - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-5-and-measure-paths.xml
375
419
  - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-7-and-worker-init-final-scripts.0.xml
376
420
  - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-7-and-worker-init-final-scripts.xml
421
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-4-0-multiple-seed-models.xml
422
+ - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-4-0-pivot-test.xml
377
423
  - spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.xml
378
424
  - spec/reports/SPEC-OpenStudio-Analysis-Workflow.xml
379
425
  - spec/reports/SPEC-OpenStudio-Analysis-WorkflowStep.xml
426
+ - spec/reports/SPEC-OpenStudio-Weather-Epw.xml
380
427
  - spec/spec_helper.rb
@@ -1,593 +0,0 @@
1
- {
2
- "analysis": {
3
- "display_name": "Example Analysis",
4
- "name": "example_analysis",
5
- "output_variables": [
6
-
7
- ],
8
- "problem": {
9
- "algorithm": {
10
- "sample_method": "all_variables",
11
- "number_of_samples": 100,
12
- "number_of_generations": 20,
13
- "objective_functions": [
14
-
15
- ]
16
- },
17
- "workflow": [
18
- {
19
- "measure_definition_class_name": "ReduceLightingLoadsByPercentage",
20
- "measure_definition_directory": "./measures/reduce_lighting_loads_by_percentage",
21
- "measure_definition_display_name": "ReduceLightingLoadsByPercentage",
22
- "measure_definition_uuid": "4e601a71-23df-4ce2-849b-c21874510e53",
23
- "measure_definition_version_uuid": "e008576d-d821-450a-bf94-a2a1a5449e31",
24
- "measure_type": "RubyMeasure",
25
- "arguments": [
26
- {
27
- "display_name": "Apply the Measure to a Specific Space Type or to the Entire Model.",
28
- "display_name_short": "Apply the Measure to a Specific Space Type or to the Entire Model.",
29
- "name": "space_type",
30
- "value": "*Entire Building*",
31
- "value_type": "choice"
32
- },
33
- {
34
- "display_name": "Increase in Material and Installation Cost for Lighting per Floor Area (%).",
35
- "display_name_short": "Increase in Material and Installation Cost for Lighting per Floor Area (%).",
36
- "name": "material_and_installation_cost",
37
- "value": 0.0,
38
- "value_type": "double"
39
- },
40
- {
41
- "display_name": "Increase in Demolition Costs for Lighting per Floor Area (%).",
42
- "display_name_short": "Increase in Demolition Costs for Lighting per Floor Area (%).",
43
- "name": "demolition_cost",
44
- "value": 0.0,
45
- "value_type": "double"
46
- },
47
- {
48
- "display_name": "Years Until Costs Start (whole years).",
49
- "display_name_short": "Years Until Costs Start (whole years).",
50
- "name": "years_until_costs_start",
51
- "value": 0,
52
- "value_type": "integer"
53
- },
54
- {
55
- "display_name": "Demolition Costs Occur During Initial Construction?",
56
- "display_name_short": "Demolition Costs Occur During Initial Construction?",
57
- "name": "demo_cost_initial_const",
58
- "value": true,
59
- "value_type": "bool"
60
- },
61
- {
62
- "display_name": "Expected Life (whole years).",
63
- "display_name_short": "Expected Life (whole years).",
64
- "name": "expected_life",
65
- "value": 15,
66
- "value_type": "integer"
67
- },
68
- {
69
- "display_name": "Increase O & M Costs for Lighting per Floor Area (%).",
70
- "display_name_short": "Increase O & M Costs for Lighting per Floor Area (%).",
71
- "name": "om_cost",
72
- "value": 0.0,
73
- "value_type": "double"
74
- },
75
- {
76
- "display_name": "O & M Frequency (whole years).",
77
- "display_name_short": "O & M Frequency (whole years).",
78
- "name": "om_frequency",
79
- "value": 1,
80
- "value_type": "integer"
81
- }
82
- ],
83
- "display_name": "Reduce Lighting Loads by Percentage",
84
- "name": "reduce_lighting_loads_by_percentage",
85
- "variables": [
86
- {
87
- "argument": {
88
- "display_name": "Lighting Power Reduction",
89
- "display_name_short": "Lighting Power Reduction",
90
- "name": "lighting_power_reduction_percent",
91
- "value_type": "double"
92
- },
93
- "display_name": "Lighting Power Reduction",
94
- "display_name_short": "Lighting Power Reduction",
95
- "maximum": 50.0,
96
- "minimum": 0.0,
97
- "relation_to_output": "",
98
- "static_value": 30.0,
99
- "uncertainty_description": {
100
- "attributes": [
101
- {
102
- "name": "lower_bounds",
103
- "value": 0.0
104
- },
105
- {
106
- "name": "upper_bounds",
107
- "value": 50.0
108
- },
109
- {
110
- "name": "stddev",
111
- "value": 8.333333333333334
112
- },
113
- {
114
- "name": "delta_x",
115
- "value": null
116
- },
117
- {
118
- "name": "modes",
119
- "value": 40.0
120
- }
121
- ],
122
- "type": "triangle_uncertain"
123
- },
124
- "units": "",
125
- "value_type": "double",
126
- "variable": true,
127
- "variable_type": "RubyContinuousVariable",
128
- "uuid": "97ec75e0-29a2-4a24-8b22-2224109f4ae3",
129
- "version_uuid": "703d30c6-a529-4b66-b252-43fa3f3f8304"
130
- }
131
- ],
132
- "workflow_index": 0,
133
- "workflow_step_type": "Measure",
134
- "uuid": "1569d1a6-090e-4195-aadf-b623d5ecf42d",
135
- "version_uuid": "a6702968-9ce6-49cc-ad51-b799c87dd2e7"
136
- },
137
- {
138
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
139
- "measure_definition_directory": "./measures/example_measure_auto_directory_name",
140
- "measure_definition_display_name": "ExampleMeasureAutoDirectoryName",
141
- "measure_definition_uuid": "d2389ee0-d030-44f8-b807-62de8f10b8ce",
142
- "measure_definition_version_uuid": "5004e04c-0a92-4d2c-8893-ff50dc36baa6",
143
- "measure_type": "RubyMeasure",
144
- "arguments": [
145
- {
146
- "display_name": "Apply the Measure to a Specific Space Type or to the Entire Model.",
147
- "display_name_short": "Apply the Measure to a Specific Space Type or to the Entire Model.",
148
- "name": "space_type",
149
- "value": "*Entire Building*",
150
- "value_type": "choice"
151
- },
152
- {
153
- "display_name": "Increase in Material and Installation Costs for Building per Affected Floor Area ($/ft^2).",
154
- "display_name_short": "Increase in Material and Installation Costs for Building per Affected Floor Area ($/ft^2).",
155
- "name": "material_and_installation_cost",
156
- "value": 0.0,
157
- "value_type": "double"
158
- },
159
- {
160
- "display_name": "O & M Costs for Construction per Affected Floor Area ($/ft^2).",
161
- "display_name_short": "O & M Costs for Construction per Affected Floor Area ($/ft^2).",
162
- "name": "om_cost",
163
- "value": 0.0,
164
- "value_type": "double"
165
- },
166
- {
167
- "display_name": "O & M Frequency (whole years).",
168
- "display_name_short": "O & M Frequency (whole years).",
169
- "name": "om_frequency",
170
- "value": 1,
171
- "value_type": "integer"
172
- }
173
- ],
174
- "display_name": "ReduceSpaceInfiltrationByPercentage",
175
- "name": "reducespaceinfiltrationbypercentage",
176
- "variables": [
177
- {
178
- "argument": {
179
- "display_name": "Space Infiltration Power Reduction",
180
- "display_name_short": "Space Infiltration Power Reduction",
181
- "name": "space_infiltration_reduction_percent",
182
- "value_type": "double"
183
- },
184
- "display_name": "Space Infiltration Power Reduction",
185
- "display_name_short": "Space Infiltration Power Reduction",
186
- "maximum": 30.0,
187
- "minimum": 0.0,
188
- "relation_to_output": "",
189
- "static_value": 30.0,
190
- "uncertainty_description": {
191
- "attributes": [
192
- {
193
- "name": "lower_bounds",
194
- "value": 0.0
195
- },
196
- {
197
- "name": "upper_bounds",
198
- "value": 30.0
199
- },
200
- {
201
- "name": "stddev",
202
- "value": 5.0
203
- },
204
- {
205
- "name": "delta_x",
206
- "value": null
207
- },
208
- {
209
- "name": "modes",
210
- "value": 10.0
211
- }
212
- ],
213
- "type": "uniform_uncertain"
214
- },
215
- "units": "",
216
- "value_type": "double",
217
- "variable": true,
218
- "variable_type": "RubyContinuousVariable",
219
- "uuid": "82c0377e-33c1-453f-bb1d-0ef33d27515f",
220
- "version_uuid": "abe06118-ead2-4544-b650-e0380701f074"
221
- }
222
- ],
223
- "workflow_index": 1,
224
- "workflow_step_type": "Measure",
225
- "uuid": "2d44dd9e-fcd7-4d7a-ac69-323e72746651",
226
- "version_uuid": "84743861-26bf-4664-b5b5-1075b438a294"
227
- },
228
- {
229
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
230
- "measure_definition_directory": "./measures/example_measure_auto_directory_name",
231
- "measure_definition_display_name": "ExampleMeasureAutoDirectoryName",
232
- "measure_definition_uuid": "5c7acf94-23f6-4eff-9e86-c81ceb417b22",
233
- "measure_definition_version_uuid": "fbaf1606-aaee-49b4-ba8c-ebd3116b6cbf",
234
- "measure_type": "RubyMeasure",
235
- "arguments": [
236
- {
237
- "display_name": "Alter Design Day Thermostats?",
238
- "display_name_short": "Alter Design Day Thermostats?",
239
- "name": "alter_design_days",
240
- "value": false,
241
- "value_type": "bool"
242
- }
243
- ],
244
- "display_name": "Adjust Thermostat Setpoints by Degrees",
245
- "name": "adjust_thermostat_setpoints_by_degrees",
246
- "variables": [
247
- {
248
- "argument": {
249
- "display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
250
- "display_name_short": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
251
- "name": "cooling_adjustment",
252
- "value_type": "double"
253
- },
254
- "display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
255
- "display_name_short": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
256
- "maximum": 4.0,
257
- "minimum": -4.0,
258
- "relation_to_output": "",
259
- "static_value": 1.0,
260
- "uncertainty_description": {
261
- "attributes": [
262
- {
263
- "name": "lower_bounds",
264
- "value": -4.0
265
- },
266
- {
267
- "name": "upper_bounds",
268
- "value": 4.0
269
- },
270
- {
271
- "name": "stddev",
272
- "value": 1.3333333333333333
273
- },
274
- {
275
- "name": "delta_x",
276
- "value": null
277
- },
278
- {
279
- "name": "modes",
280
- "value": 0.0
281
- }
282
- ],
283
- "type": "uniform_uncertain"
284
- },
285
- "units": "",
286
- "value_type": "double",
287
- "variable": true,
288
- "variable_type": "RubyContinuousVariable",
289
- "uuid": "b945090c-5242-476c-9dff-f9d64e789e57",
290
- "version_uuid": "a7baf44b-4b3b-4d72-9095-886cdd441724"
291
- },
292
- {
293
- "argument": {
294
- "display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
295
- "display_name_short": "Degrees Fahrenheit to Adjust heating Setpoint By.",
296
- "name": "heating_adjustment",
297
- "value_type": "double"
298
- },
299
- "display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
300
- "display_name_short": "Degrees Fahrenheit to Adjust heating Setpoint By.",
301
- "maximum": 4.0,
302
- "minimum": -4.0,
303
- "relation_to_output": "",
304
- "static_value": -1.0,
305
- "uncertainty_description": {
306
- "attributes": [
307
- {
308
- "name": "lower_bounds",
309
- "value": -4.0
310
- },
311
- {
312
- "name": "upper_bounds",
313
- "value": 4.0
314
- },
315
- {
316
- "name": "stddev",
317
- "value": 1.3333333333333333
318
- },
319
- {
320
- "name": "delta_x",
321
- "value": null
322
- },
323
- {
324
- "name": "modes",
325
- "value": 0.0
326
- }
327
- ],
328
- "type": "uniform_uncertain"
329
- },
330
- "units": "",
331
- "value_type": "double",
332
- "variable": true,
333
- "variable_type": "RubyContinuousVariable",
334
- "uuid": "ecc455bd-be43-4526-905c-2edefe81e8b2",
335
- "version_uuid": "3cc7d1ce-6aed-4fe9-a10c-b504e470a5fe"
336
- }
337
- ],
338
- "workflow_index": 2,
339
- "workflow_step_type": "Measure",
340
- "uuid": "776739a0-8c1b-4d9a-86fa-523318be6535",
341
- "version_uuid": "73dba372-7016-41e6-977e-f4cc87fd6525"
342
- },
343
- {
344
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
345
- "measure_definition_directory": "./measures/example_measure_auto_directory_name",
346
- "measure_definition_display_name": "ExampleMeasureAutoDirectoryName",
347
- "measure_definition_uuid": "97194547-613c-4fce-bc54-e8ade6fca14d",
348
- "measure_definition_version_uuid": "6109f8a0-3e74-49c5-ac5b-e3cb538d939e",
349
- "measure_type": "RubyMeasure",
350
- "arguments": [
351
- {
352
- "display_name": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
353
- "display_name_short": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
354
- "name": "material_cost_increase_ip",
355
- "value": 0.0,
356
- "value_type": "double"
357
- },
358
- {
359
- "display_name": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
360
- "display_name_short": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
361
- "name": "one_time_retrofit_cost_ip",
362
- "value": 0.0,
363
- "value_type": "double"
364
- },
365
- {
366
- "display_name": "Year to Incur One Time Retrofit Cost (whole years).",
367
- "display_name_short": "Year to Incur One Time Retrofit Cost (whole years).",
368
- "name": "years_until_retrofit_cost",
369
- "value": 0,
370
- "value_type": "integer"
371
- }
372
- ],
373
- "display_name": "Set R-value of Insulation for Exterior Walls to a Specific Value",
374
- "name": "set_r_value_of_insulation_for_exterior_walls_to_a_specific_value",
375
- "variables": [
376
- {
377
- "argument": {
378
- "display_name": "Wall R Value",
379
- "display_name_short": "Wall R Value",
380
- "name": "r_value",
381
- "value_type": "double"
382
- },
383
- "display_name": "Wall R Value",
384
- "display_name_short": "Wall R Value",
385
- "maximum": 5.0,
386
- "minimum": 0.0,
387
- "relation_to_output": "",
388
- "static_value": 5.0,
389
- "uncertainty_description": {
390
- "attributes": [
391
- {
392
- "name": "lower_bounds",
393
- "value": 0.0
394
- },
395
- {
396
- "name": "upper_bounds",
397
- "value": 5.0
398
- },
399
- {
400
- "name": "stddev",
401
- "value": 0.8333333333333334
402
- },
403
- {
404
- "name": "delta_x",
405
- "value": null
406
- },
407
- {
408
- "name": "modes",
409
- "value": 2.5
410
- }
411
- ],
412
- "type": "triangle_uncertain"
413
- },
414
- "units": "",
415
- "value_type": "double",
416
- "variable": true,
417
- "variable_type": "RubyContinuousVariable",
418
- "uuid": "1f1a071b-f9ad-4162-9958-b94f9b15254b",
419
- "version_uuid": "c0017c76-086e-41f5-83be-f4a2e9e19667"
420
- }
421
- ],
422
- "workflow_index": 3,
423
- "workflow_step_type": "Measure",
424
- "uuid": "ae13b9c1-84fe-4ef8-b654-e56bbba3c623",
425
- "version_uuid": "85d8ae64-aa8b-4613-a67e-defd974ee6e7"
426
- },
427
- {
428
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
429
- "measure_definition_directory": "./measures/example_measure_auto_directory_name",
430
- "measure_definition_display_name": "ExampleMeasureAutoDirectoryName",
431
- "measure_definition_uuid": "b568e420-b01a-486e-8723-676126b286e8",
432
- "measure_definition_version_uuid": "e5fbab72-55b2-46c5-96aa-a54cabe33e79",
433
- "measure_type": "RubyMeasure",
434
- "arguments": [
435
- {
436
- "display_name": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
437
- "display_name_short": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
438
- "name": "material_cost_increase_ip",
439
- "value": 0.0,
440
- "value_type": "double"
441
- },
442
- {
443
- "display_name": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
444
- "display_name_short": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
445
- "name": "one_time_retrofit_cost_ip",
446
- "value": 0.0,
447
- "value_type": "double"
448
- },
449
- {
450
- "display_name": "Year to Incur One Time Retrofit Cost (whole years).",
451
- "display_name_short": "Year to Incur One Time Retrofit Cost (whole years).",
452
- "name": "years_until_retrofit_cost",
453
- "value": 0,
454
- "value_type": "integer"
455
- }
456
- ],
457
- "display_name": "Set R-value of Insulation for Roofs to a Specific Value",
458
- "name": "set_r_value_of_insulation_for_roofs_to_a_specific_value",
459
- "variables": [
460
- {
461
- "argument": {
462
- "display_name": "Roof R Value",
463
- "display_name_short": "Roof R Value",
464
- "name": "r_value",
465
- "value_type": "double"
466
- },
467
- "display_name": "Roof R Value",
468
- "display_name_short": "Roof R Value",
469
- "maximum": 5.0,
470
- "minimum": 0.0,
471
- "relation_to_output": "",
472
- "static_value": 5.0,
473
- "uncertainty_description": {
474
- "attributes": [
475
- {
476
- "name": "lower_bounds",
477
- "value": 0.0
478
- },
479
- {
480
- "name": "upper_bounds",
481
- "value": 5.0
482
- },
483
- {
484
- "name": "stddev",
485
- "value": 0.8333333333333334
486
- },
487
- {
488
- "name": "delta_x",
489
- "value": null
490
- },
491
- {
492
- "name": "modes",
493
- "value": 2.5
494
- }
495
- ],
496
- "type": "triangle_uncertain"
497
- },
498
- "units": "",
499
- "value_type": "double",
500
- "variable": true,
501
- "variable_type": "RubyContinuousVariable",
502
- "uuid": "8d0513b6-fd36-4dd9-977b-fa497faf31dd",
503
- "version_uuid": "7a490cea-43a2-41b1-99ac-405e959064a3"
504
- }
505
- ],
506
- "workflow_index": 4,
507
- "workflow_step_type": "Measure",
508
- "uuid": "649d05e4-b401-4143-87b8-34b06b935c29",
509
- "version_uuid": "28e644b9-2932-44c1-84c7-d7fbb52bdd74"
510
- },
511
- {
512
- "measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
513
- "measure_definition_directory": "./measures/example_measure_auto_directory_name",
514
- "measure_definition_display_name": "ExampleMeasureAutoDirectoryName",
515
- "measure_definition_uuid": "87dda8e6-270e-434f-b69d-ccc14d13e25a",
516
- "measure_definition_version_uuid": "c00a68bb-b273-459d-9a06-dd681dded65c",
517
- "measure_type": "RubyMeasure",
518
- "arguments": [
519
- {
520
- "display_name": "Apply the Measure to a Specific Space Type or to the Entire Model.",
521
- "display_name_short": "Apply the Measure to a Specific Space Type or to the Entire Model.",
522
- "name": "space_type",
523
- "value": "*Entire Building*",
524
- "value_type": "choice"
525
- }
526
- ],
527
- "display_name": "Reduce Ventilation By Percentage",
528
- "name": "reduce_ventilation_by_percentage",
529
- "variables": [
530
- {
531
- "argument": {
532
- "display_name": "Design Specification Outdoor Air Reduction (%).",
533
- "display_name_short": "Design Specification Outdoor Air Reduction (%).",
534
- "name": "design_spec_outdoor_air_reduction_percent",
535
- "value_type": "double"
536
- },
537
- "display_name": "Design Specification Outdoor Air Reduction (%).",
538
- "display_name_short": "Design Specification Outdoor Air Reduction (%).",
539
- "maximum": 90.0,
540
- "minimum": 0.0,
541
- "relation_to_output": "",
542
- "static_value": 0.0,
543
- "uncertainty_description": {
544
- "attributes": [
545
- {
546
- "name": "lower_bounds",
547
- "value": 0.0
548
- },
549
- {
550
- "name": "upper_bounds",
551
- "value": 90.0
552
- },
553
- {
554
- "name": "stddev",
555
- "value": 15.0
556
- },
557
- {
558
- "name": "delta_x",
559
- "value": null
560
- },
561
- {
562
- "name": "modes",
563
- "value": 20.0
564
- }
565
- ],
566
- "type": "triangle_uncertain"
567
- },
568
- "units": "",
569
- "value_type": "double",
570
- "variable": true,
571
- "variable_type": "RubyContinuousVariable",
572
- "uuid": "0503acd6-a5f6-4ac4-a9c3-23ad36b87b7e",
573
- "version_uuid": "08c51ba6-3b3b-473a-810d-0c55dd997da2"
574
- }
575
- ],
576
- "workflow_index": 5,
577
- "workflow_step_type": "Measure",
578
- "uuid": "48bba2ba-7db9-4acf-a62c-533d58d11a3f",
579
- "version_uuid": "3426e412-f23d-4577-ace4-9107ca190048"
580
- }
581
- ],
582
- "analysis_type": "lhs"
583
- },
584
- "seed": {
585
- "file_type": "OSM",
586
- "path": "./seed/small_seed.osm"
587
- },
588
- "weather_file": {
589
- "file_type": "EPW",
590
- "path": "./weather/partial_weather.epw"
591
- }
592
- }
593
- }