urbanopt-geojson 0.3.0.pre1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c39b696dfeba6148591053638dfd4c67b4106738acd2d34e6406cca33165901f
4
- data.tar.gz: 310869f65715b4ed07ca3354f437f5adaaadf66dcf6badaf51c857d045d850a2
3
+ metadata.gz: 10b59cfe6793461aa576b46a244409a271515262b58da7b2c2927eac78714c36
4
+ data.tar.gz: e1c9e8000666ba3daea0f6e93aad3af9df87d637d268ba3c856bea7709111d21
5
5
  SHA512:
6
- metadata.gz: e77fce00f95547496fde539cde2188c6321de99a9d3995d431925f5a2d3f6f94d60394c0f3ce6dbf4b359255a50e46819c9c787d1d7d46a41db171fa85e2be8b
7
- data.tar.gz: b22042f699522747efc14258ca56e4a45135f05ca7a700e8b78f6ffc02632839ee8c2159f87dd859f7320c1ac575f8e6feb0c6dcc895eabcd546f964ce85f6c7
6
+ metadata.gz: e4d16b3b4e08d93bbb3c9d070928ee29cafcb34f101fa61d6532d819d4adbf44e956e5bc02d45558b05fc1d0a8ba0fcf9c10b6bc5a0ee09b9616e540e75c5ebb
7
+ data.tar.gz: 0115c244f9bf66bf41d4a46bfafa9341b071b543cf773ee7de813316c4ebb23755468b6b1a37efc92a6a94639c07080d7b26f6133cfde5c6d8098bae21d4a531
@@ -1,16 +1,18 @@
1
1
  # URBANopt GeoJSON Gem
2
2
 
3
- ## Version 0.3.0.pre1
3
+ ## Version 0.3.0
4
4
 
5
- Date Range 3/25/20 - 05/15/20
5
+ Date Range 3/25/20 - 06/04/20
6
6
 
7
7
  Updating to use with OpenStudio 3.0 and Ruby 2.5
8
8
 
9
- Accepted Pull Requests: 5
9
+ Accepted Pull Requests:
10
10
  - Fixed [#60]( https://github.com/urbanopt/urbanopt-geojson-gem/pull/60 ), HPXML-based workflow for residential buildings
11
11
  - Fixed [#83]( https://github.com/urbanopt/urbanopt-geojson-gem/pull/83 ), Add new system types to building properties schema
12
12
  - Fixed [#84]( https://github.com/urbanopt/urbanopt-geojson-gem/pull/84 ), Updated system types with OpenStudio
13
13
  - Fixed [#87]( https://github.com/urbanopt/urbanopt-geojson-gem/pull/87 ), Adds nominal height for stories, test for confirming nominal height
14
+ - Fixed [#90]( https://github.com/urbanopt/urbanopt-geojson-gem/pull/90 ), Assigns construction correctly for adiabatic surfaces.
15
+ -Fixed [#95]( https://github.com/urbanopt/urbanopt-geojson-gem/pull/95 ), Exclude measure tests from gem release to reduce size
14
16
 
15
17
  ## Version 0.2.0
16
18
 
@@ -65,17 +65,16 @@ module URBANopt
65
65
  # * +runner+ - _Type:String_ - Measure run's instance of +OpenStudio::Measure::OSRunner+ .
66
66
  def self.change_adjacent_surfaces_to_adiabatic(model, runner)
67
67
  runner.registerInfo('Changing adjacent surfaces to adiabatic')
68
- model.getSurfaces.each do |surface|
68
+ model.getSurfaces.sort.each do |surface|
69
69
  adjacent_surface = surface.adjacentSurface
70
70
  if !adjacent_surface.empty?
71
71
  surface_construction = surface.construction
72
72
  if !surface_construction.empty?
73
73
  surface.setConstruction(surface_construction.get)
74
74
  end
75
- surface.setOutsideBoundaryCondition('Adiabatic')
76
-
77
75
  adjacent_surface_construction = adjacent_surface.get.construction
78
76
  if !adjacent_surface_construction.empty?
77
+ surface.setOutsideBoundaryCondition('Adiabatic')
79
78
  adjacent_surface.get.setConstruction(adjacent_surface_construction.get)
80
79
  end
81
80
  adjacent_surface.get.setOutsideBoundaryCondition('Adiabatic')
@@ -111,6 +111,12 @@
111
111
  "Hip"
112
112
  ]
113
113
  },
114
+ "foundation_type": {
115
+ "$ref": "#/definitions/foundationType"
116
+ },
117
+ "attic_type": {
118
+ "$ref": "#/definitions/atticType"
119
+ },
114
120
  "footprint_area": {
115
121
  "description": "Area of the footprint (ft^2). Calculated on export.",
116
122
  "type": "number"
@@ -132,6 +138,9 @@
132
138
  "system_type": {
133
139
  "$ref": "#/definitions/systemType"
134
140
  },
141
+ "heating_system_fuel_type": {
142
+ "$ref": "#/definitions/heatingSystemFuelType"
143
+ },
135
144
  "weekday_start_time": {
136
145
  "description": "Weekday operating hours start time in 08:30 format, using 24-hr clock. Leave blank to use default. Should this be part of a mixed type struct?",
137
146
  "type": "string"
@@ -185,7 +194,11 @@
185
194
  "maximum": 100
186
195
  },
187
196
  "number_of_residential_units": {
188
- "description": "Total number of residential units in the building. Required for residential buildings or mixed-use buildings with residential use types.",
197
+ "description": "Total number of residential units in the building. Required for single-family attached or multifamily residential buildings.",
198
+ "type": "integer"
199
+ },
200
+ "number_of_bedrooms": {
201
+ "description": "Total number of bedrooms in the building. Required for residential buildings. Must be divisible by the number of residential units.",
189
202
  "type": "integer"
190
203
  },
191
204
  "exterior_lighting_zone": {
@@ -214,14 +227,110 @@
214
227
  "description": "Arbitrary user data"
215
228
  }
216
229
  },
217
- "required": [
218
- "id",
219
- "type",
220
- "name",
221
- "floor_area",
222
- "number_of_stories",
223
- "footprint_area",
224
- "building_type"
230
+ "oneOf": [
231
+ {
232
+ "properties": {
233
+ "building_type": {
234
+ "enum": [
235
+ "Single-Family Detached"
236
+ ]
237
+ }
238
+ },
239
+ "required": [
240
+ "id",
241
+ "type",
242
+ "name",
243
+ "floor_area",
244
+ "number_of_stories",
245
+ "footprint_area",
246
+ "building_type",
247
+ "number_of_bedrooms",
248
+ "foundation_type",
249
+ "attic_type"
250
+ ]
251
+ },
252
+ {
253
+ "properties": {
254
+ "building_type": {
255
+ "enum": [
256
+ "Single-Family Attached"
257
+ ]
258
+ }
259
+ },
260
+ "required": [
261
+ "id",
262
+ "type",
263
+ "name",
264
+ "floor_area",
265
+ "number_of_stories",
266
+ "footprint_area",
267
+ "building_type",
268
+ "number_of_residential_units",
269
+ "number_of_bedrooms",
270
+ "foundation_type",
271
+ "attic_type"
272
+ ]
273
+ },
274
+ {
275
+ "properties": {
276
+ "building_type": {
277
+ "enum": [
278
+ "Multifamily"
279
+ ]
280
+ }
281
+ },
282
+ "required": [
283
+ "id",
284
+ "type",
285
+ "name",
286
+ "floor_area",
287
+ "number_of_stories",
288
+ "footprint_area",
289
+ "building_type",
290
+ "number_of_residential_units",
291
+ "number_of_bedrooms",
292
+ "foundation_type"
293
+ ]
294
+ },
295
+ {
296
+ "properties": {
297
+ "building_type": {
298
+ "enum": [
299
+ "Vacant",
300
+ "Office",
301
+ "Laboratory",
302
+ "Nonrefrigerated warehouse",
303
+ "Food sales",
304
+ "Public order and safety",
305
+ "Outpatient health care",
306
+ "Refrigerated warehouse",
307
+ "Religious worship",
308
+ "Public assembly",
309
+ "Education",
310
+ "Food service",
311
+ "Inpatient health care",
312
+ "Nursing",
313
+ "Lodging",
314
+ "Strip shopping mall",
315
+ "Enclosed mall",
316
+ "Retail other than mall",
317
+ "Service",
318
+ "Mixed use",
319
+ "Uncovered Parking",
320
+ "Covered Parking"
321
+ ]
322
+ }
323
+ },
324
+ "required": [
325
+ "id",
326
+ "type",
327
+ "name",
328
+ "floor_area",
329
+ "number_of_stories",
330
+ "footprint_area",
331
+ "building_type"
332
+ ]
333
+ }
225
334
  ],
226
335
  "additionalProperties": true,
227
336
  "definitions": {
@@ -229,10 +338,9 @@
229
338
  "description": "Primary building space type.",
230
339
  "type": "string",
231
340
  "enum": [
232
- "Single-Family",
233
- "Multifamily (2 to 4 units)",
234
- "Multifamily (5 or more units)",
235
- "Mobile Home",
341
+ "Single-Family Detached",
342
+ "Single-Family Attached",
343
+ "Multifamily",
236
344
  "Vacant",
237
345
  "Office",
238
346
  "Laboratory",
@@ -262,89 +370,116 @@
262
370
  "description": "Building HVAC system type. Should this be part of a mixed type struct?",
263
371
  "type": "string",
264
372
  "enum": [
265
- "Ideal Air Loads",
266
- "PTAC with hot water heat",
267
- "PTAC with hot water heat with central air source heat pump",
268
- "PTAC with gas coil heat",
373
+ "PTAC with baseboard electric",
374
+ "PTAC with baseboard gas boiler",
375
+ "PTAC with baseboard district hot water",
376
+ "PTAC with gas unit heaters",
377
+ "PTAC with electric coil",
378
+ "PTAC with gas coil",
269
379
  "PTAC with gas boiler",
270
- "PTAC with electric baseboard heat",
271
380
  "PTAC with no heat",
272
- "PTAC with district hot water heat",
273
- "PTAC with central air source heat pump heat",
381
+ "PTAC with district hot water",
382
+ "PTAC with central air source heat pump",
274
383
  "PTHP",
275
- "PSZ-AC with gas coil heat",
276
- "PSZ-AC with electric baseboard heat",
384
+ "PSZ-AC with gas coil",
385
+ "PSZ-AC with baseboard electric",
277
386
  "PSZ-AC with no heat",
278
- "PSZ-AC with district hot water heat",
279
- "PSZ-AC with central air source heat pump heat",
387
+ "PSZ-AC with district hot water",
388
+ "PSZ-AC with central air source heat pump",
280
389
  "PSZ-HP",
281
390
  "Fan coil district chilled water with no heat",
282
- "Fan coil district chilled water and boiler",
283
- "Fan coil district chilled water and central air source heat pump",
284
- "Fan coil district chilled water unit heaters",
285
- "Fan coil district chilled water electric baseboard heat",
286
- "Fan coil district hot and chilled water",
287
- "Fan coil district hot water and chiller",
288
- "Fan coil district hot water and air-cooled chiller",
289
- "Fan coil chiller and boiler",
290
- "Fan coil air-cooled chiller and boiler",
291
- "Fan coil chiller and central air source heat pump",
292
- "Fan coil air-cooled chiller and central air source heat pump",
391
+ "Fan coil district chilled water with boiler",
392
+ "Fan coil district chilled water with central air source heat pump",
393
+ "Fan coil district chilled water with gas unit heaters",
394
+ "Fan coil district chilled water with baseboard electric",
395
+ "Fan coil district chilled water with district hot water",
396
+ "Fan coil chiller with district hot water",
397
+ "Fan coil air-cooled chiller with district hot water",
398
+ "Fan coil chiller with boiler",
399
+ "Fan coil air-cooled chiller with boiler",
400
+ "Fan coil chiller with central air source heat pump",
401
+ "Fan coil air-cooled chiller with central air source heat pump",
293
402
  "Fan coil chiller with no heat",
294
403
  "DOAS with fan coil district chilled water with no heat",
295
404
  "DOAS with fan coil district chilled water and boiler",
296
- "DOAS with fan coil district chilled water and central air source heat pump",
297
- "DOAS with fan coil district chilled water unit heaters",
298
- "DOAS with fan coil district chilled water electric baseboard heat",
299
- "DOAS with fan coil district hot and chilled water",
300
- "DOAS with fan coil district hot water and chiller",
301
- "DOAS with fan coil district hot water and air-cooled chiller",
302
- "DOAS with fan coil chiller and boiler",
303
- "DOAS with fan coil air-cooled chiller and boiler",
304
- "DOAS with fan coil chiller and central air source heat pump",
305
- "DOAS with fan coil air-cooled chiller and central air source heat pump",
405
+ "DOAS with fan coil district chilled water with central air source heat pump",
406
+ "DOAS with fan coil district chilled water with gas unit heaters",
407
+ "DOAS with fan coil district chilled water with baseboard electric",
408
+ "DOAS with fan coil district chilled water with district hot water",
409
+ "DOAS with fan coil chiller with district hot water",
410
+ "DOAS with fan coil air-cooled chiller with district hot water",
411
+ "DOAS with fan coil air-cooled chiller with boiler",
412
+ "DOAS with fan coil chiller with central air source heat pump",
413
+ "DOAS with fan coil air-cooled chiller with central air source heat pump",
306
414
  "DOAS with fan coil chiller with no heat",
307
- "VRF with DOAS",
415
+ "DOAS with VRF",
308
416
  "VRF",
309
- "Ground Source Heat Pumps with DOAS",
310
- "Baseboard district hot water heat",
311
- "Baseboard district hot water heat with direct evap coolers",
312
- "Baseboard electric heat",
313
- "Baseboard electric heat with direct evap coolers",
314
- "Baseboard hot water heat",
315
- "Baseboard hot water heat with direct evap coolers",
417
+ "DOAS with water source heat pumps with ground source heat pump",
418
+ "Forced air furnace",
419
+ "Baseboard district hot water",
420
+ "Baseboard electric",
421
+ "Baseboard gas boiler",
422
+ "Baseboard central air source heat pump",
316
423
  "Window AC with no heat",
317
424
  "Window AC with forced air furnace",
318
- "Window AC with district hot water baseboard heat",
319
- "Window AC with hot water baseboard heat",
320
- "Window AC with electric baseboard heat",
425
+ "Window AC with baseboard district hot water",
426
+ "Window AC with baseboard electric",
321
427
  "Window AC with unit heaters",
322
- "Direct evap coolers",
323
- "Direct evap coolers with unit heaters",
324
- "Unit heaters",
325
- "Heat pump heat with no cooling",
326
- "Heat pump heat with direct evap cooler",
327
- "VAV with reheat",
328
- "VAV with reheat central air source heat pump",
329
- "VAV with PFP boxes",
330
- "VAV with gas reheat",
331
- "VAV with zone unit heaters",
332
- "VAV with electric baseboard heat",
333
- "VAV cool with zone heat pump heat",
428
+ "Window AC with baseboard gas boiler",
429
+ "Window AC with baseboard central air source heat pump",
430
+ "Direct evap coolers with baseboard district hot water",
431
+ "Direct evap coolers with baseboard electric",
432
+ "Direct evap coolers with baseboard gas boiler",
433
+ "Direct evap coolers with baseboard central air source heat pump",
434
+ "Direct evap coolers with no heat",
435
+ "Direct evap coolers with gas unit heaters",
436
+ "Direct evap coolers with forced air furnace",
437
+ "Gas unit heaters",
438
+ "VAV chiller with gas boiler reheat",
439
+ "VAV chiller with gas coil reheat",
440
+ "VAV chiller with central air source heat pump reheat",
441
+ "VAV chiller with PFP boxes",
442
+ "VAV air-cooled chiller with gas boiler reheat",
443
+ "VAV air-cooled chiller with central air source heat pump reheat",
444
+ "VAV air-cooled chiller with district hot water reheat",
445
+ "VAV air-cooled chiller with gas coil reheat",
446
+ "VAV air-cooled chiller with no reheat with gas unit heaters",
447
+ "VAV district chilled water with gas boiler reheat",
448
+ "VAV district chilled water with central air source heat pump reheat",
449
+ "VAV district chilled water with no reheat with zone heat pump",
450
+ "VAV chiller with no reheat with baseboard electric",
451
+ "VAV air-cooled chiller with no reheat with zone heat pump",
334
452
  "VAV district chilled water with district hot water reheat",
335
453
  "VAV district chilled water with gas coil reheat",
336
- "PVAV with reheat",
337
- "PVAV with reheat with central air source heat pump",
454
+ "PVAV with gas heat with electric reheat",
455
+ "PVAV with central air source heat pump reheat",
338
456
  "PVAV with PFP boxes",
339
- "Residential forced air",
340
- "Residential forced air cooling hot water baseboard heat",
341
- "Residential forced air with district hot water",
342
- "Residential heat pump",
343
- "Forced air furnace",
344
- "Forced air furnace district chilled water fan coil",
345
- "Forced air furnace direct evap cooler",
346
- "Residential AC with no heat",
347
- "Residential AC with electric baseboard heat"
457
+ "Residential - electric resistance and no cooling",
458
+ "Residential - electric resistance and central air conditioner",
459
+ "Residential - electric resistance and room air conditioner",
460
+ "Residential - electric resistance and evaporative cooler",
461
+ "Residential - furnace and no cooling",
462
+ "Residential - furnace and central air conditioner",
463
+ "Residential - furnace and room air conditioner",
464
+ "Residential - furnace and evaporative cooler",
465
+ "Residential - boiler and no cooling",
466
+ "Residential - boiler and central air conditioner",
467
+ "Residential - boiler and room air conditioner",
468
+ "Residential - boiler and evaporative cooler",
469
+ "Residential - air-to-air heat pump",
470
+ "Residential - mini-split heat pump",
471
+ "Residential - ground-to-air heat pump"
472
+ ]
473
+ },
474
+ "heatingSystemFuelType": {
475
+ "description": "The fuel type of the heating system. This does not apply for certain system types (e.g., electric resistance or heat pumps).",
476
+ "type": "string",
477
+ "enum": [
478
+ "electricity",
479
+ "natural gas",
480
+ "fuel oil",
481
+ "propane",
482
+ "wood"
348
483
  ]
349
484
  },
350
485
  "templateType": {
@@ -380,6 +515,28 @@
380
515
  "DEER 2070",
381
516
  "DEER 2075"
382
517
  ]
518
+ },
519
+ "foundationType": {
520
+ "description": "The foundation type of the building. Required for residential buildings.",
521
+ "type": "string",
522
+ "enum": [
523
+ "slab",
524
+ "crawlspace - vented",
525
+ "crawlspace - unvented",
526
+ "basement - unconditioned",
527
+ "basement - conditioned",
528
+ "ambient"
529
+ ]
530
+ },
531
+ "atticType": {
532
+ "description": "The attic type of the building. Required for single-family residential buildings.",
533
+ "type": "string",
534
+ "enum": [
535
+ "attic - vented",
536
+ "attic - unvented",
537
+ "attic - conditioned",
538
+ "flat roof"
539
+ ]
383
540
  }
384
541
  }
385
- }
542
+ }
@@ -30,6 +30,6 @@
30
30
 
31
31
  module URBANopt
32
32
  module GeoJSON
33
- VERSION = '0.3.0.pre1'.freeze
33
+ VERSION = '0.3.0'.freeze
34
34
  end
35
35
  end
@@ -899,7 +899,7 @@
899
899
  "default_value": "Inferred",
900
900
  "choice_values": [
901
901
  "Inferred",
902
- "Ideal Air Loads",
902
+ "VRF",
903
903
  "PTAC with hot water heat",
904
904
  "PTAC with gas coil heat",
905
905
  "PTAC with electric baseboard heat",
@@ -955,7 +955,7 @@
955
955
  ],
956
956
  "choice_display_names": [
957
957
  "Inferred",
958
- "Ideal Air Loads",
958
+ "VRF",
959
959
  "PTAC with hot water heat",
960
960
  "PTAC with gas coil heat",
961
961
  "PTAC with electric baseboard heat",
@@ -1511,7 +1511,7 @@
1511
1511
  "default_value": "Inferred",
1512
1512
  "choice_values": [
1513
1513
  "Inferred",
1514
- "Ideal Air Loads",
1514
+ "VRF",
1515
1515
  "PTAC with hot water heat",
1516
1516
  "PTAC with gas coil heat",
1517
1517
  "PTAC with electric baseboard heat",
@@ -1567,7 +1567,7 @@
1567
1567
  ],
1568
1568
  "choice_display_names": [
1569
1569
  "Inferred",
1570
- "Ideal Air Loads",
1570
+ "VRF",
1571
1571
  "PTAC with hot water heat",
1572
1572
  "PTAC with gas coil heat",
1573
1573
  "PTAC with electric baseboard heat",