openstudio-model-articulation 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/Gemfile +12 -5
  4. data/Jenkinsfile +1 -1
  5. data/README.md +1 -0
  6. data/lib/measures/SimplifyGeometryToSlicedBar/measure.rb +32 -37
  7. data/lib/measures/SimplifyGeometryToSlicedBar/measure.xml +34 -80
  8. data/lib/measures/SimplifyGeometryToSlicedBar/resources/os_lib_cofee.rb +10 -9
  9. data/lib/measures/SpaceTypeAndConstructionSetWizard/measure.rb +10 -13
  10. data/lib/measures/SpaceTypeAndConstructionSetWizard/measure.xml +28 -28
  11. data/lib/measures/blended_space_type_from_floor_area_ratios/measure.rb +31 -14
  12. data/lib/measures/blended_space_type_from_floor_area_ratios/measure.xml +36 -36
  13. data/lib/measures/blended_space_type_from_model/measure.rb +12 -5
  14. data/lib/measures/blended_space_type_from_model/measure.xml +47 -47
  15. data/lib/measures/create_DOE_prototype_building/measure.rb +1 -1
  16. data/lib/measures/create_DOE_prototype_building/measure.xml +19 -875
  17. data/lib/measures/create_bar_from_building_type_ratios/README.md +2 -13
  18. data/lib/measures/create_bar_from_building_type_ratios/measure.rb +122 -30
  19. data/lib/measures/create_bar_from_building_type_ratios/measure.xml +108 -349
  20. data/lib/measures/create_bar_from_deer_building_type_ratios/README.md +21 -1
  21. data/lib/measures/create_bar_from_deer_building_type_ratios/measure.rb +120 -18
  22. data/lib/measures/create_bar_from_deer_building_type_ratios/measure.xml +94 -32
  23. data/lib/measures/create_bar_from_doe_building_type_ratios/measure.rb +127 -18
  24. data/lib/measures/create_bar_from_doe_building_type_ratios/measure.xml +48 -26
  25. data/lib/measures/create_bar_from_model/measure.rb +17 -18
  26. data/lib/measures/create_bar_from_model/measure.xml +41 -41
  27. data/lib/measures/create_bar_from_space_type_ratios/README.md +1 -1
  28. data/lib/measures/create_bar_from_space_type_ratios/measure.rb +94 -14
  29. data/lib/measures/create_bar_from_space_type_ratios/measure.xml +104 -63
  30. data/lib/measures/create_baseline_building/measure.xml +33 -33
  31. data/lib/measures/create_deer_prototype_building/measure.xml +15 -15
  32. data/lib/measures/create_parametric_schedules/measure.rb +17 -20
  33. data/lib/measures/create_parametric_schedules/measure.xml +15 -15
  34. data/lib/measures/create_typical_building_from_model/README.md +16 -16
  35. data/lib/measures/create_typical_building_from_model/measure.rb +84 -18
  36. data/lib/measures/create_typical_building_from_model/measure.xml +159 -211
  37. data/lib/measures/create_typical_deer_building_from_model/README.md +38 -5
  38. data/lib/measures/create_typical_deer_building_from_model/measure.rb +84 -12
  39. data/lib/measures/create_typical_deer_building_from_model/measure.xml +165 -65
  40. data/lib/measures/create_typical_doe_building_from_model/README.md +17 -4
  41. data/lib/measures/create_typical_doe_building_from_model/measure.rb +84 -12
  42. data/lib/measures/create_typical_doe_building_from_model/measure.xml +125 -65
  43. data/lib/measures/deer_space_type_and_construction_set_wizard/measure.rb +13 -16
  44. data/lib/measures/deer_space_type_and_construction_set_wizard/measure.xml +72 -29
  45. data/lib/measures/make_shading_surfaces_based_on_zone_multipliers/measure.rb +4 -4
  46. data/lib/measures/make_shading_surfaces_based_on_zone_multipliers/measure.xml +21 -21
  47. data/lib/measures/merge_spaces_from_external_file/measure.rb +4 -4
  48. data/lib/measures/merge_spaces_from_external_file/measure.xml +34 -34
  49. data/lib/measures/radiant_slab_with_doas/measure.rb +2 -2
  50. data/lib/measures/radiant_slab_with_doas/measure.xml +4 -4
  51. data/lib/measures/replace_geometry_by_story/measure.rb +6 -10
  52. data/lib/measures/replace_geometry_by_story/measure.xml +19 -19
  53. data/lib/measures/set_nist_infiltration_correlations/LICENSE.md +7 -21
  54. data/lib/measures/set_nist_infiltration_correlations/measure.rb +2 -32
  55. data/lib/measures/set_nist_infiltration_correlations/measure.xml +5 -5
  56. data/lib/openstudio/model_articulation/version.rb +1 -1
  57. data/openstudio-model-articulation.gemspec +11 -4
  58. metadata +69 -16
  59. data/lib/measures/SimplifyGeometryToSlicedBar/resources/os_lib_geometry.rb +0 -1174
  60. data/lib/measures/SimplifyGeometryToSlicedBar/resources/os_lib_helper_methods.rb +0 -367
  61. data/lib/measures/create_typical_building_from_model/resources/Model.hvac.rb +0 -608
@@ -8,19 +8,11 @@
8
8
 
9
9
  require 'openstudio-standards'
10
10
 
11
- # load OpenStudio measure libraries from openstudio-extension gem
12
- require 'openstudio-extension'
13
- require 'openstudio/extension/core/os_lib_helper_methods'
14
- require 'openstudio/extension/core/os_lib_model_generation'
15
-
16
11
  require_relative 'resources/Model.hvac' # DLM: should this be in openstudio-standards? dfg some tests fail without it
17
12
 
18
13
  # start the measure
19
14
  class CreateTypicalDEERBuildingFromModel < OpenStudio::Measure::ModelMeasure
20
- # resource file modules
21
- include OsLib_HelperMethods
22
- include OsLib_ModelGeneration
23
-
15
+
24
16
  # human readable name
25
17
  def name
26
18
  return 'Create Typical DEER Building from Model'
@@ -47,7 +39,7 @@ class CreateTypicalDEERBuildingFromModel < OpenStudio::Measure::ModelMeasure
47
39
 
48
40
  # see if building name contains any template values
49
41
  default_string = '90.1-2010'
50
- get_templates.each do |template_string|
42
+ OpenstudioStandards::CreateTypical.get_deer_templates.each do |template_string|
51
43
  if model.getBuilding.name.to_s.include?(template_string)
52
44
  default_string = template_string
53
45
  next
@@ -55,7 +47,7 @@ class CreateTypicalDEERBuildingFromModel < OpenStudio::Measure::ModelMeasure
55
47
  end
56
48
 
57
49
  # Make argument for template
58
- template = OpenStudio::Measure::OSArgument.makeChoiceArgument('template', get_deer_templates(false), true)
50
+ template = OpenStudio::Measure::OSArgument.makeChoiceArgument('template', OpenstudioStandards::CreateTypical.get_deer_templates, true)
59
51
  template.setDisplayName('Target Standard')
60
52
  template.setDefaultValue(default_string)
61
53
  args << template
@@ -155,6 +147,8 @@ class CreateTypicalDEERBuildingFromModel < OpenStudio::Measure::ModelMeasure
155
147
  hvac_chs << 'PVAV with district hot water reheat'
156
148
  hvac_chs << 'PVAV with PFP boxes'
157
149
  hvac_chs << 'PVAV with gas heat with electric reheat'
150
+ hvac_chs << 'PVAV with gas coil heat with electric reheat'
151
+ hvac_chs << 'PVAV with gas boiler heat with electric reheat'
158
152
  hvac_chs << 'Residential AC with baseboard electric'
159
153
  hvac_chs << 'Residential AC with baseboard gas boiler'
160
154
  hvac_chs << 'Residential AC with baseboard central air source heat pump'
@@ -210,6 +204,7 @@ class CreateTypicalDEERBuildingFromModel < OpenStudio::Measure::ModelMeasure
210
204
  hvac_type_chs = OpenStudio::StringVector.new
211
205
  hvac_type_chs << 'Forced Air'
212
206
  hvac_type_chs << 'Hydronic'
207
+ hvac_type_chs << 'Inferred'
213
208
  hvac_delivery_type = OpenStudio::Measure::OSArgument.makeChoiceArgument('hvac_delivery_type', hvac_type_chs, true)
214
209
  hvac_delivery_type.setDisplayName('HVAC System Delivery Type')
215
210
  hvac_delivery_type.setDescription('How the HVAC system delivers heating or cooling to the zone.')
@@ -222,6 +217,7 @@ class CreateTypicalDEERBuildingFromModel < OpenStudio::Measure::ModelMeasure
222
217
  htg_src_chs << 'NaturalGas'
223
218
  htg_src_chs << 'DistrictHeating'
224
219
  htg_src_chs << 'DistrictAmbient'
220
+ htg_src_chs << 'Inferred'
225
221
  htg_src = OpenStudio::Measure::OSArgument.makeChoiceArgument('htg_src', htg_src_chs, true)
226
222
  htg_src.setDisplayName('HVAC Heating Source')
227
223
  htg_src.setDescription('The primary source of heating used by HVAC systems in the model.')
@@ -233,6 +229,7 @@ class CreateTypicalDEERBuildingFromModel < OpenStudio::Measure::ModelMeasure
233
229
  clg_src_chs << 'Electricity'
234
230
  clg_src_chs << 'DistrictCooling'
235
231
  clg_src_chs << 'DistrictAmbient'
232
+ clg_src_chs << 'Inferred'
236
233
  clg_src = OpenStudio::Measure::OSArgument.makeChoiceArgument('clg_src', clg_src_chs, true)
237
234
  clg_src.setDisplayName('HVAC Cooling Source')
238
235
  clg_src.setDescription('The primary source of cooling used by HVAC systems in the model.')
@@ -293,6 +290,19 @@ class CreateTypicalDEERBuildingFromModel < OpenStudio::Measure::ModelMeasure
293
290
  add_constructions.setDefaultValue(true)
294
291
  args << add_constructions
295
292
 
293
+ # make argument for wall_construction_type
294
+ wall_construction_type_choices = OpenStudio::StringVector.new
295
+ wall_construction_type_choices << 'Mass'
296
+ wall_construction_type_choices << 'Metal Building'
297
+ wall_construction_type_choices << 'SteelFramed'
298
+ wall_construction_type_choices << 'WoodFramed'
299
+ wall_construction_type_choices << 'Inferred'
300
+ wall_construction_type = OpenStudio::Measure::OSArgument.makeChoiceArgument('wall_construction_type', wall_construction_type_choices, true)
301
+ wall_construction_type.setDisplayName('Wall Construction Type')
302
+ wall_construction_type.setDescription('Identify Exterior Wall Construction Type to be applied to entire building')
303
+ wall_construction_type.setDefaultValue('Inferred')
304
+ args << wall_construction_type
305
+
296
306
  # make an argument for add_space_type_loads
297
307
  add_space_type_loads = OpenStudio::Measure::OSArgument.makeBoolArgument('add_space_type_loads', true)
298
308
  add_space_type_loads.setDisplayName('Add Space Type Loads to Model')
@@ -376,6 +386,8 @@ class CreateTypicalDEERBuildingFromModel < OpenStudio::Measure::ModelMeasure
376
386
  wkdy_op_hrs_start_time.setDescription('Enter 24 hour values with fractional values converted to minutes. e.g. 17.25 = 5:15pm. Only used if Modify weekday hours of operation is true.')
377
387
  wkdy_op_hrs_start_time.setUnits('Hours')
378
388
  wkdy_op_hrs_start_time.setDefaultValue(8.0)
389
+ wkdy_op_hrs_start_time.setMinValue(0.0)
390
+ wkdy_op_hrs_start_time.setMaxValue(24.0)
379
391
  args << wkdy_op_hrs_start_time
380
392
 
381
393
  # weekday hours of operation duration
@@ -384,6 +396,8 @@ class CreateTypicalDEERBuildingFromModel < OpenStudio::Measure::ModelMeasure
384
396
  wkdy_op_hrs_duration.setDescription('Length of weekday operating hours. Enter 24 hour values with fractional values converted to minutes. e.g. 17.25 = 5:15pm. Only used if Modify weekday hours of operation is true.')
385
397
  wkdy_op_hrs_duration.setUnits('Hours')
386
398
  wkdy_op_hrs_duration.setDefaultValue(8.0)
399
+ wkdy_op_hrs_duration.setMinValue(0.0)
400
+ wkdy_op_hrs_duration.setMaxValue(24.0)
387
401
  args << wkdy_op_hrs_duration
388
402
 
389
403
  # modify weekend hours of operation
@@ -399,6 +413,8 @@ class CreateTypicalDEERBuildingFromModel < OpenStudio::Measure::ModelMeasure
399
413
  wknd_op_hrs_start_time.setDescription('Enter 24 hour values with fractional values converted to minutes. e.g. 17.25 = 5:15pm. Only used if Modify weekend hours of operation is true.')
400
414
  wknd_op_hrs_start_time.setUnits('Hours')
401
415
  wknd_op_hrs_start_time.setDefaultValue(8.0)
416
+ wknd_op_hrs_start_time.setMinValue(0.0)
417
+ wknd_op_hrs_start_time.setMaxValue(24.0)
402
418
  args << wknd_op_hrs_start_time
403
419
 
404
420
  # weekend hours of operation duration
@@ -407,6 +423,8 @@ class CreateTypicalDEERBuildingFromModel < OpenStudio::Measure::ModelMeasure
407
423
  wknd_op_hrs_duration.setDescription('Length of weekend operating hours. Enter 24 hour values with fractional values converted to minutes. e.g. 17.25 = 5:15pm. Only used if Modify weekend hours of operation is true.')
408
424
  wknd_op_hrs_duration.setUnits('Hours')
409
425
  wknd_op_hrs_duration.setDefaultValue(8.0)
426
+ wknd_op_hrs_duration.setMinValue(0.0)
427
+ wknd_op_hrs_duration.setMaxValue(24.0)
410
428
  args << wknd_op_hrs_duration
411
429
 
412
430
  # make an argument for unmet_hours_tolerance
@@ -414,6 +432,7 @@ class CreateTypicalDEERBuildingFromModel < OpenStudio::Measure::ModelMeasure
414
432
  unmet_hours_tolerance.setDisplayName('Unmet Hours Tolerance')
415
433
  unmet_hours_tolerance.setDescription('Set the thermostat setpoint tolerance for unmet hours in degrees Rankine')
416
434
  unmet_hours_tolerance.setDefaultValue(1.0)
435
+ unmet_hours_tolerance.setMinValue(0.0)
417
436
  args << unmet_hours_tolerance
418
437
 
419
438
  # make an argument for remove_objects
@@ -444,8 +463,61 @@ class CreateTypicalDEERBuildingFromModel < OpenStudio::Measure::ModelMeasure
444
463
  def run(model, runner, user_arguments)
445
464
  super(model, runner, user_arguments)
446
465
 
466
+ # assign the user inputs to variables
467
+ args = runner.getArgumentValues(arguments(model), user_arguments)
468
+ args = Hash[args.collect{ |k, v| [k.to_s, v] }]
469
+ if !args then return false end
470
+
471
+ # todo - need to make use of this before pass to standards
472
+ use_upstream_args = args['use_upstream_args']
473
+
474
+ # open channel to log messages
475
+ reset_log
476
+
477
+ # Turn debugging output on/off
478
+ debug = false
479
+
447
480
  # method run from os_lib_model_generation.rb
448
- result = typical_building_from_model(model, runner, user_arguments)
481
+ result = OpenstudioStandards::CreateTypical.create_typical_building_from_model(
482
+ model,
483
+ args['template'],
484
+ climate_zone: nil, # not exposed in user measure args
485
+ add_hvac: args['add_hvac'],
486
+ hvac_system_type: args['system_type'],
487
+ hvac_delivery_type: args['hvac_delivery_type'],
488
+ heating_fuel: args['htg_src'],
489
+ service_water_heating_fuel: args['swh_src'],
490
+ cooling_fuel: args['clg_src'],
491
+ kitchen_makeup: args['kitchen_makeup'],
492
+ exterior_lighting_zone: args['exterior_lighting_zone'],
493
+ add_constructions: args['add_constructions'],
494
+ wall_construction_type: args['wall_construction_type'],
495
+ add_space_type_loads: args['add_space_type_loads'],
496
+ add_daylighting_controls: nil, # not exposed in user measure args
497
+ add_elevators: args['add_elevators'],
498
+ add_internal_mass: args['add_internal_mass'],
499
+ add_exterior_lights: args['add_exterior_lights'],
500
+ onsite_parking_fraction: args['onsite_parking_fraction'],
501
+ add_exhaust: args['add_exhaust'],
502
+ add_swh: args['add_swh'],
503
+ add_thermostat: args['add_thermostat'],
504
+ add_refrigeration: args['add_refrigeration'],
505
+ modify_wkdy_op_hrs: args['modify_wkdy_op_hrs'],
506
+ wkdy_op_hrs_start_time: args['wkdy_op_hrs_start_time'],
507
+ wkdy_op_hrs_duration: args['wkdy_op_hrs_duration'],
508
+ modify_wknd_op_hrs: args['modify_wknd_op_hrs'],
509
+ wknd_op_hrs_start_time: args['wknd_op_hrs_start_time'],
510
+ wknd_op_hrs_duration: args['wknd_op_hrs_duration'],
511
+ hoo_var_method: nil, # not exposed in user measure args
512
+ enable_dst: args['enable_dst'],
513
+ unmet_hours_tolerance_r: args['unmet_hours_tolerance'],
514
+ remove_objects: args['remove_objects'],
515
+ user_hvac_mapping: nil, # not exposed in this measure yet?
516
+ sizing_run_directory: nil) # not exposed in user measure args
517
+
518
+ # gather log
519
+ log_messages_to_runner(runner, debug)
520
+ reset_log
449
521
 
450
522
  if result == false
451
523
  return false
@@ -1,10 +1,10 @@
1
1
  <?xml version="1.0"?>
2
2
  <measure>
3
- <schema_version>3.0</schema_version>
3
+ <schema_version>3.1</schema_version>
4
4
  <name>create_typical_deer_building_from_model</name>
5
5
  <uid>09cc23db-5e9b-4b11-b167-1852a15ed339</uid>
6
- <version_id>d435a7df-5a7e-43a5-9df0-bbb02ee4444d</version_id>
7
- <version_modified>20230602T160047Z</version_modified>
6
+ <version_id>aabba620-c193-4878-814a-d39e643e3fb9</version_id>
7
+ <version_modified>2024-05-20T07:54:35Z</version_modified>
8
8
  <xml_checksum>AABAC479</xml_checksum>
9
9
  <class_name>CreateTypicalDEERBuildingFromModel</class_name>
10
10
  <display_name>Create Typical DEER Building from Model</display_name>
@@ -58,6 +58,46 @@
58
58
  <value>DEER 2020</value>
59
59
  <display_name>DEER 2020</display_name>
60
60
  </choice>
61
+ <choice>
62
+ <value>ComStock DEER Pre-1975</value>
63
+ <display_name>ComStock DEER Pre-1975</display_name>
64
+ </choice>
65
+ <choice>
66
+ <value>ComStock DEER 1985</value>
67
+ <display_name>ComStock DEER 1985</display_name>
68
+ </choice>
69
+ <choice>
70
+ <value>ComStock DEER 1996</value>
71
+ <display_name>ComStock DEER 1996</display_name>
72
+ </choice>
73
+ <choice>
74
+ <value>ComStock DEER 2003</value>
75
+ <display_name>ComStock DEER 2003</display_name>
76
+ </choice>
77
+ <choice>
78
+ <value>ComStock DEER 2007</value>
79
+ <display_name>ComStock DEER 2007</display_name>
80
+ </choice>
81
+ <choice>
82
+ <value>ComStock DEER 2011</value>
83
+ <display_name>ComStock DEER 2011</display_name>
84
+ </choice>
85
+ <choice>
86
+ <value>ComStock DEER 2014</value>
87
+ <display_name>ComStock DEER 2014</display_name>
88
+ </choice>
89
+ <choice>
90
+ <value>ComStock DEER 2015</value>
91
+ <display_name>ComStock DEER 2015</display_name>
92
+ </choice>
93
+ <choice>
94
+ <value>ComStock DEER 2017</value>
95
+ <display_name>ComStock DEER 2017</display_name>
96
+ </choice>
97
+ <choice>
98
+ <value>ComStock DEER 2020</value>
99
+ <display_name>ComStock DEER 2020</display_name>
100
+ </choice>
61
101
  </choices>
62
102
  </argument>
63
103
  <argument>
@@ -440,6 +480,14 @@
440
480
  <value>PVAV with gas heat with electric reheat</value>
441
481
  <display_name>PVAV with gas heat with electric reheat</display_name>
442
482
  </choice>
483
+ <choice>
484
+ <value>PVAV with gas coil heat with electric reheat</value>
485
+ <display_name>PVAV with gas coil heat with electric reheat</display_name>
486
+ </choice>
487
+ <choice>
488
+ <value>PVAV with gas boiler heat with electric reheat</value>
489
+ <display_name>PVAV with gas boiler heat with electric reheat</display_name>
490
+ </choice>
443
491
  <choice>
444
492
  <value>Residential AC with baseboard electric</value>
445
493
  <display_name>Residential AC with baseboard electric</display_name>
@@ -639,6 +687,10 @@
639
687
  <value>Hydronic</value>
640
688
  <display_name>Hydronic</display_name>
641
689
  </choice>
690
+ <choice>
691
+ <value>Inferred</value>
692
+ <display_name>Inferred</display_name>
693
+ </choice>
642
694
  </choices>
643
695
  </argument>
644
696
  <argument>
@@ -666,6 +718,10 @@
666
718
  <value>DistrictAmbient</value>
667
719
  <display_name>DistrictAmbient</display_name>
668
720
  </choice>
721
+ <choice>
722
+ <value>Inferred</value>
723
+ <display_name>Inferred</display_name>
724
+ </choice>
669
725
  </choices>
670
726
  </argument>
671
727
  <argument>
@@ -689,6 +745,10 @@
689
745
  <value>DistrictAmbient</value>
690
746
  <display_name>DistrictAmbient</display_name>
691
747
  </choice>
748
+ <choice>
749
+ <value>Inferred</value>
750
+ <display_name>Inferred</display_name>
751
+ </choice>
692
752
  </choices>
693
753
  </argument>
694
754
  <argument>
@@ -791,6 +851,37 @@
791
851
  </choice>
792
852
  </choices>
793
853
  </argument>
854
+ <argument>
855
+ <name>wall_construction_type</name>
856
+ <display_name>Wall Construction Type</display_name>
857
+ <description>Identify Exterior Wall Construction Type to be applied to entire building</description>
858
+ <type>Choice</type>
859
+ <required>true</required>
860
+ <model_dependent>false</model_dependent>
861
+ <default_value>Inferred</default_value>
862
+ <choices>
863
+ <choice>
864
+ <value>Mass</value>
865
+ <display_name>Mass</display_name>
866
+ </choice>
867
+ <choice>
868
+ <value>Metal Building</value>
869
+ <display_name>Metal Building</display_name>
870
+ </choice>
871
+ <choice>
872
+ <value>SteelFramed</value>
873
+ <display_name>SteelFramed</display_name>
874
+ </choice>
875
+ <choice>
876
+ <value>WoodFramed</value>
877
+ <display_name>WoodFramed</display_name>
878
+ </choice>
879
+ <choice>
880
+ <value>Inferred</value>
881
+ <display_name>Inferred</display_name>
882
+ </choice>
883
+ </choices>
884
+ </argument>
794
885
  <argument>
795
886
  <name>add_space_type_loads</name>
796
887
  <display_name>Add Space Type Loads to Model</display_name>
@@ -999,6 +1090,8 @@
999
1090
  <required>true</required>
1000
1091
  <model_dependent>false</model_dependent>
1001
1092
  <default_value>8</default_value>
1093
+ <min_value>0.000000</min_value>
1094
+ <max_value>24.000000</max_value>
1002
1095
  </argument>
1003
1096
  <argument>
1004
1097
  <name>wkdy_op_hrs_duration</name>
@@ -1009,6 +1102,8 @@
1009
1102
  <required>true</required>
1010
1103
  <model_dependent>false</model_dependent>
1011
1104
  <default_value>8</default_value>
1105
+ <min_value>0.000000</min_value>
1106
+ <max_value>24.000000</max_value>
1012
1107
  </argument>
1013
1108
  <argument>
1014
1109
  <name>modify_wknd_op_hrs</name>
@@ -1038,6 +1133,8 @@
1038
1133
  <required>true</required>
1039
1134
  <model_dependent>false</model_dependent>
1040
1135
  <default_value>8</default_value>
1136
+ <min_value>0.000000</min_value>
1137
+ <max_value>24.000000</max_value>
1041
1138
  </argument>
1042
1139
  <argument>
1043
1140
  <name>wknd_op_hrs_duration</name>
@@ -1048,6 +1145,8 @@
1048
1145
  <required>true</required>
1049
1146
  <model_dependent>false</model_dependent>
1050
1147
  <default_value>8</default_value>
1148
+ <min_value>0.000000</min_value>
1149
+ <max_value>24.000000</max_value>
1051
1150
  </argument>
1052
1151
  <argument>
1053
1152
  <name>unmet_hours_tolerance</name>
@@ -1057,6 +1156,7 @@
1057
1156
  <required>true</required>
1058
1157
  <model_dependent>false</model_dependent>
1059
1158
  <default_value>1</default_value>
1159
+ <min_value>0.000000</min_value>
1060
1160
  </argument>
1061
1161
  <argument>
1062
1162
  <name>remove_objects</name>
@@ -1190,16 +1290,51 @@
1190
1290
  </attributes>
1191
1291
  <files>
1192
1292
  <file>
1193
- <filename>measure_test.osw</filename>
1194
- <filetype>osw</filetype>
1293
+ <filename>LICENSE.md</filename>
1294
+ <filetype>md</filetype>
1295
+ <usage_type>license</usage_type>
1296
+ <checksum>BFFB1AA6</checksum>
1297
+ </file>
1298
+ <file>
1299
+ <filename>README.md</filename>
1300
+ <filetype>md</filetype>
1301
+ <usage_type>readme</usage_type>
1302
+ <checksum>3FCA238F</checksum>
1303
+ </file>
1304
+ <file>
1305
+ <filename>README.md.erb</filename>
1306
+ <filetype>erb</filetype>
1307
+ <usage_type>readmeerb</usage_type>
1308
+ <checksum>DD4698D3</checksum>
1309
+ </file>
1310
+ <file>
1311
+ <version>
1312
+ <software_program>OpenStudio</software_program>
1313
+ <identifier>2.0.0</identifier>
1314
+ <min_compatible>3.8.0</min_compatible>
1315
+ </version>
1316
+ <filename>measure.rb</filename>
1317
+ <filetype>rb</filetype>
1318
+ <usage_type>script</usage_type>
1319
+ <checksum>0B2203AE</checksum>
1320
+ </file>
1321
+ <file>
1322
+ <filename>Model.hvac.rb</filename>
1323
+ <filetype>rb</filetype>
1324
+ <usage_type>resource</usage_type>
1325
+ <checksum>3F3371D0</checksum>
1326
+ </file>
1327
+ <file>
1328
+ <filename>GenericGbxml.osm</filename>
1329
+ <filetype>osm</filetype>
1195
1330
  <usage_type>test</usage_type>
1196
- <checksum>6DB338FC</checksum>
1331
+ <checksum>E27658D5</checksum>
1197
1332
  </file>
1198
1333
  <file>
1199
- <filename>SmallOffice.osm</filename>
1334
+ <filename>LargeOffice04.osm</filename>
1200
1335
  <filetype>osm</filetype>
1201
1336
  <usage_type>test</usage_type>
1202
- <checksum>519B22EB</checksum>
1337
+ <checksum>5415617A</checksum>
1203
1338
  </file>
1204
1339
  <file>
1205
1340
  <filename>MidriseApartment.osm</filename>
@@ -1208,10 +1343,10 @@
1208
1343
  <checksum>EB7A2671</checksum>
1209
1344
  </file>
1210
1345
  <file>
1211
- <filename>LargeOffice04.osm</filename>
1346
+ <filename>SmallOffice.osm</filename>
1212
1347
  <filetype>osm</filetype>
1213
1348
  <usage_type>test</usage_type>
1214
- <checksum>5415617A</checksum>
1349
+ <checksum>519B22EB</checksum>
1215
1350
  </file>
1216
1351
  <file>
1217
1352
  <filename>USA_TX_Houston-Bush.Intercontinental.AP.722430_TMY3.epw</filename>
@@ -1219,12 +1354,6 @@
1219
1354
  <usage_type>test</usage_type>
1220
1355
  <checksum>EE565FCC</checksum>
1221
1356
  </file>
1222
- <file>
1223
- <filename>asm.osm</filename>
1224
- <filetype>osm</filetype>
1225
- <usage_type>test</usage_type>
1226
- <checksum>C927EDEB</checksum>
1227
- </file>
1228
1357
  <file>
1229
1358
  <filename>USA_TX_Houston-Bush.Intercontinental.AP.722430_TMY3.epw</filename>
1230
1359
  <filetype>epw</filetype>
@@ -1232,10 +1361,16 @@
1232
1361
  <checksum>EE565FCC</checksum>
1233
1362
  </file>
1234
1363
  <file>
1235
- <filename>GenericGbxml.osm</filename>
1364
+ <filename>asm.osm</filename>
1236
1365
  <filetype>osm</filetype>
1237
1366
  <usage_type>test</usage_type>
1238
- <checksum>E27658D5</checksum>
1367
+ <checksum>C927EDEB</checksum>
1368
+ </file>
1369
+ <file>
1370
+ <filename>create_typical_deer_building_from_model_test.rb</filename>
1371
+ <filetype>rb</filetype>
1372
+ <usage_type>test</usage_type>
1373
+ <checksum>FEB80CDC</checksum>
1239
1374
  </file>
1240
1375
  <file>
1241
1376
  <filename>ecc.osm</filename>
@@ -1291,6 +1426,18 @@
1291
1426
  <usage_type>test</usage_type>
1292
1427
  <checksum>A03CF17A</checksum>
1293
1428
  </file>
1429
+ <file>
1430
+ <filename>measure_test.osw</filename>
1431
+ <filetype>osw</filetype>
1432
+ <usage_type>test</usage_type>
1433
+ <checksum>6DB338FC</checksum>
1434
+ </file>
1435
+ <file>
1436
+ <filename>measure_test_hvac.rb</filename>
1437
+ <filetype>rb</filetype>
1438
+ <usage_type>test</usage_type>
1439
+ <checksum>D40828BD</checksum>
1440
+ </file>
1294
1441
  <file>
1295
1442
  <filename>mfm.osm</filename>
1296
1443
  <filetype>osm</filetype>
@@ -1375,52 +1522,5 @@
1375
1522
  <usage_type>test</usage_type>
1376
1523
  <checksum>F22DEFBC</checksum>
1377
1524
  </file>
1378
- <file>
1379
- <filename>README.md.erb</filename>
1380
- <filetype>erb</filetype>
1381
- <usage_type>readmeerb</usage_type>
1382
- <checksum>DD4698D3</checksum>
1383
- </file>
1384
- <file>
1385
- <filename>README.md</filename>
1386
- <filetype>md</filetype>
1387
- <usage_type>readme</usage_type>
1388
- <checksum>1B2E71EB</checksum>
1389
- </file>
1390
- <file>
1391
- <filename>LICENSE.md</filename>
1392
- <filetype>md</filetype>
1393
- <usage_type>license</usage_type>
1394
- <checksum>BFFB1AA6</checksum>
1395
- </file>
1396
- <file>
1397
- <filename>Model.hvac.rb</filename>
1398
- <filetype>rb</filetype>
1399
- <usage_type>resource</usage_type>
1400
- <checksum>3F3371D0</checksum>
1401
- </file>
1402
- <file>
1403
- <filename>measure_test_hvac.rb</filename>
1404
- <filetype>rb</filetype>
1405
- <usage_type>test</usage_type>
1406
- <checksum>D40828BD</checksum>
1407
- </file>
1408
- <file>
1409
- <filename>create_typical_deer_building_from_model_test.rb</filename>
1410
- <filetype>rb</filetype>
1411
- <usage_type>test</usage_type>
1412
- <checksum>FEB80CDC</checksum>
1413
- </file>
1414
- <file>
1415
- <version>
1416
- <software_program>OpenStudio</software_program>
1417
- <identifier>2.0.0</identifier>
1418
- <min_compatible>3.0.0</min_compatible>
1419
- </version>
1420
- <filename>measure.rb</filename>
1421
- <filetype>rb</filetype>
1422
- <usage_type>script</usage_type>
1423
- <checksum>BD2B1BAA</checksum>
1424
- </file>
1425
1525
  </files>
1426
1526
  </measure>
@@ -128,6 +128,8 @@ While this measure has many arguments, they all have default values so you can s
128
128
 
129
129
 
130
130
 
131
+
132
+
131
133
 
132
134
 
133
135
 
@@ -240,7 +242,7 @@ ___
240
242
  **Required:** true,
241
243
  **Model Dependent:** false
242
244
 
243
- **Choice Display Names** ["Inferred", "Ideal Air Loads", "Baseboard electric", "Baseboard gas boiler", "Baseboard central air source heat pump", "Baseboard district hot water", "Direct evap coolers with baseboard electric", "Direct evap coolers with baseboard gas boiler", "Direct evap coolers with baseboard central air source heat pump", "Direct evap coolers with baseboard district hot water", "Direct evap coolers with forced air furnace", "Direct evap coolers with gas unit heaters", "Direct evap coolers with no heat", "DOAS with fan coil chiller with boiler", "DOAS with fan coil chiller with central air source heat pump", "DOAS with fan coil chiller with district hot water", "DOAS with fan coil chiller with baseboard electric", "DOAS with fan coil chiller with gas unit heaters", "DOAS with fan coil chiller with no heat", "DOAS with fan coil air-cooled chiller with boiler", "DOAS with fan coil air-cooled chiller with central air source heat pump", "DOAS with fan coil air-cooled chiller with district hot water", "DOAS with fan coil air-cooled chiller with baseboard electric", "DOAS with fan coil air-cooled chiller with gas unit heaters", "DOAS with fan coil air-cooled chiller with no heat", "DOAS with fan coil district chilled water with boiler", "DOAS with fan coil district chilled water with central air source heat pump", "DOAS with fan coil district chilled water with district hot water", "DOAS with fan coil district chilled water with baseboard electric", "DOAS with fan coil district chilled water with gas unit heaters", "DOAS with fan coil district chilled water with no heat", "DOAS with VRF", "DOAS with water source heat pumps fluid cooler with boiler", "DOAS with water source heat pumps cooling tower with boiler", "DOAS with water source heat pumps with ground source heat pump", "DOAS with water source heat pumps district chilled water with district hot water", "Fan coil chiller with boiler", "Fan coil chiller with central air source heat pump", "Fan coil chiller with district hot water", "Fan coil chiller with baseboard electric", "Fan coil chiller with gas unit heaters", "Fan coil chiller with no heat", "Fan coil air-cooled chiller with boiler", "Fan coil air-cooled chiller with central air source heat pump", "Fan coil air-cooled chiller with district hot water", "Fan coil air-cooled chiller with baseboard electric", "Fan coil air-cooled chiller with gas unit heaters", "Fan coil air-cooled chiller with no heat", "Fan coil district chilled water with boiler", "Fan coil district chilled water with central air source heat pump", "Fan coil district chilled water with district hot water", "Fan coil district chilled water with baseboard electric", "Fan coil district chilled water with gas unit heaters", "Fan coil district chilled water with no heat", "Forced air furnace", "Gas unit heaters", "PTAC with baseboard electric", "PTAC with baseboard gas boiler", "PTAC with baseboard district hot water", "PTAC with gas unit heaters", "PTAC with electric coil", "PTAC with gas coil", "PTAC with gas boiler", "PTAC with central air source heat pump", "PTAC with district hot water", "PTAC with no heat", "PTHP", "PSZ-AC with baseboard electric", "PSZ-AC with baseboard gas boiler", "PSZ-AC with baseboard district hot water", "PSZ-AC with gas unit heaters", "PSZ-AC with electric coil", "PSZ-AC with gas coil", "PSZ-AC with gas boiler", "PSZ-AC with central air source heat pump", "PSZ-AC with district hot water", "PSZ-AC with no heat", "PSZ-AC district chilled water with baseboard electric", "PSZ-AC district chilled water with baseboard gas boiler", "PSZ-AC district chilled water with baseboard district hot water", "PSZ-AC district chilled water with gas unit heaters", "PSZ-AC district chilled water with electric coil", "PSZ-AC district chilled water with gas coil", "PSZ-AC district chilled water with gas boiler", "PSZ-AC district chilled water with central air source heat pump", "PSZ-AC district chilled water with district hot water", "PSZ-AC district chilled water with no heat", "PSZ-HP", "PVAV with gas boiler reheat", "PVAV with central air source heat pump reheat", "PVAV with district hot water reheat", "PVAV with PFP boxes", "PVAV with gas heat with electric reheat", "Residential AC with baseboard electric", "Residential AC with baseboard gas boiler", "Residential AC with baseboard central air source heat pump", "Residential AC with baseboard district hot water", "Residential AC with residential forced air furnace", "Residential AC with no heat", "Residential heat pump", "Residential heat pump with no cooling", "Residential forced air furnace", "VAV chiller with gas boiler reheat", "VAV chiller with central air source heat pump reheat", "VAV chiller with district hot water reheat", "VAV chiller with PFP boxes", "VAV chiller with gas coil reheat", "VAV chiller with no reheat with baseboard electric", "VAV chiller with no reheat with gas unit heaters", "VAV chiller with no reheat with zone heat pump", "VAV air-cooled chiller with gas boiler reheat", "VAV air-cooled chiller with central air source heat pump reheat", "VAV air-cooled chiller with district hot water reheat", "VAV air-cooled chiller with PFP boxes", "VAV air-cooled chiller with gas coil reheat", "VAV air-cooled chiller with no reheat with baseboard electric", "VAV air-cooled chiller with no reheat with gas unit heaters", "VAV air-cooled chiller with no reheat with zone heat pump", "VAV district chilled water with gas boiler reheat", "VAV district chilled water with central air source heat pump reheat", "VAV district chilled water with district hot water reheat", "VAV district chilled water with PFP boxes", "VAV district chilled water with gas coil reheat", "VAV district chilled water with no reheat with baseboard electric", "VAV district chilled water with no reheat with gas unit heaters", "VAV district chilled water with no reheat with zone heat pump", "VRF", "Water source heat pumps fluid cooler with boiler", "Water source heat pumps cooling tower with boiler", "Water source heat pumps with ground source heat pump", "Water source heat pumps district chilled water with district hot water", "Window AC with baseboard electric", "Window AC with baseboard gas boiler", "Window AC with baseboard central air source heat pump", "Window AC with baseboard district hot water", "Window AC with forced air furnace", "Window AC with unit heaters", "Window AC with no heat"]
245
+ **Choice Display Names** ["Inferred", "Ideal Air Loads", "Baseboard electric", "Baseboard gas boiler", "Baseboard central air source heat pump", "Baseboard district hot water", "Direct evap coolers with baseboard electric", "Direct evap coolers with baseboard gas boiler", "Direct evap coolers with baseboard central air source heat pump", "Direct evap coolers with baseboard district hot water", "Direct evap coolers with forced air furnace", "Direct evap coolers with gas unit heaters", "Direct evap coolers with no heat", "DOAS with fan coil chiller with boiler", "DOAS with fan coil chiller with central air source heat pump", "DOAS with fan coil chiller with district hot water", "DOAS with fan coil chiller with baseboard electric", "DOAS with fan coil chiller with gas unit heaters", "DOAS with fan coil chiller with no heat", "DOAS with fan coil air-cooled chiller with boiler", "DOAS with fan coil air-cooled chiller with central air source heat pump", "DOAS with fan coil air-cooled chiller with district hot water", "DOAS with fan coil air-cooled chiller with baseboard electric", "DOAS with fan coil air-cooled chiller with gas unit heaters", "DOAS with fan coil air-cooled chiller with no heat", "DOAS with fan coil district chilled water with boiler", "DOAS with fan coil district chilled water with central air source heat pump", "DOAS with fan coil district chilled water with district hot water", "DOAS with fan coil district chilled water with baseboard electric", "DOAS with fan coil district chilled water with gas unit heaters", "DOAS with fan coil district chilled water with no heat", "DOAS with VRF", "DOAS with water source heat pumps fluid cooler with boiler", "DOAS with water source heat pumps cooling tower with boiler", "DOAS with water source heat pumps with ground source heat pump", "DOAS with water source heat pumps district chilled water with district hot water", "Fan coil chiller with boiler", "Fan coil chiller with central air source heat pump", "Fan coil chiller with district hot water", "Fan coil chiller with baseboard electric", "Fan coil chiller with gas unit heaters", "Fan coil chiller with no heat", "Fan coil air-cooled chiller with boiler", "Fan coil air-cooled chiller with central air source heat pump", "Fan coil air-cooled chiller with district hot water", "Fan coil air-cooled chiller with baseboard electric", "Fan coil air-cooled chiller with gas unit heaters", "Fan coil air-cooled chiller with no heat", "Fan coil district chilled water with boiler", "Fan coil district chilled water with central air source heat pump", "Fan coil district chilled water with district hot water", "Fan coil district chilled water with baseboard electric", "Fan coil district chilled water with gas unit heaters", "Fan coil district chilled water with no heat", "Forced air furnace", "Gas unit heaters", "PTAC with baseboard electric", "PTAC with baseboard gas boiler", "PTAC with baseboard district hot water", "PTAC with gas unit heaters", "PTAC with electric coil", "PTAC with gas coil", "PTAC with gas boiler", "PTAC with central air source heat pump", "PTAC with district hot water", "PTAC with no heat", "PTHP", "PSZ-AC with baseboard electric", "PSZ-AC with baseboard gas boiler", "PSZ-AC with baseboard district hot water", "PSZ-AC with gas unit heaters", "PSZ-AC with electric coil", "PSZ-AC with gas coil", "PSZ-AC with gas boiler", "PSZ-AC with central air source heat pump", "PSZ-AC with district hot water", "PSZ-AC with no heat", "PSZ-AC district chilled water with baseboard electric", "PSZ-AC district chilled water with baseboard gas boiler", "PSZ-AC district chilled water with baseboard district hot water", "PSZ-AC district chilled water with gas unit heaters", "PSZ-AC district chilled water with electric coil", "PSZ-AC district chilled water with gas coil", "PSZ-AC district chilled water with gas boiler", "PSZ-AC district chilled water with central air source heat pump", "PSZ-AC district chilled water with district hot water", "PSZ-AC district chilled water with no heat", "PSZ-HP", "PVAV with gas boiler reheat", "PVAV with central air source heat pump reheat", "PVAV with district hot water reheat", "PVAV with PFP boxes", "PVAV with gas heat with electric reheat", "PVAV with gas coil heat with electric reheat", "PVAV with gas boiler heat with electric reheat", "Residential AC with baseboard electric", "Residential AC with baseboard gas boiler", "Residential AC with baseboard central air source heat pump", "Residential AC with baseboard district hot water", "Residential AC with residential forced air furnace", "Residential AC with no heat", "Residential heat pump", "Residential heat pump with no cooling", "Residential forced air furnace", "VAV chiller with gas boiler reheat", "VAV chiller with central air source heat pump reheat", "VAV chiller with district hot water reheat", "VAV chiller with PFP boxes", "VAV chiller with gas coil reheat", "VAV chiller with no reheat with baseboard electric", "VAV chiller with no reheat with gas unit heaters", "VAV chiller with no reheat with zone heat pump", "VAV air-cooled chiller with gas boiler reheat", "VAV air-cooled chiller with central air source heat pump reheat", "VAV air-cooled chiller with district hot water reheat", "VAV air-cooled chiller with PFP boxes", "VAV air-cooled chiller with gas coil reheat", "VAV air-cooled chiller with no reheat with baseboard electric", "VAV air-cooled chiller with no reheat with gas unit heaters", "VAV air-cooled chiller with no reheat with zone heat pump", "VAV district chilled water with gas boiler reheat", "VAV district chilled water with central air source heat pump reheat", "VAV district chilled water with district hot water reheat", "VAV district chilled water with PFP boxes", "VAV district chilled water with gas coil reheat", "VAV district chilled water with no reheat with baseboard electric", "VAV district chilled water with no reheat with gas unit heaters", "VAV district chilled water with no reheat with zone heat pump", "VRF", "Water source heat pumps fluid cooler with boiler", "Water source heat pumps cooling tower with boiler", "Water source heat pumps with ground source heat pump", "Water source heat pumps district chilled water with district hot water", "Window AC with baseboard electric", "Window AC with baseboard gas boiler", "Window AC with baseboard central air source heat pump", "Window AC with baseboard district hot water", "Window AC with forced air furnace", "Window AC with unit heaters", "Window AC with no heat"]
244
246
 
245
247
 
246
248
  ### HVAC System Delivery Type
@@ -251,7 +253,7 @@ How the HVAC system delivers heating or cooling to the zone.
251
253
  **Required:** true,
252
254
  **Model Dependent:** false
253
255
 
254
- **Choice Display Names** ["Forced Air", "Hydronic"]
256
+ **Choice Display Names** ["Forced Air", "Hydronic", "Inferred"]
255
257
 
256
258
 
257
259
  ### HVAC Heating Source
@@ -262,7 +264,7 @@ The primary source of heating used by HVAC systems in the model.
262
264
  **Required:** true,
263
265
  **Model Dependent:** false
264
266
 
265
- **Choice Display Names** ["Electricity", "NaturalGas", "DistrictHeating", "DistrictAmbient"]
267
+ **Choice Display Names** ["Electricity", "NaturalGas", "DistrictHeating", "DistrictAmbient", "Inferred"]
266
268
 
267
269
 
268
270
  ### HVAC Cooling Source
@@ -273,7 +275,7 @@ The primary source of cooling used by HVAC systems in the model.
273
275
  **Required:** true,
274
276
  **Model Dependent:** false
275
277
 
276
- **Choice Display Names** ["Electricity", "DistrictCooling", "DistrictAmbient"]
278
+ **Choice Display Names** ["Electricity", "DistrictCooling", "DistrictAmbient", "Inferred"]
277
279
 
278
280
 
279
281
  ### Service Water Heating Source
@@ -318,6 +320,17 @@ Construction Set will be applied to entire building
318
320
  **Model Dependent:** false
319
321
 
320
322
 
323
+ ### Wall Construction Type
324
+ Identify Exterior Wall Construction Type to be applied to entire building
325
+ **Name:** wall_construction_type,
326
+ **Type:** Choice,
327
+ **Units:** ,
328
+ **Required:** true,
329
+ **Model Dependent:** false
330
+
331
+ **Choice Display Names** ["Mass", "Metal Building", "SteelFramed", "WoodFramed", "Inferred"]
332
+
333
+
321
334
  ### Add Space Type Loads to Model
322
335
  Populate existing space types in model with internal loads.
323
336
  **Name:** add_space_type_loads,