openstudio-common-measures 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -1
  3. data/README.md +7 -2
  4. data/doc_templates/copyright_erb.txt +1 -1
  5. data/lib/measures/AddCostPerFloorAreaUnusedToLights/measure.xml +2 -8
  6. data/lib/measures/AddCostToSupplySideHVACComponentByAirLoop/measure.xml +9 -3
  7. data/lib/measures/AddSimplePvToShadingSurfacesByType/measure.xml +2 -2
  8. data/lib/measures/RemoveUnusedDefaultProfiles/measure.xml +2 -2
  9. data/lib/measures/ReportModelChanges/measure.xml +2 -2
  10. data/lib/measures/SetCOPforSingleSpeedDXCoolingUnits/measure.xml +4 -4
  11. data/lib/measures/SetCOPforTwoSpeedDXCoolingUnits/measure.xml +4 -4
  12. data/lib/measures/SetGasBurnerEfficiency/measure.xml +4 -4
  13. data/lib/measures/ShiftScheduleProfileTime/measure.xml +4 -4
  14. data/lib/measures/SwapLightsDefinition/measure.xml +3 -5
  15. data/lib/measures/add_ems_emissions_reporting/measure.rb +236 -29
  16. data/lib/measures/add_ems_emissions_reporting/measure.xml +362 -10
  17. data/lib/measures/add_ev_load/measure.rb +51 -8
  18. data/lib/measures/add_ev_load/measure.xml +23 -5
  19. data/lib/measures/envelope_and_internal_load_breakdown/measure.xml +3 -3
  20. data/lib/measures/envelope_and_internal_load_breakdown/resources/report.html.erb +5 -1
  21. data/lib/measures/example_report/measure.xml +3 -3
  22. data/lib/measures/example_report/resources/report.html.erb +5 -1
  23. data/lib/measures/generic_qaqc/README.md +19 -4
  24. data/lib/measures/generic_qaqc/README.md.erb +7 -1
  25. data/lib/measures/generic_qaqc/docs/generic_qaqc_detailed.jpg +0 -0
  26. data/lib/measures/generic_qaqc/docs/generic_qaqc_summary.jpg +0 -0
  27. data/lib/measures/generic_qaqc/measure.rb +34 -29
  28. data/lib/measures/generic_qaqc/measure.xml +181 -82
  29. data/lib/measures/generic_qaqc/resources/check_cond_zns.rb +3 -1
  30. data/lib/measures/generic_qaqc/resources/check_domestic_hot_water.rb +13 -8
  31. data/lib/measures/generic_qaqc/resources/check_envelope_conductance.rb +330 -231
  32. data/lib/measures/generic_qaqc/resources/check_eui_by_end_use.rb +59 -20
  33. data/lib/measures/generic_qaqc/resources/check_eui_reasonableness.rb +58 -20
  34. data/lib/measures/generic_qaqc/resources/check_internal_loads.rb +57 -56
  35. data/lib/measures/generic_qaqc/resources/check_mech_sys_capacity.rb +4 -1
  36. data/lib/measures/generic_qaqc/resources/check_mech_sys_efficiency.rb +27 -22
  37. data/lib/measures/generic_qaqc/resources/check_mech_sys_part_load_eff.rb +4 -1
  38. data/lib/measures/generic_qaqc/resources/check_mech_sys_type.rb +3 -3
  39. data/lib/measures/generic_qaqc/resources/check_schedules.rb +65 -101
  40. data/lib/measures/generic_qaqc/resources/check_simultaneous_heating_and_cooling.rb +3 -1
  41. data/lib/measures/generic_qaqc/resources/check_supply_air_and_thermostat_temp_difference.rb +3 -1
  42. data/lib/measures/generic_qaqc/resources/os_lib_reporting_qaqc.rb +49 -15
  43. data/lib/measures/generic_qaqc/resources/report.html.erb +5 -1
  44. data/lib/measures/hvac_psychrometric_chart/measure.xml +3 -3
  45. data/lib/measures/hvac_psychrometric_chart/resources/report.html.erb +5 -1
  46. data/lib/measures/openstudio_results/measure.xml +3 -3
  47. data/lib/measures/openstudio_results/resources/report.html.erb +5 -1
  48. data/lib/measures/set_run_period/measure.xml +2 -2
  49. data/lib/measures/view_data/measure.xml +4 -4
  50. data/lib/measures/view_data/resources/report.html.in +189 -19
  51. data/lib/measures/view_data/resources/va3c.rb +1 -0
  52. data/lib/measures/view_model/measure.xml +9 -9
  53. data/lib/measures/view_model/resources/report.html.in +189 -19
  54. data/lib/measures/view_model/resources/va3c.rb +1 -0
  55. data/lib/openstudio/common_measures/version.rb +1 -1
  56. data/openstudio-common-measures.gemspec +1 -1
  57. metadata +7 -5
@@ -1,6 +1,6 @@
1
1
  <%
2
2
  # *******************************************************************************
3
- # OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC.
3
+ # OpenStudio(R), Copyright (c) 2008-2022, Alliance for Sustainable Energy, LLC.
4
4
  # All rights reserved.
5
5
  # Redistribution and use in source and binary forms, with or without
6
6
  # modification, are permitted provided that the following conditions are met:
@@ -42,6 +42,10 @@
42
42
 
43
43
 
44
44
 
45
+
46
+
47
+
48
+
45
49
  <!DOCTYPE html>
46
50
  <html lang="en">
47
51
  <head>
@@ -28,7 +28,7 @@ This used to set the target standard for most checks.
28
28
  **Model Dependent:** false
29
29
 
30
30
  ### EUI Reasonableness (General)
31
- Check EUI for model against selected ASHRAE standard DOE prototype buildings.
31
+ Check model EUI against selected ASHRAE standard DOE prototype building.
32
32
  **Name:** check_eui_reasonableness,
33
33
  **Type:** Boolean,
34
34
  **Units:** ,
@@ -44,7 +44,7 @@ Check EUI for model against selected ASHRAE standard DOE prototype buildings.
44
44
  **Model Dependent:** false
45
45
 
46
46
  ### End Use by Category (General)
47
- Check end use by category against selected ASHRAE standard DOE prototype buildings.
47
+ Check model consumption by end use against selected ASHRAE standard DOE prototype building.
48
48
  **Name:** check_eui_by_end_use,
49
49
  **Type:** Boolean,
50
50
  **Units:** ,
@@ -100,7 +100,7 @@ Check for simultaneous heating and cooling by looping through all Single Duct VA
100
100
  **Model Dependent:** false
101
101
 
102
102
  ### Internal Loads (Baseline)
103
- Check LPD, ventilation rates, occupant density, plug loads, and equipment loads against selected ASHRAE standard and DOE Prototype buildings.
103
+ Check LPD, ventilation rates, occupant density, plug loads, and equipment loads against selected ASHRAE standard DOE Prototype buildings.
104
104
  **Name:** check_internal_loads,
105
105
  **Type:** Boolean,
106
106
  **Units:** ,
@@ -179,7 +179,7 @@ Check against selected ASHRAE standard for the following component types: Chille
179
179
  **Required:** true,
180
180
  **Model Dependent:** false
181
181
 
182
- ### Mechanical System Type (Baseline)
182
+ ### Baseline Mechanical System Type (Baseline)
183
183
  Check against ASHRAE 90.1. Infers the baseline system type based on the equipment serving the zone and their heating/cooling fuels. Only does a high-level inference; does not look for the presence/absence of required controls, etc.
184
184
  **Name:** check_mech_sys_type,
185
185
  **Type:** Boolean,
@@ -203,6 +203,21 @@ Check if fans modeled to ASHRAE 90.1 2013 Section G3.1.2.9 requirements. Compare
203
203
  **Required:** true,
204
204
  **Model Dependent:** false
205
205
 
206
+ ### Use Upstream Argument Values
207
+ When true this will look for arguments or registerValues in upstream measures that match arguments from this measure, and will use the value from the upstream measure in place of what is entered for this measure.
208
+ **Name:** use_upstream_args,
209
+ **Type:** Boolean,
210
+ **Units:** ,
211
+ **Required:** true,
212
+ **Model Dependent:** false
213
+
214
+
215
+
216
+
206
217
 
207
218
 
219
+ ## Screenshot of Sample Summary Table
220
+ ![Summary Table](./docs/generic_qaqc_summary.jpg?raw=true)
208
221
 
222
+ ## Screenshot of Sample Detailed Table
223
+ ![Detailed Table](./docs/generic_qaqc_detailed.jpg?raw=true)
@@ -39,4 +39,10 @@
39
39
  <% output_names << output[:display_name] %>
40
40
  <% end %>
41
41
  <%= output_names.join(", ") %>
42
- <% end %>
42
+ <% end %>
43
+
44
+ ## Screenshot of Sample Summary Table
45
+ ![Summary Table](./docs/generic_qaqc_summary.jpg?raw=true)
46
+
47
+ ## Screenshot of Sample Detailed Table
48
+ ![Detailed Table](./docs/generic_qaqc_detailed.jpg?raw=true)
@@ -41,6 +41,7 @@ require 'openstudio-standards'
41
41
  require 'openstudio-extension'
42
42
  require 'openstudio/extension/core/os_lib_schedules'
43
43
  require 'openstudio/extension/core/os_lib_helper_methods'
44
+ require 'openstudio/extension/core/os_lib_model_generation.rb'
44
45
 
45
46
  # require all .rb files in resources folder
46
47
  Dir[File.dirname(__FILE__) + '/resources/*.rb'].each { |file| require file }
@@ -49,6 +50,9 @@ Dir[File.dirname(__FILE__) + '/resources/*.rb'].each { |file| require file }
49
50
  class GenericQAQC < OpenStudio::Measure::ReportingMeasure
50
51
  # all QAQC checks should be in OsLib_QAQC module
51
52
  include OsLib_QAQC
53
+ include OsLib_HelperMethods
54
+ include OsLib_ModelGeneration
55
+
52
56
  # OsLib_CreateResults is needed for utility EDA programs but not the generic QAQC measure
53
57
  # include OsLib_CreateResults
54
58
 
@@ -89,6 +93,7 @@ class GenericQAQC < OpenStudio::Measure::ReportingMeasure
89
93
 
90
94
  # gather inputs for check_mech_sys_capacity. Each option has a target value, min and max fractional tolerance, and units
91
95
  # in the future climate zone specific targets may be in standards
96
+ # todo - expose these tollerances as user arguments
92
97
  options_check_mech_sys_capacity = {}
93
98
  options_check_mech_sys_capacity['chiller_max_flow_rate'] = { 'target' => 2.4, 'min' => 0.1, 'max' => 0.1, 'units' => 'gal/ton*min' }
94
99
  options_check_mech_sys_capacity['air_loop_max_flow_rate'] = { 'target' => 1.0, 'min' => 0.1, 'max' => 0.1, 'units' => 'cfm/ft^2' }
@@ -117,14 +122,7 @@ class GenericQAQC < OpenStudio::Measure::ReportingMeasure
117
122
  args = OpenStudio::Measure::OSArgumentVector.new
118
123
 
119
124
  # Make an argument for the template
120
- template_chs = OpenStudio::StringVector.new
121
- template_chs << 'DOE Ref Pre-1980'
122
- template_chs << 'DOE Ref 1980-2004'
123
- template_chs << '90.1-2004'
124
- template_chs << '90.1-2007'
125
- template_chs << '90.1-2010'
126
- template_chs << '90.1-2013'
127
- template = OpenStudio::Measure::OSArgument.makeChoiceArgument('template', template_chs, true)
125
+ template = OpenStudio::Measure::OSArgument.makeChoiceArgument('template', get_doe_templates(false), true)
128
126
  template.setDisplayName('Target ASHRAE Standard')
129
127
  template.setDescription('This used to set the target standard for most checks.')
130
128
  template.setDefaultValue('90.1-2013') # there is override variable in run method for this
@@ -184,6 +182,13 @@ class GenericQAQC < OpenStudio::Measure::ReportingMeasure
184
182
  end
185
183
  end
186
184
 
185
+ # make an argument for use_upstream_args
186
+ use_upstream_args = OpenStudio::Measure::OSArgument.makeBoolArgument('use_upstream_args', true)
187
+ use_upstream_args.setDisplayName('Use Upstream Argument Values')
188
+ use_upstream_args.setDescription('When true this will look for arguments or registerValues in upstream measures that match arguments from this measure, and will use the value from the upstream measure in place of what is entered for this measure.')
189
+ use_upstream_args.setDefaultValue(true)
190
+ args << use_upstream_args
191
+
187
192
  return args
188
193
  end # end the arguments method
189
194
 
@@ -267,32 +272,32 @@ class GenericQAQC < OpenStudio::Measure::ReportingMeasure
267
272
  # used for edapt programs to populate xml file with extra data
268
273
  # report_elems << create_results
269
274
 
270
- # utility name to to used by some qaqc checks
271
- @utility_name = nil # for utility QAQC string is passed in
272
- default_target_standard = args['template'] # for utility QAQC this is hard coded, for generic it is user argument
273
-
274
- # for large scale analysis may want to infer this from building name so it will be in sync with template variables from earlier measures
275
- override_template_arg = false
276
- if override_template_arg
277
- template_chs = []
278
- template_chs << 'DOE Ref Pre-1980'
279
- template_chs << 'DOE Ref 1980-2004'
280
- template_chs << '90.1-2004'
281
- template_chs << '90.1-2007'
282
- template_chs << '90.1-2010'
283
- template_chs << '90.1-2013'
284
- # map standard
285
- template_chs.each do |template_ch|
286
- if @model.getBuilding.name.to_s.include?(template_ch)
287
- default_target_standard = template_ch
288
- if template_ch != args['template']
289
- runner.registerInfo("override_template_arg is true. Ignoring user argument of #{args['template']} and instead using #{template_ch}.")
275
+ # lookup and replace argument values from upstream measures
276
+ if args['use_upstream_args'] == true
277
+ args.each do |arg, value|
278
+ next if arg == 'use_upstream_args' # this argument should not be changed
279
+ value_from_osw = OsLib_HelperMethods.check_upstream_measure_for_arg(runner, arg)
280
+ if !value_from_osw.empty?
281
+ runner.registerInfo("Replacing argument named #{arg} from current measure with a value of #{value_from_osw[:value]} from #{value_from_osw[:measure_name]}.")
282
+ new_val = value_from_osw[:value]
283
+ # TODO: - make code to handle non strings more robust. check_upstream_measure_for_arg coudl pass bakc the argument type
284
+ if arg == 'total_bldg_floor_area'
285
+ args[arg] = new_val.to_f
286
+ elsif arg == 'num_stories_above_grade'
287
+ args[arg] = new_val.to_f
288
+ elsif arg == 'zipcode'
289
+ args[arg] = new_val.to_i
290
+ else
291
+ args[arg] = new_val
290
292
  end
291
- break
292
293
  end
293
294
  end
294
295
  end
295
296
 
297
+ # utility name to to used by some qaqc checks
298
+ @utility_name = nil # for utility QAQC string is passed in
299
+ default_target_standard = args['template'] # for utility QAQC this is hard coded, for generic it is user argument
300
+
296
301
  # get building type, different standards path if multifamily
297
302
  building_type = ''
298
303
  if @model.getBuilding.standardsBuildingType.is_initialized
@@ -3,8 +3,8 @@
3
3
  <schema_version>3.0</schema_version>
4
4
  <name>generic_qaqc</name>
5
5
  <uid>d58d6b29-69ba-4915-b907-3c2c37ddb7c7</uid>
6
- <version_id>20e401a2-9dd1-4a18-83aa-99fc46a4cea2</version_id>
7
- <version_modified>20210423T144537Z</version_modified>
6
+ <version_id>8f162fe1-b120-4d78-861a-1089ee150751</version_id>
7
+ <version_modified>20220506T153448Z</version_modified>
8
8
  <xml_checksum>0A3BF61C</xml_checksum>
9
9
  <class_name>GenericQAQC</class_name>
10
10
  <display_name>Generic QAQC</display_name>
@@ -44,12 +44,44 @@
44
44
  <value>90.1-2013</value>
45
45
  <display_name>90.1-2013</display_name>
46
46
  </choice>
47
+ <choice>
48
+ <value>90.1-2016</value>
49
+ <display_name>90.1-2016</display_name>
50
+ </choice>
51
+ <choice>
52
+ <value>90.1-2019</value>
53
+ <display_name>90.1-2019</display_name>
54
+ </choice>
55
+ <choice>
56
+ <value>ComStock DOE Ref Pre-1980</value>
57
+ <display_name>ComStock DOE Ref Pre-1980</display_name>
58
+ </choice>
59
+ <choice>
60
+ <value>ComStock DOE Ref 1980-2004</value>
61
+ <display_name>ComStock DOE Ref 1980-2004</display_name>
62
+ </choice>
63
+ <choice>
64
+ <value>ComStock 90.1-2004</value>
65
+ <display_name>ComStock 90.1-2004</display_name>
66
+ </choice>
67
+ <choice>
68
+ <value>ComStock 90.1-2007</value>
69
+ <display_name>ComStock 90.1-2007</display_name>
70
+ </choice>
71
+ <choice>
72
+ <value>ComStock 90.1-2010</value>
73
+ <display_name>ComStock 90.1-2010</display_name>
74
+ </choice>
75
+ <choice>
76
+ <value>ComStock 90.1-2013</value>
77
+ <display_name>ComStock 90.1-2013</display_name>
78
+ </choice>
47
79
  </choices>
48
80
  </argument>
49
81
  <argument>
50
82
  <name>check_eui_reasonableness</name>
51
83
  <display_name>EUI Reasonableness (General)</display_name>
52
- <description>Check EUI for model against selected ASHRAE standard DOE prototype buildings.</description>
84
+ <description>Check model EUI against selected ASHRAE standard DOE prototype building.</description>
53
85
  <type>Boolean</type>
54
86
  <required>true</required>
55
87
  <model_dependent>false</model_dependent>
@@ -77,7 +109,7 @@
77
109
  <argument>
78
110
  <name>check_eui_by_end_use</name>
79
111
  <display_name>End Use by Category (General)</display_name>
80
- <description>Check end use by category against selected ASHRAE standard DOE prototype buildings.</description>
112
+ <description>Check model consumption by end use against selected ASHRAE standard DOE prototype building.</description>
81
113
  <type>Boolean</type>
82
114
  <required>true</required>
83
115
  <model_dependent>false</model_dependent>
@@ -180,7 +212,7 @@
180
212
  <argument>
181
213
  <name>check_internal_loads</name>
182
214
  <display_name>Internal Loads (Baseline)</display_name>
183
- <description>Check LPD, ventilation rates, occupant density, plug loads, and equipment loads against selected ASHRAE standard and DOE Prototype buildings.</description>
215
+ <description>Check LPD, ventilation rates, occupant density, plug loads, and equipment loads against selected ASHRAE standard DOE Prototype buildings.</description>
184
216
  <type>Boolean</type>
185
217
  <required>true</required>
186
218
  <model_dependent>false</model_dependent>
@@ -319,7 +351,7 @@
319
351
  </argument>
320
352
  <argument>
321
353
  <name>check_mech_sys_type</name>
322
- <display_name>Mechanical System Type (Baseline)</display_name>
354
+ <display_name>Baseline Mechanical System Type (Baseline)</display_name>
323
355
  <description>Check against ASHRAE 90.1. Infers the baseline system type based on the equipment serving the zone and their heating/cooling fuels. Only does a high-level inference; does not look for the presence/absence of required controls, etc.</description>
324
356
  <type>Boolean</type>
325
357
  <required>true</required>
@@ -364,6 +396,25 @@
364
396
  <model_dependent>false</model_dependent>
365
397
  <default_value>0.5</default_value>
366
398
  </argument>
399
+ <argument>
400
+ <name>use_upstream_args</name>
401
+ <display_name>Use Upstream Argument Values</display_name>
402
+ <description>When true this will look for arguments or registerValues in upstream measures that match arguments from this measure, and will use the value from the upstream measure in place of what is entered for this measure.</description>
403
+ <type>Boolean</type>
404
+ <required>true</required>
405
+ <model_dependent>false</model_dependent>
406
+ <default_value>true</default_value>
407
+ <choices>
408
+ <choice>
409
+ <value>true</value>
410
+ <display_name>true</display_name>
411
+ </choice>
412
+ <choice>
413
+ <value>false</value>
414
+ <display_name>false</display_name>
415
+ </choice>
416
+ </choices>
417
+ </argument>
367
418
  </arguments>
368
419
  <outputs />
369
420
  <provenances />
@@ -437,24 +488,12 @@
437
488
  <usage_type>resource</usage_type>
438
489
  <checksum>779C47A4</checksum>
439
490
  </file>
440
- <file>
441
- <filename>README.md.erb</filename>
442
- <filetype>erb</filetype>
443
- <usage_type>readmeerb</usage_type>
444
- <checksum>703C9964</checksum>
445
- </file>
446
491
  <file>
447
492
  <filename>BasicOfficeTest.osm</filename>
448
493
  <filetype>osm</filetype>
449
494
  <usage_type>test</usage_type>
450
495
  <checksum>75942985</checksum>
451
496
  </file>
452
- <file>
453
- <filename>MidRiseApt.osm</filename>
454
- <filetype>osm</filetype>
455
- <usage_type>test</usage_type>
456
- <checksum>146619F3</checksum>
457
- </file>
458
497
  <file>
459
498
  <filename>BasicOfficeTest_Mueller_altHVAC_a.osm</filename>
460
499
  <filetype>osm</filetype>
@@ -491,12 +530,6 @@
491
530
  <usage_type>license</usage_type>
492
531
  <checksum>A21A3ED2</checksum>
493
532
  </file>
494
- <file>
495
- <filename>check_mech_sys_type.rb</filename>
496
- <filetype>rb</filetype>
497
- <usage_type>resource</usage_type>
498
- <checksum>887B8C81</checksum>
499
- </file>
500
533
  <file>
501
534
  <filename>check_plant_cap.rb</filename>
502
535
  <filetype>rb</filetype>
@@ -516,165 +549,231 @@
516
549
  <checksum>F32BF92B</checksum>
517
550
  </file>
518
551
  <file>
519
- <filename>check_supply_air_and_thermostat_temp_difference.rb</filename>
552
+ <filename>check_placeholder.rb</filename>
520
553
  <filetype>rb</filetype>
521
554
  <usage_type>resource</usage_type>
522
- <checksum>A6C5D312</checksum>
555
+ <checksum>C9561EBD</checksum>
523
556
  </file>
524
557
  <file>
525
- <filename>check_placeholder.rb</filename>
558
+ <filename>check_plenum_loads.rb</filename>
526
559
  <filetype>rb</filetype>
527
560
  <usage_type>resource</usage_type>
528
- <checksum>C9561EBD</checksum>
561
+ <checksum>46981891</checksum>
529
562
  </file>
530
563
  <file>
531
- <filename>check_mech_sys_part_load_eff.rb</filename>
564
+ <filename>check_sch_coord.rb</filename>
532
565
  <filetype>rb</filetype>
533
566
  <usage_type>resource</usage_type>
534
- <checksum>511ECDBF</checksum>
567
+ <checksum>B17FFC25</checksum>
535
568
  </file>
536
569
  <file>
537
- <filename>check_plenum_loads.rb</filename>
570
+ <filename>check_air_sys_temps.rb</filename>
538
571
  <filetype>rb</filetype>
539
572
  <usage_type>resource</usage_type>
540
- <checksum>46981891</checksum>
573
+ <checksum>C76C4A0C</checksum>
541
574
  </file>
542
575
  <file>
543
- <filename>os_lib_reporting_qaqc.rb</filename>
576
+ <filename>check_plant_temps.rb</filename>
544
577
  <filetype>rb</filetype>
545
578
  <usage_type>resource</usage_type>
546
- <checksum>14402DF5</checksum>
579
+ <checksum>A659EBCD</checksum>
547
580
  </file>
548
581
  <file>
549
- <filename>check_schedules.rb</filename>
582
+ <filename>check_pump_pwr.rb</filename>
550
583
  <filetype>rb</filetype>
551
584
  <usage_type>resource</usage_type>
552
- <checksum>97D9A3D1</checksum>
585
+ <checksum>4B6EC8EA</checksum>
553
586
  </file>
554
587
  <file>
555
- <filename>check_simultaneous_heating_and_cooling.rb</filename>
588
+ <filename>check_weather_files.rb</filename>
556
589
  <filetype>rb</filetype>
557
590
  <usage_type>resource</usage_type>
558
- <checksum>D8E9263B</checksum>
591
+ <checksum>85CA2E26</checksum>
559
592
  </file>
560
593
  <file>
561
- <filename>check_sch_coord.rb</filename>
594
+ <filename>check_calibration.rb</filename>
562
595
  <filetype>rb</filetype>
563
596
  <usage_type>resource</usage_type>
564
- <checksum>B17FFC25</checksum>
597
+ <checksum>8D1854A4</checksum>
565
598
  </file>
566
599
  <file>
567
- <filename>check_eui_reasonableness.rb</filename>
600
+ <filename>CreateResults.rb</filename>
568
601
  <filetype>rb</filetype>
569
602
  <usage_type>resource</usage_type>
570
- <checksum>83D17D6A</checksum>
603
+ <checksum>D38441F3</checksum>
571
604
  </file>
572
605
  <file>
573
- <filename>check_internal_loads.rb</filename>
606
+ <filename>README.md.erb</filename>
607
+ <filetype>erb</filetype>
608
+ <usage_type>readmeerb</usage_type>
609
+ <checksum>3AFCE991</checksum>
610
+ </file>
611
+ <file>
612
+ <filename>generic_qaqc_summary.jpg</filename>
613
+ <filetype>jpg</filetype>
614
+ <usage_type>doc</usage_type>
615
+ <checksum>45ABEE68</checksum>
616
+ </file>
617
+ <file>
618
+ <filename>generic_qaqc_detailed.jpg</filename>
619
+ <filetype>jpg</filetype>
620
+ <usage_type>doc</usage_type>
621
+ <checksum>92EA3F5C</checksum>
622
+ </file>
623
+ <file>
624
+ <version>
625
+ <software_program>OpenStudio</software_program>
626
+ <identifier>2.0.0</identifier>
627
+ <min_compatible>3.1.0</min_compatible>
628
+ </version>
629
+ <filename>measure.rb</filename>
574
630
  <filetype>rb</filetype>
575
- <usage_type>resource</usage_type>
576
- <checksum>F698CF14</checksum>
631
+ <usage_type>script</usage_type>
632
+ <checksum>9482E15C</checksum>
577
633
  </file>
578
634
  <file>
579
- <filename>check_domestic_hot_water.rb</filename>
635
+ <filename>fsr.osm</filename>
636
+ <filetype>osm</filetype>
637
+ <usage_type>test</usage_type>
638
+ <checksum>D2A4E538</checksum>
639
+ </file>
640
+ <file>
641
+ <filename>uo_blend.osm</filename>
642
+ <filetype>osm</filetype>
643
+ <usage_type>test</usage_type>
644
+ <checksum>605CDF17</checksum>
645
+ </file>
646
+ <file>
647
+ <filename>uo_strip_mall.osm</filename>
648
+ <filetype>osm</filetype>
649
+ <usage_type>test</usage_type>
650
+ <checksum>95EBB09E</checksum>
651
+ </file>
652
+ <file>
653
+ <filename>uo_lg_hotel.osm</filename>
654
+ <filetype>osm</filetype>
655
+ <usage_type>test</usage_type>
656
+ <checksum>B8033381</checksum>
657
+ </file>
658
+ <file>
659
+ <filename>USA_NY_Buffalo-Greater.Buffalo.Intl.AP.725280_TMY3.epw</filename>
660
+ <filetype>epw</filetype>
661
+ <usage_type>test</usage_type>
662
+ <checksum>6B50E0FF</checksum>
663
+ </file>
664
+ <file>
665
+ <filename>uo_mixed.osm</filename>
666
+ <filetype>osm</filetype>
667
+ <usage_type>test</usage_type>
668
+ <checksum>1874C555</checksum>
669
+ </file>
670
+ <file>
671
+ <filename>check_mech_sys_type.rb</filename>
580
672
  <filetype>rb</filetype>
581
673
  <usage_type>resource</usage_type>
582
- <checksum>E4F0F677</checksum>
674
+ <checksum>2B4C8CB1</checksum>
583
675
  </file>
584
676
  <file>
585
- <filename>check_air_sys_temps.rb</filename>
677
+ <filename>check_supply_air_and_thermostat_temp_difference.rb</filename>
586
678
  <filetype>rb</filetype>
587
679
  <usage_type>resource</usage_type>
588
- <checksum>C76C4A0C</checksum>
680
+ <checksum>245963C6</checksum>
589
681
  </file>
590
682
  <file>
591
- <filename>check_cond_zns.rb</filename>
683
+ <filename>check_simultaneous_heating_and_cooling.rb</filename>
592
684
  <filetype>rb</filetype>
593
685
  <usage_type>resource</usage_type>
594
- <checksum>7BCF4D51</checksum>
686
+ <checksum>FAEFC26D</checksum>
595
687
  </file>
596
688
  <file>
597
- <filename>check_mech_sys_capacity.rb</filename>
689
+ <filename>check_cond_zns.rb</filename>
598
690
  <filetype>rb</filetype>
599
691
  <usage_type>resource</usage_type>
600
- <checksum>776376DA</checksum>
692
+ <checksum>35AF3348</checksum>
601
693
  </file>
602
694
  <file>
603
- <filename>check_plant_temps.rb</filename>
695
+ <filename>check_mech_sys_capacity.rb</filename>
604
696
  <filetype>rb</filetype>
605
697
  <usage_type>resource</usage_type>
606
- <checksum>A659EBCD</checksum>
698
+ <checksum>D4C11C12</checksum>
607
699
  </file>
608
700
  <file>
609
- <filename>check_pump_pwr.rb</filename>
701
+ <filename>check_mech_sys_efficiency.rb</filename>
610
702
  <filetype>rb</filetype>
611
703
  <usage_type>resource</usage_type>
612
- <checksum>4B6EC8EA</checksum>
704
+ <checksum>5239DDEA</checksum>
613
705
  </file>
614
706
  <file>
615
- <filename>check_weather_files.rb</filename>
707
+ <filename>check_schedules.rb</filename>
616
708
  <filetype>rb</filetype>
617
709
  <usage_type>resource</usage_type>
618
- <checksum>85CA2E26</checksum>
710
+ <checksum>4381DA3F</checksum>
619
711
  </file>
620
712
  <file>
621
- <filename>check_calibration.rb</filename>
713
+ <filename>check_internal_loads.rb</filename>
622
714
  <filetype>rb</filetype>
623
715
  <usage_type>resource</usage_type>
624
- <checksum>8D1854A4</checksum>
716
+ <checksum>8770A7D0</checksum>
625
717
  </file>
626
718
  <file>
627
- <filename>check_mech_sys_efficiency.rb</filename>
719
+ <filename>check_domestic_hot_water.rb</filename>
628
720
  <filetype>rb</filetype>
629
721
  <usage_type>resource</usage_type>
630
- <checksum>F897A40B</checksum>
722
+ <checksum>43606255</checksum>
631
723
  </file>
632
724
  <file>
633
- <filename>CreateResults.rb</filename>
725
+ <filename>check_mech_sys_part_load_eff.rb</filename>
634
726
  <filetype>rb</filetype>
635
727
  <usage_type>resource</usage_type>
636
- <checksum>D38441F3</checksum>
728
+ <checksum>87A54A27</checksum>
637
729
  </file>
638
730
  <file>
639
- <filename>measure_Test.rb</filename>
731
+ <filename>os_lib_reporting_qaqc.rb</filename>
640
732
  <filetype>rb</filetype>
641
- <usage_type>test</usage_type>
642
- <checksum>F46F0EA0</checksum>
733
+ <usage_type>resource</usage_type>
734
+ <checksum>579D7C6B</checksum>
643
735
  </file>
644
736
  <file>
645
- <filename>check_eui_by_end_use.rb</filename>
737
+ <filename>check_eui_reasonableness.rb</filename>
646
738
  <filetype>rb</filetype>
647
739
  <usage_type>resource</usage_type>
648
- <checksum>F188B64A</checksum>
740
+ <checksum>E6A6A3EB</checksum>
649
741
  </file>
650
742
  <file>
651
- <filename>check_envelope_conductance.rb</filename>
743
+ <filename>check_eui_by_end_use.rb</filename>
652
744
  <filetype>rb</filetype>
653
745
  <usage_type>resource</usage_type>
654
- <checksum>243DDE18</checksum>
746
+ <checksum>3CB3F8D4</checksum>
655
747
  </file>
656
748
  <file>
657
749
  <filename>README.md</filename>
658
750
  <filetype>md</filetype>
659
751
  <usage_type>readme</usage_type>
660
- <checksum>BBC2D3D5</checksum>
752
+ <checksum>11DDEADA</checksum>
661
753
  </file>
662
754
  <file>
663
- <version>
664
- <software_program>OpenStudio</software_program>
665
- <identifier>2.0.0</identifier>
666
- <min_compatible>3.1.0</min_compatible>
667
- </version>
668
- <filename>measure.rb</filename>
755
+ <filename>measure_Test.rb</filename>
669
756
  <filetype>rb</filetype>
670
- <usage_type>script</usage_type>
671
- <checksum>6DD4E3C2</checksum>
757
+ <usage_type>test</usage_type>
758
+ <checksum>EA00F910</checksum>
759
+ </file>
760
+ <file>
761
+ <filename>MidRiseApt.osm</filename>
762
+ <filetype>osm</filetype>
763
+ <usage_type>test</usage_type>
764
+ <checksum>8316418F</checksum>
765
+ </file>
766
+ <file>
767
+ <filename>check_envelope_conductance.rb</filename>
768
+ <filetype>rb</filetype>
769
+ <usage_type>resource</usage_type>
770
+ <checksum>3346FDCD</checksum>
672
771
  </file>
673
772
  <file>
674
773
  <filename>report.html.erb</filename>
675
774
  <filetype>erb</filetype>
676
775
  <usage_type>resource</usage_type>
677
- <checksum>612E9631</checksum>
776
+ <checksum>6F54D1FE</checksum>
678
777
  </file>
679
778
  </files>
680
779
  </measure>
@@ -41,7 +41,9 @@ module OsLib_QAQC
41
41
  check_elems << OpenStudio::Attribute.new('name', 'Conditioned Zones')
42
42
  check_elems << OpenStudio::Attribute.new('category', category)
43
43
  check_elems << OpenStudio::Attribute.new('description', 'Check that all zones with people have thermostats.')
44
-
44
+ check_elems << OpenStudio::Attribute.new('min_pass', "#{(min_pass * 100).round(0)}")
45
+ check_elems << OpenStudio::Attribute.new('max_pass', "#{(max_pass * 100).round(0)}")
46
+
45
47
  # stop here if only name is requested this is used to populate display name for arguments
46
48
  if name_only == true
47
49
  results = []