openstudio-analysis 0.1.13 → 0.1.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (191) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/lib/openstudio/analysis/translator/excel.rb +138 -61
  4. data/lib/openstudio/analysis/version.rb +1 -1
  5. data/lib/openstudio/templates/discrete_uncertain_variable.json.erb +15 -3
  6. data/lib/openstudio/templates/pivot_variable.json.erb +0 -1
  7. data/lib/openstudio/templates/static_variable.json.erb +0 -2
  8. data/lib/openstudio/templates/uncertain_variable.json.erb +4 -1
  9. data/spec/files/discrete_dynamic_columns.xlsx +0 -0
  10. data/spec/files/discrete_variables.xlsx +0 -0
  11. data/spec/files/export/analysis/discrete_dynamic_seed.json +445 -0
  12. data/spec/files/export/analysis/discrete_dynamic_seed.zip +0 -0
  13. data/spec/files/export/analysis/discrete_seed.json +156 -126
  14. data/spec/files/export/analysis/discrete_seed.zip +0 -0
  15. data/spec/files/export/analysis/output_vars.json +150 -121
  16. data/spec/files/export/analysis/output_vars.zip +0 -0
  17. data/spec/files/export/analysis/small_seed.json +138 -117
  18. data/spec/files/export/analysis/small_seed.zip +0 -0
  19. data/spec/files/no_variables.xlsx +0 -0
  20. data/spec/openstudio/analysis/translator/excel_spec.rb +66 -47
  21. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.51.xml +9 -0
  22. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.52.xml +9 -0
  23. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.53.xml +9 -0
  24. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.54.xml +9 -0
  25. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.55.xml +9 -0
  26. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.56.xml +9 -0
  27. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.57.xml +9 -0
  28. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.58.xml +9 -0
  29. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.59.xml +9 -0
  30. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.60.xml +9 -0
  31. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.61.xml +9 -0
  32. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.51.xml +9 -0
  33. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.52.xml +9 -0
  34. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.53.xml +9 -0
  35. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.54.xml +9 -0
  36. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.55.xml +9 -0
  37. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.56.xml +9 -0
  38. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.57.xml +9 -0
  39. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.58.xml +9 -0
  40. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.59.xml +9 -0
  41. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.60.xml +9 -0
  42. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.61.xml +9 -0
  43. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.51.xml +7 -0
  44. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.52.xml +7 -0
  45. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.53.xml +7 -0
  46. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.54.xml +7 -0
  47. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.55.xml +7 -0
  48. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.56.xml +7 -0
  49. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.57.xml +7 -0
  50. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.58.xml +7 -0
  51. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.59.xml +7 -0
  52. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.60.xml +7 -0
  53. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.61.xml +7 -0
  54. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.10.xml +18 -0
  55. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.11.xml +18 -0
  56. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.12.xml +106 -0
  57. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.13.xml +18 -0
  58. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.14.xml +56 -0
  59. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.15.xml +64 -0
  60. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.16.xml +48 -0
  61. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.17.xml +18 -0
  62. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.18.xml +18 -0
  63. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.19.xml +18 -0
  64. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.9.xml +18 -0
  65. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.0.xml +17 -0
  66. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.1.xml +17 -0
  67. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.2.xml +17 -0
  68. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.3.xml +17 -0
  69. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-with-dynamic-columns.xml +25 -0
  70. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.51.xml +20 -0
  71. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.52.xml +20 -0
  72. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.53.xml +20 -0
  73. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.54.xml +20 -0
  74. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.55.xml +20 -0
  75. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.56.xml +20 -0
  76. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.57.xml +20 -0
  77. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.58.xml +20 -0
  78. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.59.xml +20 -0
  79. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.60.xml +20 -0
  80. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.61.xml +20 -0
  81. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.17.xml +9 -0
  82. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.18.xml +9 -0
  83. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.19.xml +9 -0
  84. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.20.xml +9 -0
  85. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.21.xml +9 -0
  86. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.22.xml +9 -0
  87. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.23.xml +14 -0
  88. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.24.xml +9 -0
  89. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.25.xml +9 -0
  90. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.26.xml +9 -0
  91. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.27.xml +9 -0
  92. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.23.xml +9 -0
  93. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.24.xml +9 -0
  94. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.25.xml +9 -0
  95. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.26.xml +9 -0
  96. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.27.xml +9 -0
  97. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.28.xml +9 -0
  98. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.29.xml +14 -0
  99. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.30.xml +9 -0
  100. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.31.xml +9 -0
  101. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.32.xml +9 -0
  102. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.33.xml +9 -0
  103. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.10.xml +93 -0
  104. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.11.xml +36 -0
  105. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.12.xml +36 -0
  106. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.13.xml +36 -0
  107. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.3.xml +36 -0
  108. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.4.xml +36 -0
  109. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.5.xml +36 -0
  110. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.6.xml +36 -0
  111. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.7.xml +36 -0
  112. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.8.xml +36 -0
  113. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-output-variables.9.xml +43 -0
  114. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.0.xml +21 -0
  115. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.1.xml +21 -0
  116. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.10.xml +21 -0
  117. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.2.xml +21 -0
  118. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.3.xml +21 -0
  119. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.4.xml +21 -0
  120. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.5.xml +21 -0
  121. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.6.xml +26 -0
  122. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.7.xml +50 -0
  123. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.8.xml +21 -0
  124. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-0-1-9.9.xml +21 -0
  125. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.51.xml +9 -0
  126. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.52.xml +9 -0
  127. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.53.xml +9 -0
  128. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.54.xml +9 -0
  129. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.55.xml +9 -0
  130. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.56.xml +9 -0
  131. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.57.xml +12 -0
  132. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.58.xml +9 -0
  133. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.59.xml +9 -0
  134. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.60.xml +9 -0
  135. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.61.xml +9 -0
  136. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.51.xml +9 -0
  137. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.52.xml +9 -0
  138. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.53.xml +9 -0
  139. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.54.xml +9 -0
  140. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.55.xml +9 -0
  141. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.56.xml +9 -0
  142. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.57.xml +13 -0
  143. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.58.xml +9 -0
  144. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.59.xml +9 -0
  145. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.60.xml +9 -0
  146. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.61.xml +9 -0
  147. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.51.xml +23 -0
  148. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.52.xml +23 -0
  149. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.53.xml +23 -0
  150. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.54.xml +23 -0
  151. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.55.xml +23 -0
  152. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.56.xml +23 -0
  153. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.57.xml +30 -0
  154. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.58.xml +52 -0
  155. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.59.xml +23 -0
  156. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.60.xml +23 -0
  157. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.61.xml +23 -0
  158. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.51.xml +9 -0
  159. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.52.xml +9 -0
  160. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.53.xml +9 -0
  161. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.54.xml +9 -0
  162. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.55.xml +9 -0
  163. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.56.xml +9 -0
  164. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.57.xml +16 -0
  165. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.58.xml +9 -0
  166. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.59.xml +9 -0
  167. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.60.xml +9 -0
  168. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.61.xml +9 -0
  169. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.0.xml +13 -0
  170. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.1.xml +13 -0
  171. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.10.xml +13 -0
  172. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.2.xml +13 -0
  173. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.3.xml +13 -0
  174. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.4.xml +13 -0
  175. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.5.xml +13 -0
  176. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.6.xml +18 -0
  177. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.7.xml +13 -0
  178. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.8.xml +13 -0
  179. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-version-0-1-10.9.xml +13 -0
  180. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.51.xml +7 -0
  181. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.52.xml +7 -0
  182. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.53.xml +7 -0
  183. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.54.xml +7 -0
  184. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.55.xml +7 -0
  185. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.56.xml +7 -0
  186. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.57.xml +7 -0
  187. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.58.xml +7 -0
  188. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.59.xml +7 -0
  189. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.60.xml +7 -0
  190. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.61.xml +7 -0
  191. metadata +348 -2
@@ -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="0.748707" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:15:34-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have measure path" time="0.145271">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should have excel data" time="0.058417">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should process the excel file" time="0.247756">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not work because no variables defined" time="0.063174">
10
+ </testcase>
11
+ <testcase name="OpenStudio::Analysis::Translator::Excel no variables defined should not export to a JSON" time="0.233456">
12
+ </testcase>
13
+ <system-out>
14
+ #&lt;OpenStudio::Analysis::Translator::Excel:0x007f93f2865370&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.284001" failures="0" errors="0" skipped="0" timestamp="2014-04-14T08:32:41-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup with user should have a user" time="0.000229">
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.277029" failures="0" errors="0" skipped="0" timestamp="2014-04-14T08:42:02-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup with user should have a user" time="0.000211">
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.300141" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:24:11-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup with user should have a user" time="0.000233">
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.271774" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:40:44-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup with user should have a user" time="0.000222">
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.279773" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:41:56-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup with user should have a user" time="0.000226">
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.289761" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:43:12-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup with user should have a user" time="0.000231">
4
+ </testcase>
5
+ <system-out>
6
+ </system-out>
7
+ <system-err>
8
+ </system-err>
9
+ </testsuite>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel proxy setup with user" tests="1" time="0.281565" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:54:21-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup with user should have a user" time="0.000217">
4
+ </testcase>
5
+ <system-out>
6
+ HERE I AM {"variable_type"=&gt;"variable", "display_name"=&gt;"Lighting Power Reduction", "machine_name"=&gt;"lighting_power_reduction", "name"=&gt;"lighting_power_reduction_percent", "index"=&gt;2, "method"=&gt;"lhs", "type"=&gt;"Double", "units"=&gt;nil, "distribution"=&gt;{"min"=&gt;0.0, "max"=&gt;50.0, "mean"=&gt;40.0, "stddev"=&gt;8.333333333333334, "discrete_values"=&gt;"triangle_uncertain", "discrete_weights"=&gt;nil, "type"=&gt;nil, "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
7
+ HERE I AM {"variable_type"=&gt;"variable", "display_name"=&gt;"Space Infiltration Power Reduction", "machine_name"=&gt;"space_infiltration_power_reduction", "name"=&gt;"space_infiltration_reduction_percent", "index"=&gt;2, "method"=&gt;"lhs", "type"=&gt;"Double", "units"=&gt;nil, "distribution"=&gt;{"min"=&gt;0.0, "max"=&gt;30.0, "mean"=&gt;10.0, "stddev"=&gt;5.0, "discrete_values"=&gt;"uniform_uncertain", "discrete_weights"=&gt;nil, "type"=&gt;nil, "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
8
+ HERE I AM {"variable_type"=&gt;"variable", "display_name"=&gt;"Number of Degrees to Rotate Building", "machine_name"=&gt;"number_of_degrees_to_rotate_building", "name"=&gt;"relative_building_rotation", "index"=&gt;1, "method"=&gt;"lhs", "type"=&gt;"Double", "units"=&gt;nil, "distribution"=&gt;{"min"=&gt;0.0, "max"=&gt;259.0, "mean"=&gt;180.0, "stddev"=&gt;43.166666666666664, "discrete_values"=&gt;"uniform_uncertain", "discrete_weights"=&gt;nil, "type"=&gt;nil, "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
9
+ HERE I AM {"variable_type"=&gt;"variable", "display_name"=&gt;"South WWR", "machine_name"=&gt;"south_wwr", "name"=&gt;"wwr", "index"=&gt;1, "method"=&gt;"lhs", "type"=&gt;"Double", "units"=&gt;nil, "distribution"=&gt;{"min"=&gt;0.0, "max"=&gt;0.8, "mean"=&gt;0.4, "stddev"=&gt;0.13333333333333333, "discrete_values"=&gt;"triangle_uncertain", "discrete_weights"=&gt;nil, "type"=&gt;nil, "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
10
+ HERE I AM {"variable_type"=&gt;"variable", "display_name"=&gt;"West WWR", "machine_name"=&gt;"west_wwr", "name"=&gt;"wwr", "index"=&gt;1, "method"=&gt;"lhs", "type"=&gt;"Double", "units"=&gt;nil, "distribution"=&gt;{"min"=&gt;0.0, "max"=&gt;0.8, "mean"=&gt;0.4, "stddev"=&gt;0.13333333333333333, "discrete_values"=&gt;"triangle_uncertain", "discrete_weights"=&gt;nil, "type"=&gt;nil, "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
11
+ </system-out>
12
+ <system-err>
13
+ </system-err>
14
+ </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.330993" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:05:55-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup with user should have a user" time="0.000234">
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.349279" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:08:50-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup with user should have a user" time="0.00023">
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.334121" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:14:20-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup with user should have a user" time="0.000228">
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.334697" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:15:37-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup with user should have a user" time="0.000328">
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.286701" failures="0" errors="0" skipped="0" timestamp="2014-04-14T08:32:41-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup should have a proxy setting" time="0.000232">
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.272812" failures="0" errors="0" skipped="0" timestamp="2014-04-14T08:42:02-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup should have a proxy setting" time="0.000222">
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.289826" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:24:11-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup should have a proxy setting" time="0.00023">
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.272083" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:40:43-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup should have a proxy setting" time="0.000215">
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.279646" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:41:56-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup should have a proxy setting" time="0.000238">
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.268666" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:43:12-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup should have a proxy setting" time="0.000228">
4
+ </testcase>
5
+ <system-out>
6
+ </system-out>
7
+ <system-err>
8
+ </system-err>
9
+ </testsuite>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel proxy setup" tests="1" time="0.276452" failures="0" errors="0" skipped="0" timestamp="2014-04-14T09:54:21-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup should have a proxy setting" time="0.000224">
4
+ </testcase>
5
+ <system-out>
6
+ HERE I AM {"variable_type"=&gt;"variable", "display_name"=&gt;"Lighting Power Reduction", "machine_name"=&gt;"lighting_power_reduction", "name"=&gt;"lighting_power_reduction_percent", "index"=&gt;2, "method"=&gt;"lhs", "type"=&gt;"Double", "units"=&gt;nil, "distribution"=&gt;{"min"=&gt;0.0, "max"=&gt;50.0, "mean"=&gt;40.0, "stddev"=&gt;8.333333333333334, "discrete_values"=&gt;"triangle_uncertain", "discrete_weights"=&gt;nil, "type"=&gt;nil, "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
7
+ HERE I AM {"variable_type"=&gt;"variable", "display_name"=&gt;"Space Infiltration Power Reduction", "machine_name"=&gt;"space_infiltration_power_reduction", "name"=&gt;"space_infiltration_reduction_percent", "index"=&gt;2, "method"=&gt;"lhs", "type"=&gt;"Double", "units"=&gt;nil, "distribution"=&gt;{"min"=&gt;0.0, "max"=&gt;30.0, "mean"=&gt;10.0, "stddev"=&gt;5.0, "discrete_values"=&gt;"uniform_uncertain", "discrete_weights"=&gt;nil, "type"=&gt;nil, "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
8
+ HERE I AM {"variable_type"=&gt;"variable", "display_name"=&gt;"Number of Degrees to Rotate Building", "machine_name"=&gt;"number_of_degrees_to_rotate_building", "name"=&gt;"relative_building_rotation", "index"=&gt;1, "method"=&gt;"lhs", "type"=&gt;"Double", "units"=&gt;nil, "distribution"=&gt;{"min"=&gt;0.0, "max"=&gt;259.0, "mean"=&gt;180.0, "stddev"=&gt;43.166666666666664, "discrete_values"=&gt;"uniform_uncertain", "discrete_weights"=&gt;nil, "type"=&gt;nil, "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
9
+ HERE I AM {"variable_type"=&gt;"variable", "display_name"=&gt;"South WWR", "machine_name"=&gt;"south_wwr", "name"=&gt;"wwr", "index"=&gt;1, "method"=&gt;"lhs", "type"=&gt;"Double", "units"=&gt;nil, "distribution"=&gt;{"min"=&gt;0.0, "max"=&gt;0.8, "mean"=&gt;0.4, "stddev"=&gt;0.13333333333333333, "discrete_values"=&gt;"triangle_uncertain", "discrete_weights"=&gt;nil, "type"=&gt;nil, "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
10
+ HERE I AM {"variable_type"=&gt;"variable", "display_name"=&gt;"West WWR", "machine_name"=&gt;"west_wwr", "name"=&gt;"wwr", "index"=&gt;1, "method"=&gt;"lhs", "type"=&gt;"Double", "units"=&gt;nil, "distribution"=&gt;{"min"=&gt;0.0, "max"=&gt;0.8, "mean"=&gt;0.4, "stddev"=&gt;0.13333333333333333, "discrete_values"=&gt;"triangle_uncertain", "discrete_weights"=&gt;nil, "type"=&gt;nil, "source"=&gt;nil}, "notes"=&gt;nil, "relation_to_eui"=&gt;nil}
11
+ </system-out>
12
+ <system-err>
13
+ </system-err>
14
+ </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.334334" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:05:54-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup should have a proxy setting" time="0.000222">
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.34712" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:08:50-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,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel proxy setup" tests="1" time="0.336525" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:14:20-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup should have a proxy setting" time="0.000224">
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.320802" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:15:36-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel proxy setup should have a proxy setting" time="0.000253">
4
+ </testcase>
5
+ <system-out>
6
+ </system-out>
7
+ <system-err>
8
+ </system-err>
9
+ </testsuite>
@@ -0,0 +1,93 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="OpenStudio::Analysis::Translator::Excel setup output variables" tests="7" time="0.36763" failures="0" errors="2" skipped="0" timestamp="2014-04-14T15:05:56-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a model" time="0.000333">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a weather file" time="0.00023">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have notes and source" time="0.000248">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have typed booleans" time="0.000201">
10
+ </testcase>
11
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have algorithm setup" time="0.000212">
12
+ </testcase>
13
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should create a valid hash" time="0.004851">
14
+ <failure type="JSON::ParserError" message="399: unexpected token at '{...">
15
+ 399: unexpected token at '{
16
+ "name": "delta_x",
17
+ "value":
18
+ }
19
+ ],
20
+ "type": "triangle_uncertain"
21
+ },
22
+ "uuid": "d157d709-b83e-42bd-bd30-1bc3a7979672",
23
+ "variable_type": "RubyContinuousVariable",
24
+ "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
25
+ }
26
+ ' (JSON::ParserError)
27
+ JSON::ParserError:
28
+ 399: unexpected token at '{
29
+ "name": "delta_x",
30
+ "value":
31
+ }
32
+ ],
33
+ "type": "triangle_uncertain"
34
+ },
35
+ "uuid": "d157d709-b83e-42bd-bd30-1bc3a7979672",
36
+ "variable_type": "RubyContinuousVariable",
37
+ "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
38
+ }
39
+ '
40
+ ./lib/openstudio/analysis/translator/excel.rb:288:in `block (2 levels) in translate_to_analysis_json_template'
41
+ ./lib/openstudio/analysis/translator/excel.rb:215:in `each'
42
+ ./lib/openstudio/analysis/translator/excel.rb:215:in `block in translate_to_analysis_json_template'
43
+ ./lib/openstudio/analysis/translator/excel.rb:202:in `each'
44
+ ./lib/openstudio/analysis/translator/excel.rb:202:in `translate_to_analysis_json_template'
45
+ ./lib/openstudio/analysis/translator/excel.rb:164:in `create_analysis_hash'
46
+ ./spec/openstudio/analysis/translator/excel_spec.rb:251:in `block (3 levels) in &lt;top (required)&gt;' </failure>
47
+ </testcase>
48
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should write a json" time="0.003799">
49
+ <failure type="JSON::ParserError" message="399: unexpected token at '{...">
50
+ 399: unexpected token at '{
51
+ "name": "delta_x",
52
+ "value":
53
+ }
54
+ ],
55
+ "type": "triangle_uncertain"
56
+ },
57
+ "uuid": "d157d709-b83e-42bd-bd30-1bc3a7979672",
58
+ "variable_type": "RubyContinuousVariable",
59
+ "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
60
+ }
61
+ ' (JSON::ParserError)
62
+ JSON::ParserError:
63
+ 399: unexpected token at '{
64
+ "name": "delta_x",
65
+ "value":
66
+ }
67
+ ],
68
+ "type": "triangle_uncertain"
69
+ },
70
+ "uuid": "d157d709-b83e-42bd-bd30-1bc3a7979672",
71
+ "variable_type": "RubyContinuousVariable",
72
+ "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
73
+ }
74
+ '
75
+ ./lib/openstudio/analysis/translator/excel.rb:288:in `block (2 levels) in translate_to_analysis_json_template'
76
+ ./lib/openstudio/analysis/translator/excel.rb:215:in `each'
77
+ ./lib/openstudio/analysis/translator/excel.rb:215:in `block in translate_to_analysis_json_template'
78
+ ./lib/openstudio/analysis/translator/excel.rb:202:in `each'
79
+ ./lib/openstudio/analysis/translator/excel.rb:202:in `translate_to_analysis_json_template'
80
+ ./lib/openstudio/analysis/translator/excel.rb:164:in `create_analysis_hash'
81
+ ./lib/openstudio/analysis/translator/excel.rb:170:in `save_analysis'
82
+ ./spec/openstudio/analysis/translator/excel_spec.rb:261:in `block (3 levels) in &lt;top (required)&gt;' </failure>
83
+ </testcase>
84
+ <system-out>
85
+ /Users/nlong/working/OpenStudio-analysis-gem/spec/files/partial_weather.epw
86
+ Analysis name is Output Vars
87
+ Adding measure item 'reduce_lighting_loads_by_percentage'
88
+ Analysis name is Output Vars
89
+ Adding measure item 'reduce_lighting_loads_by_percentage'
90
+ </system-out>
91
+ <system-err>
92
+ </system-err>
93
+ </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.458126" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:08:51-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a model" time="0.000227">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a weather file" time="0.00013">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have notes and source" time="0.000137">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have typed booleans" time="0.000114">
10
+ </testcase>
11
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have algorithm setup" time="0.000119">
12
+ </testcase>
13
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should create a valid hash" time="0.025977">
14
+ </testcase>
15
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should write a json" time="0.088875">
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.423861" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:14:21-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a model" time="0.000225">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a weather file" time="0.000142">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have notes and source" time="0.000148">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have typed booleans" time="0.000107">
10
+ </testcase>
11
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have algorithm setup" time="0.000115">
12
+ </testcase>
13
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should create a valid hash" time="0.023209">
14
+ </testcase>
15
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should write a json" time="0.053909">
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.412281" failures="0" errors="0" skipped="0" timestamp="2014-04-14T15:15:38-06:00">
3
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a model" time="0.000239">
4
+ </testcase>
5
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have a weather file" time="0.000135">
6
+ </testcase>
7
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have notes and source" time="0.000155">
8
+ </testcase>
9
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have typed booleans" time="0.000113">
10
+ </testcase>
11
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should have algorithm setup" time="0.000121">
12
+ </testcase>
13
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should create a valid hash" time="0.039677">
14
+ </testcase>
15
+ <testcase name="OpenStudio::Analysis::Translator::Excel setup output variables should write a json" time="0.030666">
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>