openstudio-analysis 0.1.4 → 0.1.5
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/Rakefile +4 -5
- data/lib/openstudio/analysis/version.rb +1 -1
- data/spec/files/export/analysis/small_seed.json +652 -0
- data/spec/files/export/analysis/small_seed.zip +0 -0
- data/spec/files/small_list.xlsx +0 -0
- data/spec/openstudio/analysis/translator/excel_spec.rb +10 -1
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.0.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.1.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.2.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.3.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.4.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.0.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.1.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.2.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.xml +9 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.0.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.1.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.2.xml +7 -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.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.0.xml +22 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.1.xml +22 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.2.xml +22 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.3.xml +22 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.4.xml +22 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.xml +22 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.0.xml +16 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.1.xml +16 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.2.xml +16 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.3.xml +16 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.4.xml +16 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.xml +16 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.0.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.1.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.2.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.3.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.4.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.0.xml +34 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.1.xml +30 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.2.xml +35 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.3.xml +30 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.4.xml +30 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.xml +36 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.0.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.1.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.2.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.3.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.4.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.xml +15 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.0.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.1.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.2.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.3.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.4.xml +7 -0
- data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.xml +7 -0
- metadata +115 -3
|
@@ -30,7 +30,7 @@ describe OpenStudio::Analysis::Translator::Excel do
|
|
|
30
30
|
#
|
|
31
31
|
end
|
|
32
32
|
|
|
33
|
-
it "should export to a JSON" do
|
|
33
|
+
it "should not export to a JSON" do
|
|
34
34
|
@excel.process
|
|
35
35
|
expect { @excel.save_analysis }.to raise_error("Argument 'r_value' did not process. Most likely it did not have all parameters defined.")
|
|
36
36
|
end
|
|
@@ -80,6 +80,15 @@ describe OpenStudio::Analysis::Translator::Excel do
|
|
|
80
80
|
@excel.weather_files.first.should_not be_nil
|
|
81
81
|
@excel.weather_files.first.include?("partial_weather.epw").should be_true
|
|
82
82
|
end
|
|
83
|
+
|
|
84
|
+
it "should write a json" do
|
|
85
|
+
@excel.save_analysis
|
|
86
|
+
expect(File).to exist("spec/files/export/analysis/small_seed.json")
|
|
87
|
+
expect(File).to exist("spec/files/export/analysis/small_seed.zip")
|
|
88
|
+
|
|
89
|
+
expect(JSON.parse(File.read("spec/files/export/analysis/small_seed.json"))).not_to be_nil
|
|
90
|
+
|
|
91
|
+
end
|
|
83
92
|
end
|
|
84
93
|
|
|
85
94
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::ServerApi create a new localhost instance" tests="1" time="0.025446" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi create a new localhost instance should set the default host to localhost" time="0.000586">
|
|
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 localhost instance" tests="1" time="0.024024" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi create a new localhost instance should set the default host to localhost" time="0.000581">
|
|
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 localhost instance" tests="1" time="0.025673" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi create a new localhost instance should set the default host to localhost" time="0.000535">
|
|
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 localhost instance" tests="1" time="0.024886" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi create a new localhost instance should set the default host to localhost" time="0.000596">
|
|
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 localhost instance" tests="1" time="0.025069" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi create a new localhost instance should set the default host to localhost" time="0.000572">
|
|
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 localhost instance" tests="1" time="0.065658" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi create a new localhost instance should set the default host to localhost" time="0.002387">
|
|
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.000591" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000359">
|
|
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.000573" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000345">
|
|
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.000571" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000338">
|
|
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.000513" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.0003">
|
|
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.000463" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000245">
|
|
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.000585" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000363">
|
|
4
|
+
</testcase>
|
|
5
|
+
<system-out>
|
|
6
|
+
</system-out>
|
|
7
|
+
<system-err>
|
|
8
|
+
</system-err>
|
|
9
|
+
</testsuite>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel no variables defined" tests="5" time="0.480587" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have measure path" time="0.10959">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have excel data" time="0.060054">
|
|
6
|
+
</testcase>
|
|
7
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should process the excel file" time="0.125387">
|
|
8
|
+
</testcase>
|
|
9
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not work because no variables defined" time="0.062932">
|
|
10
|
+
</testcase>
|
|
11
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not export to a JSON" time="0.122013">
|
|
12
|
+
</testcase>
|
|
13
|
+
<system-out>
|
|
14
|
+
#<OpenStudio::Analysis::Translator::Excel:0x007fbb1a925720>
|
|
15
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
16
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
17
|
+
Analysis name is Test Run 1
|
|
18
|
+
Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
|
|
19
|
+
</system-out>
|
|
20
|
+
<system-err>
|
|
21
|
+
</system-err>
|
|
22
|
+
</testsuite>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel no variables defined" tests="5" time="0.504706" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have measure path" time="0.115791">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have excel data" time="0.063198">
|
|
6
|
+
</testcase>
|
|
7
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should process the excel file" time="0.133846">
|
|
8
|
+
</testcase>
|
|
9
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not work because no variables defined" time="0.06459">
|
|
10
|
+
</testcase>
|
|
11
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not export to a JSON" time="0.126565">
|
|
12
|
+
</testcase>
|
|
13
|
+
<system-out>
|
|
14
|
+
#<OpenStudio::Analysis::Translator::Excel:0x007f95d50a3f58>
|
|
15
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
16
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
17
|
+
Analysis name is Test Run 1
|
|
18
|
+
Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
|
|
19
|
+
</system-out>
|
|
20
|
+
<system-err>
|
|
21
|
+
</system-err>
|
|
22
|
+
</testsuite>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel no variables defined" tests="5" time="0.475807" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have measure path" time="0.110182">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have excel data" time="0.059863">
|
|
6
|
+
</testcase>
|
|
7
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should process the excel file" time="0.122972">
|
|
8
|
+
</testcase>
|
|
9
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not work because no variables defined" time="0.062276">
|
|
10
|
+
</testcase>
|
|
11
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not export to a JSON" time="0.119872">
|
|
12
|
+
</testcase>
|
|
13
|
+
<system-out>
|
|
14
|
+
#<OpenStudio::Analysis::Translator::Excel:0x007ff7a40bba50>
|
|
15
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
16
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
17
|
+
Analysis name is Test Run 1
|
|
18
|
+
Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
|
|
19
|
+
</system-out>
|
|
20
|
+
<system-err>
|
|
21
|
+
</system-err>
|
|
22
|
+
</testsuite>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel no variables defined" tests="5" time="0.464642" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have measure path" time="0.108146">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have excel data" time="0.057532">
|
|
6
|
+
</testcase>
|
|
7
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should process the excel file" time="0.116561">
|
|
8
|
+
</testcase>
|
|
9
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not work because no variables defined" time="0.062391">
|
|
10
|
+
</testcase>
|
|
11
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not export to a JSON" time="0.119461">
|
|
12
|
+
</testcase>
|
|
13
|
+
<system-out>
|
|
14
|
+
#<OpenStudio::Analysis::Translator::Excel:0x007ff19502ea20>
|
|
15
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
16
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
17
|
+
Analysis name is Test Run 1
|
|
18
|
+
Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
|
|
19
|
+
</system-out>
|
|
20
|
+
<system-err>
|
|
21
|
+
</system-err>
|
|
22
|
+
</testsuite>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel no variables defined" tests="5" time="0.47961" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have measure path" time="0.10833">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have excel data" time="0.060608">
|
|
6
|
+
</testcase>
|
|
7
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should process the excel file" time="0.1216">
|
|
8
|
+
</testcase>
|
|
9
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not work because no variables defined" time="0.06315">
|
|
10
|
+
</testcase>
|
|
11
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not export to a JSON" time="0.125282">
|
|
12
|
+
</testcase>
|
|
13
|
+
<system-out>
|
|
14
|
+
#<OpenStudio::Analysis::Translator::Excel:0x007f962b20bc00>
|
|
15
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
16
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
17
|
+
Analysis name is Test Run 1
|
|
18
|
+
Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
|
|
19
|
+
</system-out>
|
|
20
|
+
<system-err>
|
|
21
|
+
</system-err>
|
|
22
|
+
</testsuite>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel no variables defined" tests="5" time="0.960568" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have measure path" time="0.258814">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have excel data" time="0.06906">
|
|
6
|
+
</testcase>
|
|
7
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should process the excel file" time="0.121884">
|
|
8
|
+
</testcase>
|
|
9
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not work because no variables defined" time="0.065079">
|
|
10
|
+
</testcase>
|
|
11
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not export to a JSON" time="0.444965">
|
|
12
|
+
</testcase>
|
|
13
|
+
<system-out>
|
|
14
|
+
#<OpenStudio::Analysis::Translator::Excel:0x007fcde201e778>
|
|
15
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
16
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
17
|
+
Analysis name is Test Run 1
|
|
18
|
+
Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
|
|
19
|
+
</system-out>
|
|
20
|
+
<system-err>
|
|
21
|
+
</system-err>
|
|
22
|
+
</testsuite>
|
data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.0.xml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel small list of incomplete variables" tests="1" time="0.26547" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel small list of incomplete variables should fail to process" time="0.201042">
|
|
4
|
+
</testcase>
|
|
5
|
+
<system-out>
|
|
6
|
+
Parsing measure Reduce Lighting Loads by Percentage
|
|
7
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
8
|
+
Parsing measure Adjust Thermostat Setpoints by Degrees
|
|
9
|
+
Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
|
|
10
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
11
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
12
|
+
Parsing measure Reduce Ventilation By Percentage
|
|
13
|
+
</system-out>
|
|
14
|
+
<system-err>
|
|
15
|
+
</system-err>
|
|
16
|
+
</testsuite>
|
data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.1.xml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel small list of incomplete variables" tests="1" time="0.274504" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel small list of incomplete variables should fail to process" time="0.202389">
|
|
4
|
+
</testcase>
|
|
5
|
+
<system-out>
|
|
6
|
+
Parsing measure Reduce Lighting Loads by Percentage
|
|
7
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
8
|
+
Parsing measure Adjust Thermostat Setpoints by Degrees
|
|
9
|
+
Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
|
|
10
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
11
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
12
|
+
Parsing measure Reduce Ventilation By Percentage
|
|
13
|
+
</system-out>
|
|
14
|
+
<system-err>
|
|
15
|
+
</system-err>
|
|
16
|
+
</testsuite>
|
data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.2.xml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel small list of incomplete variables" tests="1" time="0.266221" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel small list of incomplete variables should fail to process" time="0.202848">
|
|
4
|
+
</testcase>
|
|
5
|
+
<system-out>
|
|
6
|
+
Parsing measure Reduce Lighting Loads by Percentage
|
|
7
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
8
|
+
Parsing measure Adjust Thermostat Setpoints by Degrees
|
|
9
|
+
Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
|
|
10
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
11
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
12
|
+
Parsing measure Reduce Ventilation By Percentage
|
|
13
|
+
</system-out>
|
|
14
|
+
<system-err>
|
|
15
|
+
</system-err>
|
|
16
|
+
</testsuite>
|
data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.3.xml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel small list of incomplete variables" tests="1" time="0.270986" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel small list of incomplete variables should fail to process" time="0.205985">
|
|
4
|
+
</testcase>
|
|
5
|
+
<system-out>
|
|
6
|
+
Parsing measure Reduce Lighting Loads by Percentage
|
|
7
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
8
|
+
Parsing measure Adjust Thermostat Setpoints by Degrees
|
|
9
|
+
Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
|
|
10
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
11
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
12
|
+
Parsing measure Reduce Ventilation By Percentage
|
|
13
|
+
</system-out>
|
|
14
|
+
<system-err>
|
|
15
|
+
</system-err>
|
|
16
|
+
</testsuite>
|
data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.4.xml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel small list of incomplete variables" tests="1" time="0.267706" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel small list of incomplete variables should fail to process" time="0.20123">
|
|
4
|
+
</testcase>
|
|
5
|
+
<system-out>
|
|
6
|
+
Parsing measure Reduce Lighting Loads by Percentage
|
|
7
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
8
|
+
Parsing measure Adjust Thermostat Setpoints by Degrees
|
|
9
|
+
Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
|
|
10
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
11
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
12
|
+
Parsing measure Reduce Ventilation By Percentage
|
|
13
|
+
</system-out>
|
|
14
|
+
<system-err>
|
|
15
|
+
</system-err>
|
|
16
|
+
</testsuite>
|
data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.xml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel small list of incomplete variables" tests="1" time="0.287136" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel small list of incomplete variables should fail to process" time="0.203312">
|
|
4
|
+
</testcase>
|
|
5
|
+
<system-out>
|
|
6
|
+
Parsing measure Reduce Lighting Loads by Percentage
|
|
7
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
8
|
+
Parsing measure Adjust Thermostat Setpoints by Degrees
|
|
9
|
+
Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
|
|
10
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
11
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
12
|
+
Parsing measure Reduce Ventilation By Percentage
|
|
13
|
+
</system-out>
|
|
14
|
+
<system-err>
|
|
15
|
+
</system-err>
|
|
16
|
+
</testsuite>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel small list of variables should not validate" tests="1" time="0.242417" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should not validate should fail to process" time="0.177482">
|
|
4
|
+
</testcase>
|
|
5
|
+
<system-out>
|
|
6
|
+
Parsing measure Reduce Lighting Loads by Percentage
|
|
7
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
8
|
+
Parsing measure Adjust Thermostat Setpoints by Degrees
|
|
9
|
+
Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
|
|
10
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
11
|
+
Parsing measure Reduce Ventilation By Percentage
|
|
12
|
+
</system-out>
|
|
13
|
+
<system-err>
|
|
14
|
+
</system-err>
|
|
15
|
+
</testsuite>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel small list of variables should not validate" tests="1" time="0.251996" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should not validate should fail to process" time="0.184049">
|
|
4
|
+
</testcase>
|
|
5
|
+
<system-out>
|
|
6
|
+
Parsing measure Reduce Lighting Loads by Percentage
|
|
7
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
8
|
+
Parsing measure Adjust Thermostat Setpoints by Degrees
|
|
9
|
+
Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
|
|
10
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
11
|
+
Parsing measure Reduce Ventilation By Percentage
|
|
12
|
+
</system-out>
|
|
13
|
+
<system-err>
|
|
14
|
+
</system-err>
|
|
15
|
+
</testsuite>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel small list of variables should not validate" tests="1" time="0.241077" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should not validate should fail to process" time="0.176799">
|
|
4
|
+
</testcase>
|
|
5
|
+
<system-out>
|
|
6
|
+
Parsing measure Reduce Lighting Loads by Percentage
|
|
7
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
8
|
+
Parsing measure Adjust Thermostat Setpoints by Degrees
|
|
9
|
+
Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
|
|
10
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
11
|
+
Parsing measure Reduce Ventilation By Percentage
|
|
12
|
+
</system-out>
|
|
13
|
+
<system-err>
|
|
14
|
+
</system-err>
|
|
15
|
+
</testsuite>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel small list of variables should not validate" tests="1" time="0.247511" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should not validate should fail to process" time="0.184322">
|
|
4
|
+
</testcase>
|
|
5
|
+
<system-out>
|
|
6
|
+
Parsing measure Reduce Lighting Loads by Percentage
|
|
7
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
8
|
+
Parsing measure Adjust Thermostat Setpoints by Degrees
|
|
9
|
+
Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
|
|
10
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
11
|
+
Parsing measure Reduce Ventilation By Percentage
|
|
12
|
+
</system-out>
|
|
13
|
+
<system-err>
|
|
14
|
+
</system-err>
|
|
15
|
+
</testsuite>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel small list of variables should not validate" tests="1" time="0.244994" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should not validate should fail to process" time="0.176027">
|
|
4
|
+
</testcase>
|
|
5
|
+
<system-out>
|
|
6
|
+
Parsing measure Reduce Lighting Loads by Percentage
|
|
7
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
8
|
+
Parsing measure Adjust Thermostat Setpoints by Degrees
|
|
9
|
+
Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
|
|
10
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
11
|
+
Parsing measure Reduce Ventilation By Percentage
|
|
12
|
+
</system-out>
|
|
13
|
+
<system-err>
|
|
14
|
+
</system-err>
|
|
15
|
+
</testsuite>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel small list of variables should not validate" tests="1" time="0.256547" failures="0" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should not validate should fail to process" time="0.179962">
|
|
4
|
+
</testcase>
|
|
5
|
+
<system-out>
|
|
6
|
+
Parsing measure Reduce Lighting Loads by Percentage
|
|
7
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
8
|
+
Parsing measure Adjust Thermostat Setpoints by Degrees
|
|
9
|
+
Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
|
|
10
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
11
|
+
Parsing measure Reduce Ventilation By Percentage
|
|
12
|
+
</system-out>
|
|
13
|
+
<system-err>
|
|
14
|
+
</system-err>
|
|
15
|
+
</testsuite>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<testsuite name="OpenStudio::Analysis::Translator::Excel small list of variables" tests="3" time="0.373378" failures="1" errors="0" skipped="0">
|
|
3
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a model" time="0.000214">
|
|
4
|
+
</testcase>
|
|
5
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a weather file" time="0.000128">
|
|
6
|
+
</testcase>
|
|
7
|
+
<testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should write a json" time="0.111753">
|
|
8
|
+
<failure type="RSpec::Expectations::ExpectationNotMetError" message="expected File to exist "spec/export/analysis/small_seed.zip"">
|
|
9
|
+
expected File to exist "spec/export/analysis/small_seed.zip" (RSpec::Expectations::ExpectationNotMetError)
|
|
10
|
+
expected File to exist "spec/export/analysis/small_seed.zip"
|
|
11
|
+
./spec/openstudio/analysis/translator/excel_spec.rb:88:in `block (3 levels) in <top (required)>' </failure>
|
|
12
|
+
</testcase>
|
|
13
|
+
<system-out>
|
|
14
|
+
Parsing measure Reduce Lighting Loads by Percentage
|
|
15
|
+
Parsing measure ReduceSpaceInfiltrationByPercentage
|
|
16
|
+
Parsing measure Adjust Thermostat Setpoints by Degrees
|
|
17
|
+
Parsing measure Set R-value of Insulation for Exterior Walls to a Specific Value
|
|
18
|
+
Parsing measure Set R-value of Insulation for Roofs to a Specific Value
|
|
19
|
+
Parsing measure Reduce Ventilation By Percentage
|
|
20
|
+
true
|
|
21
|
+
Analysis name is Test Run 1
|
|
22
|
+
Adding measure item 'reduce_lighting_loads_by_percentage'
|
|
23
|
+
Adding measure item 'reducespaceinfiltrationbypercentage'
|
|
24
|
+
Adding measure item 'adjust_thermostat_setpoints_by_degrees'
|
|
25
|
+
Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
|
|
26
|
+
Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
|
|
27
|
+
Adding measure item 'reduce_ventilation_by_percentage'
|
|
28
|
+
Adding /Users/nlong/Working/OpenStudio-analysis-gem/spec/files/partial_weather.epw
|
|
29
|
+
Adding /Users/nlong/Working/OpenStudio-analysis-gem/spec/files/small_seed.osm
|
|
30
|
+
Adding in other files []
|
|
31
|
+
</system-out>
|
|
32
|
+
<system-err>
|
|
33
|
+
</system-err>
|
|
34
|
+
</testsuite>
|