openstudio-analysis 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
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,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.621533" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:44:18-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should have a version and machine name" time="0.00029">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should have the new settings" time="0.000113">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should have algorithm setup" time="0.001015">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should create a valid hash" time="0.136054">
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.446582" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:46:38-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should have a version and machine name" time="0.000249">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should have the new settings" time="0.00011">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should have algorithm setup" time="0.001924">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should create a valid hash" time="0.073569">
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.554771" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:52:26-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should have a version and machine name" time="0.000252">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should have the new settings" time="0.000123">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should have algorithm setup" time="0.000824">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup version 0.1.9 should create a valid hash" time="0.13495">
10
+ </testcase>
11
+ <system-out>
12
+ Analysis name is Example Analysis
13
+ Adding measure item 'reduce_lighting_loads_by_percentage' to analysis.json
14
+ Adding measure item 'reducespaceinfiltrationbypercentage' to analysis.json
15
+ Adding measure item 'rotate_building_relative_to_current_orientation' to analysis.json
16
+ Adding measure item 'set_south_wwr' to analysis.json
17
+ Adding measure item 'set_west_wwr' to analysis.json
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.46799" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:44:15-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of incomplete variables should fail to process" time="0.37746">
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.53538" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:46:33-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of incomplete variables should fail to process" time="0.453098">
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.710709" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:52:23-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of incomplete variables should fail to process" time="0.583243">
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.542895" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:44:16-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should not validate should fail to process" time="0.453306">
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.446207" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:46:34-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should not validate should fail to process" time="0.35351">
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.555708" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:52:25-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should not validate should fail to process" time="0.464498">
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.687737" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:44:17-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a model" time="0.000231">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a weather file" time="0.000127">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have notes and source" time="0.000133">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should write a json" time="0.165663">
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>
@@ -0,0 +1,37 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel small list of variables" tests="4" time="0.580219" failures="0" errors="1" skipped="0" timestamp="2014-07-16T21:46:35-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a model" time="0.000228">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a weather file" time="0.000129">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have notes and source" time="0.000139">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should write a json" time="0.134508">
10
+ <failure type="NameError" message="undefined local variable or method `v' for #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e46c216c8&gt;">
11
+ undefined local variable or method `v' for #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e46c216c8&gt; (NameError)
12
+ NameError:
13
+ undefined local variable or method `v' for #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e46c216c8&gt;
14
+ ./lib/openstudio/analysis/translator/excel.rb:382:in `block (3 levels) in save_analysis_zip'
15
+ ./lib/openstudio/analysis/translator/excel.rb:372:in `each'
16
+ ./lib/openstudio/analysis/translator/excel.rb:372:in `block (2 levels) in save_analysis_zip'
17
+ ./lib/openstudio/analysis/translator/excel.rb:369:in `each'
18
+ ./lib/openstudio/analysis/translator/excel.rb:369:in `block in save_analysis_zip'
19
+ ./lib/openstudio/analysis/translator/excel.rb:345:in `save_analysis_zip'
20
+ ./lib/openstudio/analysis/translator/excel.rb:182:in `block in save_analysis'
21
+ ./lib/openstudio/analysis/translator/excel.rb:181:in `each'
22
+ ./lib/openstudio/analysis/translator/excel.rb:181:in `save_analysis'
23
+ ./spec/openstudio/analysis/translator/excel_spec.rb:107:in `block (3 levels) in &lt;top (required)&gt;' </failure>
24
+ </testcase>
25
+ <system-out>
26
+ /Users/nlong/working/OpenStudio-analysis-gem/spec/files/partial_weather.epw
27
+ Analysis name is Example Analysis
28
+ Adding measure item 'reduce_lighting_loads_by_percentage'
29
+ Adding measure item 'reducespaceinfiltrationbypercentage'
30
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
31
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
32
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value'
33
+ Adding measure item 'reduce_ventilation_by_percentage'
34
+ </system-out>
35
+ <system-err>
36
+ </system-err>
37
+ </testsuite>
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel small list of variables" tests="4" time="0.645959" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:52:25-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a model" time="0.000258">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have a weather file" time="0.000133">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should have notes and source" time="0.000137">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list of variables should write a json" time="0.15883">
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' to analysis.json
15
+ Adding measure item 'reducespaceinfiltrationbypercentage' to analysis.json
16
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees' to analysis.json
17
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value' to analysis.json
18
+ Adding measure item 'set_r_value_of_insulation_for_roofs_to_a_specific_value' to analysis.json
19
+ Adding measure item 'reduce_ventilation_by_percentage' to analysis.json
20
+ Adding measure /Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/reduce_lighting_loads_by_percentage to zip file
21
+ Adding measure /Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/example_measure_auto_directory_name to zip file
22
+ </system-out>
23
+ <system-err>
24
+ </system-err>
25
+ </testsuite>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names" tests="1" time="0.47451" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:44:16-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names should fail to process" time="0.390997">
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 with with repeated variable names" tests="1" time="0.477746" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:46:34-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names should fail to process" time="0.378694">
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 with with repeated variable names" tests="1" time="0.490309" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:52:24-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel small list with with repeated variable names should fail to process" time="0.384">
4
+ </testcase>
5
+ <system-out>
6
+ </system-out>
7
+ <system-err>
8
+ </system-err>
9
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel version 0.1.10" tests="2" time="0.384933" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:44:21-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.1.10 should process" time="0.309148">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.1.10 should have new setting variables" time="0.000182">
6
+ </testcase>
7
+ <system-out>
8
+ {"spreadsheet_version"=&gt;"0.1.10", "user_id"=&gt;"new_user", "openstudio_server_version"=&gt;"1.3.2", "cluster_name"=&gt;"Analysis Cluster", "server_instance_type"=&gt;"m2.xlarge", "worker_instance_type"=&gt;"m2.2xlarge", "worker_nodes"=&gt;1.0}
9
+ {"analysis_name"=&gt;"LHS Example Project", "measure_directory"=&gt;"../files/measures", "export_directory"=&gt;"../files/analysis", "allow_multiple_jobs"=&gt;true, "use_server_as_worker"=&gt;true, "simulate_data_point_filename"=&gt;"simulate_data_point.rb", "run_data_point_filename"=&gt;"run_openstudio_workflow.rb"}
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel version 0.1.10" tests="2" time="0.395509" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:46:53-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.1.10 should process" time="0.33966">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.1.10 should have new setting variables" time="0.000182">
6
+ </testcase>
7
+ <system-out>
8
+ {"spreadsheet_version"=&gt;"0.1.10", "user_id"=&gt;"new_user", "openstudio_server_version"=&gt;"1.3.2", "cluster_name"=&gt;"Analysis Cluster", "server_instance_type"=&gt;"m2.xlarge", "worker_instance_type"=&gt;"m2.2xlarge", "worker_nodes"=&gt;1.0}
9
+ {"analysis_name"=&gt;"LHS Example Project", "measure_directory"=&gt;"../files/measures", "export_directory"=&gt;"../files/analysis", "allow_multiple_jobs"=&gt;true, "use_server_as_worker"=&gt;true, "simulate_data_point_filename"=&gt;"simulate_data_point.rb", "run_data_point_filename"=&gt;"run_openstudio_workflow.rb"}
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel version 0.1.10" tests="2" time="0.579374" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:52:29-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.1.10 should process" time="0.465508">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.1.10 should have new setting variables" time="0.000195">
6
+ </testcase>
7
+ <system-out>
8
+ {"spreadsheet_version"=&gt;"0.1.10", "user_id"=&gt;"new_user", "openstudio_server_version"=&gt;"1.3.2", "cluster_name"=&gt;"Analysis Cluster", "server_instance_type"=&gt;"m2.xlarge", "worker_instance_type"=&gt;"m2.2xlarge", "worker_nodes"=&gt;1.0}
9
+ {"analysis_name"=&gt;"LHS Example Project", "measure_directory"=&gt;"../files/measures", "export_directory"=&gt;"../files/analysis", "allow_multiple_jobs"=&gt;true, "use_server_as_worker"=&gt;true, "simulate_data_point_filename"=&gt;"simulate_data_point.rb", "run_data_point_filename"=&gt;"run_openstudio_workflow.rb"}
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple" tests="4" time="0.500508" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:44:23-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should process" time="0.36011">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should have new setting variables" time="0.000249">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should have the new measure directory column" time="0.00012">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should write a json" time="0.040899">
10
+ </testcase>
11
+ <system-out>
12
+ {"spreadsheet_version"=&gt;"0.2.0", "user_id"=&gt;"new_user", "openstudio_server_version"=&gt;"1.3.2", "cluster_name"=&gt;"Analysis Cluster", "server_instance_type"=&gt;"m2.2xlarge", "worker_instance_type"=&gt;"cc2.8xlarge", "worker_nodes"=&gt;2.0}
13
+ {"analysis_name"=&gt;"simple_test", "measure_directory"=&gt;"../../spec/files/measures", "export_directory"=&gt;"../../spec/files/export/analysis", "allow_multiple_jobs"=&gt;true, "use_server_as_worker"=&gt;true, "simulate_data_point_filename"=&gt;"simulate_data_point.rb", "run_data_point_filename"=&gt;"run_openstudio_workflow_monthly.rb"}
14
+ Analysis name is simple_test
15
+ Adding measure item 'baseline'
16
+ Warning: 'baseline:Baseline' static value was empty or null, assuming optional and skipping
17
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
18
+ </system-out>
19
+ <system-err>
20
+ </system-err>
21
+ </testsuite>
@@ -0,0 +1,35 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple" tests="4" time="0.45144" failures="0" errors="1" skipped="0" timestamp="2014-07-16T21:46:59-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should process" time="0.357052">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should have new setting variables" time="0.000233">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should have the new measure directory column" time="0.000117">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should write a json" time="0.029441">
10
+ <failure type="NameError" message="undefined local variable or method `v' for #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e46d9a1f8&gt;">
11
+ undefined local variable or method `v' for #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e46d9a1f8&gt; (NameError)
12
+ NameError:
13
+ undefined local variable or method `v' for #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e46d9a1f8&gt;
14
+ ./lib/openstudio/analysis/translator/excel.rb:382:in `block (3 levels) in save_analysis_zip'
15
+ ./lib/openstudio/analysis/translator/excel.rb:372:in `each'
16
+ ./lib/openstudio/analysis/translator/excel.rb:372:in `block (2 levels) in save_analysis_zip'
17
+ ./lib/openstudio/analysis/translator/excel.rb:369:in `each'
18
+ ./lib/openstudio/analysis/translator/excel.rb:369:in `block in save_analysis_zip'
19
+ ./lib/openstudio/analysis/translator/excel.rb:345:in `save_analysis_zip'
20
+ ./lib/openstudio/analysis/translator/excel.rb:182:in `block in save_analysis'
21
+ ./lib/openstudio/analysis/translator/excel.rb:181:in `each'
22
+ ./lib/openstudio/analysis/translator/excel.rb:181:in `save_analysis'
23
+ ./spec/openstudio/analysis/translator/excel_spec.rb:353:in `block (3 levels) in &lt;top (required)&gt;' </failure>
24
+ </testcase>
25
+ <system-out>
26
+ {"spreadsheet_version"=&gt;"0.2.0", "user_id"=&gt;"new_user", "openstudio_server_version"=&gt;"1.3.2", "cluster_name"=&gt;"Analysis Cluster", "server_instance_type"=&gt;"m2.2xlarge", "worker_instance_type"=&gt;"cc2.8xlarge", "worker_nodes"=&gt;2.0}
27
+ {"analysis_name"=&gt;"simple_test", "measure_directory"=&gt;"../../spec/files/measures", "export_directory"=&gt;"../../spec/files/export/analysis", "allow_multiple_jobs"=&gt;true, "use_server_as_worker"=&gt;true, "simulate_data_point_filename"=&gt;"simulate_data_point.rb", "run_data_point_filename"=&gt;"run_openstudio_workflow_monthly.rb"}
28
+ Analysis name is simple_test
29
+ Adding measure item 'baseline'
30
+ Warning: 'baseline:Baseline' static value was empty or null, assuming optional and skipping
31
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
32
+ </system-out>
33
+ <system-err>
34
+ </system-err>
35
+ </testsuite>
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple" tests="4" time="0.591974" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:52:31-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should process" time="0.418113">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should have new setting variables" time="0.000359">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should have the new measure directory column" time="0.000195">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 simple should write a json" time="0.063651">
10
+ </testcase>
11
+ <system-out>
12
+ {"spreadsheet_version"=&gt;"0.2.0", "user_id"=&gt;"new_user", "openstudio_server_version"=&gt;"1.3.2", "cluster_name"=&gt;"Analysis Cluster", "server_instance_type"=&gt;"m2.2xlarge", "worker_instance_type"=&gt;"cc2.8xlarge", "worker_nodes"=&gt;2.0}
13
+ {"analysis_name"=&gt;"simple_test", "measure_directory"=&gt;"../../spec/files/measures", "export_directory"=&gt;"../../spec/files/export/analysis", "allow_multiple_jobs"=&gt;true, "use_server_as_worker"=&gt;true, "simulate_data_point_filename"=&gt;"simulate_data_point.rb", "run_data_point_filename"=&gt;"run_openstudio_workflow_monthly.rb"}
14
+ Analysis name is simple_test
15
+ Adding measure item 'baseline' to analysis.json
16
+ Warning: 'baseline:Baseline' static value was empty or null, assuming optional and skipping
17
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees' to analysis.json
18
+ Adding measure /Users/nlong/working/OpenStudio-analysis-gem/spec/files/measures/ExampleMeasure to zip file
19
+ </system-out>
20
+ <system-err>
21
+ </system-err>
22
+ </testsuite>
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel version 0.2.0" tests="4" time="1.339945" failures="0" errors="0" skipped="0" timestamp="2014-07-16T21:44:21-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should process" time="0.93105">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should have new setting variables" time="0.000224">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should have the new measure directory column" time="0.000176">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should write a json" time="0.313204">
10
+ </testcase>
11
+ <system-out>
12
+ {"spreadsheet_version"=&gt;"0.2.0", "user_id"=&gt;"new_user", "openstudio_server_version"=&gt;"1.3.2", "cluster_name"=&gt;"Analysis Cluster Name", "server_instance_type"=&gt;"m2.2xlarge", "worker_instance_type"=&gt;"cc2.8xlarge", "worker_nodes"=&gt;2.0}
13
+ {"analysis_name"=&gt;"Name goes here", "measure_directory"=&gt;"../files/measures", "export_directory"=&gt;"../files/analysis", "allow_multiple_jobs"=&gt;true, "use_server_as_worker"=&gt;true, "simulate_data_point_filename"=&gt;"simulate_data_point.rb", "run_data_point_filename"=&gt;"run_openstudio_workflow_monthly.rb"}
14
+ Analysis name is Name goes here
15
+ Adding measure item 'reduce_lighting_loads_by_percentage'
16
+ Adding measure item 'reduce_electric_equipment_loads_by_percentage'
17
+ Adding measure item 'reducespaceinfiltrationbypercentage'
18
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
19
+ Adding measure item 'reduce_ventilation_by_percentage'
20
+ Adding measure item 'enable_economizer_control'
21
+ Adding measure item 'set_boiler_thermal_efficiency'
22
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
23
+ Adding measure item 'setchillercop'
24
+ Adding measure item 'set_heating_and_cooling_sizing_factors'
25
+ Adding measure item 'set_chilled_water_loop_temperature'
26
+ Adding measure item 'set_hot_water_loop_temperature'
27
+ Adding measure item 'set_minimum_vav_terminal_flow_fraction'
28
+ Adding measure item 'modify_energyplus_fan_varaible_volume_objects'
29
+ </system-out>
30
+ <system-err>
31
+ </system-err>
32
+ </testsuite>
@@ -0,0 +1,46 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel version 0.2.0" tests="4" time="1.304143" failures="0" errors="1" skipped="0" timestamp="2014-07-16T21:46:54-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should process" time="0.978265">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should have new setting variables" time="0.000181">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should have the new measure directory column" time="0.000112">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel version 0.2.0 should write a json" time="0.260772">
10
+ <failure type="NameError" message="undefined local variable or method `v' for #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e4551e8b8&gt;">
11
+ undefined local variable or method `v' for #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e4551e8b8&gt; (NameError)
12
+ NameError:
13
+ undefined local variable or method `v' for #&lt;OpenStudio::Analysis::Translator::Excel:0x007f8e4551e8b8&gt;
14
+ ./lib/openstudio/analysis/translator/excel.rb:382:in `block (3 levels) in save_analysis_zip'
15
+ ./lib/openstudio/analysis/translator/excel.rb:372:in `each'
16
+ ./lib/openstudio/analysis/translator/excel.rb:372:in `block (2 levels) in save_analysis_zip'
17
+ ./lib/openstudio/analysis/translator/excel.rb:369:in `each'
18
+ ./lib/openstudio/analysis/translator/excel.rb:369:in `block in save_analysis_zip'
19
+ ./lib/openstudio/analysis/translator/excel.rb:345:in `save_analysis_zip'
20
+ ./lib/openstudio/analysis/translator/excel.rb:182:in `block in save_analysis'
21
+ ./lib/openstudio/analysis/translator/excel.rb:181:in `each'
22
+ ./lib/openstudio/analysis/translator/excel.rb:181:in `save_analysis'
23
+ ./spec/openstudio/analysis/translator/excel_spec.rb:327:in `block (3 levels) in &lt;top (required)&gt;' </failure>
24
+ </testcase>
25
+ <system-out>
26
+ {"spreadsheet_version"=&gt;"0.2.0", "user_id"=&gt;"new_user", "openstudio_server_version"=&gt;"1.3.2", "cluster_name"=&gt;"Analysis Cluster Name", "server_instance_type"=&gt;"m2.2xlarge", "worker_instance_type"=&gt;"cc2.8xlarge", "worker_nodes"=&gt;2.0}
27
+ {"analysis_name"=&gt;"Name goes here", "measure_directory"=&gt;"../files/measures", "export_directory"=&gt;"../files/analysis", "allow_multiple_jobs"=&gt;true, "use_server_as_worker"=&gt;true, "simulate_data_point_filename"=&gt;"simulate_data_point.rb", "run_data_point_filename"=&gt;"run_openstudio_workflow_monthly.rb"}
28
+ Analysis name is Name goes here
29
+ Adding measure item 'reduce_lighting_loads_by_percentage'
30
+ Adding measure item 'reduce_electric_equipment_loads_by_percentage'
31
+ Adding measure item 'reducespaceinfiltrationbypercentage'
32
+ Adding measure item 'adjust_thermostat_setpoints_by_degrees'
33
+ Adding measure item 'reduce_ventilation_by_percentage'
34
+ Adding measure item 'enable_economizer_control'
35
+ Adding measure item 'set_boiler_thermal_efficiency'
36
+ Adding measure item 'set_r_value_of_insulation_for_exterior_walls_to_a_specific_value'
37
+ Adding measure item 'setchillercop'
38
+ Adding measure item 'set_heating_and_cooling_sizing_factors'
39
+ Adding measure item 'set_chilled_water_loop_temperature'
40
+ Adding measure item 'set_hot_water_loop_temperature'
41
+ Adding measure item 'set_minimum_vav_terminal_flow_fraction'
42
+ Adding measure item 'modify_energyplus_fan_varaible_volume_objects'
43
+ </system-out>
44
+ <system-err>
45
+ </system-err>
46
+ </testsuite>