openstudio-analysis 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (268) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -1
  3. data/Rakefile +1 -1
  4. data/lib/openstudio/analysis/server_api.rb +2 -0
  5. data/lib/openstudio/analysis/translator/excel.rb +86 -39
  6. data/lib/openstudio/analysis/version.rb +1 -2
  7. data/lib/openstudio/helpers/string.rb +1 -2
  8. data/lib/openstudio/templates/argument.json.erb +0 -2
  9. data/lib/openstudio/templates/workflow_item.json.erb +1 -0
  10. data/spec/files/discrete_variables.xlsx +0 -0
  11. data/spec/files/export/analysis/discrete_seed.json +652 -0
  12. data/spec/files/export/analysis/discrete_seed.zip +0 -0
  13. data/spec/files/export/analysis/small_seed.json +82 -116
  14. data/spec/files/export/analysis/small_seed.zip +0 -0
  15. data/spec/files/proxy.xlsx +0 -0
  16. data/spec/files/proxy_user.xlsx +0 -0
  17. data/spec/files/small_list.xlsx +0 -0
  18. data/spec/files/~$discrete_variables.xlsx +0 -0
  19. data/spec/openstudio/analysis/server_api_spec.rb +1 -1
  20. data/spec/openstudio/analysis/translator/excel_spec.rb +69 -11
  21. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.25.xml +9 -0
  22. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.26.xml +9 -0
  23. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.27.xml +9 -0
  24. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.28.xml +9 -0
  25. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.29.xml +9 -0
  26. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.30.xml +9 -0
  27. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.31.xml +9 -0
  28. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.32.xml +9 -0
  29. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.33.xml +9 -0
  30. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.34.xml +9 -0
  31. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.35.xml +9 -0
  32. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.36.xml +9 -0
  33. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.37.xml +9 -0
  34. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.38.xml +9 -0
  35. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.39.xml +9 -0
  36. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.40.xml +9 -0
  37. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.41.xml +9 -0
  38. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.42.xml +9 -0
  39. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.43.xml +9 -0
  40. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.44.xml +9 -0
  41. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-create-a-new-localhost-instance.45.xml +9 -0
  42. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.25.xml +9 -0
  43. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.26.xml +9 -0
  44. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.27.xml +9 -0
  45. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.28.xml +9 -0
  46. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.29.xml +9 -0
  47. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.30.xml +9 -0
  48. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.31.xml +9 -0
  49. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.32.xml +9 -0
  50. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.33.xml +9 -0
  51. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.34.xml +9 -0
  52. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.35.xml +9 -0
  53. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.36.xml +9 -0
  54. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.37.xml +9 -0
  55. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.38.xml +9 -0
  56. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.39.xml +9 -0
  57. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.40.xml +9 -0
  58. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.41.xml +9 -0
  59. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.42.xml +9 -0
  60. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.43.xml +9 -0
  61. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.44.xml +9 -0
  62. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi-test-not-localhost.45.xml +9 -0
  63. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.25.xml +7 -0
  64. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.26.xml +7 -0
  65. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.27.xml +7 -0
  66. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.28.xml +7 -0
  67. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.29.xml +7 -0
  68. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.30.xml +7 -0
  69. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.31.xml +7 -0
  70. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.32.xml +7 -0
  71. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.33.xml +7 -0
  72. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.34.xml +7 -0
  73. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.35.xml +7 -0
  74. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.36.xml +7 -0
  75. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.37.xml +7 -0
  76. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.38.xml +7 -0
  77. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.39.xml +7 -0
  78. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.40.xml +7 -0
  79. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.41.xml +7 -0
  80. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.42.xml +7 -0
  81. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.43.xml +7 -0
  82. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.44.xml +7 -0
  83. data/spec/reports/SPEC-OpenStudio-Analysis-ServerApi.45.xml +7 -0
  84. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.0.xml +9 -0
  85. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.1.xml +9 -0
  86. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.2.xml +9 -0
  87. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.3.xml +21 -0
  88. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-discrete-variables.xml +9 -0
  89. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.25.xml +20 -0
  90. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.26.xml +20 -0
  91. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.27.xml +20 -0
  92. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.28.xml +20 -0
  93. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.29.xml +20 -0
  94. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.30.xml +20 -0
  95. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.31.xml +20 -0
  96. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.32.xml +20 -0
  97. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.33.xml +20 -0
  98. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.34.xml +20 -0
  99. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.35.xml +20 -0
  100. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.36.xml +20 -0
  101. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.37.xml +20 -0
  102. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.38.xml +20 -0
  103. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.39.xml +20 -0
  104. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.40.xml +20 -0
  105. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.41.xml +20 -0
  106. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.42.xml +30 -0
  107. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.43.xml +20 -0
  108. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.44.xml +20 -0
  109. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-no-variables-defined.45.xml +20 -0
  110. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.0.xml +9 -0
  111. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.1.xml +9 -0
  112. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.10.xml +9 -0
  113. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.11.xml +9 -0
  114. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.2.xml +9 -0
  115. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.3.xml +23 -0
  116. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.4.xml +9 -0
  117. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.5.xml +9 -0
  118. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.6.xml +9 -0
  119. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.7.xml +9 -0
  120. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.8.xml +9 -0
  121. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.9.xml +9 -0
  122. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup-with-user.xml +23 -0
  123. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.0.xml +23 -0
  124. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.1.xml +9 -0
  125. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.10.xml +23 -0
  126. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.11.xml +9 -0
  127. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.12.xml +9 -0
  128. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.13.xml +9 -0
  129. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.14.xml +9 -0
  130. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.15.xml +9 -0
  131. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.16.xml +9 -0
  132. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.17.xml +9 -0
  133. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.2.xml +9 -0
  134. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.3.xml +9 -0
  135. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.4.xml +9 -0
  136. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.5.xml +9 -0
  137. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.6.xml +9 -0
  138. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.7.xml +9 -0
  139. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.8.xml +9 -0
  140. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.9.xml +23 -0
  141. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-proxy-setup.xml +16 -0
  142. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.18.xml +21 -0
  143. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.19.xml +21 -0
  144. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.20.xml +21 -0
  145. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.21.xml +21 -0
  146. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.22.xml +21 -0
  147. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.23.xml +21 -0
  148. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.24.xml +21 -0
  149. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.25.xml +21 -0
  150. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.26.xml +21 -0
  151. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.27.xml +21 -0
  152. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.28.xml +21 -0
  153. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.29.xml +21 -0
  154. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.30.xml +21 -0
  155. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.31.xml +21 -0
  156. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.32.xml +21 -0
  157. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.33.xml +21 -0
  158. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.34.xml +21 -0
  159. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.35.xml +21 -0
  160. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.36.xml +39 -0
  161. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.37.xml +21 -0
  162. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-setup-version-2.38.xml +21 -0
  163. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.25.xml +9 -0
  164. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.26.xml +9 -0
  165. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.27.xml +9 -0
  166. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.28.xml +9 -0
  167. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.29.xml +9 -0
  168. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.30.xml +9 -0
  169. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.31.xml +9 -0
  170. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.32.xml +9 -0
  171. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.33.xml +9 -0
  172. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.34.xml +9 -0
  173. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.35.xml +9 -0
  174. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.36.xml +9 -0
  175. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.37.xml +9 -0
  176. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.38.xml +9 -0
  177. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.39.xml +9 -0
  178. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.40.xml +9 -0
  179. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.41.xml +9 -0
  180. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.42.xml +19 -0
  181. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.43.xml +9 -0
  182. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.44.xml +9 -0
  183. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-incomplete-variables.45.xml +9 -0
  184. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.25.xml +9 -0
  185. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.26.xml +9 -0
  186. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.27.xml +9 -0
  187. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.28.xml +9 -0
  188. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.29.xml +9 -0
  189. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.30.xml +9 -0
  190. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.31.xml +9 -0
  191. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.32.xml +9 -0
  192. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.33.xml +9 -0
  193. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.34.xml +9 -0
  194. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.35.xml +9 -0
  195. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.36.xml +9 -0
  196. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.37.xml +9 -0
  197. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.38.xml +9 -0
  198. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.39.xml +9 -0
  199. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.40.xml +9 -0
  200. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.41.xml +9 -0
  201. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.42.xml +19 -0
  202. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.43.xml +9 -0
  203. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.44.xml +9 -0
  204. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables-should-not-validate.45.xml +9 -0
  205. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.25.xml +21 -0
  206. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.26.xml +21 -0
  207. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.27.xml +21 -0
  208. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.28.xml +21 -0
  209. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.29.xml +21 -0
  210. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.30.xml +21 -0
  211. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.31.xml +21 -0
  212. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.32.xml +21 -0
  213. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.33.xml +21 -0
  214. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.34.xml +21 -0
  215. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.35.xml +21 -0
  216. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.36.xml +21 -0
  217. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.37.xml +21 -0
  218. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.38.xml +21 -0
  219. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.39.xml +21 -0
  220. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.40.xml +21 -0
  221. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.41.xml +21 -0
  222. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.42.xml +31 -0
  223. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.43.xml +21 -0
  224. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.44.xml +21 -0
  225. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-of-variables.45.xml +24 -0
  226. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.25.xml +9 -0
  227. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.26.xml +9 -0
  228. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.27.xml +9 -0
  229. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.28.xml +9 -0
  230. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.29.xml +9 -0
  231. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.30.xml +9 -0
  232. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.31.xml +9 -0
  233. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.32.xml +9 -0
  234. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.33.xml +9 -0
  235. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.34.xml +9 -0
  236. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.35.xml +9 -0
  237. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.36.xml +9 -0
  238. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.37.xml +9 -0
  239. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.38.xml +9 -0
  240. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.39.xml +9 -0
  241. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.40.xml +9 -0
  242. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.41.xml +9 -0
  243. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.42.xml +19 -0
  244. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.43.xml +9 -0
  245. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.44.xml +9 -0
  246. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel-small-list-with-with-repeated-variable-names.45.xml +9 -0
  247. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.25.xml +7 -0
  248. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.26.xml +7 -0
  249. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.27.xml +7 -0
  250. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.28.xml +7 -0
  251. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.29.xml +7 -0
  252. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.30.xml +7 -0
  253. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.31.xml +7 -0
  254. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.32.xml +7 -0
  255. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.33.xml +7 -0
  256. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.34.xml +7 -0
  257. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.35.xml +7 -0
  258. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.36.xml +7 -0
  259. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.37.xml +7 -0
  260. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.38.xml +7 -0
  261. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.39.xml +7 -0
  262. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.40.xml +7 -0
  263. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.41.xml +7 -0
  264. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.42.xml +7 -0
  265. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.43.xml +7 -0
  266. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.44.xml +7 -0
  267. data/spec/reports/SPEC-OpenStudio-Analysis-Translator-Excel.45.xml +7 -0
  268. metadata +508 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 331135d293b11122531a3b462900a2f4f3728da2
4
- data.tar.gz: 3d168b780e1b66e0818cf2919f7220b7b5015de9
3
+ metadata.gz: bf35ab9a8a0994b36681b7aca40b9732215c8936
4
+ data.tar.gz: adab227a18c1e87454e7a0fdbcd36fe8d4a1f4af
5
5
  SHA512:
6
- metadata.gz: 528fcf1894bc7d1615a46ffa9c7e97eb03f7302558b58b962a31a95b16cb752382c1dd4e8ff86453bfec91790cbf12de58ab7a9e51db50a9173f9c5e69f19f64
7
- data.tar.gz: 50b95802b1e19035ba1f1e1ff874851f4ae1b34496a53b1e7761c0c6edc11e91d539c8df2c491605ce1e9b25e7ea82cb5ca935846674a9558958730b78053498
6
+ metadata.gz: 2011d0810cad424e912829e66f6cb36df01955c462632adf5b81e8a9916a8c77cef987b90c4d802ed33b41bea57d4a033aecd669d0c15fba7093e34a75d1f044
7
+ data.tar.gz: 738e3216c29cb024d35ff18ef7cca0b680db447bb3c57d112c76e135bd082af834909d86167d7863f7ca1cbf559887a567dc55fd4444bb91125962889086d843
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  OpenStudio Analysis Gem Change Log
2
2
  ==================================
3
3
 
4
+ Version 0.1.9
5
+ -------------
6
+
7
+ * Clean up the "delete_mes" in the JSONs
8
+
9
+ * Added discrete variables to the spreadsheet and bumped version
10
+
11
+ Version 0.1.8
12
+ -------------
13
+
14
+ * Parsing of Proxy parameters
15
+
4
16
  Version 0.1.7
5
17
  -------------
6
18
 
@@ -11,7 +23,8 @@ Version 0.1.7
11
23
  Version 0.1.6
12
24
  -------------
13
25
 
14
- * Small fixes
26
+ * Small fixes
27
+
15
28
  Version 0.1.5
16
29
  -------------
17
30
 
data/Rakefile CHANGED
@@ -28,7 +28,7 @@ task :release => :build do
28
28
  end
29
29
 
30
30
  RSpec::Core::RakeTask.new("spec") do |spec|
31
- #spec.rspec_opts = %w(--format progress --format CI::Reporter::RSpec)
31
+ spec.rspec_opts = %w(--format progress --format CI::Reporter::RSpec)
32
32
  spec.pattern = "spec/**/*_spec.rb"
33
33
  end
34
34
 
@@ -14,6 +14,8 @@ module OpenStudio
14
14
 
15
15
  raise "no host defined for server api class" if @hostname.nil?
16
16
 
17
+ # todo: add support for the proxy
18
+
17
19
  # create connection with basic capabilities
18
20
  @conn = Faraday.new(:url => @hostname) do |faraday|
19
21
  faraday.request :url_encoded # form-encode POST params
@@ -50,6 +50,10 @@ module OpenStudio
50
50
 
51
51
  def process
52
52
  @setup = parse_setup()
53
+
54
+ @version = Semantic::Version.new @version
55
+ raise "Spreadsheet version #{@version} is no longer supported. Please upgrade your spreadsheet to at least 0.1.9" if @version < '0.1.9'
56
+
53
57
  @variables = parse_variables()
54
58
 
55
59
  # call validate to make sure everything that is needed exists (i.e. directories)
@@ -63,9 +67,6 @@ module OpenStudio
63
67
  end
64
68
 
65
69
  def validate_analysis
66
- version_test = Semantic::Version.new @version
67
- raise "Spreadsheet version #{@version} is no longer supported. Please upgrade your spreadsheet to at least 0.1.9" if version_test < '0.1.9'
68
-
69
70
  # Setup the paths and do some error checking
70
71
  raise "Measures directory '#{@measure_path}' does not exist" unless Dir.exists?(@measure_path)
71
72
 
@@ -102,24 +103,31 @@ module OpenStudio
102
103
  # add this as an argument
103
104
  # check something
104
105
  elsif variable['method'] == 'lhs'
105
- if variable['type'] == 'enum'
106
+ if variable['type'] == 'enum' || variable['type'] == 'Choice'
106
107
  # check something
107
108
  else # must be an integer or double
108
- if variable['distribution']['min'].nil? || variable['distribution']['min'] == ""
109
- raise "Variable #{measure['name']}:#{variable['name']} must have a minimum"
110
- end
111
- if variable['distribution']['max'].nil? || variable['distribution']['max'] == ""
112
- raise "Variable #{measure['name']}:#{variable['name']} must have a maximum"
113
- end
114
- if variable['distribution']['mean'].nil? || variable['distribution']['mean'] == ""
115
- raise "Variable #{measure['name']}:#{variable['name']} must have a mean"
116
- end
117
- if variable['distribution']['stddev'].nil? || variable['distribution']['stddev'] == ""
118
- raise "Variable #{measure['name']}:#{variable['name']} must have a stddev"
119
- end
120
- if variable['distribution']['min'] > variable['distribution']['max']
121
- raise "Variable min is greater than variable max for #{measure['name']}:#{variable['name']}"
109
+ if variable['distribution']['type'] == 'discrete_uncertain'
110
+ if variable['distribution']['discrete_values'].nil? || variable['distribution']['discrete_values'] == ""
111
+ raise "Variable #{measure['name']}:#{variable['name']} needs discrete values"
112
+ end
113
+ else
114
+ if variable['distribution']['min'].nil? || variable['distribution']['min'] == ""
115
+ raise "Variable #{measure['name']}:#{variable['name']} must have a minimum"
116
+ end
117
+ if variable['distribution']['max'].nil? || variable['distribution']['max'] == ""
118
+ raise "Variable #{measure['name']}:#{variable['name']} must have a maximum"
119
+ end
120
+ if variable['distribution']['mean'].nil? || variable['distribution']['mean'] == ""
121
+ raise "Variable #{measure['name']}:#{variable['name']} must have a mean"
122
+ end
123
+ if variable['distribution']['stddev'].nil? || variable['distribution']['stddev'] == ""
124
+ raise "Variable #{measure['name']}:#{variable['name']} must have a stddev"
125
+ end
126
+ if variable['distribution']['min'] > variable['distribution']['max']
127
+ raise "Variable min is greater than variable max for #{measure['name']}:#{variable['name']}"
128
+ end
122
129
  end
130
+
123
131
  end
124
132
  elsif variable['method'] == 'pivot'
125
133
  # check something
@@ -142,13 +150,13 @@ module OpenStudio
142
150
  # save the format in the OpenStudio analysis json format template without
143
151
  # the correct weather files or models
144
152
  @template_json = translate_to_analysis_json_template()
145
-
153
+
146
154
  @template_json
147
155
  end
148
-
156
+
149
157
  def save_analysis
150
158
  @template_json = create_analysis_hash
151
-
159
+
152
160
  #validate_template_json
153
161
 
154
162
  # iterate over each model and save the zip and json
@@ -173,11 +181,10 @@ module OpenStudio
173
181
  # Templated analysis json file (this is what is returned)
174
182
  puts "Analysis name is #{@name}"
175
183
  openstudio_analysis_json = JSON.parse(analysis_template.result(get_binding))
176
-
184
+
177
185
  openstudio_analysis_json['analysis']['problem'].merge!(@problem)
178
186
  openstudio_analysis_json['analysis']['problem']['algorithm'].merge!(@algorithm)
179
-
180
-
187
+
181
188
 
182
189
  @measure_index = -1
183
190
  @variables['data'].each do |measure|
@@ -231,9 +238,32 @@ module OpenStudio
231
238
  # add this as an argument
232
239
  vr = JSON.parse(static_variable_template.result(get_binding))
233
240
  elsif @variable['method'] == 'lhs'
234
- if @variable['type'] == 'enum'
241
+ if @variable['type'] == 'enum' || @variable['type'].downcase == 'choice'
235
242
  @values_and_weights = @variable['distribution']['enumerations'].map { |v| {value: v} }.to_json
236
- vr =JSON.parse(discrete_uncertain_variable_template.result(get_binding))
243
+ vr = JSON.parse(discrete_uncertain_variable_template.result(get_binding))
244
+ elsif @variable['distribution']['type'] == 'discrete_uncertain'
245
+ puts @variable.inspect
246
+ weights = nil
247
+ if @variable['distribution']['discrete_weights'] && @variable['distribution']['discrete_weights'] != ''
248
+ weights = eval(@variable['distribution']['discrete_weights'])
249
+ end
250
+
251
+ values = nil
252
+ if variable['type'].downcase == 'bool'
253
+ values = eval(@variable['distribution']['discrete_values'])
254
+ values.map!{|v| v.downcase == 'true'}
255
+ else
256
+ values = eval(@variable['distribution']['discrete_values'])
257
+ end
258
+
259
+ if weights
260
+ raise "Discrete variable #{@variable['name']} does not have equal length of values and weights" if values.size != weights.size
261
+ @values_and_weights = values.zip( weights ).map { |v,w| {value: v, weight: w} }.to_json
262
+ else
263
+ @values_and_weights = values.map { |v| {value: v} }.to_json
264
+ end
265
+
266
+ vr = JSON.parse(discrete_uncertain_variable_template.result(get_binding))
237
267
  else
238
268
  vr = JSON.parse(uncertain_variable_template.result(get_binding))
239
269
  end
@@ -275,7 +305,7 @@ module OpenStudio
275
305
  Dir.glob("#{@measure_path}/**/*.rb").each do |measure|
276
306
  next if measure.include?("spec") # don't include the spec folders nor files
277
307
  measure_name = measure.split(File::SEPARATOR).last(2).first
278
- #puts " Adding ./measures/#{measure_name}/#{File.basename(measure)}"
308
+ #puts " Adding ./measures/#{measure_name}/#{File.basename(measure)}"
279
309
  zipfile.add("./measures/#{measure_name}/#{File.basename(measure)}", measure)
280
310
  end
281
311
 
@@ -393,22 +423,26 @@ module OpenStudio
393
423
  if b_settings
394
424
  @version = row[1].chomp if row[0] == "Spreadsheet Version"
395
425
  @settings["#{row[0].snake_case}"] = row[1] if row[0]
426
+
427
+ # type some of the values that we know
428
+ @settings["proxy_port"] = @settings["proxy_port"].to_i if @settings["proxy_port"]
429
+
396
430
  elsif b_run_setup
397
431
  @name = row[1].chomp if row[0] == "Analysis Name"
398
432
  @machine_name = @name.snake_case
399
433
  @export_path = File.expand_path(File.join(@root_path, row[1])) if row[0] == "Export Directory"
400
434
  @measure_path = File.expand_path(File.join(@root_path, row[1])) if row[0] == "Measure Directory"
401
435
  elsif b_problem_setup
402
- if row[0]
436
+ if row[0]
403
437
  v = row[1]
404
438
  v.to_i if v % 1 == 0
405
439
  @problem["#{row[0].snake_case}"] = v
406
440
  end
407
-
441
+
408
442
  elsif b_algorithm_setup
409
443
  if row[0]
410
444
  v = row[1]
411
- v = v.to_i if v % 1 == 0
445
+ v = v.to_i if v % 1 == 0
412
446
  @algorithm["#{row[0].snake_case}"] = v
413
447
  end
414
448
  elsif b_weather_files
@@ -464,12 +498,12 @@ module OpenStudio
464
498
 
465
499
  var['distribution'] = {}
466
500
 
467
- #parse the enums
468
- if var['type'] == 'enum'
501
+ #parse the choices/enums
502
+ if var['type'] == 'enum' || var['type'] == 'Choice' # this is now a choice
469
503
  var['distribution']['enumerations'] = row[8].gsub("|", "").split(",").map { |v| v.strip }
470
- elsif var['type'] == 'bool' #TODO: i think this has been deprecated
504
+ elsif var['type'] == 'bool'
471
505
  var['distribution']['enumerations'] = []
472
- var['distribution']['enumerations'] << 'true'
506
+ var['distribution']['enumerations'] << 'true' #todo: should this be a real bool?
473
507
  var['distribution']['enumerations'] << 'false'
474
508
  end
475
509
 
@@ -478,15 +512,28 @@ module OpenStudio
478
512
  var['distribution']['max'] = row[10]
479
513
  var['distribution']['mean'] = row[11]
480
514
  var['distribution']['stddev'] = row[12]
481
- var['distribution']['type'] = row[13]
482
- var['distribution']['source'] = row[14]
515
+
516
+ if @version >= "0.1.10"
517
+ var['distribution']['discrete_values'] = row[13]
518
+ var['distribution']['discrete_weights'] = row[14]
519
+ var['distribution']['type'] = row[15]
520
+ else
521
+ var['distribution']['type'] = row[13]
522
+ end
483
523
  elsif var['method'] == 'static'
484
524
  var['distribution']['static_value'] = row[7]
485
- var['distribution']['source'] = row[14]
486
525
  end
487
526
 
488
- var['notes'] = row[15]
489
- var['relation_to_eui'] = row[16]
527
+ if @version >= "0.1.10"
528
+ # new columns for discrete variables
529
+ var['distribution']['source'] = row[16]
530
+ var['notes'] = row[17]
531
+ var['relation_to_eui'] = row[18]
532
+ else
533
+ var['distribution']['source'] = row[14]
534
+ var['notes'] = row[15]
535
+ var['relation_to_eui'] = row[16]
536
+ end
490
537
 
491
538
  data['data'][measure_index]['variables'] << var
492
539
  end
@@ -1,6 +1,5 @@
1
1
  module OpenStudio
2
2
  module Analysis
3
- VERSION = "0.1.8"
4
- OPENSTUDIO_VERSION = "1.1.4"
3
+ VERSION = "0.1.9"
5
4
  end
6
5
  end
@@ -10,8 +10,7 @@ class String
10
10
  end
11
11
 
12
12
  def snake_case
13
- self.gsub(" ", "_").
14
- downcase
13
+ self.gsub(" ", "_").downcase
15
14
  end
16
15
  end
17
16
 
@@ -3,8 +3,6 @@
3
3
  "machine_name": "<%= @variable['machine_name'] %>",
4
4
  "name": "<%= @variable['name'] %>",
5
5
  "value": <%= @static_value %>,
6
- "uuid_DELETEME": "<%= UUID.new.generate %>",
7
6
  "uuid": "<%= UUID.new.generate %>",
8
- "version_uuid_DELETEME": "<%= UUID.new.generate %>",
9
7
  "version_uuid": "<%= UUID.new.generate %>"
10
8
  }
@@ -4,6 +4,7 @@
4
4
  "measure_definition_directory_CHANGE_TO_ME": "./measures/<%= @measure['measure_file_name_directory'] %>",
5
5
  "bcl_measure_class_name_ADDME": "<%= @measure['measure_file_name'] %>",
6
6
  "measure_definition_class_name_CHANGE_TO_ME": "<%= @measure['measure_file_name'] %>",
7
+ "measure_definition_class_name": "<%= @measure['measure_file_name'] %>",
7
8
  "bcl_measure_uuid": "<%= UUID.new.generate %>",
8
9
  "measure_definition_uuid_CHANGE_TO_ME": "<%= UUID.new.generate %>",
9
10
  "bcl_measure_version_uuid": "<%= UUID.new.generate %>",
Binary file
@@ -0,0 +1,652 @@
1
+ {
2
+ "analysis": {
3
+ "display_name": "Example Analysis",
4
+ "name": "example_analysis",
5
+ "parameter_space": [
6
+
7
+ ],
8
+ "problem": {
9
+ "algorithm": {
10
+ "sample_method": "all_variables",
11
+ "number_of_samples": 100,
12
+ "number_of_generations": 20
13
+ },
14
+ "name": "Problem",
15
+ "workflow": [
16
+ {
17
+ "arguments": [
18
+ {
19
+ "display_name": "Apply the Measure to a Specific Space Type or to the Entire Model.",
20
+ "machine_name": "apply_the_measure_to_a_specific_space_type_or_to_the_entire_model.",
21
+ "name": "space_type",
22
+ "value": "*Entire Building*",
23
+ "uuid": "f0bd24f0-6ad3-0131-59f4-14109fdf0b37",
24
+ "version_uuid": "f0bd4160-6ad3-0131-59f5-14109fdf0b37"
25
+ },
26
+ {
27
+ "display_name": "Increase in Material and Installation Cost for Lighting per Floor Area (%).",
28
+ "machine_name": "increase_in_material_and_installation_cost_for_lighting_per_floor_area_(%).",
29
+ "name": "material_and_installation_cost",
30
+ "value": 0.0,
31
+ "uuid": "f0bd6890-6ad3-0131-59f6-14109fdf0b37",
32
+ "version_uuid": "f0bd8a30-6ad3-0131-59f7-14109fdf0b37"
33
+ },
34
+ {
35
+ "display_name": "Increase in Demolition Costs for Lighting per Floor Area (%).",
36
+ "machine_name": "increase_in_demolition_costs_for_lighting_per_floor_area_(%).",
37
+ "name": "demolition_cost",
38
+ "value": 0.0,
39
+ "uuid": "f0bdb050-6ad3-0131-59f8-14109fdf0b37",
40
+ "version_uuid": "f0bdd140-6ad3-0131-59f9-14109fdf0b37"
41
+ },
42
+ {
43
+ "display_name": "Years Until Costs Start (whole years).",
44
+ "machine_name": "years_until_costs_start_(whole_years).",
45
+ "name": "years_until_costs_start",
46
+ "value": 0,
47
+ "uuid": "f0bdedb0-6ad3-0131-59fa-14109fdf0b37",
48
+ "version_uuid": "f0be0860-6ad3-0131-59fb-14109fdf0b37"
49
+ },
50
+ {
51
+ "display_name": "Demolition Costs Occur During Initial Construction?",
52
+ "machine_name": "demolition_costs_occur_during_initial_construction?",
53
+ "name": "demo_cost_initial_const",
54
+ "value": true,
55
+ "uuid": "f0be26e0-6ad3-0131-59fc-14109fdf0b37",
56
+ "version_uuid": "f0be3fe0-6ad3-0131-59fd-14109fdf0b37"
57
+ },
58
+ {
59
+ "display_name": "Expected Life (whole years).",
60
+ "machine_name": "expected_life_(whole_years).",
61
+ "name": "expected_life",
62
+ "value": 15,
63
+ "uuid": "f0be5af0-6ad3-0131-59fe-14109fdf0b37",
64
+ "version_uuid": "f0be7be0-6ad3-0131-59ff-14109fdf0b37"
65
+ },
66
+ {
67
+ "display_name": "Increase O & M Costs for Lighting per Floor Area (%).",
68
+ "machine_name": "increase_o_&_m_costs_for_lighting_per_floor_area_(%).",
69
+ "name": "om_cost",
70
+ "value": 0.0,
71
+ "uuid": "f0be9ec0-6ad3-0131-5a00-14109fdf0b37",
72
+ "version_uuid": "f0bebfa0-6ad3-0131-5a01-14109fdf0b37"
73
+ },
74
+ {
75
+ "display_name": "O & M Frequency (whole years).",
76
+ "machine_name": "o_&_m_frequency_(whole_years).",
77
+ "name": "om_frequency",
78
+ "value": 1,
79
+ "uuid": "f0beec10-6ad3-0131-5a02-14109fdf0b37",
80
+ "version_uuid": "f0bf0630-6ad3-0131-5a03-14109fdf0b37"
81
+ }
82
+ ],
83
+ "bcl_measure_directory": "./measures/reduce_lighting_loads_by_percentage",
84
+ "measure_definition_directory_CHANGE_TO_ME": "./measures/reduce_lighting_loads_by_percentage",
85
+ "bcl_measure_class_name_ADDME": "ReduceLightingLoadsByPercentage",
86
+ "measure_definition_class_name_CHANGE_TO_ME": "ReduceLightingLoadsByPercentage",
87
+ "measure_definition_class_name": "ReduceLightingLoadsByPercentage",
88
+ "bcl_measure_uuid": "f0bc3090-6ad3-0131-59ee-14109fdf0b37",
89
+ "measure_definition_uuid_CHANGE_TO_ME": "f0bc7d20-6ad3-0131-59ef-14109fdf0b37",
90
+ "bcl_measure_version_uuid": "f0bc9f00-6ad3-0131-59f0-14109fdf0b37",
91
+ "measure_definition_version_uuid_CHANGE_TO_ME": "f0bcc8f0-6ad3-0131-59f1-14109fdf0b37",
92
+ "measure_type": "RubyMeasure",
93
+ "name": "reduce_lighting_loads_by_percentage",
94
+ "display_name": "Reduce Lighting Loads by Percentage",
95
+ "uuid": "f0bce850-6ad3-0131-59f2-14109fdf0b37",
96
+ "variables": [
97
+ {
98
+ "argument": {
99
+ "display_name": "Lighting Power Reduction",
100
+ "machine_name": "lighting_power_reduction",
101
+ "name": "lighting_power_reduction_percent",
102
+ "required": false,
103
+ "uuid": "a0618d15-bb0b-4494-a72f-8ad628693a7e",
104
+ "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
105
+ },
106
+ "display_name": "Lighting Power Reduction",
107
+ "machine_name": "lighting_power_reduction",
108
+ "name": "lighting_power_reduction",
109
+ "units": "",
110
+ "variable": true,
111
+ "variable_ADDME": true,
112
+ "relation_to_output": "",
113
+ "uncertainty_description": {
114
+ "attributes": [
115
+ {
116
+ "name": "discrete",
117
+ "values_and_weights": [
118
+ {
119
+ "value": 10,
120
+ "weight": 0.1
121
+ },
122
+ {
123
+ "value": 20,
124
+ "weight": 0.4
125
+ },
126
+ {
127
+ "value": 40,
128
+ "weight": 0.2
129
+ },
130
+ {
131
+ "value": 60,
132
+ "weight": 0.3
133
+ }
134
+ ]
135
+ }
136
+ ],
137
+ "type": "discrete_uncertain"
138
+ },
139
+ "uuid": "d157d709-b83e-42bd-bd30-1bc3a7979672",
140
+ "variable_type": "RubyContinuousVariable",
141
+ "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
142
+ }
143
+ ],
144
+ "version_uuid": "f0bd0530-6ad3-0131-59f3-14109fdf0b37",
145
+ "workflow_index": 0,
146
+ "workflow_step_type": "Measure"
147
+ },
148
+ {
149
+ "arguments": [
150
+ {
151
+ "display_name": "Apply the Measure to a Specific Space Type or to the Entire Model.",
152
+ "machine_name": "apply_the_measure_to_a_specific_space_type_or_to_the_entire_model.",
153
+ "name": "space_type",
154
+ "value": "*Entire Building*",
155
+ "uuid": "f0c246e0-6ad3-0131-5a0a-14109fdf0b37",
156
+ "version_uuid": "f0c26550-6ad3-0131-5a0b-14109fdf0b37"
157
+ },
158
+ {
159
+ "display_name": "Increase in Material and Installation Costs for Building per Affected Floor Area ($/ft^2).",
160
+ "machine_name": "increase_in_material_and_installation_costs_for_building_per_affected_floor_area_($/ft^2).",
161
+ "name": "material_and_installation_cost",
162
+ "value": 0.0,
163
+ "uuid": "f0c28f80-6ad3-0131-5a0c-14109fdf0b37",
164
+ "version_uuid": "f0c2b630-6ad3-0131-5a0d-14109fdf0b37"
165
+ },
166
+ {
167
+ "display_name": "O & M Costs for Construction per Affected Floor Area ($/ft^2).",
168
+ "machine_name": "o_&_m_costs_for_construction_per_affected_floor_area_($/ft^2).",
169
+ "name": "om_cost",
170
+ "value": 0.0,
171
+ "uuid": "f0c2d3e0-6ad3-0131-5a0e-14109fdf0b37",
172
+ "version_uuid": "f0c2f090-6ad3-0131-5a0f-14109fdf0b37"
173
+ },
174
+ {
175
+ "display_name": "O & M Frequency (whole years).",
176
+ "machine_name": "o_&_m_frequency_(whole_years).",
177
+ "name": "om_frequency",
178
+ "value": 1,
179
+ "uuid": "f0c30e80-6ad3-0131-5a10-14109fdf0b37",
180
+ "version_uuid": "f0c33250-6ad3-0131-5a11-14109fdf0b37"
181
+ }
182
+ ],
183
+ "bcl_measure_directory": "./measures/reduce_space_infiltration_by_percentage",
184
+ "measure_definition_directory_CHANGE_TO_ME": "./measures/reduce_space_infiltration_by_percentage",
185
+ "bcl_measure_class_name_ADDME": "ReduceSpaceInfiltrationByPercentage",
186
+ "measure_definition_class_name_CHANGE_TO_ME": "ReduceSpaceInfiltrationByPercentage",
187
+ "measure_definition_class_name": "ReduceSpaceInfiltrationByPercentage",
188
+ "bcl_measure_uuid": "f0c18e70-6ad3-0131-5a04-14109fdf0b37",
189
+ "measure_definition_uuid_CHANGE_TO_ME": "f0c1ad30-6ad3-0131-5a05-14109fdf0b37",
190
+ "bcl_measure_version_uuid": "f0c1d0d0-6ad3-0131-5a06-14109fdf0b37",
191
+ "measure_definition_version_uuid_CHANGE_TO_ME": "f0c1f270-6ad3-0131-5a07-14109fdf0b37",
192
+ "measure_type": "RubyMeasure",
193
+ "name": "reducespaceinfiltrationbypercentage",
194
+ "display_name": "ReduceSpaceInfiltrationByPercentage",
195
+ "uuid": "f0c20ce0-6ad3-0131-5a08-14109fdf0b37",
196
+ "variables": [
197
+ {
198
+ "argument": {
199
+ "display_name": "Space Infiltration Power Reduction",
200
+ "machine_name": "space_infiltration_power_reduction",
201
+ "name": "space_infiltration_reduction_percent",
202
+ "uuid": "a0618d15-bb0b-4494-a72f-8ad628693a7e",
203
+ "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
204
+ },
205
+ "display_name": "Space Infiltration Power Reduction",
206
+ "machine_name": "space_infiltration_power_reduction",
207
+ "name": "space_infiltration_power_reduction",
208
+ "minimum": 0.0,
209
+ "maximum": 30.0,
210
+ "units": "",
211
+ "variable": true,
212
+ "variable_ADDME": true,
213
+ "relation_to_output": "",
214
+ "uncertainty_description": {
215
+ "attributes": [
216
+ {
217
+ "name": "modes",
218
+ "value": 10.0
219
+ },
220
+ {
221
+ "name": "lower_bounds",
222
+ "value": 0.0
223
+ },
224
+ {
225
+ "name": "upper_bounds",
226
+ "value": 30.0
227
+ },
228
+ {
229
+ "name": "stddev",
230
+ "value": 5.0
231
+ }
232
+ ],
233
+ "type": "uniform_uncertain"
234
+ },
235
+ "uuid": "d157d709-b83e-42bd-bd30-1bc3a7979672",
236
+ "variable_type": "RubyContinuousVariable",
237
+ "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
238
+ }
239
+ ],
240
+ "version_uuid": "f0c22660-6ad3-0131-5a09-14109fdf0b37",
241
+ "workflow_index": 1,
242
+ "workflow_step_type": "Measure"
243
+ },
244
+ {
245
+ "arguments": [
246
+
247
+ ],
248
+ "bcl_measure_directory": "./measures/adjust_theromstat_setpoints_by_degrees",
249
+ "measure_definition_directory_CHANGE_TO_ME": "./measures/adjust_theromstat_setpoints_by_degrees",
250
+ "bcl_measure_class_name_ADDME": "AdjustTheromstatSetpointsByDegrees",
251
+ "measure_definition_class_name_CHANGE_TO_ME": "AdjustTheromstatSetpointsByDegrees",
252
+ "measure_definition_class_name": "AdjustTheromstatSetpointsByDegrees",
253
+ "bcl_measure_uuid": "f0c35ba0-6ad3-0131-5a12-14109fdf0b37",
254
+ "measure_definition_uuid_CHANGE_TO_ME": "f0c37860-6ad3-0131-5a13-14109fdf0b37",
255
+ "bcl_measure_version_uuid": "f0c39620-6ad3-0131-5a14-14109fdf0b37",
256
+ "measure_definition_version_uuid_CHANGE_TO_ME": "f0c3b240-6ad3-0131-5a15-14109fdf0b37",
257
+ "measure_type": "RubyMeasure",
258
+ "name": "adjust_thermostat_setpoints_by_degrees",
259
+ "display_name": "Adjust Thermostat Setpoints by Degrees",
260
+ "uuid": "f0c3d030-6ad3-0131-5a16-14109fdf0b37",
261
+ "variables": [
262
+ {
263
+ "argument": {
264
+ "display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
265
+ "machine_name": "degrees_fahrenheit_to_adjust_cooling_setpoint_by.",
266
+ "name": "cooling_adjustment",
267
+ "uuid": "a0618d15-bb0b-4494-a72f-8ad628693a7e",
268
+ "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
269
+ },
270
+ "display_name": "Degrees Fahrenheit to Adjust Cooling Setpoint By.",
271
+ "machine_name": "degrees_fahrenheit_to_adjust_cooling_setpoint_by.",
272
+ "name": "degrees_fahrenheit_to_adjust_cooling_setpoint_by.",
273
+ "minimum": -4.0,
274
+ "maximum": 4.0,
275
+ "units": "",
276
+ "variable": true,
277
+ "variable_ADDME": true,
278
+ "relation_to_output": "",
279
+ "uncertainty_description": {
280
+ "attributes": [
281
+ {
282
+ "name": "modes",
283
+ "value": 0.0
284
+ },
285
+ {
286
+ "name": "lower_bounds",
287
+ "value": -4.0
288
+ },
289
+ {
290
+ "name": "upper_bounds",
291
+ "value": 4.0
292
+ },
293
+ {
294
+ "name": "stddev",
295
+ "value": 1.3333333333333333
296
+ }
297
+ ],
298
+ "type": "uniform_uncertain"
299
+ },
300
+ "uuid": "d157d709-b83e-42bd-bd30-1bc3a7979672",
301
+ "variable_type": "RubyContinuousVariable",
302
+ "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
303
+ },
304
+ {
305
+ "argument": {
306
+ "display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
307
+ "machine_name": "degrees_fahrenheit_to_adjust_heating_setpoint_by.",
308
+ "name": "heating_adjustment",
309
+ "uuid": "a0618d15-bb0b-4494-a72f-8ad628693a7e",
310
+ "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
311
+ },
312
+ "display_name": "Degrees Fahrenheit to Adjust heating Setpoint By.",
313
+ "machine_name": "degrees_fahrenheit_to_adjust_heating_setpoint_by.",
314
+ "name": "degrees_fahrenheit_to_adjust_heating_setpoint_by.",
315
+ "minimum": -4.0,
316
+ "maximum": 4.0,
317
+ "units": "",
318
+ "variable": true,
319
+ "variable_ADDME": true,
320
+ "relation_to_output": "",
321
+ "uncertainty_description": {
322
+ "attributes": [
323
+ {
324
+ "name": "modes",
325
+ "value": 0.0
326
+ },
327
+ {
328
+ "name": "lower_bounds",
329
+ "value": -4.0
330
+ },
331
+ {
332
+ "name": "upper_bounds",
333
+ "value": 4.0
334
+ },
335
+ {
336
+ "name": "stddev",
337
+ "value": 1.3333333333333333
338
+ }
339
+ ],
340
+ "type": "uniform_uncertain"
341
+ },
342
+ "uuid": "d157d709-b83e-42bd-bd30-1bc3a7979672",
343
+ "variable_type": "RubyContinuousVariable",
344
+ "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
345
+ },
346
+ {
347
+ "argument": {
348
+ "display_name": "Alter Design Day Thermostats?",
349
+ "machine_name": "alter_design_day_thermostats?",
350
+ "name": "alter_design_days",
351
+ "required": false,
352
+ "uuid": "a0618d15-bb0b-4494-a72f-8ad628693a7e",
353
+ "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
354
+ },
355
+ "display_name": "Alter Design Day Thermostats?",
356
+ "machine_name": "alter_design_day_thermostats?",
357
+ "name": "alter_design_day_thermostats?",
358
+ "units": "",
359
+ "variable": true,
360
+ "variable_ADDME": true,
361
+ "relation_to_output": "",
362
+ "uncertainty_description": {
363
+ "attributes": [
364
+ {
365
+ "name": "discrete",
366
+ "values_and_weights": [
367
+ {
368
+ "value": true,
369
+ "weight": 0.8
370
+ },
371
+ {
372
+ "value": false,
373
+ "weight": 0.2
374
+ }
375
+ ]
376
+ }
377
+ ],
378
+ "type": "discrete_uncertain"
379
+ },
380
+ "uuid": "d157d709-b83e-42bd-bd30-1bc3a7979672",
381
+ "variable_type": "RubyContinuousVariable",
382
+ "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
383
+ }
384
+ ],
385
+ "version_uuid": "f0c3edb0-6ad3-0131-5a17-14109fdf0b37",
386
+ "workflow_index": 2,
387
+ "workflow_step_type": "Measure"
388
+ },
389
+ {
390
+ "arguments": [
391
+ {
392
+ "display_name": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
393
+ "machine_name": "increase_in_material_and_installation_costs_for_construction_per_area_used_($/ft^2).",
394
+ "name": "material_cost_increase_ip",
395
+ "value": 0.0,
396
+ "uuid": "f0c4e860-6ad3-0131-5a1e-14109fdf0b37",
397
+ "version_uuid": "f0c50500-6ad3-0131-5a1f-14109fdf0b37"
398
+ },
399
+ {
400
+ "display_name": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
401
+ "machine_name": "one_time_retrofit_cost_to_add_insulation_to_construction_($/ft^2).",
402
+ "name": "one_time_retrofit_cost_ip",
403
+ "value": 0.0,
404
+ "uuid": "f0c52070-6ad3-0131-5a20-14109fdf0b37",
405
+ "version_uuid": "f0c539b0-6ad3-0131-5a21-14109fdf0b37"
406
+ },
407
+ {
408
+ "display_name": "Year to Incur One Time Retrofit Cost (whole years).",
409
+ "machine_name": "year_to_incur_one_time_retrofit_cost_(whole_years).",
410
+ "name": "years_until_retrofit_cost",
411
+ "value": 0,
412
+ "uuid": "f0c55430-6ad3-0131-5a22-14109fdf0b37",
413
+ "version_uuid": "f0c570f0-6ad3-0131-5a23-14109fdf0b37"
414
+ }
415
+ ],
416
+ "bcl_measure_directory": "./measures/increase_insulation_r_value_for_exterior_walls",
417
+ "measure_definition_directory_CHANGE_TO_ME": "./measures/increase_insulation_r_value_for_exterior_walls",
418
+ "bcl_measure_class_name_ADDME": "IncreaseInsulationRValueForExteriorWalls",
419
+ "measure_definition_class_name_CHANGE_TO_ME": "IncreaseInsulationRValueForExteriorWalls",
420
+ "measure_definition_class_name": "IncreaseInsulationRValueForExteriorWalls",
421
+ "bcl_measure_uuid": "f0c425a0-6ad3-0131-5a18-14109fdf0b37",
422
+ "measure_definition_uuid_CHANGE_TO_ME": "f0c44a20-6ad3-0131-5a19-14109fdf0b37",
423
+ "bcl_measure_version_uuid": "f0c46540-6ad3-0131-5a1a-14109fdf0b37",
424
+ "measure_definition_version_uuid_CHANGE_TO_ME": "f0c481e0-6ad3-0131-5a1b-14109fdf0b37",
425
+ "measure_type": "RubyMeasure",
426
+ "name": "set_r_value_of_insulation_for_exterior_walls_to_a_specific_value",
427
+ "display_name": "Set R-value of Insulation for Exterior Walls to a Specific Value",
428
+ "uuid": "f0c49cb0-6ad3-0131-5a1c-14109fdf0b37",
429
+ "variables": [
430
+ {
431
+ "argument": {
432
+ "display_name": "Wall R Value",
433
+ "machine_name": "wall_r_value",
434
+ "name": "r_value",
435
+ "uuid": "a0618d15-bb0b-4494-a72f-8ad628693a7e",
436
+ "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
437
+ },
438
+ "display_name": "Wall R Value",
439
+ "machine_name": "wall_r_value",
440
+ "name": "wall_r_value",
441
+ "minimum": 0.0,
442
+ "maximum": 5.0,
443
+ "units": "",
444
+ "variable": true,
445
+ "variable_ADDME": true,
446
+ "relation_to_output": "",
447
+ "uncertainty_description": {
448
+ "attributes": [
449
+ {
450
+ "name": "modes",
451
+ "value": 2.5
452
+ },
453
+ {
454
+ "name": "lower_bounds",
455
+ "value": 0.0
456
+ },
457
+ {
458
+ "name": "upper_bounds",
459
+ "value": 5.0
460
+ },
461
+ {
462
+ "name": "stddev",
463
+ "value": 0.8333333333333334
464
+ }
465
+ ],
466
+ "type": "triangle_uncertain"
467
+ },
468
+ "uuid": "d157d709-b83e-42bd-bd30-1bc3a7979672",
469
+ "variable_type": "RubyContinuousVariable",
470
+ "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
471
+ }
472
+ ],
473
+ "version_uuid": "f0c4bf00-6ad3-0131-5a1d-14109fdf0b37",
474
+ "workflow_index": 3,
475
+ "workflow_step_type": "Measure"
476
+ },
477
+ {
478
+ "arguments": [
479
+ {
480
+ "display_name": "Increase in Material and Installation Costs for Construction per Area Used ($/ft^2).",
481
+ "machine_name": "increase_in_material_and_installation_costs_for_construction_per_area_used_($/ft^2).",
482
+ "name": "material_cost_increase_ip",
483
+ "value": 0.0,
484
+ "uuid": "f0c63fd0-6ad3-0131-5a2a-14109fdf0b37",
485
+ "version_uuid": "f0c65a70-6ad3-0131-5a2b-14109fdf0b37"
486
+ },
487
+ {
488
+ "display_name": "One Time Retrofit Cost to Add Insulation to Construction ($/ft^2).",
489
+ "machine_name": "one_time_retrofit_cost_to_add_insulation_to_construction_($/ft^2).",
490
+ "name": "one_time_retrofit_cost_ip",
491
+ "value": 0.0,
492
+ "uuid": "f0c67750-6ad3-0131-5a2c-14109fdf0b37",
493
+ "version_uuid": "f0c69710-6ad3-0131-5a2d-14109fdf0b37"
494
+ },
495
+ {
496
+ "display_name": "Year to Incur One Time Retrofit Cost (whole years).",
497
+ "machine_name": "year_to_incur_one_time_retrofit_cost_(whole_years).",
498
+ "name": "years_until_retrofit_cost",
499
+ "value": 0,
500
+ "uuid": "f0c6b550-6ad3-0131-5a2e-14109fdf0b37",
501
+ "version_uuid": "f0c6cff0-6ad3-0131-5a2f-14109fdf0b37"
502
+ }
503
+ ],
504
+ "bcl_measure_directory": "./measures/increase_insulation_r_value_for_roofs",
505
+ "measure_definition_directory_CHANGE_TO_ME": "./measures/increase_insulation_r_value_for_roofs",
506
+ "bcl_measure_class_name_ADDME": "IncreaseInsulationRValueForRoofs",
507
+ "measure_definition_class_name_CHANGE_TO_ME": "IncreaseInsulationRValueForRoofs",
508
+ "measure_definition_class_name": "IncreaseInsulationRValueForRoofs",
509
+ "bcl_measure_uuid": "f0c59270-6ad3-0131-5a24-14109fdf0b37",
510
+ "measure_definition_uuid_CHANGE_TO_ME": "f0c5b010-6ad3-0131-5a25-14109fdf0b37",
511
+ "bcl_measure_version_uuid": "f0c5ce20-6ad3-0131-5a26-14109fdf0b37",
512
+ "measure_definition_version_uuid_CHANGE_TO_ME": "f0c5e8f0-6ad3-0131-5a27-14109fdf0b37",
513
+ "measure_type": "RubyMeasure",
514
+ "name": "set_r_value_of_insulation_for_roofs_to_a_specific_value",
515
+ "display_name": "Set R-value of Insulation for Roofs to a Specific Value",
516
+ "uuid": "f0c603a0-6ad3-0131-5a28-14109fdf0b37",
517
+ "variables": [
518
+ {
519
+ "argument": {
520
+ "display_name": "Roof R Value",
521
+ "machine_name": "roof_r_value",
522
+ "name": "r_value",
523
+ "uuid": "a0618d15-bb0b-4494-a72f-8ad628693a7e",
524
+ "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
525
+ },
526
+ "display_name": "Roof R Value",
527
+ "machine_name": "roof_r_value",
528
+ "name": "roof_r_value",
529
+ "minimum": 0.0,
530
+ "maximum": 5.0,
531
+ "units": "",
532
+ "variable": true,
533
+ "variable_ADDME": true,
534
+ "relation_to_output": "",
535
+ "uncertainty_description": {
536
+ "attributes": [
537
+ {
538
+ "name": "modes",
539
+ "value": 2.5
540
+ },
541
+ {
542
+ "name": "lower_bounds",
543
+ "value": 0.0
544
+ },
545
+ {
546
+ "name": "upper_bounds",
547
+ "value": 5.0
548
+ },
549
+ {
550
+ "name": "stddev",
551
+ "value": 0.8333333333333334
552
+ }
553
+ ],
554
+ "type": "triangle_uncertain"
555
+ },
556
+ "uuid": "d157d709-b83e-42bd-bd30-1bc3a7979672",
557
+ "variable_type": "RubyContinuousVariable",
558
+ "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
559
+ }
560
+ ],
561
+ "version_uuid": "f0c61d30-6ad3-0131-5a29-14109fdf0b37",
562
+ "workflow_index": 4,
563
+ "workflow_step_type": "Measure"
564
+ },
565
+ {
566
+ "arguments": [
567
+ {
568
+ "display_name": "Apply the Measure to a Specific Space Type or to the Entire Model.",
569
+ "machine_name": "apply_the_measure_to_a_specific_space_type_or_to_the_entire_model.",
570
+ "name": "space_type",
571
+ "value": "*Entire Building*",
572
+ "uuid": "f0c7a880-6ad3-0131-5a36-14109fdf0b37",
573
+ "version_uuid": "f0c7c570-6ad3-0131-5a37-14109fdf0b37"
574
+ }
575
+ ],
576
+ "bcl_measure_directory": "./measures/reduce_ventilation_by_percentage",
577
+ "measure_definition_directory_CHANGE_TO_ME": "./measures/reduce_ventilation_by_percentage",
578
+ "bcl_measure_class_name_ADDME": "ReduceVentilationByPercentage",
579
+ "measure_definition_class_name_CHANGE_TO_ME": "ReduceVentilationByPercentage",
580
+ "measure_definition_class_name": "ReduceVentilationByPercentage",
581
+ "bcl_measure_uuid": "f0c6f2c0-6ad3-0131-5a30-14109fdf0b37",
582
+ "measure_definition_uuid_CHANGE_TO_ME": "f0c71070-6ad3-0131-5a31-14109fdf0b37",
583
+ "bcl_measure_version_uuid": "f0c72ed0-6ad3-0131-5a32-14109fdf0b37",
584
+ "measure_definition_version_uuid_CHANGE_TO_ME": "f0c74c10-6ad3-0131-5a33-14109fdf0b37",
585
+ "measure_type": "RubyMeasure",
586
+ "name": "reduce_ventilation_by_percentage",
587
+ "display_name": "Reduce Ventilation By Percentage",
588
+ "uuid": "f0c76960-6ad3-0131-5a34-14109fdf0b37",
589
+ "variables": [
590
+ {
591
+ "argument": {
592
+ "display_name": "Design Specification Outdoor Air Reduction (%).",
593
+ "machine_name": "design_specification_outdoor_air_reduction_(%).",
594
+ "name": "design_spec_outdoor_air_reduction_percent",
595
+ "required": false,
596
+ "uuid": "a0618d15-bb0b-4494-a72f-8ad628693a7e",
597
+ "version_uuid": "b33cf6b0-f1aa-4706-afab-9470e6bd1912"
598
+ },
599
+ "display_name": "Design Specification Outdoor Air Reduction (%).",
600
+ "machine_name": "design_specification_outdoor_air_reduction_(%).",
601
+ "name": "design_specification_outdoor_air_reduction_(%).",
602
+ "units": "",
603
+ "variable": true,
604
+ "variable_ADDME": true,
605
+ "relation_to_output": "",
606
+ "uncertainty_description": {
607
+ "attributes": [
608
+ {
609
+ "name": "discrete",
610
+ "values_and_weights": [
611
+ {
612
+ "value": 0
613
+ },
614
+ {
615
+ "value": 10
616
+ },
617
+ {
618
+ "value": 30
619
+ },
620
+ {
621
+ "value": 60
622
+ },
623
+ {
624
+ "value": 90
625
+ }
626
+ ]
627
+ }
628
+ ],
629
+ "type": "discrete_uncertain"
630
+ },
631
+ "uuid": "d157d709-b83e-42bd-bd30-1bc3a7979672",
632
+ "variable_type": "RubyContinuousVariable",
633
+ "version_uuid": "26e7d8de-83e3-4a53-938b-45d3e0f29953"
634
+ }
635
+ ],
636
+ "version_uuid": "f0c786b0-6ad3-0131-5a35-14109fdf0b37",
637
+ "workflow_index": 5,
638
+ "workflow_step_type": "Measure"
639
+ }
640
+ ],
641
+ "analysis_type": "lhs"
642
+ },
643
+ "seed": {
644
+ "file_type": "OSM",
645
+ "path": "./seed/small_seed.osm"
646
+ },
647
+ "weather_file": {
648
+ "file_type": "EPW",
649
+ "path": "./weather/partial_weather.epw"
650
+ }
651
+ }
652
+ }