urbanopt-scenario 0.2.0 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +5 -5
  2. data/.github/pull_request_template.md +2 -2
  3. data/.gitignore +2 -0
  4. data/.rubocop.yml +1 -1
  5. data/CHANGELOG.md +53 -0
  6. data/CONTRIBUTING.md +1 -1
  7. data/Gemfile +27 -14
  8. data/Jenkinsfile +1 -1
  9. data/LICENSE.md +1 -1
  10. data/RDOC_MAIN.md +1 -1
  11. data/README.md +1 -1
  12. data/Rakefile +2 -2
  13. data/docs/README.md +1 -1
  14. data/docs/package-lock.json +2499 -2322
  15. data/docs/package.json +13 -9
  16. data/lib/urbanopt-scenario.rb +1 -1
  17. data/lib/urbanopt/scenario.rb +2 -1
  18. data/lib/urbanopt/scenario/default_reports.rb +3 -8
  19. data/lib/urbanopt/scenario/extension.rb +1 -1
  20. data/lib/urbanopt/scenario/logger.rb +1 -1
  21. data/lib/urbanopt/scenario/scenario_base.rb +1 -1
  22. data/lib/urbanopt/scenario/scenario_csv.rb +22 -9
  23. data/lib/urbanopt/scenario/scenario_datapoint_base.rb +8 -1
  24. data/lib/urbanopt/scenario/scenario_post_processor_base.rb +1 -1
  25. data/lib/urbanopt/scenario/scenario_post_processor_default.rb +110 -8
  26. data/lib/urbanopt/scenario/scenario_post_processor_opendss.rb +6 -7
  27. data/lib/urbanopt/scenario/scenario_runner_base.rb +2 -2
  28. data/lib/urbanopt/scenario/scenario_runner_osw.rb +23 -9
  29. data/lib/urbanopt/scenario/scenario_visualization.rb +236 -0
  30. data/lib/urbanopt/scenario/simulation_dir_base.rb +1 -1
  31. data/lib/urbanopt/scenario/simulation_dir_osw.rb +2 -9
  32. data/lib/urbanopt/scenario/simulation_mapper_base.rb +1 -1
  33. data/lib/urbanopt/scenario/version.rb +2 -2
  34. data/package-lock.json +3 -0
  35. data/urbanopt-scenario-gem.gemspec +14 -14
  36. metadata +71 -77
  37. data/doc_templates/LICENSE.md +0 -27
  38. data/doc_templates/README.md.erb +0 -42
  39. data/doc_templates/copyright_erb.txt +0 -31
  40. data/doc_templates/copyright_js.txt +0 -4
  41. data/doc_templates/copyright_ruby.txt +0 -29
  42. data/lib/change_log.rb +0 -147
  43. data/lib/measures/.rubocop.yml +0 -5
  44. data/lib/measures/default_feature_reports/LICENSE.md +0 -27
  45. data/lib/measures/default_feature_reports/README.md +0 -56
  46. data/lib/measures/default_feature_reports/README.md.erb +0 -42
  47. data/lib/measures/default_feature_reports/measure.rb +0 -979
  48. data/lib/measures/default_feature_reports/measure.xml +0 -143
  49. data/lib/measures/default_feature_reports/tests/USA_CO_Golden-NREL.724666_TMY3.epw +0 -8768
  50. data/lib/measures/default_feature_reports/tests/default_feature_reports_test.rb +0 -238
  51. data/lib/measures/default_feature_reports/tests/example_model.osm +0 -4378
  52. data/lib/urbanopt/scenario/default_reports/construction_cost.rb +0 -169
  53. data/lib/urbanopt/scenario/default_reports/date.rb +0 -97
  54. data/lib/urbanopt/scenario/default_reports/distributed_generation.rb +0 -379
  55. data/lib/urbanopt/scenario/default_reports/end_use.rb +0 -159
  56. data/lib/urbanopt/scenario/default_reports/end_uses.rb +0 -140
  57. data/lib/urbanopt/scenario/default_reports/feature_report.rb +0 -267
  58. data/lib/urbanopt/scenario/default_reports/generator.rb +0 -92
  59. data/lib/urbanopt/scenario/default_reports/location.rb +0 -99
  60. data/lib/urbanopt/scenario/default_reports/logger.rb +0 -44
  61. data/lib/urbanopt/scenario/default_reports/power_distribution.rb +0 -102
  62. data/lib/urbanopt/scenario/default_reports/program.rb +0 -266
  63. data/lib/urbanopt/scenario/default_reports/reporting_period.rb +0 -301
  64. data/lib/urbanopt/scenario/default_reports/scenario_report.rb +0 -317
  65. data/lib/urbanopt/scenario/default_reports/schema/README.md +0 -33
  66. data/lib/urbanopt/scenario/default_reports/schema/scenario_csv_columns.txt +0 -32
  67. data/lib/urbanopt/scenario/default_reports/schema/scenario_schema.json +0 -853
  68. data/lib/urbanopt/scenario/default_reports/solar_pv.rb +0 -93
  69. data/lib/urbanopt/scenario/default_reports/storage.rb +0 -105
  70. data/lib/urbanopt/scenario/default_reports/timeseries_csv.rb +0 -299
  71. data/lib/urbanopt/scenario/default_reports/validator.rb +0 -97
  72. data/lib/urbanopt/scenario/default_reports/wind.rb +0 -92
@@ -1,33 +0,0 @@
1
- # URBANopt Scenario Schema
2
-
3
- The URBANopt Scenario Gem includes functionality for defining scenarios, running simulations, and post-processing results. An URBANopt Scenario describes a specific set of options to apply to each Feature in a FeatureFile (e.g. each GeoJSON Feature in an URBANopt GeoJSON File). User defined SimulationMapper classes translate each Feature to a SimulationDir which is a directory containing simulation input files. A ScenarioRunner is used to perform simulations for each SimulationDir. Finally, a ScenarioPostProcessor can run on a Scenario to generate scenario level results. The [URBANopt Scenario Gem Design Document](https://docs.google.com/document/d/1ExcGuHliaSvPlrYevAJTSV8XAtTQXz_KQqH3p4iQDwg/edit) describes the gem in more detail. The [URBANopt Example Project](https://github.com/urbanopt/urbanopt-example-project) demonstrates how to use the URBANopt Scenario Gem to perform a scenario analysis.
4
-
5
- ## Reporting output units
6
-
7
- **JSON Output Units**
8
-
9
- - energy outputs: kbtu
10
- - water rate outputs : GPM (gallon per minute)
11
- - mass flow rate outputs : lbs/min
12
- - Temperature outputs : °F
13
- - area output: sf
14
- - measured distance output: ft
15
- - cost outputs: $
16
-
17
- **CSV Output Units**
18
-
19
- | output | unit |
20
- | -----------------------------------------| ------- |
21
- | Electricity:Facility | kWh |
22
- | ElectricityProduced:Facility | kWh |
23
- | Gas:Facility | kBtu |
24
- | DistrictCooling:Facility | kWh |
25
- | DistrictHeating:Facility | kWh |
26
- | District Cooling Chilled Water Rate | GPM |
27
- | District Cooling Mass Flow Rate | kg/s |
28
- | District Cooling Inlet Temperature | °C |
29
- | District Cooling Outlet Temperature | °C |
30
- | District Heating Hot Water Rate | GPM |
31
- | District Heating Mass Flow Rate | kg/s |
32
- | District Heating Inlet Temperature | °C |
33
- | District Heating Outlet Temperature | °C |
@@ -1,32 +0,0 @@
1
- Datetime
2
- Electricity:Facility
3
- ElectricityProduced:Facility
4
- Gas:Facility
5
- Cooling:Electricity
6
- Heating:Electricity
7
- InteriorLights:Electricity
8
- ExteriorLights:Electricity
9
- InteriorEquipment:Electricity
10
- Fans:Electricity
11
- Pumps:Electricity
12
- WaterSystems:Electricity
13
- Heating:Gas
14
- WaterSystems:Gas
15
- InteriorEquipment:Gas
16
- DistrictCooling:Facility
17
- DistrictHeating:Facility
18
- District Cooling Chilled Water Rate
19
- District Cooling Mass Flow Rate
20
- District Cooling Inlet Temperature
21
- District Cooling Outlet Temperature
22
- District Heating Hot Water Rate
23
- District Heating Mass Flow Rate
24
- District Heating Inlet Temperature
25
- District Heating Outlet Temperature
26
- Net Electric Energy
27
- Electricity:Facility Power
28
- ElectricityProduced:Facility Power
29
- Electricity:Facility Apparent Power
30
- ElectricityProduced:Facility Apparent Power
31
- Net Power
32
- Net Apparent Power
@@ -1,853 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-04/schema#",
3
- "description": "Comment describing your JSON Schema",
4
- "type": "object",
5
- "properties": {
6
- "scenario_report": {
7
- "$ref": "#/definitions/ScenarioReport"
8
- },
9
- "feature_reports": {
10
- "description": "features of each data point in the scenario",
11
- "type": "array",
12
- "items": {
13
- "$ref": "#/definitions/FeatureReport"
14
- }
15
- }
16
- },
17
- "required": [
18
- "scenario_report"
19
- ],
20
- "additionalProperties": false,
21
- "definitions": {
22
- "ScenarioReport": {
23
- "type": "object",
24
- "properties": {
25
- "id": {
26
- "type": "string"
27
- },
28
- "name": {
29
- "type": "string"
30
- },
31
- "directory_name": {
32
- "type": "string"
33
- },
34
- "timesteps_per_hour": {
35
- "$ref": "#/definitions/TimestepsPerHour"
36
- },
37
- "number_of_not_started_simulations": {
38
- "type": "number"
39
- },
40
- "number_of_started_simulations": {
41
- "type": "number"
42
- },
43
- "number_of_complete_simulations": {
44
- "type": "number"
45
- },
46
- "number_of_failed_simulations": {
47
- "type": "number"
48
- },
49
- "location": {
50
- "$ref": "#/definitions/Location"
51
- },
52
- "timeseries_csv": {
53
- "$ref": "#/definitions/TimeseriesCSV"
54
- },
55
- "program": {
56
- "$ref": "#/definitions/Program"
57
- },
58
- "construction_costs": {
59
- "$ref": "#/definitions/ConstructionCosts"
60
- },
61
- "reporting_periods": {
62
- "$ref": "#/definitions/ReportingPeriods"
63
- },
64
- "distributed_generation": {
65
- "$ref": "#/definitions/DistributedGeneration"
66
- }
67
- },
68
- "required": [
69
- "id",
70
- "name",
71
- "directory_name",
72
- "timesteps_per_hour",
73
- "number_of_not_started_simulations",
74
- "number_of_started_simulations",
75
- "number_of_complete_simulations",
76
- "number_of_failed_simulations",
77
- "program"
78
- ],
79
- "additionalProperties": false
80
- },
81
- "DistributedGeneration": {
82
- "type": "object",
83
- "properties": {
84
- "lcc_us_dollars": {
85
- "description": "Optimal lifecycle cost",
86
- "type": "number"
87
- },
88
- "npv_us_dollars": {
89
- "description": "Net present value of savings realized by the project",
90
- "type": "number"
91
- },
92
- "year_one_energy_cost_us_dollars": {
93
- "description": "Optimal year one utility energy cost",
94
- "type": "number"
95
- },
96
- "year_one_demand_cost_us_dollars": {
97
- "description": "Optimal year one utility demand cost",
98
- "type": "number"
99
- },
100
- "year_one_bill_us_dollars": {
101
- "description": "Optimal year one utility bill",
102
- "type": "number"
103
- },
104
- "total_energy_cost_us_dollars": {
105
- "description": "Total utility energy cost over the lifecycle, after-tax",
106
- "type": "number"
107
- },
108
- "SolarPV": {
109
- "$ref": "#/definitions/SolarPV"
110
- },
111
- "Wind": {
112
- "$ref": "#/definitions/Wind"
113
- },
114
- "Generator": {
115
- "$ref": "#/definitions/Generator"
116
- },
117
- "Storage": {
118
- "$ref": "#/definitions/Storage"
119
- }
120
- }
121
- },
122
- "SolarPV": {
123
- "type": "object",
124
- "properties": {
125
- "size_kw": {
126
- "description": "rated power in kW",
127
- "type": "string"
128
- }
129
- }
130
- },
131
- "Wind": {
132
- "type": "object",
133
- "properties": {
134
- "size_kw": {
135
- "description": "rated power in kW",
136
- "type": "string"
137
- }
138
- }
139
- },
140
- "Generator": {
141
- "type": "object",
142
- "properties": {
143
- "size_kw": {
144
- "description": "rated power in kW",
145
- "type": "string"
146
- }
147
- }
148
- },
149
- "Storage": {
150
- "type": "object",
151
- "properties": {
152
- "size_kw": {
153
- "description": "rated power in kW",
154
- "type": "string"
155
- },
156
- "size_kw": {
157
- "description": "rated capacity in kWh",
158
- "type": "string"
159
- }
160
- }
161
- },
162
- "FeatureReport": {
163
- "type": "object",
164
- "properties": {
165
- "id": {
166
- "description": "Id refers to the id of a building/feature",
167
- "type": "string"
168
- },
169
- "name": {
170
- "description": "name refers to the name of the feature (eg. Building 1, tranformer 5)",
171
- "type": "string"
172
- },
173
- "directory_name": {
174
- "type": "string"
175
- },
176
- "feature_type": {
177
- "type": "string",
178
- "enum": [
179
- "Building",
180
- "District System",
181
- "Transformer"
182
- ]
183
- },
184
- "timesteps_per_hour": {
185
- "$ref": "#/definitions/TimestepsPerHour"
186
- },
187
- "simulation_status": {
188
- "type": "string",
189
- "enum": [
190
- "Not Started",
191
- "Started",
192
- "Complete",
193
- "Failed"
194
- ]
195
- },
196
- "timeseries_csv": {
197
- "$ref": "#/definitions/TimeseriesCSV"
198
- },
199
- "location": {
200
- "$ref": "#/definitions/Location"
201
- },
202
- "program": {
203
- "$ref": "#/definitions/Program"
204
- },
205
- "design_parameters": {
206
- "$ref": "#/definitions/DesignParameters"
207
- },
208
- "construction_costs": {
209
- "$ref": "#/definitions/ConstructionCosts"
210
- },
211
- "reporting_periods": {
212
- "$ref": "#/definitions/ReportingPeriods"
213
- },
214
- "distributed_generation": {
215
- "$ref": "#/definitions/DistributedGeneration"
216
- },
217
- "power_distribution": {
218
- "$ref": "#/definitions/PowerDistribution"
219
- }
220
- },
221
- "required": [
222
- "id",
223
- "name",
224
- "directory_name",
225
- "feature_type",
226
- "timesteps_per_hour",
227
- "simulation_status"
228
- ],
229
- "additionalProperties": false
230
- },
231
- "ReportingPeriods": {
232
- "type": "array",
233
- "items": {
234
- "$ref": "#/definitions/ReportingPeriod"
235
- }
236
- },
237
- "ReportingPeriod": {
238
- "description": "Non-overlapping reporting periods",
239
- "type": "object",
240
- "properties": {
241
- "id": {
242
- "description": "Id refers to the id of the reporting period. Ids of reporting periods are matched across simulations, so the same period of time gets the same id for all simulations.",
243
- "type": "number"
244
- },
245
- "name": {
246
- "description": "name refers to the name of the reporting period(eg. Annual, January)",
247
- "type": "string"
248
- },
249
- "multiplier": {
250
- "description": "Multiplier used if this reporting period is representative of mulitple periods. For example one week simulation that represents entire month.",
251
- "type": "number",
252
- "default": 1
253
- },
254
- "start_date": {
255
- "$ref": "#/definitions/Date"
256
- },
257
- "end_date": {
258
- "$ref": "#/definitions/Date"
259
- },
260
- "total_site_energy": {
261
- "description": "Total energy used on site, does not include generation (kBtu)",
262
- "type": "number"
263
- },
264
- "total_source_energy": {
265
- "description": "Total source energy used, does not include generation (kBtu)",
266
- "type": "number"
267
- },
268
- "net_site_energy": {
269
- "description": "Net site energy (kBtu)",
270
- "type": "number"
271
- },
272
- "net_source_energy": {
273
- "description": "Net source energy (kBtu)",
274
- "type": "number"
275
- },
276
- "net_utility_cost": {
277
- "description": "Total utility cost for reporting period includes generation",
278
- "type": "number"
279
- },
280
- "electricity": {
281
- "description": "Sum of all electricity used, does not include electricity produced (kWh)",
282
- "type": "number"
283
- },
284
- "natural_gas": {
285
- "description": "Sum of all natural gas end uses consumption (kBtu)",
286
- "type": "number"
287
- },
288
- "additional_fuel": {
289
- "description": "Sum of all additional fuel end uses consumption (kBtu)",
290
- "type": "number"
291
- },
292
- "district_cooling": {
293
- "description": "Sum of all distric cooling end uses consumption (kBtu)",
294
- "type": "number"
295
- },
296
- "district_heating": {
297
- "description": "Sum of all distric heating end uses consumption (kBtu)",
298
- "type": "number"
299
- },
300
- "water": {
301
- "description": "Sum of all water end uses consumption (ft^3)",
302
- "type": "number"
303
- },
304
- "electricity_produced": {
305
- "description": "Sum of all electricity produced (kWh)",
306
- "type": "number"
307
- },
308
- "end_uses": {
309
- "$ref": "#/definitions/EndUses"
310
- },
311
- "energy_production": {
312
- "description": "Energy produced for reporting period. Electricity reported in kWh, water in m^3, all others in kBtu.",
313
- "type": "object",
314
- "properties": {
315
- "electricity_produced": {
316
- "type": "object",
317
- "properties": {
318
- "photovoltaic": {
319
- "type": "number"
320
- }
321
- },
322
- "additionalProperties": false
323
- }
324
- },
325
- "additionalProperties": false
326
- },
327
- "utility_costs": {
328
- "type": "array",
329
- "items": {
330
- "$ref": "#/definitions/UtilityCost"
331
- }
332
- },
333
- "comfort_result": {
334
- "$ref": "#/definitions/ComfortResult"
335
- }
336
- },
337
- "additionalProperties": false
338
- },
339
- "Date": {
340
- "type": "object",
341
- "properties": {
342
- "month": {
343
- "type": "integer"
344
- },
345
- "day_of_month": {
346
- "type": "integer"
347
- },
348
- "year": {
349
- "type": "integer"
350
- }
351
- },
352
- "additionalProperties": false
353
- },
354
- "EndUses": {
355
- "description": "End uses for reporting period. Does not include energy produced. Electricity reported in kWh, water in m^3, all others in kBtu.",
356
- "type": "object",
357
- "properties": {
358
- "electricity": {
359
- "$ref": "#/definitions/EndUse"
360
- },
361
- "natural_gas": {
362
- "$ref": "#/definitions/EndUse"
363
- },
364
- "additional_fuel": {
365
- "$ref": "#/definitions/EndUse"
366
- },
367
- "district_cooling": {
368
- "$ref": "#/definitions/EndUse"
369
- },
370
- "district_heating": {
371
- "$ref": "#/definitions/EndUse"
372
- },
373
- "water": {
374
- "$ref": "#/definitions/EndUse"
375
- }
376
- },
377
- "additionalProperties": false
378
- },
379
- "EndUse": {
380
- "type": "object",
381
- "properties": {
382
- "heating": {
383
- "type": "number"
384
- },
385
- "cooling": {
386
- "type": "number"
387
- },
388
- "interior_lighting": {
389
- "type": "number"
390
- },
391
- "exterior_lighting": {
392
- "type": "number"
393
- },
394
- "interior_equipment": {
395
- "type": "number"
396
- },
397
- "exterior_equipment": {
398
- "type": "number"
399
- },
400
- "fans": {
401
- "type": "number"
402
- },
403
- "pumps": {
404
- "type": "number"
405
- },
406
- "heat_rejection": {
407
- "type": "number"
408
- },
409
- "humidification": {
410
- "type": "number"
411
- },
412
- "heat_recovery": {
413
- "type": "number"
414
- },
415
- "water_systems": {
416
- "type": "number"
417
- },
418
- "refrigeration": {
419
- "type": "number"
420
- },
421
- "generators": {
422
- "type": "number"
423
- }
424
- },
425
- "additionalProperties": false
426
- },
427
- "ComfortResult": {
428
- "type": "object",
429
- "properties": {
430
- "time_setpoint_not_met_during_occupied_cooling": {
431
- "description": "(hrs)",
432
- "type": "number"
433
- },
434
- "time_setpoint_not_met_during_occupied_heating": {
435
- "description": "(hrs)",
436
- "type": "number"
437
- },
438
- "time_setpoint_not_met_during_occupied_hours": {
439
- "description": "(hrs)",
440
- "type": "number"
441
- },
442
- "hours_out_of_comfort_bounds_PMV": {
443
- "type": "number"
444
- },
445
- "hours_out_of_comfort_bounds_PPD": {
446
- "type": "number"
447
- }
448
- },
449
- "additionalProperties": false
450
- },
451
- "ConstructionCosts": {
452
- "type": "array",
453
- "items": {
454
- "$ref": "#/definitions/ConstructionCost"
455
- }
456
- },
457
- "ConstructionCost": {
458
- "description": "Program related information, does not change in time",
459
- "type": "object",
460
- "properties": {
461
- "category": {
462
- "type": "string",
463
- "enum": [
464
- "Construction",
465
- "Building",
466
- "Space",
467
- "ThermalZone",
468
- "AirLoop",
469
- "PlantLoop",
470
- "ZoneHVAC",
471
- "Lights",
472
- "Luminaire",
473
- "Equipment",
474
- "HVACComponent",
475
- "ZoneHVACComponent"
476
- ]
477
- },
478
- "item_name": {
479
- "description": "Name of the item being costed, e.g. the name of the exterior wall construction",
480
- "type": "string"
481
- },
482
- "unit_cost": {
483
- "description": "Cost per unit of item, e.g. cost per area of construction. This can be adjusted in post processing.",
484
- "type": "number"
485
- },
486
- "cost_units": {
487
- "description": "Unit of cost for this item",
488
- "type": "string",
489
- "enum": [
490
- "CostPerEach",
491
- "CostPerFt2",
492
- "CostPerKW",
493
- "CostPerCFM"
494
- ]
495
- },
496
- "item_quantity": {
497
- "description": "Amount of the item in units corresponding to cost_units",
498
- "type": "number"
499
- },
500
- "total_cost": {
501
- "description": "Total cost is unit_cost multiplied by item_quantity. Can be updated if unit_cost is changed.",
502
- "type": "number"
503
- }
504
- },
505
- "additionalProperties": false
506
- },
507
- "UtilityCost": {
508
- "type": "object",
509
- "properties": {
510
- "fuel_type": {
511
- "type": "string",
512
- "enum": [
513
- "Electricity",
514
- "Natural Gas",
515
- "District Cooling",
516
- "District Heating",
517
- "Additional Fuel",
518
- "Water"
519
- ]
520
- },
521
- "total_cost": {
522
- "description": "($)",
523
- "type": "number"
524
- },
525
- "usage_cost": {
526
- "description": "($)",
527
- "type": "number"
528
- },
529
- "demand_cost": {
530
- "description": "($)",
531
- "type": "number"
532
- }
533
- },
534
- "additionalProperties": false
535
- },
536
- "Location": {
537
- "type": "object",
538
- "properties": {
539
- "latitude": {
540
- "description": "(deg)",
541
- "type": "number"
542
- },
543
- "longitude": {
544
- "description": "(deg)",
545
- "type": "number"
546
- },
547
- "surface_elevation": {
548
- "description": "The surface elevation (above NAVD88 datum) (ft).",
549
- "type": "number"
550
- },
551
- "weather_filename": {
552
- "description": "Name of EPW weather file.",
553
- "type": "string"
554
- }
555
- },
556
- "additionalProperties": false
557
- },
558
- "TimestepsPerHour": {
559
- "type": "integer",
560
- "minimum": 1,
561
- "maximum": 60
562
- },
563
- "Program": {
564
- "type": "object",
565
- "properties": {
566
- "site_area": {
567
- "description": "Area of the entire site or lot (ft^2)",
568
- "type": "number"
569
- },
570
- "floor_area": {
571
- "description": "Building gross floor area (ft^2)",
572
- "type": "number"
573
- },
574
- "conditioned_area": {
575
- "description": "Building conditioned floor area (ft^2)",
576
- "type": "number"
577
- },
578
- "unconditioned_area": {
579
- "description": "Building unconditioned floor area (ft^2)",
580
- "type": "number"
581
- },
582
- "footprint_area": {
583
- "description": "Building floorprint area (ft^2)",
584
- "type": "number"
585
- },
586
- "maximum_roof_height": {
587
- "description": "Maximum height of the roof relative to surface elevation (ft)",
588
- "type": "number"
589
- },
590
- "maximum_number_of_stories": {
591
- "description": "The maximum number of building stories, sum of number of above and below ground stories.",
592
- "type": "number"
593
- },
594
- "maximum_number_of_stories_above_ground": {
595
- "description": "The maximum number of building stories above ground",
596
- "type": "number"
597
- },
598
- "parking_area": {
599
- "description": "Parking gross area (ft^2)",
600
- "type": "number"
601
- },
602
- "number_of_parking_spaces": {
603
- "description": "Number of parking spaces",
604
- "type": "number"
605
- },
606
- "number_of_parking_spaces_charging": {
607
- "description": "Number of parking spaces with electric vehicle charging",
608
- "type": "number"
609
- },
610
- "parking_footprint_area": {
611
- "description": "Parking floorprint area (ft^2)",
612
- "type": "number"
613
- },
614
- "maximum_parking_height": {
615
- "description": "Maximum height of the parking structure relative to surface elevation (ft)",
616
- "type": "number"
617
- },
618
- "maximum_number_of_parking_stories": {
619
- "description": "The maximum number of parking stories, sum of number of above and below ground stories.",
620
- "type": "number"
621
- },
622
- "maximum_number_of_parking_stories_above_ground": {
623
- "description": "The maximum number of parking stories above ground",
624
- "type": "number"
625
- },
626
- "number_of_residential_units": {
627
- "description": "Total number of residential units.",
628
- "type": "integer"
629
- },
630
- "building_types": {
631
- "type": "array",
632
- "items": {
633
- "$ref": "#/definitions/BuildingType"
634
- }
635
- },
636
- "window_area": {
637
- "description": "Exterior windows gross area (ft^2)",
638
- "type": "object",
639
- "properties": {
640
- "north_window_area": {
641
- "type": "number"
642
- },
643
- "south_window_area": {
644
- "type": "number"
645
- },
646
- "east_window_area": {
647
- "type": "number"
648
- },
649
- "west_window_area": {
650
- "type": "number"
651
- },
652
- "total_window_area": {
653
- "type": "number"
654
- }
655
- },
656
- "required": [
657
- "total_window_area"
658
- ],
659
- "additionalProperties": false
660
- },
661
- "wall_area": {
662
- "description": "exterior walls gross area (ft^2)",
663
- "type": "object",
664
- "properties": {
665
- "north_wall_area": {
666
- "type": "number"
667
- },
668
- "south_wall_area": {
669
- "type": "number"
670
- },
671
- "east_wall_area": {
672
- "type": "number"
673
- },
674
- "west_wall_area": {
675
- "type": "number"
676
- },
677
- "total_wall_area": {
678
- "type": "number"
679
- }
680
- },
681
- "required": [
682
- "north_wall_area",
683
- "south_wall_area",
684
- "east_wall_area",
685
- "west_wall_area",
686
- "total_wall_area"
687
- ],
688
- "additionalProperties": false
689
- },
690
- "roof_area": {
691
- "type": "object",
692
- "properties": {
693
- "equipment_roof_area": {
694
- "type": "number"
695
- },
696
- "photovoltaic_roof_area": {
697
- "type": "number"
698
- },
699
- "available_roof_area": {
700
- "description": "gross roof area (ft^2)",
701
- "type": "number"
702
- },
703
- "total_roof_area": {
704
- "description": "Exterior roofs gross area (ft^2)",
705
- "type": "number"
706
- }
707
- },
708
- "required": [
709
- "total_roof_area"
710
- ],
711
- "additionalProperties": false
712
- },
713
- "orientation": {
714
- "description": "Rotation of longest axis from East-West,about up axis (deg)",
715
- "type": "number"
716
- },
717
- "aspect_ratio": {
718
- "description": "Ratio of longest to shortest axis",
719
- "type": "number"
720
- },
721
- "total_construction_cost": {
722
- "description": "total construction cost calculated from the defined cost per floor area ($)",
723
- "type": "number"
724
- }
725
- },
726
- "required": [
727
- "floor_area",
728
- "conditioned_area",
729
- "unconditioned_area",
730
- "footprint_area",
731
- "maximum_roof_height",
732
- "number_of_residential_units",
733
- "building_types",
734
- "window_area",
735
- "wall_area",
736
- "roof_area"
737
- ],
738
- "additionalProperties": false
739
- },
740
- "BuildingType": {
741
- "type": "object",
742
- "properties": {
743
- "building_type": {
744
- "description": "Primary building space type",
745
- "type": "string",
746
- "enum": [
747
- "Single-Family",
748
- "Multifamily (2 to 4 units)",
749
- "Multifamily (5 or more units)",
750
- "Mobile Home",
751
- "Vacant",
752
- "Office",
753
- "Laboratory",
754
- "Nonrefrigerated warehouse",
755
- "Food sales",
756
- "Public order and safety",
757
- "Outpatient health care",
758
- "Refrigerated warehouse",
759
- "Religious worship",
760
- "Public assembly",
761
- "Education",
762
- "Food service",
763
- "Inpatient health care",
764
- "Nursing",
765
- "Lodging",
766
- "Strip shopping mall",
767
- "Enclosed mall",
768
- "Retail other than mall",
769
- "Service"
770
- ]
771
- },
772
- "maximum_occupancy": {
773
- "description": "Maximum number of occupants ",
774
- "type": "number"
775
- },
776
- "floor_area": {
777
- "description": "Building gross floor area of this type (ft^2)",
778
- "type": "number"
779
- }
780
- },
781
- "required": [
782
- "building_type",
783
- "maximum_occupancy",
784
- "floor_area"
785
- ],
786
- "additionalProperties": false
787
- },
788
- "DesignParameters": {
789
- "type": "object",
790
- "properties": {
791
- "district_cooling_chilled_water_rate": {
792
- "type": "number"
793
- },
794
- "district_cooling_mass_flow_rate": {
795
- "type": "number"
796
- },
797
- "district_cooling_inlet_temperature": {
798
- "type": "number"
799
- },
800
- "district_cooling_outlet_temperature": {
801
- "type": "number"
802
- },
803
- "district_heating_hot_water_rate": {
804
- "type": "number"
805
- },
806
- "district_heating_mass_flow_rate": {
807
- "type": "number"
808
- },
809
- "district_heating_inlet_temperature": {
810
- "type": "number"
811
- },
812
- "district_heating_outlet_temperature": {
813
- "type": "number"
814
- }
815
- },
816
- "additionalProperties": false
817
- },
818
- "TimeseriesCSV": {
819
- "type": "object",
820
- "properties": {
821
- "path": {
822
- "type": "string"
823
- },
824
- "first_report_datetime": {
825
- "type": "string"
826
- },
827
- "column_names": {
828
- "type": "array",
829
- "items": {
830
- "type": "string"
831
- }
832
- }
833
- },
834
- "required": [
835
- "path",
836
- "first_report_datetime",
837
- "column_names"
838
- ],
839
- "additionalProperties": false
840
- },
841
- "PowerDistribution": {
842
- "type": "object",
843
- "properties": {
844
- "over_voltage_hours": {
845
- "type": "number"
846
- },
847
- "under_voltage_hours": {
848
- "type": "number"
849
- }
850
- }
851
- }
852
- }
853
- }