openstudio-analysis 0.1.14 → 0.1.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/lib/openstudio/analysis/server_api.rb +1 -1
  4. data/lib/openstudio/analysis/translator/excel.rb +25 -2
  5. data/lib/openstudio/analysis/version.rb +1 -1
  6. data/spec/files/analysis/medium_office.json +1786 -0
  7. data/spec/files/{export/analysis/output_vars.zip → analysis/medium_office.zip} +0 -0
  8. data/spec/files/discrete_dynamic_columns.xlsx +0 -0
  9. data/spec/files/discrete_variables.xlsx +0 -0
  10. data/spec/files/template_0_2_0.xlsx +0 -0
  11. data/spec/files/~$template_0_2_0.xlsx +0 -0
  12. data/spec/files/~$template_input_0.1.10.xlsx +0 -0
  13. data/spec/openstudio/analysis/translator/excel_spec.rb +299 -272
  14. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.62.xml +9 -0
  15. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.63.xml +9 -0
  16. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.62.xml +9 -0
  17. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.63.xml +9 -0
  18. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.62.xml +7 -0
  19. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.63.xml +7 -0
  20. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.20.xml +33 -0
  21. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.21.xml +18 -0
  22. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.4.xml +33 -0
  23. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.5.xml +17 -0
  24. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.62.xml +20 -0
  25. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.63.xml +20 -0
  26. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.28.xml +9 -0
  27. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.29.xml +9 -0
  28. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.34.xml +9 -0
  29. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.35.xml +9 -0
  30. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.14.xml +36 -0
  31. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.15.xml +36 -0
  32. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.11.xml +21 -0
  33. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.12.xml +21 -0
  34. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.62.xml +9 -0
  35. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.63.xml +9 -0
  36. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.62.xml +9 -0
  37. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.63.xml +9 -0
  38. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.62.xml +23 -0
  39. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.63.xml +23 -0
  40. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.62.xml +9 -0
  41. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.63.xml +9 -0
  42. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.11.xml +13 -0
  43. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.12.xml +13 -0
  44. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.62.xml +7 -0
  45. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.63.xml +7 -0
  46. metadata +76 -22
  47. data/spec/files/export/analysis/discrete_dynamic_seed.json +0 -445
  48. data/spec/files/export/analysis/discrete_dynamic_seed.zip +0 -0
  49. data/spec/files/export/analysis/discrete_seed.json +0 -712
  50. data/spec/files/export/analysis/discrete_seed.zip +0 -0
  51. data/spec/files/export/analysis/medium_office.json +0 -648
  52. data/spec/files/export/analysis/medium_office.zip +0 -0
  53. data/spec/files/export/analysis/output_vars.json +0 -707
  54. data/spec/files/export/analysis/small_seed.json +0 -665
  55. data/spec/files/export/analysis/small_seed.zip +0 -0
@@ -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.043044" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:26:52-06:00">
3
+ <testcase name="OpenStudio::Analysis::ServerApi create a new localhost instance should set the default host to localhost" time="0.001209">
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.064776" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:40:50-06:00">
3
+ <testcase name="OpenStudio::Analysis::ServerApi create a new localhost instance should set the default host to localhost" time="0.001359">
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.001151" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:26:52-06:00">
3
+ <testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000688">
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.001241" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:40:50-06:00">
3
+ <testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000744">
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.000162" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:26:52-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.000251" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:40:50-06:00">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,33 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel discrete variables" tests="2" time="0.638926" failures="0" errors="2" skipped="0" timestamp="2014-04-17T14:26:57-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should have parsed the spreadsheet" time="0.000143">
4
+ <failure type="RuntimeError" message="Variable reduce_ventilation_by_percentage:design_spec_outdoor_air_reduction_percent must have a mean/mode">
5
+ Variable reduce_ventilation_by_percentage:design_spec_outdoor_air_reduction_percent must have a mean/mode (RuntimeError)
6
+ RuntimeError:
7
+ Variable reduce_ventilation_by_percentage:design_spec_outdoor_air_reduction_percent must have a mean/mode
8
+ ./lib/openstudio/analysis/translator/excel.rb:132:in `block (2 levels) in validate_analysis'
9
+ ./lib/openstudio/analysis/translator/excel.rb:107:in `each'
10
+ ./lib/openstudio/analysis/translator/excel.rb:107:in `block in validate_analysis'
11
+ ./lib/openstudio/analysis/translator/excel.rb:105:in `each'
12
+ ./lib/openstudio/analysis/translator/excel.rb:105:in `validate_analysis'
13
+ ./lib/openstudio/analysis/translator/excel.rb:69:in `process'
14
+ ./spec/openstudio/analysis/translator/excel_spec.rb:171:in `block (3 levels) in &lt;top (required)&gt;' </failure>
15
+ </testcase>
16
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should save the file" time="6.5e-05">
17
+ <failure type="RuntimeError" message="Variable reduce_ventilation_by_percentage:design_spec_outdoor_air_reduction_percent must have a mean/mode">
18
+ Variable reduce_ventilation_by_percentage:design_spec_outdoor_air_reduction_percent must have a mean/mode (RuntimeError)
19
+ RuntimeError:
20
+ Variable reduce_ventilation_by_percentage:design_spec_outdoor_air_reduction_percent must have a mean/mode
21
+ ./lib/openstudio/analysis/translator/excel.rb:132:in `block (2 levels) in validate_analysis'
22
+ ./lib/openstudio/analysis/translator/excel.rb:107:in `each'
23
+ ./lib/openstudio/analysis/translator/excel.rb:107:in `block in validate_analysis'
24
+ ./lib/openstudio/analysis/translator/excel.rb:105:in `each'
25
+ ./lib/openstudio/analysis/translator/excel.rb:105:in `validate_analysis'
26
+ ./lib/openstudio/analysis/translator/excel.rb:69:in `process'
27
+ ./spec/openstudio/analysis/translator/excel_spec.rb:171:in `block (3 levels) in &lt;top (required)&gt;' </failure>
28
+ </testcase>
29
+ <system-out>
30
+ </system-out>
31
+ <system-err>
32
+ </system-err>
33
+ </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.708921" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:40:55-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should have parsed the spreadsheet" time="0.000319">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should save the file" time="0.067285">
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,33 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel discrete with dynamic columns" tests="2" time="0.468124" failures="0" errors="2" skipped="0" timestamp="2014-04-17T14:26:58-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete with dynamic columns should have parsed the spreadsheet" time="0.000101">
4
+ <failure type="RuntimeError" message="Variable adjust_thermostat_setpoints_by_degrees:cooling_adjustment must have a minimum">
5
+ Variable adjust_thermostat_setpoints_by_degrees:cooling_adjustment must have a minimum (RuntimeError)
6
+ RuntimeError:
7
+ Variable adjust_thermostat_setpoints_by_degrees:cooling_adjustment must have a minimum
8
+ ./lib/openstudio/analysis/translator/excel.rb:135:in `block (2 levels) in validate_analysis'
9
+ ./lib/openstudio/analysis/translator/excel.rb:107:in `each'
10
+ ./lib/openstudio/analysis/translator/excel.rb:107:in `block in validate_analysis'
11
+ ./lib/openstudio/analysis/translator/excel.rb:105:in `each'
12
+ ./lib/openstudio/analysis/translator/excel.rb:105:in `validate_analysis'
13
+ ./lib/openstudio/analysis/translator/excel.rb:69:in `process'
14
+ ./spec/openstudio/analysis/translator/excel_spec.rb:190:in `block (3 levels) in &lt;top (required)&gt;' </failure>
15
+ </testcase>
16
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete with dynamic columns should save the file" time="4.0e-05">
17
+ <failure type="RuntimeError" message="Variable adjust_thermostat_setpoints_by_degrees:cooling_adjustment must have a minimum">
18
+ Variable adjust_thermostat_setpoints_by_degrees:cooling_adjustment must have a minimum (RuntimeError)
19
+ RuntimeError:
20
+ Variable adjust_thermostat_setpoints_by_degrees:cooling_adjustment must have a minimum
21
+ ./lib/openstudio/analysis/translator/excel.rb:135:in `block (2 levels) in validate_analysis'
22
+ ./lib/openstudio/analysis/translator/excel.rb:107:in `each'
23
+ ./lib/openstudio/analysis/translator/excel.rb:107:in `block in validate_analysis'
24
+ ./lib/openstudio/analysis/translator/excel.rb:105:in `each'
25
+ ./lib/openstudio/analysis/translator/excel.rb:105:in `validate_analysis'
26
+ ./lib/openstudio/analysis/translator/excel.rb:69:in `process'
27
+ ./spec/openstudio/analysis/translator/excel_spec.rb:190:in `block (3 levels) in &lt;top (required)&gt;' </failure>
28
+ </testcase>
29
+ <system-out>
30
+ </system-out>
31
+ <system-err>
32
+ </system-err>
33
+ </testsuite>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel discrete with dynamic columns" tests="2" time="0.505231" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:40:56-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete with dynamic columns should have parsed the spreadsheet" time="0.000515">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete with dynamic columns should save the file" time="0.04165">
6
+ </testcase>
7
+ <system-out>
8
+ {"variable_type"=&gt;"argument", "display_name"=&gt;"Baseline", "machine_name"=&gt;"baseline", "name"=&gt;"Baseline", "index"=&gt;1, "method"=&gt;"static", "type"=&gt;nil, "units"=&gt;nil, "distribution"=&gt;{"static_value"=&gt;nil, "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
9
+ {"variable_type"=&gt;"variable", "display_name"=&gt;"Degrees Fahrenheit to Adjust Cooling Setpoint By.", "machine_name"=&gt;"degrees_fahrenheit_to_adjust_cooling_setpoint_by.", "name"=&gt;"cooling_adjustment", "index"=&gt;1, "method"=&gt;"lhs", "type"=&gt;"double", "units"=&gt;nil, "distribution"=&gt;{"min"=&gt;0.0, "max"=&gt;5.0, "mean"=&gt;5.0, "stddev"=&gt;nil, "discrete_values"=&gt;"[-2,0,2]", "discrete_weights"=&gt;"[0.33,0.33,0.33]", "type"=&gt;"discrete_uncertain", "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
10
+ {"variable_type"=&gt;"variable", "display_name"=&gt;"Degrees Fahrenheit to Adjust heating Setpoint By.", "machine_name"=&gt;"degrees_fahrenheit_to_adjust_heating_setpoint_by.", "name"=&gt;"heating_adjustment", "index"=&gt;2, "method"=&gt;"lhs", "type"=&gt;"double", "units"=&gt;nil, "distribution"=&gt;{"min"=&gt;0.0, "max"=&gt;5.0, "mean"=&gt;4.0, "stddev"=&gt;nil, "discrete_values"=&gt;"[-2,0,2]", "discrete_weights"=&gt;"[0.33,0.33,0.33]", "type"=&gt;"discrete_uncertain", "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
11
+ {"variable_type"=&gt;"argument", "display_name"=&gt;"Alter Design Day Thermostats?", "machine_name"=&gt;"alter_design_day_thermostats?", "name"=&gt;"alter_design_days", "index"=&gt;3, "method"=&gt;"static", "type"=&gt;"bool", "units"=&gt;nil, "distribution"=&gt;{"enumerations"=&gt;["true", "false"], "static_value"=&gt;"FALSE", "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
12
+ Analysis name is test_model
13
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
14
+ </system-out>
15
+ <system-err>
16
+ </system-err>
17
+ </testsuite>
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel no variables defined" tests="5" time="1.188482" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:26:52-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have measure path" time="0.178217">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have excel data" time="0.061362">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should process the excel file" time="0.236574">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not work because no variables defined" time="0.061931">
10
+ </testcase>
11
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not export to a JSON" time="0.649586">
12
+ </testcase>
13
+ <system-out>
14
+ #&lt;OpenStudio::Analysis::Translator::Excel:0x007fa3b8864c38&gt;
15
+ Analysis name is Example Analysis
16
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
17
+ </system-out>
18
+ <system-err>
19
+ </system-err>
20
+ </testsuite>
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel no variables defined" tests="5" time="1.603905" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:40:50-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have measure path" time="0.242994">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have excel data" time="0.091874">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should process the excel file" time="0.369858">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not work because no variables defined" time="0.092141">
10
+ </testcase>
11
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not export to a JSON" time="0.805988">
12
+ </testcase>
13
+ <system-out>
14
+ #&lt;OpenStudio::Analysis::Translator::Excel:0x007fd90286d4d0&gt;
15
+ Analysis name is Example Analysis
16
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
17
+ </system-out>
18
+ <system-err>
19
+ </system-err>
20
+ </testsuite>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel proxy setup with user" tests="1" time="0.674975" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:26:56-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup with user should have a user" time="0.000332">
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::Translator::Excel proxy setup with user" tests="1" time="0.515224" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:40:55-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup with user should have a user" time="0.000399">
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::Translator::Excel proxy setup" tests="1" time="0.546689" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:26:56-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup should have a proxy setting" time="0.000322">
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::Translator::Excel proxy setup" tests="1" time="0.577259" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:40:54-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup should have a proxy setting" time="0.000399">
4
+ </testcase>
5
+ <system-out>
6
+ </system-out>
7
+ <system-err>
8
+ </system-err>
9
+ </testsuite>
@@ -0,0 +1,36 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel setup output variables" tests="7" time="0.681527" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:26:58-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a model" time="0.000336">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a weather file" time="0.000257">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have notes and source" time="0.000219">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have typed booleans" time="0.000174">
10
+ </testcase>
11
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have algorithm setup" time="0.000177">
12
+ </testcase>
13
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should create a valid hash" time="0.063575">
14
+ </testcase>
15
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should write a json" time="0.064984">
16
+ </testcase>
17
+ <system-out>
18
+ /Users/nlong/working/OpenStudio-analysis-gem/spec/files/partial_weather.epw
19
+ Analysis name is Output Vars
20
+ Adding measure item 'reduce_lighting_loads_by_percentage'
21
+ Adding measure item 'reducespaceinfiltrationbypercentage'
22
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
23
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
24
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
25
+ Adding measure item 'reduce_ventilation_by_percentage'
26
+ Analysis name is Output Vars
27
+ Adding measure item 'reduce_lighting_loads_by_percentage'
28
+ Adding measure item 'reducespaceinfiltrationbypercentage'
29
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
30
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
31
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
32
+ Adding measure item 'reduce_ventilation_by_percentage'
33
+ </system-out>
34
+ <system-err>
35
+ </system-err>
36
+ </testsuite>
@@ -0,0 +1,36 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel setup output variables" tests="7" time="0.603701" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:40:57-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a model" time="0.000344">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a weather file" time="0.000216">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have notes and source" time="0.000199">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have typed booleans" time="0.000182">
10
+ </testcase>
11
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have algorithm setup" time="0.000177">
12
+ </testcase>
13
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should create a valid hash" time="0.054659">
14
+ </testcase>
15
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should write a json" time="0.03619">
16
+ </testcase>
17
+ <system-out>
18
+ /Users/nlong/working/OpenStudio-analysis-gem/spec/files/partial_weather.epw
19
+ Analysis name is Output Vars
20
+ Adding measure item 'reduce_lighting_loads_by_percentage'
21
+ Adding measure item 'reducespaceinfiltrationbypercentage'
22
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
23
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
24
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
25
+ Adding measure item 'reduce_ventilation_by_percentage'
26
+ Analysis name is Output Vars
27
+ Adding measure item 'reduce_lighting_loads_by_percentage'
28
+ Adding measure item 'reducespaceinfiltrationbypercentage'
29
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
30
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
31
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
32
+ Adding measure item 'reduce_ventilation_by_percentage'
33
+ </system-out>
34
+ <system-err>
35
+ </system-err>
36
+ </testsuite>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9" tests="4" time="0.487047" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:26:55-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should have a version and machine name" time="0.000341">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should have the new settings" time="0.000214">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should have algorithm setup" time="0.001475">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should create a valid hash" time="0.02183">
10
+ </testcase>
11
+ <system-out>
12
+ Analysis name is Example Analysis
13
+ Adding measure item 'reduce_lighting_loads_by_percentage'
14
+ Adding measure item 'reducespaceinfiltrationbypercentage'
15
+ Adding measure item 'rotate_building_relative_to_current_orientation'
16
+ Adding measure item 'set_south_wwr'
17
+ Adding measure item 'set_west_wwr'
18
+ </system-out>
19
+ <system-err>
20
+ </system-err>
21
+ </testsuite>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9" tests="4" time="0.589963" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:40:54-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should have a version and machine name" time="0.000427">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should have the new settings" time="0.000365">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should have algorithm setup" time="0.001418">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should create a valid hash" time="0.025144">
10
+ </testcase>
11
+ <system-out>
12
+ Analysis name is Example Analysis
13
+ Adding measure item 'reduce_lighting_loads_by_percentage'
14
+ Adding measure item 'reducespaceinfiltrationbypercentage'
15
+ Adding measure item 'rotate_building_relative_to_current_orientation'
16
+ Adding measure item 'set_south_wwr'
17
+ Adding measure item 'set_west_wwr'
18
+ </system-out>
19
+ <system-err>
20
+ </system-err>
21
+ </testsuite>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel small list of incomplete variables" tests="1" time="0.547566" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:26:53-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of incomplete variables should fail to process" time="0.449313">
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::Translator::Excel small list of incomplete variables" tests="1" time="0.548832" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:40:51-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of incomplete variables should fail to process" time="0.479261">
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::Translator::Excel small list of variables should not validate" tests="1" time="0.502655" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:26:54-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should not validate should fail to process" time="0.401604">
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::Translator::Excel small list of variables should not validate" tests="1" time="0.574268" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:40:52-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should not validate should fail to process" time="0.473644">
4
+ </testcase>
5
+ <system-out>
6
+ </system-out>
7
+ <system-err>
8
+ </system-err>
9
+ </testsuite>
@@ -0,0 +1,23 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel small list of variables" tests="4" time="0.507794" failures="0" errors="0" skipped="0" timestamp="2014-04-17T14:26:55-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a model" time="0.000294">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a weather file" time="0.000173">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have notes and source" time="0.000204">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should write a json" time="0.032735">
10
+ </testcase>
11
+ <system-out>
12
+ /Users/nlong/working/OpenStudio-analysis-gem/spec/files/partial_weather.epw
13
+ Analysis name is Example Analysis
14
+ Adding measure item 'reduce_lighting_loads_by_percentage'
15
+ Adding measure item 'reducespaceinfiltrationbypercentage'
16
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
17
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
18
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
19
+ Adding measure item 'reduce_ventilation_by_percentage'
20
+ </system-out>
21
+ <system-err>
22
+ </system-err>
23
+ </testsuite>