openstudio-analysis 0.1.13 → 0.1.14
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 +6 -0
- data/lib/openstudio/analysis/translator/excel.rb +138 -61
- data/lib/openstudio/analysis/version.rb +1 -1
- data/lib/openstudio/templates/discrete_uncertain_variable.json.erb +15 -3
- data/lib/openstudio/templates/pivot_variable.json.erb +0 -1
- data/lib/openstudio/templates/static_variable.json.erb +0 -2
- data/lib/openstudio/templates/uncertain_variable.json.erb +4 -1
- data/spec/files/discrete_dynamic_columns.xlsx +0 -0
- data/spec/files/discrete_variables.xlsx +0 -0
- data/spec/files/export/analysis/discrete_dynamic_seed.json +445 -0
- data/spec/files/export/analysis/discrete_dynamic_seed.zip +0 -0
- data/spec/files/export/analysis/discrete_seed.json +156 -126
- data/spec/files/export/analysis/discrete_seed.zip +0 -0
- data/spec/files/export/analysis/output_vars.json +150 -121
- data/spec/files/export/analysis/output_vars.zip +0 -0
- data/spec/files/export/analysis/small_seed.json +138 -117
- data/spec/files/export/analysis/small_seed.zip +0 -0
- data/spec/files/no_variables.xlsx +0 -0
- data/spec/openstudio/analysis/translator/excel_spec.rb +66 -47
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.51.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.52.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.53.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.54.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.55.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.56.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.57.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.58.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.59.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.60.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.61.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.51.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.52.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.53.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.54.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.55.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.56.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.57.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.58.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.59.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.60.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.61.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.51.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.52.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.53.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.54.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.55.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.56.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.57.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.58.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.59.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.60.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.61.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.10.xml +18 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.11.xml +18 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.12.xml +106 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.13.xml +18 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.14.xml +56 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.15.xml +64 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.16.xml +48 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.17.xml +18 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.18.xml +18 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.19.xml +18 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.9.xml +18 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.0.xml +17 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.1.xml +17 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.2.xml +17 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.3.xml +17 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.xml +25 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.51.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.52.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.53.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.54.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.55.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.56.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.57.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.58.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.59.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.60.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.61.xml +20 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.17.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.18.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.19.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.20.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.21.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.22.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.23.xml +14 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.24.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.25.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.26.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.27.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.23.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.24.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.25.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.26.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.27.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.28.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.29.xml +14 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.30.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.31.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.32.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.33.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.10.xml +93 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.11.xml +36 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.12.xml +36 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.13.xml +36 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.3.xml +36 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.4.xml +36 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.5.xml +36 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.6.xml +36 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.7.xml +36 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.8.xml +36 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.9.xml +43 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.0.xml +21 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.1.xml +21 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.10.xml +21 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.2.xml +21 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.3.xml +21 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.4.xml +21 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.5.xml +21 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.6.xml +26 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.7.xml +50 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.8.xml +21 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.9.xml +21 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.51.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.52.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.53.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.54.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.55.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.56.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.57.xml +12 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.58.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.59.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.60.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.61.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.51.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.52.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.53.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.54.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.55.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.56.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.57.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.58.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.59.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.60.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.61.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.51.xml +23 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.52.xml +23 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.53.xml +23 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.54.xml +23 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.55.xml +23 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.56.xml +23 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.57.xml +30 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.58.xml +52 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.59.xml +23 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.60.xml +23 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.61.xml +23 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.51.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.52.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.53.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.54.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.55.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.56.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.57.xml +16 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.58.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.59.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.60.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.61.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.0.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.1.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.10.xml +13 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.2.xml +13 -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 +18 -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.51.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.52.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.53.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.54.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.55.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.56.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.57.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.58.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.59.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.60.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.61.xml +7 -0
- metadata +348 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::ServerApi test not localhost" tests="1" time="0.000652" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:40:41-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000401">
|
|
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 test not localhost" tests="1" time="0.000758" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:41:54-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000467">
|
|
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 test not localhost" tests="1" time="0.000652" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:43:10-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000401">
|
|
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 test not localhost" tests="1" time="0.000687" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:54:19-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000406">
|
|
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 test not localhost" tests="1" time="0.000611" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:05:52-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000362">
|
|
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 test not localhost" tests="1" time="0.000761" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:08:47-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000467">
|
|
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 test not localhost" tests="1" time="0.000762" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:14:17-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000466">
|
|
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 test not localhost" tests="1" time="0.000713" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:15:34-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000434">
|
|
4
|
+
</testcase>
|
|
5
|
+
<system-out>
|
|
6
|
+
</system-out>
|
|
7
|
+
<system-err>
|
|
8
|
+
</system-err>
|
|
9
|
+
</testsuite>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::ServerApi" tests="0" time="0.000174" failures="0" errors="0" skipped="0" timestamp="2014-04-14T08:32:38-06:00">
|
|
3
|
+
<system-out>
|
|
4
|
+
</system-out>
|
|
5
|
+
<system-err>
|
|
6
|
+
</system-err>
|
|
7
|
+
</testsuite>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::ServerApi" tests="0" time="0.000173" failures="0" errors="0" skipped="0" timestamp="2014-04-14T08:42:00-06:00">
|
|
3
|
+
<system-out>
|
|
4
|
+
</system-out>
|
|
5
|
+
<system-err>
|
|
6
|
+
</system-err>
|
|
7
|
+
</testsuite>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::ServerApi" tests="0" time="0.000151" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:24:09-06:00">
|
|
3
|
+
<system-out>
|
|
4
|
+
</system-out>
|
|
5
|
+
<system-err>
|
|
6
|
+
</system-err>
|
|
7
|
+
</testsuite>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::ServerApi" tests="0" time="0.000166" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:40:41-06:00">
|
|
3
|
+
<system-out>
|
|
4
|
+
</system-out>
|
|
5
|
+
<system-err>
|
|
6
|
+
</system-err>
|
|
7
|
+
</testsuite>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::ServerApi" tests="0" time="0.000164" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:41:54-06:00">
|
|
3
|
+
<system-out>
|
|
4
|
+
</system-out>
|
|
5
|
+
<system-err>
|
|
6
|
+
</system-err>
|
|
7
|
+
</testsuite>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::ServerApi" tests="0" time="0.000153" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:43:10-06:00">
|
|
3
|
+
<system-out>
|
|
4
|
+
</system-out>
|
|
5
|
+
<system-err>
|
|
6
|
+
</system-err>
|
|
7
|
+
</testsuite>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::ServerApi" tests="0" time="0.000175" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:54:19-06:00">
|
|
3
|
+
<system-out>
|
|
4
|
+
</system-out>
|
|
5
|
+
<system-err>
|
|
6
|
+
</system-err>
|
|
7
|
+
</testsuite>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::ServerApi" tests="0" time="0.000163" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:08:47-06:00">
|
|
3
|
+
<system-out>
|
|
4
|
+
</system-out>
|
|
5
|
+
<system-err>
|
|
6
|
+
</system-err>
|
|
7
|
+
</testsuite>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::ServerApi" tests="0" time="0.000171" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:14:17-06:00">
|
|
3
|
+
<system-out>
|
|
4
|
+
</system-out>
|
|
5
|
+
<system-err>
|
|
6
|
+
</system-err>
|
|
7
|
+
</testsuite>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::ServerApi" tests="0" time="0.000171" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:15:34-06:00">
|
|
3
|
+
<system-out>
|
|
4
|
+
</system-out>
|
|
5
|
+
<system-err>
|
|
6
|
+
</system-err>
|
|
7
|
+
</testsuite>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel discrete variables" tests="2" time="0.354119" failures="0" errors="0" skipped="0" timestamp="2014-04-14T08:42:03-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should have parsed the spreadsheet" time="0.000229">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should save the file" time="0.062159">
|
|
6
|
+
</testcase>
|
|
7
|
+
<system-out>
|
|
8
|
+
Analysis name is Example Analysis
|
|
9
|
+
Adding measure item 'reduce_lighting_loads_by_percentage'
|
|
10
|
+
Adding measure item 'reducespaceinfiltrationbypercentage'
|
|
11
|
+
Adding measure item 'adjust_thermostat_setpoints_by_degrees'
|
|
12
|
+
Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
|
|
13
|
+
Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
|
|
14
|
+
Adding measure item 'reduce_ventilation_by_percentage'
|
|
15
|
+
</system-out>
|
|
16
|
+
<system-err>
|
|
17
|
+
</system-err>
|
|
18
|
+
</testsuite>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel discrete variables" tests="2" time="0.345536" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:24:11-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should have parsed the spreadsheet" time="0.000215">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should save the file" time="0.051459">
|
|
6
|
+
</testcase>
|
|
7
|
+
<system-out>
|
|
8
|
+
Analysis name is Example Analysis
|
|
9
|
+
Adding measure item 'reduce_lighting_loads_by_percentage'
|
|
10
|
+
Adding measure item 'reducespaceinfiltrationbypercentage'
|
|
11
|
+
Adding measure item 'adjust_thermostat_setpoints_by_degrees'
|
|
12
|
+
Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
|
|
13
|
+
Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
|
|
14
|
+
Adding measure item 'reduce_ventilation_by_percentage'
|
|
15
|
+
</system-out>
|
|
16
|
+
<system-err>
|
|
17
|
+
</system-err>
|
|
18
|
+
</testsuite>
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel discrete variables" tests="2" time="0.30296" failures="0" errors="1" skipped="0" timestamp="2014-04-14T09:40:44-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should have parsed the spreadsheet" time="0.000254">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should save the file" time="0.020227">
|
|
6
|
+
<failure type="JSON::ParserError" message="757: unexpected token at '{...">
|
|
7
|
+
757: unexpected token at '{
|
|
8
|
+
"argument": {
|
|
9
|
+
"display_name": "Design Specification Outdoor Air Reduction (%).",
|
|
10
|
+
"machine_name": "design_specification_outdoor_air_reduction_(%).",
|
|
11
|
+
"name": "design_spec_outdoor_air_reduction_percent",
|
|
12
|
+
"required": false,
|
|
13
|
+
"uuid": "10dc4150-a619-0131-acb7-2820663576f4",
|
|
14
|
+
"version_uuid": "10dc4730-a619-0131-acb8-2820663576f4"
|
|
15
|
+
},
|
|
16
|
+
"display_name": "Design Specification Outdoor Air Reduction (%).",
|
|
17
|
+
"machine_name": "design_specification_outdoor_air_reduction_(%).",
|
|
18
|
+
"name": "design_specification_outdoor_air_reduction_(%).",
|
|
19
|
+
"minimum": nil,
|
|
20
|
+
"maximum": nil,
|
|
21
|
+
"units": "",
|
|
22
|
+
"value_type": "Double",
|
|
23
|
+
"variable": true,
|
|
24
|
+
"variable_ADDME": true,
|
|
25
|
+
"relation_to_output": "",
|
|
26
|
+
"uncertainty_description": {
|
|
27
|
+
"attributes": [
|
|
28
|
+
{
|
|
29
|
+
"name": "discrete",
|
|
30
|
+
"values_and_weights": [{"value":0},{"value":10},{"value":30},{"value":60},{"value":90}]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "modes",
|
|
34
|
+
"value":
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"type": "discrete_uncertain"
|
|
38
|
+
},
|
|
39
|
+
"uuid": "10dc4c90-a619-0131-acb9-2820663576f4",
|
|
40
|
+
"variable_type": "RubyContinuousVariable",
|
|
41
|
+
"version_uuid": "10dc5200-a619-0131-acba-2820663576f4"
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
' (JSON::ParserError)
|
|
46
|
+
JSON::ParserError:
|
|
47
|
+
757: unexpected token at '{
|
|
48
|
+
"argument": {
|
|
49
|
+
"display_name": "Design Specification Outdoor Air Reduction (%).",
|
|
50
|
+
"machine_name": "design_specification_outdoor_air_reduction_(%).",
|
|
51
|
+
"name": "design_spec_outdoor_air_reduction_percent",
|
|
52
|
+
"required": false,
|
|
53
|
+
"uuid": "10dc4150-a619-0131-acb7-2820663576f4",
|
|
54
|
+
"version_uuid": "10dc4730-a619-0131-acb8-2820663576f4"
|
|
55
|
+
},
|
|
56
|
+
"display_name": "Design Specification Outdoor Air Reduction (%).",
|
|
57
|
+
"machine_name": "design_specification_outdoor_air_reduction_(%).",
|
|
58
|
+
"name": "design_specification_outdoor_air_reduction_(%).",
|
|
59
|
+
"minimum": nil,
|
|
60
|
+
"maximum": nil,
|
|
61
|
+
"units": "",
|
|
62
|
+
"value_type": "Double",
|
|
63
|
+
"variable": true,
|
|
64
|
+
"variable_ADDME": true,
|
|
65
|
+
"relation_to_output": "",
|
|
66
|
+
"uncertainty_description": {
|
|
67
|
+
"attributes": [
|
|
68
|
+
{
|
|
69
|
+
"name": "discrete",
|
|
70
|
+
"values_and_weights": [{"value":0},{"value":10},{"value":30},{"value":60},{"value":90}]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "modes",
|
|
74
|
+
"value":
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"type": "discrete_uncertain"
|
|
78
|
+
},
|
|
79
|
+
"uuid": "10dc4c90-a619-0131-acb9-2820663576f4",
|
|
80
|
+
"variable_type": "RubyContinuousVariable",
|
|
81
|
+
"version_uuid": "10dc5200-a619-0131-acba-2820663576f4"
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
'
|
|
86
|
+
./lib/openstudio/analysis/translator/excel.rb:278:in `block (2 levels) in translate_to_analysis_json_template'
|
|
87
|
+
./lib/openstudio/analysis/translator/excel.rb:211:in `each'
|
|
88
|
+
./lib/openstudio/analysis/translator/excel.rb:211:in `block in translate_to_analysis_json_template'
|
|
89
|
+
./lib/openstudio/analysis/translator/excel.rb:198:in `each'
|
|
90
|
+
./lib/openstudio/analysis/translator/excel.rb:198:in `translate_to_analysis_json_template'
|
|
91
|
+
./lib/openstudio/analysis/translator/excel.rb:160:in `create_analysis_hash'
|
|
92
|
+
./lib/openstudio/analysis/translator/excel.rb:166:in `save_analysis'
|
|
93
|
+
./spec/openstudio/analysis/translator/excel_spec.rb:183:in `block (3 levels) in <top (required)>' </failure>
|
|
94
|
+
</testcase>
|
|
95
|
+
<system-out>
|
|
96
|
+
Analysis name is Example Analysis
|
|
97
|
+
Adding measure item 'reduce_lighting_loads_by_percentage'
|
|
98
|
+
Adding measure item 'reducespaceinfiltrationbypercentage'
|
|
99
|
+
Adding measure item 'adjust_thermostat_setpoints_by_degrees'
|
|
100
|
+
Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
|
|
101
|
+
Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
|
|
102
|
+
Adding measure item 'reduce_ventilation_by_percentage'
|
|
103
|
+
</system-out>
|
|
104
|
+
<system-err>
|
|
105
|
+
</system-err>
|
|
106
|
+
</testsuite>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel discrete variables" tests="2" time="0.335514" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:41:56-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should have parsed the spreadsheet" time="0.00021">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should save the file" time="0.044052">
|
|
6
|
+
</testcase>
|
|
7
|
+
<system-out>
|
|
8
|
+
Analysis name is Example Analysis
|
|
9
|
+
Adding measure item 'reduce_lighting_loads_by_percentage'
|
|
10
|
+
Adding measure item 'reducespaceinfiltrationbypercentage'
|
|
11
|
+
Adding measure item 'adjust_thermostat_setpoints_by_degrees'
|
|
12
|
+
Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
|
|
13
|
+
Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
|
|
14
|
+
Adding measure item 'reduce_ventilation_by_percentage'
|
|
15
|
+
</system-out>
|
|
16
|
+
<system-err>
|
|
17
|
+
</system-err>
|
|
18
|
+
</testsuite>
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel discrete variables" tests="2" time="0.331707" failures="0" errors="1" skipped="0" timestamp="2014-04-14T09:43:13-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should have parsed the spreadsheet" time="0.000243">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should save the file" time="0.035735">
|
|
6
|
+
<failure type="JSON::ParserError" message="399: unexpected token at '{...">
|
|
7
|
+
399: unexpected token at '{
|
|
8
|
+
"name": "modes",
|
|
9
|
+
"value":
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"type": "discrete_uncertain"
|
|
13
|
+
},
|
|
14
|
+
"uuid": "699ae070-a619-0131-aff3-2820663576f4",
|
|
15
|
+
"variable_type": "RubyContinuousVariable",
|
|
16
|
+
"version_uuid": "699ae5d0-a619-0131-aff4-2820663576f4"
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
' (JSON::ParserError)
|
|
21
|
+
JSON::ParserError:
|
|
22
|
+
399: unexpected token at '{
|
|
23
|
+
"name": "modes",
|
|
24
|
+
"value":
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"type": "discrete_uncertain"
|
|
28
|
+
},
|
|
29
|
+
"uuid": "699ae070-a619-0131-aff3-2820663576f4",
|
|
30
|
+
"variable_type": "RubyContinuousVariable",
|
|
31
|
+
"version_uuid": "699ae5d0-a619-0131-aff4-2820663576f4"
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
'
|
|
36
|
+
./lib/openstudio/analysis/translator/excel.rb:278:in `block (2 levels) in translate_to_analysis_json_template'
|
|
37
|
+
./lib/openstudio/analysis/translator/excel.rb:211:in `each'
|
|
38
|
+
./lib/openstudio/analysis/translator/excel.rb:211:in `block in translate_to_analysis_json_template'
|
|
39
|
+
./lib/openstudio/analysis/translator/excel.rb:198:in `each'
|
|
40
|
+
./lib/openstudio/analysis/translator/excel.rb:198:in `translate_to_analysis_json_template'
|
|
41
|
+
./lib/openstudio/analysis/translator/excel.rb:160:in `create_analysis_hash'
|
|
42
|
+
./lib/openstudio/analysis/translator/excel.rb:166:in `save_analysis'
|
|
43
|
+
./spec/openstudio/analysis/translator/excel_spec.rb:183:in `block (3 levels) in <top (required)>' </failure>
|
|
44
|
+
</testcase>
|
|
45
|
+
<system-out>
|
|
46
|
+
Analysis name is Example Analysis
|
|
47
|
+
Adding measure item 'reduce_lighting_loads_by_percentage'
|
|
48
|
+
Adding measure item 'reducespaceinfiltrationbypercentage'
|
|
49
|
+
Adding measure item 'adjust_thermostat_setpoints_by_degrees'
|
|
50
|
+
Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
|
|
51
|
+
Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
|
|
52
|
+
Adding measure item 'reduce_ventilation_by_percentage'
|
|
53
|
+
</system-out>
|
|
54
|
+
<system-err>
|
|
55
|
+
</system-err>
|
|
56
|
+
</testsuite>
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel discrete variables" tests="2" time="0.318205" failures="0" errors="1" skipped="0" timestamp="2014-04-14T09:54:22-06:00">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should have parsed the spreadsheet" time="0.000217">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should save the file" time="0.022842">
|
|
6
|
+
<failure type="JSON::ParserError" message="399: unexpected token at '{...">
|
|
7
|
+
399: unexpected token at '{
|
|
8
|
+
"name": "modes",
|
|
9
|
+
"value":
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"type": "discrete_uncertain"
|
|
13
|
+
},
|
|
14
|
+
"uuid": "f8524fc0-a61a-0131-b1a1-2820663576f4",
|
|
15
|
+
"variable_type": "RubyContinuousVariable",
|
|
16
|
+
"version_uuid": "f8525670-a61a-0131-b1a2-2820663576f4"
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
' (JSON::ParserError)
|
|
21
|
+
JSON::ParserError:
|
|
22
|
+
399: unexpected token at '{
|
|
23
|
+
"name": "modes",
|
|
24
|
+
"value":
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"type": "discrete_uncertain"
|
|
28
|
+
},
|
|
29
|
+
"uuid": "f8524fc0-a61a-0131-b1a1-2820663576f4",
|
|
30
|
+
"variable_type": "RubyContinuousVariable",
|
|
31
|
+
"version_uuid": "f8525670-a61a-0131-b1a2-2820663576f4"
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
'
|
|
36
|
+
./lib/openstudio/analysis/translator/excel.rb:279:in `block (2 levels) in translate_to_analysis_json_template'
|
|
37
|
+
./lib/openstudio/analysis/translator/excel.rb:212:in `each'
|
|
38
|
+
./lib/openstudio/analysis/translator/excel.rb:212:in `block in translate_to_analysis_json_template'
|
|
39
|
+
./lib/openstudio/analysis/translator/excel.rb:199:in `each'
|
|
40
|
+
./lib/openstudio/analysis/translator/excel.rb:199:in `translate_to_analysis_json_template'
|
|
41
|
+
./lib/openstudio/analysis/translator/excel.rb:161:in `create_analysis_hash'
|
|
42
|
+
./lib/openstudio/analysis/translator/excel.rb:167:in `save_analysis'
|
|
43
|
+
./spec/openstudio/analysis/translator/excel_spec.rb:183:in `block (3 levels) in <top (required)>' </failure>
|
|
44
|
+
</testcase>
|
|
45
|
+
<system-out>
|
|
46
|
+
HERE I AM {"variable_type"=>"variable", "display_name"=>"Lighting Power Reduction", "machine_name"=>"lighting_power_reduction", "name"=>"lighting_power_reduction_percent", "index"=>2, "method"=>"lhs", "type"=>"Double", "units"=>nil, "distribution"=>{"min"=>0.0, "max"=>10.0, "mean"=>5.0, "stddev"=>3.0, "discrete_values"=>"[10,20,40,60]", "discrete_weights"=>"[0.1,0.4,0.2,0.3]", "type"=>"discrete_uncertain", "source"=>"Some Source"}, "notes"=>nil, "relation_to_eui"=>nil}
|
|
47
|
+
HERE I AM {"variable_type"=>"variable", "display_name"=>"Space Infiltration Power Reduction", "machine_name"=>"space_infiltration_power_reduction", "name"=>"space_infiltration_reduction_percent", "index"=>2, "method"=>"lhs", "type"=>"Double", "units"=>nil, "distribution"=>{"min"=>0.0, "max"=>30.0, "mean"=>10.0, "stddev"=>5.0, "discrete_values"=>nil, "discrete_weights"=>nil, "type"=>"uniform_uncertain", "source"=>nil}, "notes"=>nil, "relation_to_eui"=>nil}
|
|
48
|
+
HERE I AM {"variable_type"=>"variable", "display_name"=>"Degrees Fahrenheit to Adjust Cooling Setpoint By.", "machine_name"=>"degrees_fahrenheit_to_adjust_cooling_setpoint_by.", "name"=>"cooling_adjustment", "index"=>1, "method"=>"lhs", "type"=>"Double", "units"=>nil, "distribution"=>{"min"=>-4.0, "max"=>4.0, "mean"=>0.0, "stddev"=>1.3333333333333333, "discrete_values"=>nil, "discrete_weights"=>nil, "type"=>"uniform_uncertain", "source"=>nil}, "notes"=>nil, "relation_to_eui"=>nil}
|
|
49
|
+
HERE I AM {"variable_type"=>"variable", "display_name"=>"Degrees Fahrenheit to Adjust heating Setpoint By.", "machine_name"=>"degrees_fahrenheit_to_adjust_heating_setpoint_by.", "name"=>"heating_adjustment", "index"=>2, "method"=>"lhs", "type"=>"Double", "units"=>nil, "distribution"=>{"min"=>-4.0, "max"=>4.0, "mean"=>0.0, "stddev"=>1.3333333333333333, "discrete_values"=>nil, "discrete_weights"=>nil, "type"=>"uniform_uncertain", "source"=>nil}, "notes"=>nil, "relation_to_eui"=>nil}
|
|
50
|
+
HERE I AM {"variable_type"=>"variable", "display_name"=>"Alter Design Day Thermostats?", "machine_name"=>"alter_design_day_thermostats?", "name"=>"alter_design_days", "index"=>3, "method"=>"lhs", "type"=>"Bool", "units"=>nil, "distribution"=>{"min"=>"true", "max"=>"true", "mean"=>"false", "stddev"=>"false", "discrete_values"=>"['true','false']", "discrete_weights"=>"[0.8,0.2]", "type"=>"discrete_uncertain", "source"=>nil}, "notes"=>nil, "relation_to_eui"=>nil}
|
|
51
|
+
HERE I AM {"variable_type"=>"variable", "display_name"=>"Wall R Value", "machine_name"=>"wall_r_value", "name"=>"r_value", "index"=>1, "method"=>"lhs", "type"=>"Double", "units"=>nil, "distribution"=>{"min"=>0.0, "max"=>5.0, "mean"=>2.5, "stddev"=>0.8333333333333334, "discrete_values"=>nil, "discrete_weights"=>nil, "type"=>"triangle_uncertain", "source"=>nil}, "notes"=>nil, "relation_to_eui"=>nil}
|
|
52
|
+
HERE I AM {"variable_type"=>"variable", "display_name"=>"Roof R Value", "machine_name"=>"roof_r_value", "name"=>"r_value", "index"=>1, "method"=>"lhs", "type"=>"Double", "units"=>nil, "distribution"=>{"min"=>0.0, "max"=>5.0, "mean"=>2.5, "stddev"=>0.8333333333333334, "discrete_values"=>nil, "discrete_weights"=>nil, "type"=>"triangle_uncertain", "source"=>nil}, "notes"=>nil, "relation_to_eui"=>nil}
|
|
53
|
+
HERE I AM {"variable_type"=>"variable", "display_name"=>"Design Specification Outdoor Air Reduction (%).", "machine_name"=>"design_specification_outdoor_air_reduction_(%).", "name"=>"design_spec_outdoor_air_reduction_percent", "index"=>2, "method"=>"lhs", "type"=>"Double", "units"=>nil, "distribution"=>{"min"=>0.0, "max"=>90.0, "mean"=>nil, "stddev"=>nil, "discrete_values"=>"[0,10,30,60,90]", "discrete_weights"=>nil, "type"=>"discrete_uncertain", "source"=>nil}, "notes"=>nil, "relation_to_eui"=>nil}
|
|
54
|
+
Analysis name is Example Analysis
|
|
55
|
+
Adding measure item 'reduce_lighting_loads_by_percentage'
|
|
56
|
+
Adding measure item 'reducespaceinfiltrationbypercentage'
|
|
57
|
+
Adding measure item 'adjust_thermostat_setpoints_by_degrees'
|
|
58
|
+
Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
|
|
59
|
+
Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
|
|
60
|
+
Adding measure item 'reduce_ventilation_by_percentage'
|
|
61
|
+
</system-out>
|
|
62
|
+
<system-err>
|
|
63
|
+
</system-err>
|
|
64
|
+
</testsuite>
|