openstudio-common-measures 0.4.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rubocop.yml +3 -1
- data/CHANGELOG.md +25 -0
- data/README.md +21 -2
- data/doc_templates/copyright_erb.txt +1 -1
- data/lib/measures/AddCostPerFloorAreaUnusedToLights/measure.xml +2 -8
- data/lib/measures/AddCostToSupplySideHVACComponentByAirLoop/measure.xml +9 -3
- data/lib/measures/AddSimplePvToShadingSurfacesByType/measure.xml +2 -2
- data/lib/measures/RemoveUnusedDefaultProfiles/measure.xml +2 -2
- data/lib/measures/ReportModelChanges/measure.xml +2 -2
- data/lib/measures/SetCOPforSingleSpeedDXCoolingUnits/measure.xml +4 -4
- data/lib/measures/SetCOPforTwoSpeedDXCoolingUnits/measure.xml +4 -4
- data/lib/measures/SetGasBurnerEfficiency/measure.xml +4 -4
- data/lib/measures/ShiftScheduleProfileTime/measure.xml +4 -4
- data/lib/measures/SwapLightsDefinition/measure.xml +3 -5
- data/lib/measures/add_ems_emissions_reporting/LICENSE.MD.txt +15 -0
- data/lib/measures/add_ems_emissions_reporting/LICENSE.md +27 -0
- data/lib/measures/add_ems_emissions_reporting/README.md +17 -0
- data/lib/measures/add_ems_emissions_reporting/measure.rb +474 -0
- data/lib/measures/add_ems_emissions_reporting/measure.xml +599 -0
- data/lib/measures/add_ems_emissions_reporting/resources/future_annual_co2e.csv +17 -0
- data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2020.csv +8761 -0
- data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2022.csv +8761 -0
- data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2024.csv +8761 -0
- data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2026.csv +8761 -0
- data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2028.csv +8761 -0
- data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2030.csv +8761 -0
- data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2032.csv +8761 -0
- data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2034.csv +8761 -0
- data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2036.csv +8761 -0
- data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2038.csv +8761 -0
- data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2040.csv +8761 -0
- data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2042.csv +8761 -0
- data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2044.csv +8761 -0
- data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2046.csv +8761 -0
- data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2048.csv +8761 -0
- data/lib/measures/add_ems_emissions_reporting/resources/future_hourly_co2e_2050.csv +8761 -0
- data/lib/measures/add_ems_emissions_reporting/resources/historical_annual_co2e.csv +9 -0
- data/lib/measures/add_ems_emissions_reporting/resources/historical_hourly_co2e_2019.csv +8761 -0
- data/lib/measures/add_ev_load/measure.rb +51 -8
- data/lib/measures/add_ev_load/measure.xml +23 -5
- data/lib/measures/envelope_and_internal_load_breakdown/measure.xml +3 -3
- data/lib/measures/envelope_and_internal_load_breakdown/resources/report.html.erb +6 -1
- data/lib/measures/example_report/measure.xml +3 -3
- data/lib/measures/example_report/resources/report.html.erb +6 -1
- data/lib/measures/generic_qaqc/README.md +19 -4
- data/lib/measures/generic_qaqc/README.md.erb +7 -1
- data/lib/measures/generic_qaqc/docs/generic_qaqc_detailed.jpg +0 -0
- data/lib/measures/generic_qaqc/docs/generic_qaqc_summary.jpg +0 -0
- data/lib/measures/generic_qaqc/measure.rb +34 -29
- data/lib/measures/generic_qaqc/measure.xml +181 -82
- data/lib/measures/generic_qaqc/resources/check_cond_zns.rb +3 -1
- data/lib/measures/generic_qaqc/resources/check_domestic_hot_water.rb +13 -8
- data/lib/measures/generic_qaqc/resources/check_envelope_conductance.rb +330 -231
- data/lib/measures/generic_qaqc/resources/check_eui_by_end_use.rb +59 -20
- data/lib/measures/generic_qaqc/resources/check_eui_reasonableness.rb +58 -20
- data/lib/measures/generic_qaqc/resources/check_internal_loads.rb +57 -56
- data/lib/measures/generic_qaqc/resources/check_mech_sys_capacity.rb +4 -1
- data/lib/measures/generic_qaqc/resources/check_mech_sys_efficiency.rb +27 -22
- data/lib/measures/generic_qaqc/resources/check_mech_sys_part_load_eff.rb +4 -1
- data/lib/measures/generic_qaqc/resources/check_mech_sys_type.rb +3 -3
- data/lib/measures/generic_qaqc/resources/check_schedules.rb +65 -101
- data/lib/measures/generic_qaqc/resources/check_simultaneous_heating_and_cooling.rb +3 -1
- data/lib/measures/generic_qaqc/resources/check_supply_air_and_thermostat_temp_difference.rb +3 -1
- data/lib/measures/generic_qaqc/resources/os_lib_reporting_qaqc.rb +49 -15
- data/lib/measures/generic_qaqc/resources/report.html.erb +6 -1
- data/lib/measures/hvac_psychrometric_chart/measure.xml +4 -3
- data/lib/measures/hvac_psychrometric_chart/resources/report.html.erb +6 -1
- data/lib/measures/openstudio_results/measure.xml +3 -3
- data/lib/measures/openstudio_results/resources/report.html.erb +6 -1
- data/lib/measures/set_run_period/measure.xml +2 -2
- data/lib/measures/view_data/measure.xml +9 -9
- data/lib/measures/view_data/resources/report.html.in +1336 -973
- data/lib/measures/view_data/resources/va3c.rb +1 -0
- data/lib/measures/view_model/measure.xml +33 -64
- data/lib/measures/view_model/resources/report.html.in +1339 -976
- data/lib/measures/view_model/resources/va3c.rb +1 -0
- data/lib/openstudio/common_measures/version.rb +1 -1
- data/openstudio-common-measures.gemspec +2 -2
- metadata +33 -7
@@ -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>
|
7
|
-
<version_modified>
|
6
|
+
<version_id>d828bb8b-a051-4f95-96eb-e42035d8b7e3</version_id>
|
7
|
+
<version_modified>20220622T165904Z</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
|
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
|
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
|
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>
|
552
|
+
<filename>check_placeholder.rb</filename>
|
520
553
|
<filetype>rb</filetype>
|
521
554
|
<usage_type>resource</usage_type>
|
522
|
-
<checksum>
|
555
|
+
<checksum>C9561EBD</checksum>
|
523
556
|
</file>
|
524
557
|
<file>
|
525
|
-
<filename>
|
558
|
+
<filename>check_plenum_loads.rb</filename>
|
526
559
|
<filetype>rb</filetype>
|
527
560
|
<usage_type>resource</usage_type>
|
528
|
-
<checksum>
|
561
|
+
<checksum>46981891</checksum>
|
529
562
|
</file>
|
530
563
|
<file>
|
531
|
-
<filename>
|
564
|
+
<filename>check_sch_coord.rb</filename>
|
532
565
|
<filetype>rb</filetype>
|
533
566
|
<usage_type>resource</usage_type>
|
534
|
-
<checksum>
|
567
|
+
<checksum>B17FFC25</checksum>
|
535
568
|
</file>
|
536
569
|
<file>
|
537
|
-
<filename>
|
570
|
+
<filename>check_air_sys_temps.rb</filename>
|
538
571
|
<filetype>rb</filetype>
|
539
572
|
<usage_type>resource</usage_type>
|
540
|
-
<checksum>
|
573
|
+
<checksum>C76C4A0C</checksum>
|
541
574
|
</file>
|
542
575
|
<file>
|
543
|
-
<filename>
|
576
|
+
<filename>check_plant_temps.rb</filename>
|
544
577
|
<filetype>rb</filetype>
|
545
578
|
<usage_type>resource</usage_type>
|
546
|
-
<checksum>
|
579
|
+
<checksum>A659EBCD</checksum>
|
547
580
|
</file>
|
548
581
|
<file>
|
549
|
-
<filename>
|
582
|
+
<filename>check_pump_pwr.rb</filename>
|
550
583
|
<filetype>rb</filetype>
|
551
584
|
<usage_type>resource</usage_type>
|
552
|
-
<checksum>
|
585
|
+
<checksum>4B6EC8EA</checksum>
|
553
586
|
</file>
|
554
587
|
<file>
|
555
|
-
<filename>
|
588
|
+
<filename>check_weather_files.rb</filename>
|
556
589
|
<filetype>rb</filetype>
|
557
590
|
<usage_type>resource</usage_type>
|
558
|
-
<checksum>
|
591
|
+
<checksum>85CA2E26</checksum>
|
559
592
|
</file>
|
560
593
|
<file>
|
561
|
-
<filename>
|
594
|
+
<filename>check_calibration.rb</filename>
|
562
595
|
<filetype>rb</filetype>
|
563
596
|
<usage_type>resource</usage_type>
|
564
|
-
<checksum>
|
597
|
+
<checksum>8D1854A4</checksum>
|
565
598
|
</file>
|
566
599
|
<file>
|
567
|
-
<filename>
|
600
|
+
<filename>CreateResults.rb</filename>
|
568
601
|
<filetype>rb</filetype>
|
569
602
|
<usage_type>resource</usage_type>
|
570
|
-
<checksum>
|
603
|
+
<checksum>D38441F3</checksum>
|
571
604
|
</file>
|
572
605
|
<file>
|
573
|
-
<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>
|
576
|
-
<checksum>
|
631
|
+
<usage_type>script</usage_type>
|
632
|
+
<checksum>9482E15C</checksum>
|
577
633
|
</file>
|
578
634
|
<file>
|
579
|
-
<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>
|
674
|
+
<checksum>2B4C8CB1</checksum>
|
583
675
|
</file>
|
584
676
|
<file>
|
585
|
-
<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>
|
680
|
+
<checksum>245963C6</checksum>
|
589
681
|
</file>
|
590
682
|
<file>
|
591
|
-
<filename>
|
683
|
+
<filename>check_simultaneous_heating_and_cooling.rb</filename>
|
592
684
|
<filetype>rb</filetype>
|
593
685
|
<usage_type>resource</usage_type>
|
594
|
-
<checksum>
|
686
|
+
<checksum>FAEFC26D</checksum>
|
595
687
|
</file>
|
596
688
|
<file>
|
597
|
-
<filename>
|
689
|
+
<filename>check_cond_zns.rb</filename>
|
598
690
|
<filetype>rb</filetype>
|
599
691
|
<usage_type>resource</usage_type>
|
600
|
-
<checksum>
|
692
|
+
<checksum>35AF3348</checksum>
|
601
693
|
</file>
|
602
694
|
<file>
|
603
|
-
<filename>
|
695
|
+
<filename>check_mech_sys_capacity.rb</filename>
|
604
696
|
<filetype>rb</filetype>
|
605
697
|
<usage_type>resource</usage_type>
|
606
|
-
<checksum>
|
698
|
+
<checksum>D4C11C12</checksum>
|
607
699
|
</file>
|
608
700
|
<file>
|
609
|
-
<filename>
|
701
|
+
<filename>check_mech_sys_efficiency.rb</filename>
|
610
702
|
<filetype>rb</filetype>
|
611
703
|
<usage_type>resource</usage_type>
|
612
|
-
<checksum>
|
704
|
+
<checksum>5239DDEA</checksum>
|
613
705
|
</file>
|
614
706
|
<file>
|
615
|
-
<filename>
|
707
|
+
<filename>check_schedules.rb</filename>
|
616
708
|
<filetype>rb</filetype>
|
617
709
|
<usage_type>resource</usage_type>
|
618
|
-
<checksum>
|
710
|
+
<checksum>4381DA3F</checksum>
|
619
711
|
</file>
|
620
712
|
<file>
|
621
|
-
<filename>
|
713
|
+
<filename>check_internal_loads.rb</filename>
|
622
714
|
<filetype>rb</filetype>
|
623
715
|
<usage_type>resource</usage_type>
|
624
|
-
<checksum>
|
716
|
+
<checksum>8770A7D0</checksum>
|
625
717
|
</file>
|
626
718
|
<file>
|
627
|
-
<filename>
|
719
|
+
<filename>check_domestic_hot_water.rb</filename>
|
628
720
|
<filetype>rb</filetype>
|
629
721
|
<usage_type>resource</usage_type>
|
630
|
-
<checksum>
|
722
|
+
<checksum>43606255</checksum>
|
631
723
|
</file>
|
632
724
|
<file>
|
633
|
-
<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>
|
728
|
+
<checksum>87A54A27</checksum>
|
637
729
|
</file>
|
638
730
|
<file>
|
639
|
-
<filename>
|
731
|
+
<filename>os_lib_reporting_qaqc.rb</filename>
|
640
732
|
<filetype>rb</filetype>
|
641
|
-
<usage_type>
|
642
|
-
<checksum>
|
733
|
+
<usage_type>resource</usage_type>
|
734
|
+
<checksum>579D7C6B</checksum>
|
643
735
|
</file>
|
644
736
|
<file>
|
645
|
-
<filename>
|
737
|
+
<filename>check_eui_reasonableness.rb</filename>
|
646
738
|
<filetype>rb</filetype>
|
647
739
|
<usage_type>resource</usage_type>
|
648
|
-
<checksum>
|
740
|
+
<checksum>E6A6A3EB</checksum>
|
649
741
|
</file>
|
650
742
|
<file>
|
651
|
-
<filename>
|
743
|
+
<filename>check_eui_by_end_use.rb</filename>
|
652
744
|
<filetype>rb</filetype>
|
653
745
|
<usage_type>resource</usage_type>
|
654
|
-
<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>
|
752
|
+
<checksum>11DDEADA</checksum>
|
661
753
|
</file>
|
662
754
|
<file>
|
663
|
-
<
|
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>
|
671
|
-
<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>
|
776
|
+
<checksum>1C5120F7</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 = []
|
@@ -49,11 +49,14 @@ module OsLib_QAQC
|
|
49
49
|
else
|
50
50
|
check_elems << OpenStudio::Attribute.new('description', 'Check against the 2011 ASHRAE Handbook - HVAC Applications, Table 7 section 50.14.')
|
51
51
|
end
|
52
|
-
|
52
|
+
check_elems << OpenStudio::Attribute.new('min_pass', min_pass * 100)
|
53
|
+
check_elems << OpenStudio::Attribute.new('max_pass', max_pass * 100)
|
54
|
+
|
53
55
|
# stop here if only name is requested this is used to populate display name for arguments
|
54
56
|
if name_only == true
|
55
57
|
results = []
|
56
58
|
check_elems.each do |elem|
|
59
|
+
next if ['Double','Integer'].include? (elem.valueType.valueDescription)
|
57
60
|
results << elem.valueAsString
|
58
61
|
end
|
59
62
|
return results
|
@@ -158,7 +161,7 @@ module OsLib_QAQC
|
|
158
161
|
|
159
162
|
space_type_num_people_hours = 0.0
|
160
163
|
# loop through peole instances
|
161
|
-
space_type.
|
164
|
+
space_type.people.each do |inst|
|
162
165
|
inst_num_people = inst.getNumberOfPeople(space_type_floor_area)
|
163
166
|
inst_schedule = inst.numberofPeopleSchedule.get # sim will fail prior to this if doesn't have it
|
164
167
|
|
@@ -185,7 +188,7 @@ module OsLib_QAQC
|
|
185
188
|
|
186
189
|
num_people_hours += space_type_num_people_hours
|
187
190
|
end
|
188
|
-
num_meals = num_people_hours / 365.0 * 1.5 # 90 minute meal
|
191
|
+
num_meals = num_people_hours / (365.0 * 1.5) # 90 minute meal
|
189
192
|
target_consumption = num_meals * ashrae_hot_water_demand.first[:avg_day_unit]
|
190
193
|
|
191
194
|
elsif ['LargeHotel', 'SmallHotel'].include? building_type
|
@@ -287,7 +290,7 @@ module OsLib_QAQC
|
|
287
290
|
|
288
291
|
num_people_hours += space_type_num_people_hours
|
289
292
|
end
|
290
|
-
num_meals = num_people_hours / 365.0 * 0.5 # 30 minute leal
|
293
|
+
num_meals = num_people_hours / (365.0 * 0.5) # 30 minute leal
|
291
294
|
# todo - add logic to address drive through traffic
|
292
295
|
target_consumption = num_meals * ashrae_hot_water_demand.first[:avg_day_unit]
|
293
296
|
|
@@ -312,10 +315,12 @@ module OsLib_QAQC
|
|
312
315
|
end
|
313
316
|
|
314
317
|
# check actual against target
|
315
|
-
if
|
316
|
-
|
317
|
-
|
318
|
-
|
318
|
+
if !target_consumption.nil?
|
319
|
+
if service_water_consumption_daily_avg_gal < target_consumption * (1.0 - min_pass)
|
320
|
+
check_elems << OpenStudio::Attribute.new('flag', "Annual average of #{service_water_consumption_daily_avg_gal.round} gallons per day of hot water is more than #{min_pass * 100} % below the value of #{target_consumption.round} gallons per day.")
|
321
|
+
elsif service_water_consumption_daily_avg_gal > target_consumption * (1.0 + max_pass)
|
322
|
+
check_elems << OpenStudio::Attribute.new('flag', "Annual average of #{service_water_consumption_daily_avg_gal.round} gallons per day of hot water is more than #{max_pass * 100} % above the value of #{target_consumption.round} gallons per day.")
|
323
|
+
end
|
319
324
|
end
|
320
325
|
rescue StandardError => e
|
321
326
|
# brief description of ruby error
|