urbanopt-geojson 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +24 -0
  3. data/.rakeTasks +7 -0
  4. data/.rdoc_options +43 -0
  5. data/.rspec +2 -0
  6. data/.rubocop.yml +10 -0
  7. data/.travis.yml +35 -0
  8. data/CHANGELOG.md +5 -0
  9. data/Gemfile +27 -0
  10. data/Jenkinsfile +10 -0
  11. data/LICENSE.md +27 -0
  12. data/RDOC_MAIN.md +48 -0
  13. data/README.md +40 -0
  14. data/Rakefile +45 -0
  15. data/deploy_docs.sh +4 -0
  16. data/doc_templates/LICENSE.md +27 -0
  17. data/doc_templates/README.md.erb +42 -0
  18. data/doc_templates/copyright_erb.txt +31 -0
  19. data/doc_templates/copyright_js.txt +4 -0
  20. data/doc_templates/copyright_ruby.txt +29 -0
  21. data/docs/.gitignore +3 -0
  22. data/docs/.vuepress/components/BuildingProperties.vue +12 -0
  23. data/docs/.vuepress/components/DistrictSystemProperties.vue +12 -0
  24. data/docs/.vuepress/components/ElectricalConnectorProperties.vue +12 -0
  25. data/docs/.vuepress/components/ElectricalJunctionProperties.vue +12 -0
  26. data/docs/.vuepress/components/InnerJsonSchema.vue +80 -0
  27. data/docs/.vuepress/components/JsonSchema.vue +12 -0
  28. data/docs/.vuepress/components/RegionProperties.vue +12 -0
  29. data/docs/.vuepress/components/SiteProperties.vue +12 -0
  30. data/docs/.vuepress/components/StaticLink.vue +8 -0
  31. data/docs/.vuepress/components/ThermalConnectorProperties.vue +12 -0
  32. data/docs/.vuepress/components/ThermalJunctionProperties.vue +12 -0
  33. data/docs/.vuepress/config.js +22 -0
  34. data/docs/.vuepress/highlight.js +8 -0
  35. data/docs/.vuepress/public/custom_rdoc_styles.css +64 -0
  36. data/docs/.vuepress/utils.js +17 -0
  37. data/docs/README.md +30 -0
  38. data/docs/doc/created.rid +0 -0
  39. data/docs/package-lock.json +11771 -0
  40. data/docs/package.json +22 -0
  41. data/docs/schemas/building-properties.md +3 -0
  42. data/docs/schemas/district-system-properties.md +3 -0
  43. data/docs/schemas/electrical-connector-properties.md +3 -0
  44. data/docs/schemas/electrical-junction-properties.md +3 -0
  45. data/docs/schemas/region-properties.md +3 -0
  46. data/docs/schemas/site-properties.md +3 -0
  47. data/docs/schemas/thermal-connector-properties.md +3 -0
  48. data/docs/schemas/thermal-junction-properties.md +3 -0
  49. data/lib/measures/.rubocop.yml +5 -0
  50. data/lib/measures/urban_geometry_creation/LICENSE.md +27 -0
  51. data/lib/measures/urban_geometry_creation/README.md +48 -0
  52. data/lib/measures/urban_geometry_creation/README.md.erb +42 -0
  53. data/lib/measures/urban_geometry_creation/measure.rb +199 -0
  54. data/lib/measures/urban_geometry_creation/measure.xml +139 -0
  55. data/lib/measures/urban_geometry_creation/tests/nrel_stm_footprints.geojson +3238 -0
  56. data/lib/measures/urban_geometry_creation/tests/shadowed_tests.rb +80 -0
  57. data/lib/measures/urban_geometry_creation/tests/urban_geometry_creation_test.rb +143 -0
  58. data/lib/measures/urban_geometry_creation_zoning/LICENSE.md +27 -0
  59. data/lib/measures/urban_geometry_creation_zoning/README.md +48 -0
  60. data/lib/measures/urban_geometry_creation_zoning/README.md.erb +42 -0
  61. data/lib/measures/urban_geometry_creation_zoning/measure.rb +203 -0
  62. data/lib/measures/urban_geometry_creation_zoning/measure.xml +133 -0
  63. data/lib/measures/urban_geometry_creation_zoning/tests/nrel_stm_footprints.geojson +3238 -0
  64. data/lib/measures/urban_geometry_creation_zoning/tests/urban_geometry_creation_test.rb +143 -0
  65. data/lib/urbanopt/geojson.rb +41 -0
  66. data/lib/urbanopt/geojson/building.rb +341 -0
  67. data/lib/urbanopt/geojson/district_system.rb +53 -0
  68. data/lib/urbanopt/geojson/extension.rb +63 -0
  69. data/lib/urbanopt/geojson/feature.rb +206 -0
  70. data/lib/urbanopt/geojson/geo_file.rb +154 -0
  71. data/lib/urbanopt/geojson/helper.rb +340 -0
  72. data/lib/urbanopt/geojson/logging.rb +46 -0
  73. data/lib/urbanopt/geojson/mapper_classes.rb +85 -0
  74. data/lib/urbanopt/geojson/model.rb +133 -0
  75. data/lib/urbanopt/geojson/region.rb +55 -0
  76. data/lib/urbanopt/geojson/schema/building_properties.json +358 -0
  77. data/lib/urbanopt/geojson/schema/district_system_properties.json +137 -0
  78. data/lib/urbanopt/geojson/schema/electrical_connector_properties.json +77 -0
  79. data/lib/urbanopt/geojson/schema/electrical_junction_properties.json +64 -0
  80. data/lib/urbanopt/geojson/schema/geojson_schema.json +323 -0
  81. data/lib/urbanopt/geojson/schema/region_properties.json +93 -0
  82. data/lib/urbanopt/geojson/schema/site_properties.json +87 -0
  83. data/lib/urbanopt/geojson/schema/thermal_connector_properties.json +107 -0
  84. data/lib/urbanopt/geojson/schema/thermal_junction_properties.json +83 -0
  85. data/lib/urbanopt/geojson/update_areas.rb +102 -0
  86. data/lib/urbanopt/geojson/validate_geojson.rb +147 -0
  87. data/lib/urbanopt/geojson/version.rb +35 -0
  88. data/lib/urbanopt/geojson/workflows/building.osw +187 -0
  89. data/lib/urbanopt/geojson/workflows/building.osw.out +2806 -0
  90. data/lib/urbanopt/geojson/workflows/district_system.osw +84 -0
  91. data/lib/urbanopt/geojson/workflows/district_system.osw.out +646 -0
  92. data/lib/urbanopt/geojson/zoning.rb +134 -0
  93. data/package-lock.json +3 -0
  94. data/urbanopt-geojson-gem.gemspec +39 -0
  95. metadata +238 -0
@@ -0,0 +1,84 @@
1
+ {
2
+ "feature_type": "District System",
3
+ "seed_file": null,
4
+ "weather_file": null,
5
+ "root_directory": null,
6
+ "run_directory": "./run",
7
+ "file_paths": [
8
+ "./../../../weather/"
9
+ ],
10
+ "measure_paths": [
11
+ "./../../../measures/",
12
+ "./../../../../OpenStudio-measures/NREL working measures/",
13
+ "./../../../../OpenStudio-measures/NREL internal measures/"
14
+ ],
15
+ "steps": [
16
+ {
17
+ "name": "gem_env_report",
18
+ "measure_dir_name": "gem_env_report",
19
+ "arguments": {
20
+ }
21
+ },
22
+ {
23
+ "name": "set_run_period",
24
+ "measure_dir_name": "set_run_period",
25
+ "arguments": {
26
+ "__SKIP__": false,
27
+ "timesteps_per_hour": 4,
28
+ "begin_date": "2017-01-01",
29
+ "end_date": "2017-12-31"
30
+ }
31
+ },
32
+ {
33
+ "name": "ChangeBuildingLocation",
34
+ "measure_dir_name": "ChangeBuildingLocation",
35
+ "arguments": {
36
+ "__SKIP__": false,
37
+ "weather_file_name": "USA_CO_Denver.Intl.AP.725650_TMY3.epw",
38
+ "climate_zone": "5B"
39
+ }
40
+ },
41
+ {
42
+ "name": "urban_geometry_creation",
43
+ "measure_dir_name": "urban_geometry_creation",
44
+ "arguments": {
45
+ "city_db_url": null,
46
+ "project_id": null,
47
+ "feature_id": null,
48
+ "surrounding_buildings": "None"
49
+ }
50
+ },
51
+ {
52
+ "name": "import_district_system_loads",
53
+ "measure_dir_name": "import_district_system_loads",
54
+ "arguments": {
55
+ "city_db_url": null,
56
+ "project_id": null,
57
+ "scenario_id": null,
58
+ "feature_id": null
59
+ }
60
+ },
61
+ {
62
+ "name": "add_district_system",
63
+ "measure_dir_name": "add_district_system",
64
+ "arguments": {
65
+ "district_system_type": null
66
+ }
67
+ },
68
+ {
69
+ "name": "ViewModel",
70
+ "measure_dir_name": "ViewModel",
71
+ "arguments": {
72
+ }
73
+ },
74
+ {
75
+ "name": "datapoint_reports",
76
+ "measure_dir_name": "datapoint_reports",
77
+ "arguments": {
78
+ "city_db_url": null,
79
+ "project_id": null,
80
+ "datapoint_id": null
81
+ }
82
+ }
83
+ ]
84
+ }
@@ -0,0 +1,646 @@
1
+ {
2
+ "feature_type": "District System",
3
+ "seed_file": null,
4
+ "weather_file": null,
5
+ "root_directory": null,
6
+ "run_directory": "./run",
7
+ "file_paths": [
8
+ "./../../../weather/"
9
+ ],
10
+ "measure_paths": [
11
+ "./../../../measures/",
12
+ "./../../../../OpenStudio-measures/NREL working measures/",
13
+ "./../../../../OpenStudio-measures/NREL internal measures/"
14
+ ],
15
+ "steps": [
16
+ {
17
+ "name": "gem_env_report",
18
+ "measure_dir_name": "gem_env_report",
19
+ "arguments": {
20
+ },
21
+ "measure_definition": {
22
+ "name": "gem_environment_report",
23
+ "uid": "3f9f1a2f-0e8a-4c88-b817-10494fc3e73a",
24
+ "uuid": "{3f9f1a2f-0e8a-4c88-b817-10494fc3e73a}",
25
+ "version_id": "c2787324-da95-4957-a79d-6bca7211f5b9",
26
+ "version_uuid": "{c2787324-da95-4957-a79d-6bca7211f5b9}",
27
+ "version_modified": "20170322T154845Z",
28
+ "xml_checksum": "D1F10311",
29
+ "display_name": "gem environment report",
30
+ "class_name": "GemEnvironmentReport",
31
+ "description": "For OpenStudio testing and development; this measure reports out information about the gem path and gems that are available and loaded. Used for debugging different runtime environments.",
32
+ "modeler_description": "For OpenStudio testing and development; this measure reports out information about the gem path and gems that are available and loaded. Used for debugging different runtime environments.",
33
+ "tags": [
34
+ "Reporting.Troubleshooting"
35
+ ],
36
+ "outputs": [
37
+
38
+ ],
39
+ "attributes": [
40
+ {
41
+ "name": "Measure Type",
42
+ "display_name": "Measure Type",
43
+ "value": "ModelMeasure"
44
+ },
45
+ {
46
+ "name": "Intended Software Tool",
47
+ "display_name": "Intended Software Tool",
48
+ "value": "Apply Measure Now"
49
+ },
50
+ {
51
+ "name": "Intended Software Tool",
52
+ "display_name": "Intended Software Tool",
53
+ "value": "OpenStudio Application"
54
+ },
55
+ {
56
+ "name": "Intended Software Tool",
57
+ "display_name": "Intended Software Tool",
58
+ "value": "Parametric Analysis Tool"
59
+ }
60
+ ],
61
+ "arguments": [
62
+
63
+ ],
64
+ "visible": true
65
+ }
66
+ },
67
+ {
68
+ "name": "set_run_period",
69
+ "measure_dir_name": "set_run_period",
70
+ "arguments": {
71
+ "__SKIP__": false,
72
+ "timesteps_per_hour": 4,
73
+ "begin_date": "2017-01-01",
74
+ "end_date": "2017-12-31"
75
+ },
76
+ "measure_definition": {
77
+ "name": "set_run_period",
78
+ "uid": "7a84292a-3975-4ab3-9284-6edabcbe750b",
79
+ "uuid": "{7a84292a-3975-4ab3-9284-6edabcbe750b}",
80
+ "version_id": "d44923db-6aaf-46b6-9d93-3bb27a1816ff",
81
+ "version_uuid": "{d44923db-6aaf-46b6-9d93-3bb27a1816ff}",
82
+ "version_modified": "20170615T203344Z",
83
+ "xml_checksum": "2AF3A68E",
84
+ "display_name": "SetRunPeriod",
85
+ "class_name": "SetRunPeriod",
86
+ "description": "Sets the run period and timestep for simulation",
87
+ "modeler_description": "",
88
+ "tags": [
89
+ "Envelope.Form"
90
+ ],
91
+ "outputs": [
92
+
93
+ ],
94
+ "attributes": [
95
+ {
96
+ "name": "Measure Type",
97
+ "display_name": "Measure Type",
98
+ "value": "ModelMeasure"
99
+ },
100
+ {
101
+ "name": "Intended Software Tool",
102
+ "display_name": "Intended Software Tool",
103
+ "value": "Apply Measure Now"
104
+ },
105
+ {
106
+ "name": "Intended Software Tool",
107
+ "display_name": "Intended Software Tool",
108
+ "value": "OpenStudio Application"
109
+ },
110
+ {
111
+ "name": "Intended Software Tool",
112
+ "display_name": "Intended Software Tool",
113
+ "value": "Parametric Analysis Tool"
114
+ }
115
+ ],
116
+ "arguments": [
117
+ {
118
+ "name": "timesteps_per_hour",
119
+ "display_name": "Timesteps per hour",
120
+ "description": "Number of simulation timesteps per hour",
121
+ "type": "Integer",
122
+ "required": true,
123
+ "model_dependent": false,
124
+ "visible": true
125
+ },
126
+ {
127
+ "name": "begin_date",
128
+ "display_name": "Begin date",
129
+ "description": "Simulation start date, YYYY-MM-DD format",
130
+ "type": "String",
131
+ "required": true,
132
+ "model_dependent": false,
133
+ "visible": true
134
+ },
135
+ {
136
+ "name": "end_date",
137
+ "display_name": "End date",
138
+ "description": "Simulation end date, YYYY-MM-DD format",
139
+ "type": "String",
140
+ "required": true,
141
+ "model_dependent": false,
142
+ "visible": true
143
+ }
144
+ ],
145
+ "visible": true
146
+ }
147
+ },
148
+ {
149
+ "name": "ChangeBuildingLocation",
150
+ "measure_dir_name": "ChangeBuildingLocation",
151
+ "arguments": {
152
+ "__SKIP__": false,
153
+ "weather_file_name": "USA_CO_Denver.Intl.AP.725650_TMY3.epw",
154
+ "climate_zone": "5B"
155
+ },
156
+ "measure_definition": {
157
+ "name": "change_building_location",
158
+ "uid": "d4db4971-f5ba-11e3-a3ac-0800200c9a66",
159
+ "uuid": "{d4db4971-f5ba-11e3-a3ac-0800200c9a66}",
160
+ "version_id": "b3fd6f41-00dd-4ffd-95f0-f3ec03a06fcf",
161
+ "version_uuid": "{b3fd6f41-00dd-4ffd-95f0-f3ec03a06fcf}",
162
+ "version_modified": "20170531T200304Z",
163
+ "xml_checksum": "057E8D9D",
164
+ "display_name": "ChangeBuildingLocation",
165
+ "class_name": "ChangeBuildingLocation",
166
+ "description": "Change the building location",
167
+ "modeler_description": "Change the building location",
168
+ "tags": [
169
+ "Whole Building.Space Types"
170
+ ],
171
+ "outputs": [
172
+
173
+ ],
174
+ "attributes": [
175
+ {
176
+ "name": "Measure Type",
177
+ "display_name": "Measure Type",
178
+ "value": "ModelMeasure"
179
+ },
180
+ {
181
+ "name": "Uses SketchUp API",
182
+ "display_name": "Uses SketchUp API",
183
+ "value": false
184
+ }
185
+ ],
186
+ "arguments": [
187
+ {
188
+ "name": "weather_file_name",
189
+ "display_name": "Weather File Name",
190
+ "description": "Name of the weather file to change to. This is the filename with the extension (e.g. NewWeather.epw). Optionally this can inclucde the full file path, but for most use cases should just be file name.",
191
+ "type": "String",
192
+ "required": true,
193
+ "model_dependent": false,
194
+ "visible": true
195
+ },
196
+ {
197
+ "name": "climate_zone",
198
+ "display_name": "Climate Zone.",
199
+ "description": "",
200
+ "type": "Choice",
201
+ "required": true,
202
+ "model_dependent": false,
203
+ "default_value": "Lookup From Stat File",
204
+ "choice_values": [
205
+ "1A",
206
+ "1B",
207
+ "2A",
208
+ "2B",
209
+ "3A",
210
+ "3B",
211
+ "3C",
212
+ "4A",
213
+ "4B",
214
+ "4C",
215
+ "5A",
216
+ "5B",
217
+ "5C",
218
+ "6A",
219
+ "6B",
220
+ "7",
221
+ "8",
222
+ "Lookup From Stat File"
223
+ ],
224
+ "choice_display_names": [
225
+ "1A",
226
+ "1B",
227
+ "2A",
228
+ "2B",
229
+ "3A",
230
+ "3B",
231
+ "3C",
232
+ "4A",
233
+ "4B",
234
+ "4C",
235
+ "5A",
236
+ "5B",
237
+ "5C",
238
+ "6A",
239
+ "6B",
240
+ "7",
241
+ "8",
242
+ "Lookup From Stat File"
243
+ ],
244
+ "visible": true
245
+ }
246
+ ],
247
+ "visible": true
248
+ }
249
+ },
250
+ {
251
+ "name": "urban_geometry_creation",
252
+ "measure_dir_name": "urban_geometry_creation",
253
+ "arguments": {
254
+ "city_db_url": null,
255
+ "project_id": null,
256
+ "feature_id": null,
257
+ "surrounding_buildings": "None"
258
+ },
259
+ "measure_definition": {
260
+ "name": "urban_geometry_creation",
261
+ "uid": "5ab85d6b-c9af-4361-8ab9-613ee99a5666",
262
+ "uuid": "{5ab85d6b-c9af-4361-8ab9-613ee99a5666}",
263
+ "version_id": "62e39ee5-7fb9-4fc7-92bd-07870aa1a55f",
264
+ "version_uuid": "{62e39ee5-7fb9-4fc7-92bd-07870aa1a55f}",
265
+ "version_modified": "20170515T191742Z",
266
+ "xml_checksum": "D254E772",
267
+ "display_name": "UrbanGeometryCreation",
268
+ "class_name": "UrbanGeometryCreation",
269
+ "description": "This measure queries the URBANopt database for a building then creates geometry for it. Surrounding buildings are included as shading structures.",
270
+ "modeler_description": "",
271
+ "tags": [
272
+ "Envelope.Form"
273
+ ],
274
+ "outputs": [
275
+
276
+ ],
277
+ "attributes": [
278
+ {
279
+ "name": "Measure Type",
280
+ "display_name": "Measure Type",
281
+ "value": "ModelMeasure"
282
+ },
283
+ {
284
+ "name": "Intended Software Tool",
285
+ "display_name": "Intended Software Tool",
286
+ "value": "Apply Measure Now"
287
+ },
288
+ {
289
+ "name": "Intended Software Tool",
290
+ "display_name": "Intended Software Tool",
291
+ "value": "OpenStudio Application"
292
+ },
293
+ {
294
+ "name": "Intended Software Tool",
295
+ "display_name": "Intended Software Tool",
296
+ "value": "Parametric Analysis Tool"
297
+ },
298
+ {
299
+ "name": "Intended Software Tool",
300
+ "display_name": "Intended Software Tool",
301
+ "value": "Analysis Spreadsheet"
302
+ },
303
+ {
304
+ "name": "Intended Use Case",
305
+ "display_name": "Intended Use Case",
306
+ "value": "Model Articulation"
307
+ }
308
+ ],
309
+ "arguments": [
310
+ {
311
+ "name": "city_db_url",
312
+ "display_name": "City Database Url",
313
+ "description": "Url of the City Database",
314
+ "type": "String",
315
+ "required": true,
316
+ "model_dependent": false,
317
+ "default_value": "http://insight4.hpc.nrel.gov:8081/",
318
+ "visible": true
319
+ },
320
+ {
321
+ "name": "project_id",
322
+ "display_name": "Project ID",
323
+ "description": "Project ID.",
324
+ "type": "String",
325
+ "required": true,
326
+ "model_dependent": false,
327
+ "visible": true
328
+ },
329
+ {
330
+ "name": "feature_id",
331
+ "display_name": "Feature ID",
332
+ "description": "Feature ID.",
333
+ "type": "String",
334
+ "required": true,
335
+ "model_dependent": false,
336
+ "visible": true
337
+ },
338
+ {
339
+ "name": "surrounding_buildings",
340
+ "display_name": "Surrounding Buildings",
341
+ "description": "Select which surrounding buildings to include.",
342
+ "type": "Choice",
343
+ "required": true,
344
+ "model_dependent": false,
345
+ "default_value": "ShadingOnly",
346
+ "choice_values": [
347
+ "None",
348
+ "ShadingOnly",
349
+ "All"
350
+ ],
351
+ "choice_display_names": [
352
+ "None",
353
+ "ShadingOnly",
354
+ "All"
355
+ ],
356
+ "visible": true
357
+ }
358
+ ],
359
+ "visible": true
360
+ }
361
+ },
362
+ {
363
+ "name": "import_district_system_loads",
364
+ "measure_dir_name": "import_district_system_loads",
365
+ "arguments": {
366
+ "city_db_url": null,
367
+ "project_id": null,
368
+ "scenario_id": null,
369
+ "feature_id": null
370
+ },
371
+ "measure_definition": {
372
+ "name": "import_district_system_loads",
373
+ "uid": "edadcce2-a22a-4ac9-90a3-25e4de02d2f8",
374
+ "uuid": "{edadcce2-a22a-4ac9-90a3-25e4de02d2f8}",
375
+ "version_id": "8197c207-1679-434a-a932-bd66f4c6eb9c",
376
+ "version_uuid": "{8197c207-1679-434a-a932-bd66f4c6eb9c}",
377
+ "version_modified": "20170516T183101Z",
378
+ "xml_checksum": "45EB89EB",
379
+ "display_name": "Import District System Loads",
380
+ "class_name": "ImportDistrictSystemLoads",
381
+ "description": "Imports District System Loads as Schedules",
382
+ "modeler_description": "",
383
+ "tags": [
384
+ "HVAC.Whole System"
385
+ ],
386
+ "outputs": [
387
+
388
+ ],
389
+ "attributes": [
390
+ {
391
+ "name": "Measure Type",
392
+ "display_name": "Measure Type",
393
+ "value": "ModelMeasure"
394
+ },
395
+ {
396
+ "name": "Intended Use Case",
397
+ "display_name": "Intended Use Case",
398
+ "value": "Model Articulation"
399
+ }
400
+ ],
401
+ "arguments": [
402
+ {
403
+ "name": "city_db_url",
404
+ "display_name": "City Database Url",
405
+ "description": "Url of the City Database",
406
+ "type": "String",
407
+ "required": true,
408
+ "model_dependent": false,
409
+ "default_value": "http://insight4.hpc.nrel.gov:8081/",
410
+ "visible": true
411
+ },
412
+ {
413
+ "name": "project_id",
414
+ "display_name": "Project ID",
415
+ "description": "Project ID.",
416
+ "type": "String",
417
+ "required": true,
418
+ "model_dependent": false,
419
+ "visible": true
420
+ },
421
+ {
422
+ "name": "scenario_id",
423
+ "display_name": "Scenario ID",
424
+ "description": "Scenario ID.",
425
+ "type": "String",
426
+ "required": true,
427
+ "model_dependent": false,
428
+ "visible": true
429
+ },
430
+ {
431
+ "name": "feature_id",
432
+ "display_name": "Feature ID",
433
+ "description": "Feature ID.",
434
+ "type": "String",
435
+ "required": true,
436
+ "model_dependent": false,
437
+ "visible": true
438
+ }
439
+ ],
440
+ "visible": true
441
+ }
442
+ },
443
+ {
444
+ "name": "add_district_system",
445
+ "measure_dir_name": "add_district_system",
446
+ "arguments": {
447
+ "district_system_type": null
448
+ },
449
+ "measure_definition": {
450
+ "name": "add_district_system",
451
+ "uid": "5c781ee3-b77c-4a71-ac0d-5ad19863c96b",
452
+ "uuid": "{5c781ee3-b77c-4a71-ac0d-5ad19863c96b}",
453
+ "version_id": "39876a27-50c6-41c4-a7df-5f1c94ae9d33",
454
+ "version_uuid": "{39876a27-50c6-41c4-a7df-5f1c94ae9d33}",
455
+ "version_modified": "20170516T015652Z",
456
+ "xml_checksum": "A7890DC7",
457
+ "display_name": "Add district system",
458
+ "class_name": "AddDistrictSystem",
459
+ "description": "Add district system",
460
+ "modeler_description": "Add district system",
461
+ "tags": [
462
+ "HVAC.Whole System"
463
+ ],
464
+ "outputs": [
465
+
466
+ ],
467
+ "attributes": [
468
+ {
469
+ "name": "Measure Type",
470
+ "display_name": "Measure Type",
471
+ "value": "ModelMeasure"
472
+ },
473
+ {
474
+ "name": "Intended Software Tool",
475
+ "display_name": "Intended Software Tool",
476
+ "value": "Apply Measure Now"
477
+ },
478
+ {
479
+ "name": "Intended Software Tool",
480
+ "display_name": "Intended Software Tool",
481
+ "value": "OpenStudio Application"
482
+ },
483
+ {
484
+ "name": "Intended Software Tool",
485
+ "display_name": "Intended Software Tool",
486
+ "value": "Parametric Analysis Tool"
487
+ },
488
+ {
489
+ "name": "Intended Use Case",
490
+ "display_name": "Intended Use Case",
491
+ "value": "Model Articulation"
492
+ },
493
+ {
494
+ "name": "Intended Use Case",
495
+ "display_name": "Intended Use Case",
496
+ "value": "New Construction EE"
497
+ },
498
+ {
499
+ "name": "Intended Use Case",
500
+ "display_name": "Intended Use Case",
501
+ "value": "Retrofit EE"
502
+ }
503
+ ],
504
+ "arguments": [
505
+ {
506
+ "name": "district_system_type",
507
+ "display_name": "System Type",
508
+ "description": "Type of central system.",
509
+ "type": "Choice",
510
+ "required": true,
511
+ "model_dependent": false,
512
+ "default_value": "None",
513
+ "choice_values": [
514
+ "None",
515
+ "Community Photovoltaic",
516
+ "Central Hot and Chilled Water",
517
+ "Ambient Loop"
518
+ ],
519
+ "choice_display_names": [
520
+ "None",
521
+ "Community Photovoltaic",
522
+ "Central Hot and Chilled Water",
523
+ "Ambient Loop"
524
+ ],
525
+ "visible": true
526
+ }
527
+ ],
528
+ "visible": true
529
+ }
530
+ },
531
+ {
532
+ "name": "ViewModel",
533
+ "measure_dir_name": "ViewModel",
534
+ "arguments": {
535
+ },
536
+ "measure_definition": {
537
+ "name": "view_model",
538
+ "uid": "f4669f10-fda5-489d-8e1c-7ca3c2d40378",
539
+ "uuid": "{f4669f10-fda5-489d-8e1c-7ca3c2d40378}",
540
+ "version_id": "bd64b522-f949-4210-ac7d-73a75ee27763",
541
+ "version_uuid": "{bd64b522-f949-4210-ac7d-73a75ee27763}",
542
+ "version_modified": "20170428T221620Z",
543
+ "xml_checksum": "1E1F8B97",
544
+ "display_name": "ViewModel",
545
+ "class_name": "ViewModel",
546
+ "description": "Visualize an OpenStudio model in a web based viewer",
547
+ "modeler_description": "Converts the OpenStudio model to vA3C JSON format and renders using Three.js",
548
+ "tags": [
549
+ "Reporting.QAQC"
550
+ ],
551
+ "outputs": [
552
+
553
+ ],
554
+ "attributes": [
555
+ {
556
+ "name": "Measure Type",
557
+ "display_name": "Measure Type",
558
+ "value": "ModelMeasure"
559
+ },
560
+ {
561
+ "name": "Uses SketchUp API",
562
+ "display_name": "Uses SketchUp API",
563
+ "value": false
564
+ }
565
+ ],
566
+ "arguments": [
567
+
568
+ ],
569
+ "visible": true
570
+ }
571
+ },
572
+ {
573
+ "name": "datapoint_reports",
574
+ "measure_dir_name": "datapoint_reports",
575
+ "arguments": {
576
+ "city_db_url": null,
577
+ "project_id": null,
578
+ "datapoint_id": null
579
+ },
580
+ "measure_definition": {
581
+ "name": "datapoint_reports",
582
+ "uid": "635ed4fb-6d66-42df-8d2f-26f652f8fd01",
583
+ "uuid": "{635ed4fb-6d66-42df-8d2f-26f652f8fd01}",
584
+ "version_id": "33328acc-00e4-40cb-8dd9-235baf34fd2f",
585
+ "version_uuid": "{33328acc-00e4-40cb-8dd9-235baf34fd2f}",
586
+ "version_modified": "20170615T212726Z",
587
+ "xml_checksum": "FB304155",
588
+ "display_name": "DatapointReports",
589
+ "class_name": "DatapointReports",
590
+ "description": "Updates Datapoint in CityDB with simulation results",
591
+ "modeler_description": "",
592
+ "tags": [
593
+ "Reporting.QAQC"
594
+ ],
595
+ "outputs": [
596
+
597
+ ],
598
+ "attributes": [
599
+ {
600
+ "name": "Measure Type",
601
+ "display_name": "Measure Type",
602
+ "value": "ReportingMeasure"
603
+ },
604
+ {
605
+ "name": "Intended Use Case",
606
+ "display_name": "Intended Use Case",
607
+ "value": "Automatic Report Generation"
608
+ }
609
+ ],
610
+ "arguments": [
611
+ {
612
+ "name": "city_db_url",
613
+ "display_name": "City Database Url",
614
+ "description": "Url of the City Database",
615
+ "type": "String",
616
+ "required": true,
617
+ "model_dependent": false,
618
+ "default_value": "",
619
+ "visible": true
620
+ },
621
+ {
622
+ "name": "project_id",
623
+ "display_name": "Project ID",
624
+ "description": "Project ID to generate reports for.",
625
+ "type": "String",
626
+ "required": true,
627
+ "model_dependent": false,
628
+ "default_value": "0",
629
+ "visible": true
630
+ },
631
+ {
632
+ "name": "datapoint_id",
633
+ "display_name": "Datapoint ID",
634
+ "description": "Datapoint ID to generate reports for.",
635
+ "type": "String",
636
+ "required": true,
637
+ "model_dependent": false,
638
+ "default_value": "0",
639
+ "visible": true
640
+ }
641
+ ],
642
+ "visible": true
643
+ }
644
+ }
645
+ ]
646
+ }