openstudio-analysis 0.3.5 → 0.3.6
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 +5 -0
- data/lib/openstudio/analysis/translator/excel.rb +44 -14
- data/lib/openstudio/analysis/version.rb +1 -1
- data/spec/files/0_3_5_multiple_measure_paths.xlsx +0 -0
- data/spec/files/analysis/medium_office.json +88 -88
- data/spec/files/analysis/medium_office.zip +0 -0
- data/spec/files/export/analysis/0_1_09_outputvars.json +644 -0
- data/spec/files/export/analysis/0_1_09_outputvars.zip +0 -0
- data/spec/files/export/analysis/0_1_11_discrete_variables.json +663 -0
- data/spec/files/export/analysis/0_1_11_discrete_variables.zip +0 -0
- data/spec/files/export/analysis/0_1_12_discrete_dynamic_columns.json +503 -0
- data/spec/files/export/analysis/0_1_12_discrete_dynamic_columns.zip +0 -0
- data/spec/files/export/analysis/0_2_0_template_simpletest.json +523 -0
- data/spec/files/export/analysis/0_2_0_template_simpletest.zip +0 -0
- data/spec/files/export/analysis/0_3_0_outputs.json +1397 -0
- data/spec/files/export/analysis/0_3_0_outputs.zip +0 -0
- data/spec/files/export/analysis/aaef4bf0-2fc0-0132-c71b-14109fdf0b37.json +1397 -0
- data/spec/files/export/analysis/aaef4bf0-2fc0-0132-c71b-14109fdf0b37.zip +0 -0
- data/spec/files/export/analysis/ab594800-2fc0-0132-c722-14109fdf0b37.json +1423 -0
- data/spec/files/export/analysis/ab594800-2fc0-0132-c722-14109fdf0b37.zip +0 -0
- data/spec/files/export/analysis/abce96f0-2fc0-0132-c72d-14109fdf0b37.json +1443 -0
- data/spec/files/export/analysis/abce96f0-2fc0-0132-c72d-14109fdf0b37.zip +0 -0
- data/spec/files/export/analysis/small_seed.json +594 -0
- data/spec/files/export/analysis/small_seed.zip +0 -0
- data/spec/files/measures_second_path/measure_in_another_dir/measure.json +3 -0
- data/spec/files/measures_second_path/measure_in_another_dir/measure.rb +5 -0
- data/spec/files/measures_second_path/measure_in_another_dir/measure.xml +1 -0
- data/spec/openstudio/excel_spec.rb +21 -5
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-object-instance.3.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-object-instance.4.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-object-instance.5.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-object-instance.6.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-object-instance.7.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-object-instance.8.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-object-instance.9.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.3.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.4.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.5.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.6.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.7.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.8.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.9.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.3.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.4.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.5.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.6.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.7.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.8.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.9.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.3.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.4.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.5.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.6.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.7.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.8.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.9.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.3.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.4.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.5.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.6.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.7.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.8.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.9.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.10.xml +16 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.4.xml +18 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.5.xml +18 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.6.xml +46 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.7.xml +46 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.8.xml +37 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.9.xml +16 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.3.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.4.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.5.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.6.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.7.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.8.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.9.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.3.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.4.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.5.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.6.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.7.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.8.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.9.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.3.xml +25 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.4.xml +25 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.5.xml +25 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.6.xml +25 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.7.xml +25 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.8.xml +25 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.9.xml +25 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.3.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.4.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.5.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.6.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.7.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.8.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.9.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.10.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.4.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.5.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.6.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.7.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.8.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.9.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.10.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.4.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.5.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.6.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.7.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.8.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.9.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.10.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.4.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.5.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.6.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.7.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.8.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.9.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.10.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.4.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.5.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.6.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.7.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.8.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.9.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.3.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.4.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.5.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.6.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.7.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.8.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.9.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.3.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.4.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.5.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.6.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.7.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.8.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.9.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.3.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.4.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.5.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.6.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.7.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.8.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.9.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-dynamic-uuid-assignments.3.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-dynamic-uuid-assignments.4.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-dynamic-uuid-assignments.5.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-dynamic-uuid-assignments.6.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-dynamic-uuid-assignments.7.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-dynamic-uuid-assignments.8.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-dynamic-uuid-assignments.9.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-measure-existence-checks.3.xml +12 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-measure-existence-checks.4.xml +12 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-measure-existence-checks.5.xml +12 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-measure-existence-checks.6.xml +12 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-measure-existence-checks.7.xml +12 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-measure-existence-checks.8.xml +12 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-measure-existence-checks.9.xml +12 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.3.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.4.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.5.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.6.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.7.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.8.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.9.xml +19 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.10.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.11.xml +14 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.12.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.13.xml +14 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.14.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.15.xml +14 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.16.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.3.xml +14 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.4.xml +16 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.5.xml +14 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.6.xml +24 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.7.xml +14 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.8.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.9.xml +14 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.10.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.4.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.5.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.6.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.7.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.8.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.9.xml +7 -0
- metadata +368 -2
Binary file
|
@@ -0,0 +1,594 @@
|
|
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
|
+
"name": "Problem",
|
18
|
+
"workflow": [
|
19
|
+
{
|
20
|
+
"measure_definition_class_name": "ReduceLightingLoadsByPercentage",
|
21
|
+
"measure_definition_directory": "./measures/reduce_lighting_loads_by_percentage",
|
22
|
+
"measure_definition_display_name": "ReduceLightingLoadsByPercentage",
|
23
|
+
"measure_definition_uuid": "a7720010-2fc0-0132-c5e1-14109fdf0b37",
|
24
|
+
"measure_definition_version_uuid": "a7723c80-2fc0-0132-c5e2-14109fdf0b37",
|
25
|
+
"measure_type": "RubyMeasure",
|
26
|
+
"arguments": [
|
27
|
+
{
|
28
|
+
"display_name": "Apply the Measure to a Specific Space Type or to the Entire Model.",
|
29
|
+
"display_name_short": "Apply the Measure to a Specific Space Type or to the Entire Model.",
|
30
|
+
"name": "space_type",
|
31
|
+
"value": "*Entire Building*",
|
32
|
+
"value_type": "choice"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"display_name": "Increase in Material and Installation Cost for Lighting per Floor Area (%).",
|
36
|
+
"display_name_short": "Increase in Material and Installation Cost for Lighting per Floor Area (%).",
|
37
|
+
"name": "material_and_installation_cost",
|
38
|
+
"value": 0.0,
|
39
|
+
"value_type": "double"
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"display_name": "Increase in Demolition Costs for Lighting per Floor Area (%).",
|
43
|
+
"display_name_short": "Increase in Demolition Costs for Lighting per Floor Area (%).",
|
44
|
+
"name": "demolition_cost",
|
45
|
+
"value": 0.0,
|
46
|
+
"value_type": "double"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"display_name": "Years Until Costs Start (whole years).",
|
50
|
+
"display_name_short": "Years Until Costs Start (whole years).",
|
51
|
+
"name": "years_until_costs_start",
|
52
|
+
"value": 0,
|
53
|
+
"value_type": "integer"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"display_name": "Demolition Costs Occur During Initial Construction?",
|
57
|
+
"display_name_short": "Demolition Costs Occur During Initial Construction?",
|
58
|
+
"name": "demo_cost_initial_const",
|
59
|
+
"value": true,
|
60
|
+
"value_type": "bool"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"display_name": "Expected Life (whole years).",
|
64
|
+
"display_name_short": "Expected Life (whole years).",
|
65
|
+
"name": "expected_life",
|
66
|
+
"value": 15,
|
67
|
+
"value_type": "integer"
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"display_name": "Increase O & M Costs for Lighting per Floor Area (%).",
|
71
|
+
"display_name_short": "Increase O & M Costs for Lighting per Floor Area (%).",
|
72
|
+
"name": "om_cost",
|
73
|
+
"value": 0.0,
|
74
|
+
"value_type": "double"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"display_name": "O & M Frequency (whole years).",
|
78
|
+
"display_name_short": "O & M Frequency (whole years).",
|
79
|
+
"name": "om_frequency",
|
80
|
+
"value": 1,
|
81
|
+
"value_type": "integer"
|
82
|
+
}
|
83
|
+
],
|
84
|
+
"display_name": "Reduce Lighting Loads by Percentage",
|
85
|
+
"name": "reduce_lighting_loads_by_percentage",
|
86
|
+
"variables": [
|
87
|
+
{
|
88
|
+
"argument": {
|
89
|
+
"display_name": "Lighting Power Reduction",
|
90
|
+
"display_name_short": "Lighting Power Reduction",
|
91
|
+
"name": "lighting_power_reduction_percent",
|
92
|
+
"value_type": "double"
|
93
|
+
},
|
94
|
+
"display_name": "Lighting Power Reduction",
|
95
|
+
"display_name_short": "Lighting Power Reduction",
|
96
|
+
"maximum": 50.0,
|
97
|
+
"minimum": 0.0,
|
98
|
+
"relation_to_output": "",
|
99
|
+
"static_value": 30.0,
|
100
|
+
"uncertainty_description": {
|
101
|
+
"attributes": [
|
102
|
+
{
|
103
|
+
"name": "lower_bounds",
|
104
|
+
"value": 0.0
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"name": "upper_bounds",
|
108
|
+
"value": 50.0
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"name": "stddev",
|
112
|
+
"value": 8.333333333333334
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"name": "delta_x",
|
116
|
+
"value": null
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"name": "modes",
|
120
|
+
"value": 40.0
|
121
|
+
}
|
122
|
+
],
|
123
|
+
"type": "triangle_uncertain"
|
124
|
+
},
|
125
|
+
"units": "",
|
126
|
+
"value_type": "double",
|
127
|
+
"variable": true,
|
128
|
+
"variable_type": "RubyContinuousVariable",
|
129
|
+
"uuid": "a7725e20-2fc0-0132-c5e5-14109fdf0b37",
|
130
|
+
"version_uuid": "a7726570-2fc0-0132-c5e6-14109fdf0b37"
|
131
|
+
}
|
132
|
+
],
|
133
|
+
"workflow_index": 0,
|
134
|
+
"workflow_step_type": "Measure",
|
135
|
+
"uuid": "a7724390-2fc0-0132-c5e3-14109fdf0b37",
|
136
|
+
"version_uuid": "a7724ba0-2fc0-0132-c5e4-14109fdf0b37"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
|
140
|
+
"measure_definition_directory": "./measures/example_measure_auto_directory_name",
|
141
|
+
"measure_definition_display_name": "ExampleMeasureAutoDirectoryName",
|
142
|
+
"measure_definition_uuid": "a7728380-2fc0-0132-c5e7-14109fdf0b37",
|
143
|
+
"measure_definition_version_uuid": "a7728c40-2fc0-0132-c5e8-14109fdf0b37",
|
144
|
+
"measure_type": "RubyMeasure",
|
145
|
+
"arguments": [
|
146
|
+
{
|
147
|
+
"display_name": "Apply the Measure to a Specific Space Type or to the Entire Model.",
|
148
|
+
"display_name_short": "Apply the Measure to a Specific Space Type or to the Entire Model.",
|
149
|
+
"name": "space_type",
|
150
|
+
"value": "*Entire Building*",
|
151
|
+
"value_type": "choice"
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"display_name": "Increase in Material and Installation Costs for Building per Affected Floor Area ($/ft^2).",
|
155
|
+
"display_name_short": "Increase in Material and Installation Costs for Building per Affected Floor Area ($/ft^2).",
|
156
|
+
"name": "material_and_installation_cost",
|
157
|
+
"value": 0.0,
|
158
|
+
"value_type": "double"
|
159
|
+
},
|
160
|
+
{
|
161
|
+
"display_name": "O & M Costs for Construction per Affected Floor Area ($/ft^2).",
|
162
|
+
"display_name_short": "O & M Costs for Construction per Affected Floor Area ($/ft^2).",
|
163
|
+
"name": "om_cost",
|
164
|
+
"value": 0.0,
|
165
|
+
"value_type": "double"
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"display_name": "O & M Frequency (whole years).",
|
169
|
+
"display_name_short": "O & M Frequency (whole years).",
|
170
|
+
"name": "om_frequency",
|
171
|
+
"value": 1,
|
172
|
+
"value_type": "integer"
|
173
|
+
}
|
174
|
+
],
|
175
|
+
"display_name": "ReduceSpaceInfiltrationByPercentage",
|
176
|
+
"name": "reducespaceinfiltrationbypercentage",
|
177
|
+
"variables": [
|
178
|
+
{
|
179
|
+
"argument": {
|
180
|
+
"display_name": "Space Infiltration Power Reduction",
|
181
|
+
"display_name_short": "Space Infiltration Power Reduction",
|
182
|
+
"name": "space_infiltration_reduction_percent",
|
183
|
+
"value_type": "double"
|
184
|
+
},
|
185
|
+
"display_name": "Space Infiltration Power Reduction",
|
186
|
+
"display_name_short": "Space Infiltration Power Reduction",
|
187
|
+
"maximum": 30.0,
|
188
|
+
"minimum": 0.0,
|
189
|
+
"relation_to_output": "",
|
190
|
+
"static_value": 30.0,
|
191
|
+
"uncertainty_description": {
|
192
|
+
"attributes": [
|
193
|
+
{
|
194
|
+
"name": "lower_bounds",
|
195
|
+
"value": 0.0
|
196
|
+
},
|
197
|
+
{
|
198
|
+
"name": "upper_bounds",
|
199
|
+
"value": 30.0
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"name": "stddev",
|
203
|
+
"value": 5.0
|
204
|
+
},
|
205
|
+
{
|
206
|
+
"name": "delta_x",
|
207
|
+
"value": null
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"name": "modes",
|
211
|
+
"value": 10.0
|
212
|
+
}
|
213
|
+
],
|
214
|
+
"type": "uniform_uncertain"
|
215
|
+
},
|
216
|
+
"units": "",
|
217
|
+
"value_type": "double",
|
218
|
+
"variable": true,
|
219
|
+
"variable_type": "RubyContinuousVariable",
|
220
|
+
"uuid": "a772a660-2fc0-0132-c5eb-14109fdf0b37",
|
221
|
+
"version_uuid": "a772aba0-2fc0-0132-c5ec-14109fdf0b37"
|
222
|
+
}
|
223
|
+
],
|
224
|
+
"workflow_index": 1,
|
225
|
+
"workflow_step_type": "Measure",
|
226
|
+
"uuid": "a77292d0-2fc0-0132-c5e9-14109fdf0b37",
|
227
|
+
"version_uuid": "a7729680-2fc0-0132-c5ea-14109fdf0b37"
|
228
|
+
},
|
229
|
+
{
|
230
|
+
"measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
|
231
|
+
"measure_definition_directory": "./measures/example_measure_auto_directory_name",
|
232
|
+
"measure_definition_display_name": "ExampleMeasureAutoDirectoryName",
|
233
|
+
"measure_definition_uuid": "a772be30-2fc0-0132-c5ed-14109fdf0b37",
|
234
|
+
"measure_definition_version_uuid": "a772c330-2fc0-0132-c5ee-14109fdf0b37",
|
235
|
+
"measure_type": "RubyMeasure",
|
236
|
+
"arguments": [
|
237
|
+
{
|
238
|
+
"display_name": "Alter Design Day Thermostats?",
|
239
|
+
"display_name_short": "Alter Design Day Thermostats?",
|
240
|
+
"name": "alter_design_days",
|
241
|
+
"value": false,
|
242
|
+
"value_type": "bool"
|
243
|
+
}
|
244
|
+
],
|
245
|
+
"display_name": "Adjust Thermostat Setpoints by Degrees",
|
246
|
+
"name": "adjust_thermostat_setpoints_by_degrees",
|
247
|
+
"variables": [
|
248
|
+
{
|
249
|
+
"argument": {
|
250
|
+
"display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
|
251
|
+
"display_name_short": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
|
252
|
+
"name": "cooling_adjustment",
|
253
|
+
"value_type": "double"
|
254
|
+
},
|
255
|
+
"display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
|
256
|
+
"display_name_short": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
|
257
|
+
"maximum": 4.0,
|
258
|
+
"minimum": -4.0,
|
259
|
+
"relation_to_output": "",
|
260
|
+
"static_value": 1.0,
|
261
|
+
"uncertainty_description": {
|
262
|
+
"attributes": [
|
263
|
+
{
|
264
|
+
"name": "lower_bounds",
|
265
|
+
"value": -4.0
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"name": "upper_bounds",
|
269
|
+
"value": 4.0
|
270
|
+
},
|
271
|
+
{
|
272
|
+
"name": "stddev",
|
273
|
+
"value": 1.3333333333333333
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"name": "delta_x",
|
277
|
+
"value": null
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"name": "modes",
|
281
|
+
"value": 0.0
|
282
|
+
}
|
283
|
+
],
|
284
|
+
"type": "uniform_uncertain"
|
285
|
+
},
|
286
|
+
"units": "",
|
287
|
+
"value_type": "double",
|
288
|
+
"variable": true,
|
289
|
+
"variable_type": "RubyContinuousVariable",
|
290
|
+
"uuid": "a772ddd0-2fc0-0132-c5f1-14109fdf0b37",
|
291
|
+
"version_uuid": "a772e310-2fc0-0132-c5f2-14109fdf0b37"
|
292
|
+
},
|
293
|
+
{
|
294
|
+
"argument": {
|
295
|
+
"display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
|
296
|
+
"display_name_short": "Degrees Fahrenheit to Adjust heating Setpoint By.",
|
297
|
+
"name": "heating_adjustment",
|
298
|
+
"value_type": "double"
|
299
|
+
},
|
300
|
+
"display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
|
301
|
+
"display_name_short": "Degrees Fahrenheit to Adjust heating Setpoint By.",
|
302
|
+
"maximum": 4.0,
|
303
|
+
"minimum": -4.0,
|
304
|
+
"relation_to_output": "",
|
305
|
+
"static_value": -1.0,
|
306
|
+
"uncertainty_description": {
|
307
|
+
"attributes": [
|
308
|
+
{
|
309
|
+
"name": "lower_bounds",
|
310
|
+
"value": -4.0
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"name": "upper_bounds",
|
314
|
+
"value": 4.0
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"name": "stddev",
|
318
|
+
"value": 1.3333333333333333
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"name": "delta_x",
|
322
|
+
"value": null
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"name": "modes",
|
326
|
+
"value": 0.0
|
327
|
+
}
|
328
|
+
],
|
329
|
+
"type": "uniform_uncertain"
|
330
|
+
},
|
331
|
+
"units": "",
|
332
|
+
"value_type": "double",
|
333
|
+
"variable": true,
|
334
|
+
"variable_type": "RubyContinuousVariable",
|
335
|
+
"uuid": "a772f1f0-2fc0-0132-c5f3-14109fdf0b37",
|
336
|
+
"version_uuid": "a772f820-2fc0-0132-c5f4-14109fdf0b37"
|
337
|
+
}
|
338
|
+
],
|
339
|
+
"workflow_index": 2,
|
340
|
+
"workflow_step_type": "Measure",
|
341
|
+
"uuid": "a772c7e0-2fc0-0132-c5ef-14109fdf0b37",
|
342
|
+
"version_uuid": "a772ce00-2fc0-0132-c5f0-14109fdf0b37"
|
343
|
+
},
|
344
|
+
{
|
345
|
+
"measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
|
346
|
+
"measure_definition_directory": "./measures/example_measure_auto_directory_name",
|
347
|
+
"measure_definition_display_name": "ExampleMeasureAutoDirectoryName",
|
348
|
+
"measure_definition_uuid": "a7730630-2fc0-0132-c5f5-14109fdf0b37",
|
349
|
+
"measure_definition_version_uuid": "a7730d50-2fc0-0132-c5f6-14109fdf0b37",
|
350
|
+
"measure_type": "RubyMeasure",
|
351
|
+
"arguments": [
|
352
|
+
{
|
353
|
+
"display_name": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
|
354
|
+
"display_name_short": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
|
355
|
+
"name": "material_cost_increase_ip",
|
356
|
+
"value": 0.0,
|
357
|
+
"value_type": "double"
|
358
|
+
},
|
359
|
+
{
|
360
|
+
"display_name": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
|
361
|
+
"display_name_short": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
|
362
|
+
"name": "one_time_retrofit_cost_ip",
|
363
|
+
"value": 0.0,
|
364
|
+
"value_type": "double"
|
365
|
+
},
|
366
|
+
{
|
367
|
+
"display_name": "Year to Incur One Time Retrofit Cost (whole years).",
|
368
|
+
"display_name_short": "Year to Incur One Time Retrofit Cost (whole years).",
|
369
|
+
"name": "years_until_retrofit_cost",
|
370
|
+
"value": 0,
|
371
|
+
"value_type": "integer"
|
372
|
+
}
|
373
|
+
],
|
374
|
+
"display_name": "Set R-value of Insulation for Exterior Walls to a Specific Value",
|
375
|
+
"name": "set_r_value_of_insulation_for_exterior_walls_to_a_specific_value",
|
376
|
+
"variables": [
|
377
|
+
{
|
378
|
+
"argument": {
|
379
|
+
"display_name": "Wall R Value",
|
380
|
+
"display_name_short": "Wall R Value",
|
381
|
+
"name": "r_value",
|
382
|
+
"value_type": "double"
|
383
|
+
},
|
384
|
+
"display_name": "Wall R Value",
|
385
|
+
"display_name_short": "Wall R Value",
|
386
|
+
"maximum": 5.0,
|
387
|
+
"minimum": 0.0,
|
388
|
+
"relation_to_output": "",
|
389
|
+
"static_value": 5.0,
|
390
|
+
"uncertainty_description": {
|
391
|
+
"attributes": [
|
392
|
+
{
|
393
|
+
"name": "lower_bounds",
|
394
|
+
"value": 0.0
|
395
|
+
},
|
396
|
+
{
|
397
|
+
"name": "upper_bounds",
|
398
|
+
"value": 5.0
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"name": "stddev",
|
402
|
+
"value": 0.8333333333333334
|
403
|
+
},
|
404
|
+
{
|
405
|
+
"name": "delta_x",
|
406
|
+
"value": null
|
407
|
+
},
|
408
|
+
{
|
409
|
+
"name": "modes",
|
410
|
+
"value": 2.5
|
411
|
+
}
|
412
|
+
],
|
413
|
+
"type": "triangle_uncertain"
|
414
|
+
},
|
415
|
+
"units": "",
|
416
|
+
"value_type": "double",
|
417
|
+
"variable": true,
|
418
|
+
"variable_type": "RubyContinuousVariable",
|
419
|
+
"uuid": "a77324e0-2fc0-0132-c5f9-14109fdf0b37",
|
420
|
+
"version_uuid": "a77329e0-2fc0-0132-c5fa-14109fdf0b37"
|
421
|
+
}
|
422
|
+
],
|
423
|
+
"workflow_index": 3,
|
424
|
+
"workflow_step_type": "Measure",
|
425
|
+
"uuid": "a7731210-2fc0-0132-c5f7-14109fdf0b37",
|
426
|
+
"version_uuid": "a77317c0-2fc0-0132-c5f8-14109fdf0b37"
|
427
|
+
},
|
428
|
+
{
|
429
|
+
"measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
|
430
|
+
"measure_definition_directory": "./measures/example_measure_auto_directory_name",
|
431
|
+
"measure_definition_display_name": "ExampleMeasureAutoDirectoryName",
|
432
|
+
"measure_definition_uuid": "a7733b40-2fc0-0132-c5fb-14109fdf0b37",
|
433
|
+
"measure_definition_version_uuid": "a7734090-2fc0-0132-c5fc-14109fdf0b37",
|
434
|
+
"measure_type": "RubyMeasure",
|
435
|
+
"arguments": [
|
436
|
+
{
|
437
|
+
"display_name": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
|
438
|
+
"display_name_short": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
|
439
|
+
"name": "material_cost_increase_ip",
|
440
|
+
"value": 0.0,
|
441
|
+
"value_type": "double"
|
442
|
+
},
|
443
|
+
{
|
444
|
+
"display_name": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
|
445
|
+
"display_name_short": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
|
446
|
+
"name": "one_time_retrofit_cost_ip",
|
447
|
+
"value": 0.0,
|
448
|
+
"value_type": "double"
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"display_name": "Year to Incur One Time Retrofit Cost (whole years).",
|
452
|
+
"display_name_short": "Year to Incur One Time Retrofit Cost (whole years).",
|
453
|
+
"name": "years_until_retrofit_cost",
|
454
|
+
"value": 0,
|
455
|
+
"value_type": "integer"
|
456
|
+
}
|
457
|
+
],
|
458
|
+
"display_name": "Set R-value of Insulation for Roofs to a Specific Value",
|
459
|
+
"name": "set_r_value_of_insulation_for_roofs_to_a_specific_value",
|
460
|
+
"variables": [
|
461
|
+
{
|
462
|
+
"argument": {
|
463
|
+
"display_name": "Roof R Value",
|
464
|
+
"display_name_short": "Roof R Value",
|
465
|
+
"name": "r_value",
|
466
|
+
"value_type": "double"
|
467
|
+
},
|
468
|
+
"display_name": "Roof R Value",
|
469
|
+
"display_name_short": "Roof R Value",
|
470
|
+
"maximum": 5.0,
|
471
|
+
"minimum": 0.0,
|
472
|
+
"relation_to_output": "",
|
473
|
+
"static_value": 5.0,
|
474
|
+
"uncertainty_description": {
|
475
|
+
"attributes": [
|
476
|
+
{
|
477
|
+
"name": "lower_bounds",
|
478
|
+
"value": 0.0
|
479
|
+
},
|
480
|
+
{
|
481
|
+
"name": "upper_bounds",
|
482
|
+
"value": 5.0
|
483
|
+
},
|
484
|
+
{
|
485
|
+
"name": "stddev",
|
486
|
+
"value": 0.8333333333333334
|
487
|
+
},
|
488
|
+
{
|
489
|
+
"name": "delta_x",
|
490
|
+
"value": null
|
491
|
+
},
|
492
|
+
{
|
493
|
+
"name": "modes",
|
494
|
+
"value": 2.5
|
495
|
+
}
|
496
|
+
],
|
497
|
+
"type": "triangle_uncertain"
|
498
|
+
},
|
499
|
+
"units": "",
|
500
|
+
"value_type": "double",
|
501
|
+
"variable": true,
|
502
|
+
"variable_type": "RubyContinuousVariable",
|
503
|
+
"uuid": "a7735b40-2fc0-0132-c5ff-14109fdf0b37",
|
504
|
+
"version_uuid": "a7736030-2fc0-0132-c600-14109fdf0b37"
|
505
|
+
}
|
506
|
+
],
|
507
|
+
"workflow_index": 4,
|
508
|
+
"workflow_step_type": "Measure",
|
509
|
+
"uuid": "a7734700-2fc0-0132-c5fd-14109fdf0b37",
|
510
|
+
"version_uuid": "a7734cd0-2fc0-0132-c5fe-14109fdf0b37"
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"measure_definition_class_name": "ExampleMeasureAutoDirectoryName",
|
514
|
+
"measure_definition_directory": "./measures/example_measure_auto_directory_name",
|
515
|
+
"measure_definition_display_name": "ExampleMeasureAutoDirectoryName",
|
516
|
+
"measure_definition_uuid": "a77372d0-2fc0-0132-c601-14109fdf0b37",
|
517
|
+
"measure_definition_version_uuid": "a77377b0-2fc0-0132-c602-14109fdf0b37",
|
518
|
+
"measure_type": "RubyMeasure",
|
519
|
+
"arguments": [
|
520
|
+
{
|
521
|
+
"display_name": "Apply the Measure to a Specific Space Type or to the Entire Model.",
|
522
|
+
"display_name_short": "Apply the Measure to a Specific Space Type or to the Entire Model.",
|
523
|
+
"name": "space_type",
|
524
|
+
"value": "*Entire Building*",
|
525
|
+
"value_type": "choice"
|
526
|
+
}
|
527
|
+
],
|
528
|
+
"display_name": "Reduce Ventilation By Percentage",
|
529
|
+
"name": "reduce_ventilation_by_percentage",
|
530
|
+
"variables": [
|
531
|
+
{
|
532
|
+
"argument": {
|
533
|
+
"display_name": "Design Specification Outdoor Air Reduction (%).",
|
534
|
+
"display_name_short": "Design Specification Outdoor Air Reduction (%).",
|
535
|
+
"name": "design_spec_outdoor_air_reduction_percent",
|
536
|
+
"value_type": "double"
|
537
|
+
},
|
538
|
+
"display_name": "Design Specification Outdoor Air Reduction (%).",
|
539
|
+
"display_name_short": "Design Specification Outdoor Air Reduction (%).",
|
540
|
+
"maximum": 90.0,
|
541
|
+
"minimum": 0.0,
|
542
|
+
"relation_to_output": "",
|
543
|
+
"static_value": 0.0,
|
544
|
+
"uncertainty_description": {
|
545
|
+
"attributes": [
|
546
|
+
{
|
547
|
+
"name": "lower_bounds",
|
548
|
+
"value": 0.0
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"name": "upper_bounds",
|
552
|
+
"value": 90.0
|
553
|
+
},
|
554
|
+
{
|
555
|
+
"name": "stddev",
|
556
|
+
"value": 15.0
|
557
|
+
},
|
558
|
+
{
|
559
|
+
"name": "delta_x",
|
560
|
+
"value": null
|
561
|
+
},
|
562
|
+
{
|
563
|
+
"name": "modes",
|
564
|
+
"value": 20.0
|
565
|
+
}
|
566
|
+
],
|
567
|
+
"type": "triangle_uncertain"
|
568
|
+
},
|
569
|
+
"units": "",
|
570
|
+
"value_type": "double",
|
571
|
+
"variable": true,
|
572
|
+
"variable_type": "RubyContinuousVariable",
|
573
|
+
"uuid": "a77396a0-2fc0-0132-c605-14109fdf0b37",
|
574
|
+
"version_uuid": "a7739be0-2fc0-0132-c606-14109fdf0b37"
|
575
|
+
}
|
576
|
+
],
|
577
|
+
"workflow_index": 5,
|
578
|
+
"workflow_step_type": "Measure",
|
579
|
+
"uuid": "a7737d00-2fc0-0132-c603-14109fdf0b37",
|
580
|
+
"version_uuid": "a7738330-2fc0-0132-c604-14109fdf0b37"
|
581
|
+
}
|
582
|
+
],
|
583
|
+
"analysis_type": "lhs"
|
584
|
+
},
|
585
|
+
"seed": {
|
586
|
+
"file_type": "OSM",
|
587
|
+
"path": "./seed/small_seed.osm"
|
588
|
+
},
|
589
|
+
"weather_file": {
|
590
|
+
"file_type": "EPW",
|
591
|
+
"path": "./weather/partial_weather.epw"
|
592
|
+
}
|
593
|
+
}
|
594
|
+
}
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<name>Not a real XML file</name>
|
@@ -16,10 +16,6 @@ describe OpenStudio::Analysis::Translator::Excel do
|
|
16
16
|
@excel = OpenStudio::Analysis::Translator::Excel.new(path)
|
17
17
|
end
|
18
18
|
|
19
|
-
it 'should have measure path' do
|
20
|
-
expect(@excel.measure_path).to eq('./measures')
|
21
|
-
end
|
22
|
-
|
23
19
|
it 'should have excel data' do
|
24
20
|
puts @excel
|
25
21
|
expect(@excel).not_to be_nil
|
@@ -29,7 +25,7 @@ describe OpenStudio::Analysis::Translator::Excel do
|
|
29
25
|
expect(@excel.process).to eq(true)
|
30
26
|
|
31
27
|
# after processing the measures directory should be what is in the excel file
|
32
|
-
expect(@excel.
|
28
|
+
expect(@excel.measure_paths[0]).to eq(File.expand_path(File.join('spec', 'files', 'measures')))
|
33
29
|
end
|
34
30
|
|
35
31
|
it 'should not work because no variables defined' do
|
@@ -477,4 +473,24 @@ describe OpenStudio::Analysis::Translator::Excel do
|
|
477
473
|
expect(j['analysis']['problem']['workflow'][1]['arguments'][0]['display_name_short']).to eq 'un'
|
478
474
|
end
|
479
475
|
end
|
476
|
+
|
477
|
+
context 'version 0.3.3 and short display names' do
|
478
|
+
before :all do
|
479
|
+
@excel = OpenStudio::Analysis::Translator::Excel.new('spec/files/0_3_5_multiple_measure_paths.xlsx')
|
480
|
+
end
|
481
|
+
|
482
|
+
it 'should process' do
|
483
|
+
expect(@excel.process).to eq(true)
|
484
|
+
end
|
485
|
+
|
486
|
+
it 'should save the analysis' do
|
487
|
+
@excel.save_analysis
|
488
|
+
model_uuid = @excel.models.first[:name]
|
489
|
+
|
490
|
+
expect(File.exist?("spec/files/export/analysis/#{model_uuid}.json")).to eq true
|
491
|
+
expect(File.exist?("spec/files/export/analysis/#{model_uuid}.zip")).to eq true
|
492
|
+
|
493
|
+
expect(@excel.aws_tags).to eq(['org=5500','nothing=else matters'])
|
494
|
+
end
|
495
|
+
end
|
480
496
|
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudio::Analysis::ServerApi create a new object instance" tests="1" time="0.061767" failures="0" errors="0" skipped="0" timestamp="2014-10-06T13:13:31-06:00">
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi create a new object instance should set the default host to localhost" time="0.00022">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<testsuite name="OpenStudio::Analysis::ServerApi create a new object instance" tests="1" time="0.0136" failures="0" errors="0" skipped="0" timestamp="2014-10-06T13:15:56-06:00">
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi create a new object instance should set the default host to localhost" time="0.000224">
|
4
|
+
</testcase>
|
5
|
+
<system-out>
|
6
|
+
</system-out>
|
7
|
+
<system-err>
|
8
|
+
</system-err>
|
9
|
+
</testsuite>
|