openstudio-analysis 0.3.3 → 0.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/lib/openstudio/analysis/translator/excel.rb +6 -6
  4. data/lib/openstudio/analysis/version.rb +1 -1
  5. data/spec/files/analysis/medium_office.json +318 -240
  6. data/spec/files/analysis/medium_office.zip +0 -0
  7. data/spec/files/export/analysis/0_1_09_outputvars.json +757 -0
  8. data/spec/files/export/analysis/0_1_09_outputvars.zip +0 -0
  9. data/spec/files/export/analysis/0_1_11_discrete_variables.json +778 -0
  10. data/spec/files/export/analysis/0_1_11_discrete_variables.zip +0 -0
  11. data/spec/files/export/analysis/0_1_12_discrete_dynamic_columns.json +519 -0
  12. data/spec/files/export/analysis/0_1_12_discrete_dynamic_columns.zip +0 -0
  13. data/spec/files/export/analysis/0_2_0_template_simpletest.json +542 -0
  14. data/spec/files/export/analysis/0_2_0_template_simpletest.zip +0 -0
  15. data/spec/files/export/analysis/0_3_0_outputs.json +1405 -0
  16. data/spec/files/export/analysis/0_3_0_outputs.zip +0 -0
  17. data/spec/files/export/analysis/cea41ea0-ef93-0131-b229-14109fdf0b37.json +1405 -0
  18. data/spec/files/export/analysis/{2bdc9c90-ef8f-0131-9f99-14109fdf0b37.zip → cea41ea0-ef93-0131-b229-14109fdf0b37.zip} +0 -0
  19. data/spec/files/export/analysis/{2bdc9c90-ef8f-0131-9f99-14109fdf0b37.json → cf38e530-ef93-0131-b234-14109fdf0b37.json} +18 -18
  20. data/spec/files/export/analysis/cf38e530-ef93-0131-b234-14109fdf0b37.zip +0 -0
  21. data/spec/files/export/analysis/small_seed.json +707 -0
  22. data/spec/files/export/analysis/small_seed.zip +0 -0
  23. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.51.xml +9 -0
  24. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.52.xml +9 -0
  25. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.53.xml +9 -0
  26. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.51.xml +9 -0
  27. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.52.xml +9 -0
  28. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.53.xml +9 -0
  29. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.51.xml +7 -0
  30. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.52.xml +7 -0
  31. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.53.xml +7 -0
  32. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.36.xml +19 -0
  33. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.37.xml +33 -0
  34. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.38.xml +21 -0
  35. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.36.xml +13 -0
  36. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.37.xml +27 -0
  37. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.38.xml +14 -0
  38. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.40.xml +18 -0
  39. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.41.xml +18 -0
  40. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.42.xml +18 -0
  41. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.36.xml +9 -0
  42. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.37.xml +9 -0
  43. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.38.xml +9 -0
  44. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.37.xml +9 -0
  45. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.38.xml +9 -0
  46. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.39.xml +9 -0
  47. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.36.xml +36 -0
  48. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.37.xml +50 -0
  49. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.38.xml +38 -0
  50. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.38.xml +21 -0
  51. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.39.xml +21 -0
  52. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.40.xml +21 -0
  53. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.40.xml +9 -0
  54. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.41.xml +9 -0
  55. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.42.xml +9 -0
  56. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.39.xml +9 -0
  57. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.40.xml +9 -0
  58. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.41.xml +9 -0
  59. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.38.xml +23 -0
  60. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.39.xml +37 -0
  61. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.40.xml +25 -0
  62. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.39.xml +9 -0
  63. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.40.xml +9 -0
  64. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.41.xml +9 -0
  65. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.36.xml +13 -0
  66. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.37.xml +13 -0
  67. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.38.xml +13 -0
  68. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.36.xml +21 -0
  69. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.37.xml +35 -0
  70. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0-simple.38.xml +22 -0
  71. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.36.xml +32 -0
  72. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.37.xml +46 -0
  73. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-2-0.38.xml +34 -0
  74. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-dynamic-uuid-assignments.2.xml +13 -0
  75. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-dynamic-uuid-assignments.3.xml +27 -0
  76. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-dynamic-uuid-assignments.4.xml +14 -0
  77. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-measure-existence-checks.13.xml +14 -0
  78. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-measure-existence-checks.14.xml +14 -0
  79. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-measure-existence-checks.15.xml +14 -0
  80. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.40.xml +21 -0
  81. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.41.xml +35 -0
  82. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-0-objective-functions.42.xml +22 -0
  83. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.1.xml +14 -0
  84. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.2.xml +28 -0
  85. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-3-3-and-short-display-names.3.xml +16 -0
  86. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.51.xml +7 -0
  87. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.52.xml +7 -0
  88. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.53.xml +7 -0
  89. metadata +165 -7
  90. data/spec/files/~$0_3_3_short_names.xlsx +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.034889" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:44:14-06:00">
3
+ <testcase name="OpenStudio::Analysis::ServerApi create a new localhost instance should set the default host to localhost" time="0.001112">
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.029047" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:46:32-06:00">
3
+ <testcase name="OpenStudio::Analysis::ServerApi create a new localhost instance should set the default host to localhost" time="0.000563">
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.038635" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:52:22-06:00">
3
+ <testcase name="OpenStudio::Analysis::ServerApi create a new localhost instance should set the default host to localhost" time="0.001058">
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.000827" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:44:14-06:00">
3
+ <testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000512">
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.000838" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:46:32-06:00">
3
+ <testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000538">
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.000976" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:52:22-06:00">
3
+ <testcase name="OpenStudio::Analysis::ServerApi test not localhost should have a not localhost URL" time="0.000629">
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.000159" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:44:14-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.000208" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:46:32-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-07-16T21:52:22-06:00">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel discrete variables" tests="2" time="0.605248" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:44:19-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should have parsed the spreadsheet" time="0.000335">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should save the file" time="0.124723">
6
+ </testcase>
7
+ <system-out>
8
+ {"variable_type"=&gt;"variable", "display_name"=&gt;"Alter Design Day Thermostats?", "display_name_short"=&gt;"Alter Design Day Thermostats?", "machine_name"=&gt;"alter_design_day_thermostats?", "name"=&gt;"alter_design_days", "index"=&gt;3, "type"=&gt;"bool", "units"=&gt;nil, "distribution"=&gt;{"enumerations"=&gt;["true", "false"], "min"=&gt;"true", "max"=&gt;"true", "mean"=&gt;"false", "stddev"=&gt;"false", "discrete_values"=&gt;"['true','false']", "discrete_weights"=&gt;"[0.8,0.2]", "type"=&gt;"discrete_uncertain", "static_value"=&gt;"FALSE", "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
9
+ Analysis name is Example Analysis
10
+ Adding measure item 'reduce_lighting_loads_by_percentage'
11
+ Adding measure item 'reducespaceinfiltrationbypercentage'
12
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
13
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
14
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
15
+ Adding measure item 'reduce_ventilation_by_percentage'
16
+ </system-out>
17
+ <system-err>
18
+ </system-err>
19
+ </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.598997" failures="0" errors="1" skipped="0" timestamp="2014-07-16T21:46:40-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should have parsed the spreadsheet" time="0.000331">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should save the file" time="0.1105">
6
+ <failure type="NameError" message="undefined local variable or method `v' for #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e46d50be8&gt;">
7
+ undefined local variable or method `v' for #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e46d50be8&gt; (NameError)
8
+ NameError:
9
+ undefined local variable or method `v' for #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e46d50be8&gt;
10
+ ./lib/openstudio/analysis/translator/excel.rb:382:in `block (3 levels) in save_analysis_zip'
11
+ ./lib/openstudio/analysis/translator/excel.rb:372:in `each'
12
+ ./lib/openstudio/analysis/translator/excel.rb:372:in `block (2 levels) in save_analysis_zip'
13
+ ./lib/openstudio/analysis/translator/excel.rb:369:in `each'
14
+ ./lib/openstudio/analysis/translator/excel.rb:369:in `block in save_analysis_zip'
15
+ ./lib/openstudio/analysis/translator/excel.rb:345:in `save_analysis_zip'
16
+ ./lib/openstudio/analysis/translator/excel.rb:182:in `block in save_analysis'
17
+ ./lib/openstudio/analysis/translator/excel.rb:181:in `each'
18
+ ./lib/openstudio/analysis/translator/excel.rb:181:in `save_analysis'
19
+ ./spec/openstudio/analysis/translator/excel_spec.rb:197:in `block (3 levels) in &lt;top (required)&gt;' </failure>
20
+ </testcase>
21
+ <system-out>
22
+ {"variable_type"=&gt;"variable", "display_name"=&gt;"Alter Design Day Thermostats?", "display_name_short"=&gt;"Alter Design Day Thermostats?", "machine_name"=&gt;"alter_design_day_thermostats?", "name"=&gt;"alter_design_days", "index"=&gt;3, "type"=&gt;"bool", "units"=&gt;nil, "distribution"=&gt;{"enumerations"=&gt;["true", "false"], "min"=&gt;"true", "max"=&gt;"true", "mean"=&gt;"false", "stddev"=&gt;"false", "discrete_values"=&gt;"['true','false']", "discrete_weights"=&gt;"[0.8,0.2]", "type"=&gt;"discrete_uncertain", "static_value"=&gt;"FALSE", "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
23
+ Analysis name is Example Analysis
24
+ Adding measure item 'reduce_lighting_loads_by_percentage'
25
+ Adding measure item 'reducespaceinfiltrationbypercentage'
26
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
27
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
28
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
29
+ Adding measure item 'reduce_ventilation_by_percentage'
30
+ </system-out>
31
+ <system-err>
32
+ </system-err>
33
+ </testsuite>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel discrete variables" tests="2" time="0.720481" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:52:27-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should have parsed the spreadsheet" time="0.000367">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete variables should save the file" time="0.150492">
6
+ </testcase>
7
+ <system-out>
8
+ {"variable_type"=&gt;"variable", "display_name"=&gt;"Alter Design Day Thermostats?", "display_name_short"=&gt;"Alter Design Day Thermostats?", "machine_name"=&gt;"alter_design_day_thermostats?", "name"=&gt;"alter_design_days", "index"=&gt;3, "type"=&gt;"bool", "units"=&gt;nil, "distribution"=&gt;{"enumerations"=&gt;["true", "false"], "min"=&gt;"true", "max"=&gt;"true", "mean"=&gt;"false", "stddev"=&gt;"false", "discrete_values"=&gt;"['true','false']", "discrete_weights"=&gt;"[0.8,0.2]", "type"=&gt;"discrete_uncertain", "static_value"=&gt;"FALSE", "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
9
+ Analysis name is Example Analysis
10
+ Adding measure item 'reduce_lighting_loads_by_percentage' to analysis.json
11
+ Adding measure item 'reducespaceinfiltrationbypercentage' to analysis.json
12
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees' to analysis.json
13
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value' to analysis.json
14
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value' to analysis.json
15
+ Adding measure item 'reduce_ventilation_by_percentage' to analysis.json
16
+ Adding measure /Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/reduce_lighting_loads_by_percentage to zip file
17
+ Adding measure /Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/example_measure_auto_directory_name to zip file
18
+ </system-out>
19
+ <system-err>
20
+ </system-err>
21
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel discrete with dynamic columns" tests="2" time="0.444019" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:44:20-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete with dynamic columns should have parsed the spreadsheet" time="0.000293">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete with dynamic columns should save the file" time="0.028274">
6
+ </testcase>
7
+ <system-out>
8
+ Analysis name is test_model
9
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,27 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel discrete with dynamic columns" tests="2" time="0.42276" failures="0" errors="1" skipped="0" timestamp="2014-07-16T21:46:44-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete with dynamic columns should have parsed the spreadsheet" time="0.000243">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete with dynamic columns should save the file" time="0.019122">
6
+ <failure type="NameError" message="undefined local variable or method `v' for #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e441ee450&gt;">
7
+ undefined local variable or method `v' for #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e441ee450&gt; (NameError)
8
+ NameError:
9
+ undefined local variable or method `v' for #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e441ee450&gt;
10
+ ./lib/openstudio/analysis/translator/excel.rb:382:in `block (3 levels) in save_analysis_zip'
11
+ ./lib/openstudio/analysis/translator/excel.rb:372:in `each'
12
+ ./lib/openstudio/analysis/translator/excel.rb:372:in `block (2 levels) in save_analysis_zip'
13
+ ./lib/openstudio/analysis/translator/excel.rb:369:in `each'
14
+ ./lib/openstudio/analysis/translator/excel.rb:369:in `block in save_analysis_zip'
15
+ ./lib/openstudio/analysis/translator/excel.rb:345:in `save_analysis_zip'
16
+ ./lib/openstudio/analysis/translator/excel.rb:182:in `block in save_analysis'
17
+ ./lib/openstudio/analysis/translator/excel.rb:181:in `each'
18
+ ./lib/openstudio/analysis/translator/excel.rb:181:in `save_analysis'
19
+ ./spec/openstudio/analysis/translator/excel_spec.rb:218:in `block (3 levels) in &lt;top (required)&gt;' </failure>
20
+ </testcase>
21
+ <system-out>
22
+ Analysis name is test_model
23
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
24
+ </system-out>
25
+ <system-err>
26
+ </system-err>
27
+ </testsuite>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel discrete with dynamic columns" tests="2" time="0.52279" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:52:28-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete with dynamic columns should have parsed the spreadsheet" time="0.000324">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel discrete with dynamic columns should save the file" time="0.068221">
6
+ </testcase>
7
+ <system-out>
8
+ Analysis name is test_model
9
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees' to analysis.json
10
+ Adding measure /Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/example_measure_auto_directory_name to zip file
11
+ </system-out>
12
+ <system-err>
13
+ </system-err>
14
+ </testsuite>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel no variables defined" tests="5" time="0.997409" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:44:14-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have measure path" time="0.258394">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have excel data" time="0.073058">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should process the excel file" time="0.276181">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not work because no variables defined" time="0.082459">
10
+ </testcase>
11
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not export to a JSON" time="0.306684">
12
+ </testcase>
13
+ <system-out>
14
+ #&lt;OpenStudio::Analysis::Translator::Excel:0x007f834a875c10&gt;
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 no variables defined" tests="5" time="1.002858" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:46:32-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have measure path" time="0.19282">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have excel data" time="0.078891">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should process the excel file" time="0.34444">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not work because no variables defined" time="0.101209">
10
+ </testcase>
11
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not export to a JSON" time="0.284829">
12
+ </testcase>
13
+ <system-out>
14
+ #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e4513ec20&gt;
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 no variables defined" tests="5" time="1.248255" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:52:22-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have measure path" time="0.265834">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have excel data" time="0.089644">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should process the excel file" time="0.36813">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not work because no variables defined" time="0.107763">
10
+ </testcase>
11
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not export to a JSON" time="0.416135">
12
+ </testcase>
13
+ <system-out>
14
+ #&lt;OpenStudio::Analysis::Translator::Excel:0x007fc422934840&gt;
15
+ </system-out>
16
+ <system-err>
17
+ </system-err>
18
+ </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.577028" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:44:19-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup with user should have a user" 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::Translator::Excel proxy setup with user" tests="1" time="0.443311" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:46:39-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup with user should have a user" time="0.000221">
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.474726" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:52:27-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup with user should have a user" time="0.000348">
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.483466" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:44:18-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup should have a proxy setting" time="0.000367">
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.529063" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:46:39-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup should have a proxy setting" time="0.000264">
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.46553" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:52:26-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup should have a proxy setting" time="0.000229">
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.651151" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:44:20-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a model" time="0.00023">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a weather file" time="0.000126">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have notes and source" time="0.000142">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have typed booleans" time="0.00011">
10
+ </testcase>
11
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have algorithm setup" time="0.000186">
12
+ </testcase>
13
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should create a valid hash" time="0.101302">
14
+ </testcase>
15
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should write a json" time="0.112128">
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,50 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel setup output variables" tests="7" time="0.858476" failures="0" errors="1" skipped="0" timestamp="2014-07-16T21:46:49-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a model" time="0.000581">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a weather file" time="0.000214">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have notes and source" time="0.000265">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have typed booleans" time="0.000176">
10
+ </testcase>
11
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have algorithm setup" time="0.000191">
12
+ </testcase>
13
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should create a valid hash" time="0.153831">
14
+ </testcase>
15
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should write a json" time="0.161372">
16
+ <failure type="NameError" message="undefined local variable or method `v' for #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e46d81b30&gt;">
17
+ undefined local variable or method `v' for #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e46d81b30&gt; (NameError)
18
+ NameError:
19
+ undefined local variable or method `v' for #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e46d81b30&gt;
20
+ ./lib/openstudio/analysis/translator/excel.rb:382:in `block (3 levels) in save_analysis_zip'
21
+ ./lib/openstudio/analysis/translator/excel.rb:372:in `each'
22
+ ./lib/openstudio/analysis/translator/excel.rb:372:in `block (2 levels) in save_analysis_zip'
23
+ ./lib/openstudio/analysis/translator/excel.rb:369:in `each'
24
+ ./lib/openstudio/analysis/translator/excel.rb:369:in `block in save_analysis_zip'
25
+ ./lib/openstudio/analysis/translator/excel.rb:345:in `save_analysis_zip'
26
+ ./lib/openstudio/analysis/translator/excel.rb:182:in `block in save_analysis'
27
+ ./lib/openstudio/analysis/translator/excel.rb:181:in `each'
28
+ ./lib/openstudio/analysis/translator/excel.rb:181:in `save_analysis'
29
+ ./spec/openstudio/analysis/translator/excel_spec.rb:278:in `block (3 levels) in &lt;top (required)&gt;' </failure>
30
+ </testcase>
31
+ <system-out>
32
+ /Users/nlong/working/OpenStudio-analysis-gem/spec/files/partial_weather.epw
33
+ Analysis name is Output Vars
34
+ Adding measure item 'reduce_lighting_loads_by_percentage'
35
+ Adding measure item 'reducespaceinfiltrationbypercentage'
36
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
37
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
38
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
39
+ Adding measure item 'reduce_ventilation_by_percentage'
40
+ Analysis name is Output Vars
41
+ Adding measure item 'reduce_lighting_loads_by_percentage'
42
+ Adding measure item 'reducespaceinfiltrationbypercentage'
43
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
44
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
45
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
46
+ Adding measure item 'reduce_ventilation_by_percentage'
47
+ </system-out>
48
+ <system-err>
49
+ </system-err>
50
+ </testsuite>
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel setup output variables" tests="7" time="0.848259" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:52:28-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a model" time="0.000264">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a weather file" time="0.000197">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have notes and source" time="0.000154">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have typed booleans" time="0.000116">
10
+ </testcase>
11
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have algorithm setup" time="0.000166">
12
+ </testcase>
13
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should create a valid hash" time="0.188827">
14
+ </testcase>
15
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should write a json" time="0.193673">
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' to analysis.json
21
+ Adding measure item 'reducespaceinfiltrationbypercentage' to analysis.json
22
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees' to analysis.json
23
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value' to analysis.json
24
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value' to analysis.json
25
+ Adding measure item 'reduce_ventilation_by_percentage' to analysis.json
26
+ Analysis name is Output Vars
27
+ Adding measure item 'reduce_lighting_loads_by_percentage' to analysis.json
28
+ Adding measure item 'reducespaceinfiltrationbypercentage' to analysis.json
29
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees' to analysis.json
30
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value' to analysis.json
31
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value' to analysis.json
32
+ Adding measure item 'reduce_ventilation_by_percentage' to analysis.json
33
+ Adding measure /Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/reduce_lighting_loads_by_percentage to zip file
34
+ Adding measure /Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/example_measure_auto_directory_name to zip file
35
+ </system-out>
36
+ <system-err>
37
+ </system-err>
38
+ </testsuite>