openstudio-common-measures 0.8.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test_with_openstudio.yml +2 -2
  3. data/CHANGELOG.md +9 -0
  4. data/Gemfile +10 -5
  5. data/Jenkinsfile +1 -1
  6. data/README.md +2 -0
  7. data/lib/measures/.rubocop.yml +6 -0
  8. data/lib/measures/AddCostPerAreaToConstruction/measure.xml +21 -21
  9. data/lib/measures/AddCostPerFloorAreaToBuilding/measure.xml +25 -25
  10. data/lib/measures/AddCostPerFloorAreaToElectricEquipment/measure.xml +21 -21
  11. data/lib/measures/AddCostPerFloorAreaToLights/measure.xml +21 -21
  12. data/lib/measures/AddCostPerFloorAreaUnusedToLights/measure.xml +21 -21
  13. data/lib/measures/AddCostToSupplySideHVACComponentByAirLoop/measure.xml +24 -24
  14. data/lib/measures/AddCostperAreatoUnusedConstruction/measure.xml +21 -21
  15. data/lib/measures/AddExteriorLights/measure.xml +19 -19
  16. data/lib/measures/AddMeter/measure.xml +15 -15
  17. data/lib/measures/AddOutputDiagnostics/measure.xml +18 -18
  18. data/lib/measures/AddOutputVariable/measure.xml +15 -15
  19. data/lib/measures/AddSimplePvToShadingSurfacesByType/measure.xml +24 -24
  20. data/lib/measures/AddThermalComfortModelTypes/measure.xml +21 -21
  21. data/lib/measures/AdjustSystemEfficiencies/measure.xml +12 -12
  22. data/lib/measures/AdjustThermostatSetpointsByDegrees/measure.xml +23 -23
  23. data/lib/measures/ChangeBuildingLocation/README.md +1 -1
  24. data/lib/measures/ChangeBuildingLocation/measure.rb +8 -13
  25. data/lib/measures/ChangeBuildingLocation/measure.xml +89 -89
  26. data/lib/measures/EnableIdealAirLoadsForAllZones/measure.xml +22 -22
  27. data/lib/measures/ExportScheduleCSV/measure.xml +29 -29
  28. data/lib/measures/ImportEnvelopeAndInternalLoadsFromIdf/measure.xml +29 -29
  29. data/lib/measures/MeterFlodPlot/measure.xml +35 -35
  30. data/lib/measures/ModifyEnergyPlusCoilCoolingDXSingleSpeedObjects/measure.xml +24 -24
  31. data/lib/measures/ModifyEnergyPlusFanVariableVolumeObjects/measure.xml +24 -24
  32. data/lib/measures/PredictedMeanVote/measure.xml +23 -23
  33. data/lib/measures/RemoveInternalLoadsDirectlyAssignedToSpaces/measure.xml +21 -21
  34. data/lib/measures/RemoveUnusedDefaultProfiles/measure.xml +19 -19
  35. data/lib/measures/ReplaceExteriorWindowConstruction/measure.xml +29 -29
  36. data/lib/measures/ReplaceModel/README.md +1 -3
  37. data/lib/measures/ReplaceModel/measure.xml +32 -14
  38. data/lib/measures/ReplaceThermostatSchedules/measure.xml +17 -17
  39. data/lib/measures/ReportModelChanges/measure.xml +23 -23
  40. data/lib/measures/RunPeriod/measure.xml +14 -14
  41. data/lib/measures/RunPeriodMultiple/measure.xml +12 -12
  42. data/lib/measures/ServerDirectoryCleanup/measure.xml +30 -30
  43. data/lib/measures/SetCOPforSingleSpeedDXCoolingUnits/measure.xml +23 -23
  44. data/lib/measures/SetCOPforTwoSpeedDXCoolingUnits/measure.xml +23 -23
  45. data/lib/measures/SetEnergyPlusInfiltrationFlowRatePerFloorArea/measure.xml +24 -24
  46. data/lib/measures/SetEnergyPlusLightObjectsLPD/measure.xml +24 -24
  47. data/lib/measures/SetEnergyPlusMinimumOutdoorAirFlowRate/measure.xml +24 -24
  48. data/lib/measures/SetGasBurnerEfficiency/measure.xml +23 -23
  49. data/lib/measures/SetLifecycleCostParameters/measure.xml +15 -15
  50. data/lib/measures/SetLightingLoadsByLPD/measure.xml +35 -35
  51. data/lib/measures/SetSpaceInfiltrationByExteriorSurfaceArea/measure.xml +25 -25
  52. data/lib/measures/SetThermostatSchedules/measure.xml +17 -17
  53. data/lib/measures/ShiftScheduleProfileTime/measure.xml +23 -23
  54. data/lib/measures/SwapLightsDefinition/measure.xml +25 -25
  55. data/lib/measures/UnmetLoadHoursTroubleshooting/measure.xml +43 -43
  56. data/lib/measures/VentilationQAQC/measure.xml +31 -31
  57. data/lib/measures/XcelEDAReportingandQAQC/measure.xml +46 -46
  58. data/lib/measures/XcelEDAReportingandQAQC/resources/CreateResults.rb +2 -0
  59. data/lib/measures/XcelEDATariffSelectionandModelSetup/measure.xml +73 -73
  60. data/lib/measures/ZoneReport/measure.xml +35 -35
  61. data/lib/measures/add_ems_emissions_reporting/measure.rb +0 -2
  62. data/lib/measures/add_ems_emissions_reporting/measure.xml +23 -23
  63. data/lib/measures/add_ems_to_control_ev_charging/measure.rb +0 -2
  64. data/lib/measures/add_ems_to_control_ev_charging/measure.xml +21 -21
  65. data/lib/measures/add_ev_load/measure.xml +35 -35
  66. data/lib/measures/add_rooftop_pv/measure.rb +5 -7
  67. data/lib/measures/add_rooftop_pv/measure.xml +25 -25
  68. data/lib/measures/add_zone_mixing_object/measure.xml +19 -19
  69. data/lib/measures/add_zone_ventilation_design_flow_rate_object/measure.xml +21 -21
  70. data/lib/measures/air_wall_zone_mixing/measure.rb +4 -6
  71. data/lib/measures/air_wall_zone_mixing/measure.xml +27 -27
  72. data/lib/measures/create_csv_output/measure.xml +28 -28
  73. data/lib/measures/envelope_and_internal_load_breakdown/measure.rb +0 -4
  74. data/lib/measures/envelope_and_internal_load_breakdown/measure.xml +52 -52
  75. data/lib/measures/envelope_and_internal_load_breakdown/resources/report.html.erb +1 -0
  76. data/lib/measures/example_report/measure.rb +2 -5
  77. data/lib/measures/example_report/measure.xml +41 -41
  78. data/lib/measures/example_report/resources/report.html.erb +1 -0
  79. data/lib/measures/gem_env_report/measure.xml +32 -32
  80. data/lib/measures/generic_qaqc/measure.rb +8 -15
  81. data/lib/measures/generic_qaqc/measure.xml +175 -175
  82. data/lib/measures/generic_qaqc/resources/check_air_sys_temps.rb +2 -2
  83. data/lib/measures/generic_qaqc/resources/check_domestic_hot_water.rb +4 -4
  84. data/lib/measures/generic_qaqc/resources/check_envelope_conductance.rb +14 -5
  85. data/lib/measures/generic_qaqc/resources/check_internal_loads.rb +2 -2
  86. data/lib/measures/generic_qaqc/resources/check_mech_sys_type.rb +1 -1
  87. data/lib/measures/generic_qaqc/resources/check_plant_temps.rb +6 -6
  88. data/lib/measures/generic_qaqc/resources/check_schedules.rb +7 -7
  89. data/lib/measures/generic_qaqc/resources/check_supply_air_and_thermostat_temp_difference.rb +5 -2
  90. data/lib/measures/generic_qaqc/resources/report.html.erb +1 -0
  91. data/lib/measures/get_site_from_building_component_library/measure.rb +4 -8
  92. data/lib/measures/get_site_from_building_component_library/measure.xml +28 -28
  93. data/lib/measures/hvac_psychrometric_chart/measure.xml +29 -29
  94. data/lib/measures/hvac_psychrometric_chart/resources/report.html.erb +1 -0
  95. data/lib/measures/inject_idf_objects/measure.xml +31 -31
  96. data/lib/measures/openstudio_results/measure.rb +2 -6
  97. data/lib/measures/openstudio_results/measure.xml +348 -360
  98. data/lib/measures/openstudio_results/resources/os_lib_reporting.rb +8 -8
  99. data/lib/measures/openstudio_results/resources/report.html.erb +1 -0
  100. data/lib/measures/remove_orphan_objects_and_unused_resources/measure.xml +24 -24
  101. data/lib/measures/set_electric_equipment_loads_by_epd/measure.xml +33 -33
  102. data/lib/measures/set_exterior_walls_and_floors_to_adiabatic/measure.xml +19 -19
  103. data/lib/measures/set_run_period/measure.xml +19 -19
  104. data/lib/measures/set_space_infiltration_per_exterior_area/measure.xml +22 -22
  105. data/lib/measures/shadow_calculation/measure.xml +18 -18
  106. data/lib/measures/tariff_selection_block/measure.rb +2 -5
  107. data/lib/measures/tariff_selection_block/measure.xml +25 -25
  108. data/lib/measures/tariff_selection_flat/measure.rb +3 -5
  109. data/lib/measures/tariff_selection_flat/measure.xml +25 -25
  110. data/lib/measures/tariff_selection_generic/measure.rb +2 -5
  111. data/lib/measures/tariff_selection_generic/measure.xml +39 -39
  112. data/lib/measures/tariff_selection_time_and_date_dependant/measure.rb +19 -15
  113. data/lib/measures/tariff_selection_time_and_date_dependant/measure.xml +37 -25
  114. data/lib/measures/view_data/measure.xml +41 -41
  115. data/lib/measures/view_model/measure.xml +35 -35
  116. data/lib/openstudio/common_measures/version.rb +1 -1
  117. data/openstudio-common-measures.gemspec +11 -4
  118. metadata +72 -15
@@ -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>generic_qaqc</name>
5
5
  <uid>d58d6b29-69ba-4915-b907-3c2c37ddb7c7</uid>
6
- <version_id>69ca37c1-8296-4319-974b-0efa50e1f9b2</version_id>
7
- <version_modified>20230601T004158Z</version_modified>
6
+ <version_id>30314b23-6e89-4672-ae78-4be112a7e2b4</version_id>
7
+ <version_modified>2024-07-11T14:32:09Z</version_modified>
8
8
  <xml_checksum>0A3BF61C</xml_checksum>
9
9
  <class_name>GenericQAQC</class_name>
10
10
  <display_name>Generic QAQC</display_name>
@@ -473,64 +473,16 @@
473
473
  </attributes>
474
474
  <files>
475
475
  <file>
476
- <filename>USA_CO_Golden-NREL.724666_TMY3.epw</filename>
477
- <filetype>epw</filetype>
478
- <usage_type>test</usage_type>
479
- <checksum>BDF687C1</checksum>
480
- </file>
481
- <file>
482
- <filename>USA_TX_Austin-Camp.Mabry.722544_TMY3.epw</filename>
483
- <filetype>epw</filetype>
484
- <usage_type>test</usage_type>
485
- <checksum>FB60E24C</checksum>
486
- </file>
487
- <file>
488
- <filename>USA_TX_Austin-Mueller.Muni.AP.722540_TMY3.epw</filename>
489
- <filetype>epw</filetype>
490
- <usage_type>test</usage_type>
491
- <checksum>B5BB1762</checksum>
492
- </file>
493
- <file>
494
- <filename>design_doc.txt</filename>
495
- <filetype>txt</filetype>
496
- <usage_type>resource</usage_type>
497
- <checksum>779C47A4</checksum>
498
- </file>
499
- <file>
500
- <filename>BasicOfficeTest.osm</filename>
501
- <filetype>osm</filetype>
502
- <usage_type>test</usage_type>
503
- <checksum>75942985</checksum>
504
- </file>
505
- <file>
506
- <filename>BasicOfficeTest_Mueller_altHVAC_a.osm</filename>
507
- <filetype>osm</filetype>
508
- <usage_type>test</usage_type>
509
- <checksum>2B03A487</checksum>
510
- </file>
511
- <file>
512
- <filename>BasicOfficeTest_Mabry.osm</filename>
513
- <filetype>osm</filetype>
514
- <usage_type>test</usage_type>
515
- <checksum>601A4415</checksum>
516
- </file>
517
- <file>
518
- <filename>BasicOfficeTest_Mueller.osm</filename>
519
- <filetype>osm</filetype>
520
- <usage_type>test</usage_type>
521
- <checksum>C57E800F</checksum>
522
- </file>
523
- <file>
524
- <filename>BasicOfficeTest_Mueller_altHVAC_b.osm</filename>
525
- <filetype>osm</filetype>
526
- <usage_type>test</usage_type>
527
- <checksum>F12AB925</checksum>
476
+ <filename>LICENSE.md</filename>
477
+ <filetype>md</filetype>
478
+ <usage_type>license</usage_type>
479
+ <checksum>BFFB1AA6</checksum>
528
480
  </file>
529
481
  <file>
530
- <filename>0422_test_b_sm_off.osm</filename>
531
- <filetype>osm</filetype>
532
- <usage_type>test</usage_type>
533
- <checksum>E797C12A</checksum>
482
+ <filename>README.md</filename>
483
+ <filetype>md</filetype>
484
+ <usage_type>readme</usage_type>
485
+ <checksum>11DDEADA</checksum>
534
486
  </file>
535
487
  <file>
536
488
  <filename>README.md.erb</filename>
@@ -538,12 +490,6 @@
538
490
  <usage_type>readmeerb</usage_type>
539
491
  <checksum>3AFCE991</checksum>
540
492
  </file>
541
- <file>
542
- <filename>generic_qaqc_summary.jpg</filename>
543
- <filetype>jpg</filetype>
544
- <usage_type>doc</usage_type>
545
- <checksum>45ABEE68</checksum>
546
- </file>
547
493
  <file>
548
494
  <filename>generic_qaqc_detailed.jpg</filename>
549
495
  <filetype>jpg</filetype>
@@ -551,231 +497,285 @@
551
497
  <checksum>92EA3F5C</checksum>
552
498
  </file>
553
499
  <file>
554
- <filename>fsr.osm</filename>
555
- <filetype>osm</filetype>
556
- <usage_type>test</usage_type>
557
- <checksum>D2A4E538</checksum>
558
- </file>
559
- <file>
560
- <filename>uo_blend.osm</filename>
561
- <filetype>osm</filetype>
562
- <usage_type>test</usage_type>
563
- <checksum>605CDF17</checksum>
564
- </file>
565
- <file>
566
- <filename>uo_strip_mall.osm</filename>
567
- <filetype>osm</filetype>
568
- <usage_type>test</usage_type>
569
- <checksum>95EBB09E</checksum>
570
- </file>
571
- <file>
572
- <filename>uo_lg_hotel.osm</filename>
573
- <filetype>osm</filetype>
574
- <usage_type>test</usage_type>
575
- <checksum>B8033381</checksum>
576
- </file>
577
- <file>
578
- <filename>USA_NY_Buffalo-Greater.Buffalo.Intl.AP.725280_TMY3.epw</filename>
579
- <filetype>epw</filetype>
580
- <usage_type>test</usage_type>
581
- <checksum>6B50E0FF</checksum>
582
- </file>
583
- <file>
584
- <filename>uo_mixed.osm</filename>
585
- <filetype>osm</filetype>
586
- <usage_type>test</usage_type>
587
- <checksum>1874C555</checksum>
588
- </file>
589
- <file>
590
- <filename>README.md</filename>
591
- <filetype>md</filetype>
592
- <usage_type>readme</usage_type>
593
- <checksum>11DDEADA</checksum>
594
- </file>
595
- <file>
596
- <filename>MidRiseApt.osm</filename>
597
- <filetype>osm</filetype>
598
- <usage_type>test</usage_type>
599
- <checksum>8316418F</checksum>
500
+ <filename>generic_qaqc_summary.jpg</filename>
501
+ <filetype>jpg</filetype>
502
+ <usage_type>doc</usage_type>
503
+ <checksum>45ABEE68</checksum>
600
504
  </file>
601
505
  <file>
602
- <filename>LICENSE.md</filename>
603
- <filetype>md</filetype>
604
- <usage_type>license</usage_type>
605
- <checksum>64FFEBDE</checksum>
506
+ <version>
507
+ <software_program>OpenStudio</software_program>
508
+ <identifier>2.0.0</identifier>
509
+ <min_compatible>3.8.0</min_compatible>
510
+ </version>
511
+ <filename>measure.rb</filename>
512
+ <filetype>rb</filetype>
513
+ <usage_type>script</usage_type>
514
+ <checksum>C631FD2F</checksum>
606
515
  </file>
607
516
  <file>
608
- <filename>check_plant_cap.rb</filename>
517
+ <filename>check_air_sys_temps.rb</filename>
609
518
  <filetype>rb</filetype>
610
519
  <usage_type>resource</usage_type>
611
- <checksum>17D1D3A4</checksum>
520
+ <checksum>3B5F8121</checksum>
612
521
  </file>
613
522
  <file>
614
- <filename>check_part_loads.rb</filename>
523
+ <filename>check_calibration.rb</filename>
615
524
  <filetype>rb</filetype>
616
525
  <usage_type>resource</usage_type>
617
- <checksum>762838B5</checksum>
526
+ <checksum>B48E6C72</checksum>
618
527
  </file>
619
528
  <file>
620
- <filename>check_fan_pwr.rb</filename>
529
+ <filename>check_cond_zns.rb</filename>
621
530
  <filetype>rb</filetype>
622
531
  <usage_type>resource</usage_type>
623
- <checksum>C1B603A7</checksum>
532
+ <checksum>DE81D202</checksum>
624
533
  </file>
625
534
  <file>
626
- <filename>check_placeholder.rb</filename>
535
+ <filename>check_domestic_hot_water.rb</filename>
627
536
  <filetype>rb</filetype>
628
537
  <usage_type>resource</usage_type>
629
- <checksum>7E1D30A6</checksum>
538
+ <checksum>29505A2B</checksum>
630
539
  </file>
631
540
  <file>
632
- <filename>check_plenum_loads.rb</filename>
541
+ <filename>check_envelope_conductance.rb</filename>
633
542
  <filetype>rb</filetype>
634
543
  <usage_type>resource</usage_type>
635
- <checksum>8D84E744</checksum>
544
+ <checksum>192010AD</checksum>
636
545
  </file>
637
546
  <file>
638
- <filename>check_sch_coord.rb</filename>
547
+ <filename>check_eui_by_end_use.rb</filename>
639
548
  <filetype>rb</filetype>
640
549
  <usage_type>resource</usage_type>
641
- <checksum>559EB8B6</checksum>
550
+ <checksum>0C3C90F2</checksum>
642
551
  </file>
643
552
  <file>
644
- <filename>check_air_sys_temps.rb</filename>
553
+ <filename>check_eui_reasonableness.rb</filename>
645
554
  <filetype>rb</filetype>
646
555
  <usage_type>resource</usage_type>
647
- <checksum>26C8FFEB</checksum>
556
+ <checksum>60A5A2E7</checksum>
648
557
  </file>
649
558
  <file>
650
- <filename>check_plant_temps.rb</filename>
559
+ <filename>check_fan_pwr.rb</filename>
651
560
  <filetype>rb</filetype>
652
561
  <usage_type>resource</usage_type>
653
- <checksum>81E9733B</checksum>
562
+ <checksum>F915B4D9</checksum>
654
563
  </file>
655
564
  <file>
656
- <filename>check_pump_pwr.rb</filename>
565
+ <filename>check_internal_loads.rb</filename>
657
566
  <filetype>rb</filetype>
658
567
  <usage_type>resource</usage_type>
659
- <checksum>69D57804</checksum>
568
+ <checksum>874EBD06</checksum>
660
569
  </file>
661
570
  <file>
662
- <filename>check_weather_files.rb</filename>
571
+ <filename>check_mech_sys_capacity.rb</filename>
663
572
  <filetype>rb</filetype>
664
573
  <usage_type>resource</usage_type>
665
- <checksum>6978CC2A</checksum>
574
+ <checksum>591AC54A</checksum>
666
575
  </file>
667
576
  <file>
668
- <filename>check_calibration.rb</filename>
577
+ <filename>check_mech_sys_efficiency.rb</filename>
669
578
  <filetype>rb</filetype>
670
579
  <usage_type>resource</usage_type>
671
- <checksum>2D773826</checksum>
580
+ <checksum>E470E5E3</checksum>
672
581
  </file>
673
582
  <file>
674
- <version>
675
- <software_program>OpenStudio</software_program>
676
- <identifier>2.0.0</identifier>
677
- <min_compatible>3.1.0</min_compatible>
678
- </version>
679
- <filename>measure.rb</filename>
583
+ <filename>check_mech_sys_part_load_eff.rb</filename>
680
584
  <filetype>rb</filetype>
681
- <usage_type>script</usage_type>
682
- <checksum>7FFA6D4C</checksum>
585
+ <usage_type>resource</usage_type>
586
+ <checksum>B6AC9F08</checksum>
683
587
  </file>
684
588
  <file>
685
589
  <filename>check_mech_sys_type.rb</filename>
686
590
  <filetype>rb</filetype>
687
591
  <usage_type>resource</usage_type>
688
- <checksum>35A79E06</checksum>
592
+ <checksum>2CE1AFFF</checksum>
689
593
  </file>
690
594
  <file>
691
- <filename>check_supply_air_and_thermostat_temp_difference.rb</filename>
595
+ <filename>check_part_loads.rb</filename>
692
596
  <filetype>rb</filetype>
693
597
  <usage_type>resource</usage_type>
694
- <checksum>E0253EF3</checksum>
598
+ <checksum>D8F94023</checksum>
695
599
  </file>
696
600
  <file>
697
- <filename>check_simultaneous_heating_and_cooling.rb</filename>
601
+ <filename>check_placeholder.rb</filename>
698
602
  <filetype>rb</filetype>
699
603
  <usage_type>resource</usage_type>
700
- <checksum>4CF5496C</checksum>
604
+ <checksum>3E6519F2</checksum>
701
605
  </file>
702
606
  <file>
703
- <filename>check_cond_zns.rb</filename>
607
+ <filename>check_plant_cap.rb</filename>
704
608
  <filetype>rb</filetype>
705
609
  <usage_type>resource</usage_type>
706
- <checksum>14107BF6</checksum>
610
+ <checksum>68CC52D1</checksum>
707
611
  </file>
708
612
  <file>
709
- <filename>check_mech_sys_capacity.rb</filename>
613
+ <filename>check_plant_temps.rb</filename>
710
614
  <filetype>rb</filetype>
711
615
  <usage_type>resource</usage_type>
712
- <checksum>22B0035C</checksum>
616
+ <checksum>B171C6AE</checksum>
713
617
  </file>
714
618
  <file>
715
- <filename>check_mech_sys_efficiency.rb</filename>
619
+ <filename>check_plenum_loads.rb</filename>
716
620
  <filetype>rb</filetype>
717
621
  <usage_type>resource</usage_type>
718
- <checksum>73F6A455</checksum>
622
+ <checksum>79CF25A9</checksum>
719
623
  </file>
720
624
  <file>
721
- <filename>check_schedules.rb</filename>
625
+ <filename>check_pump_pwr.rb</filename>
722
626
  <filetype>rb</filetype>
723
627
  <usage_type>resource</usage_type>
724
- <checksum>AE87A472</checksum>
628
+ <checksum>D20D7BDE</checksum>
725
629
  </file>
726
630
  <file>
727
- <filename>check_internal_loads.rb</filename>
631
+ <filename>check_sch_coord.rb</filename>
728
632
  <filetype>rb</filetype>
729
633
  <usage_type>resource</usage_type>
730
- <checksum>CC42F2A5</checksum>
634
+ <checksum>113F1F3E</checksum>
731
635
  </file>
732
636
  <file>
733
- <filename>check_domestic_hot_water.rb</filename>
637
+ <filename>check_schedules.rb</filename>
734
638
  <filetype>rb</filetype>
735
639
  <usage_type>resource</usage_type>
736
- <checksum>911CC007</checksum>
640
+ <checksum>47BA3DD4</checksum>
737
641
  </file>
738
642
  <file>
739
- <filename>check_mech_sys_part_load_eff.rb</filename>
643
+ <filename>check_simultaneous_heating_and_cooling.rb</filename>
740
644
  <filetype>rb</filetype>
741
645
  <usage_type>resource</usage_type>
742
- <checksum>59FAAFF9</checksum>
646
+ <checksum>5F60FA03</checksum>
743
647
  </file>
744
648
  <file>
745
- <filename>os_lib_reporting_qaqc.rb</filename>
649
+ <filename>check_supply_air_and_thermostat_temp_difference.rb</filename>
746
650
  <filetype>rb</filetype>
747
651
  <usage_type>resource</usage_type>
748
- <checksum>B4078A9B</checksum>
652
+ <checksum>824F4D82</checksum>
749
653
  </file>
750
654
  <file>
751
- <filename>check_eui_reasonableness.rb</filename>
655
+ <filename>check_weather_files.rb</filename>
752
656
  <filetype>rb</filetype>
753
657
  <usage_type>resource</usage_type>
754
- <checksum>DE61A940</checksum>
658
+ <checksum>32981307</checksum>
755
659
  </file>
756
660
  <file>
757
- <filename>check_eui_by_end_use.rb</filename>
758
- <filetype>rb</filetype>
661
+ <filename>design_doc.txt</filename>
662
+ <filetype>txt</filetype>
759
663
  <usage_type>resource</usage_type>
760
- <checksum>71DDDFBF</checksum>
664
+ <checksum>779C47A4</checksum>
761
665
  </file>
762
666
  <file>
763
- <filename>check_envelope_conductance.rb</filename>
667
+ <filename>os_lib_reporting_qaqc.rb</filename>
764
668
  <filetype>rb</filetype>
765
669
  <usage_type>resource</usage_type>
766
- <checksum>5EA5A3D1</checksum>
670
+ <checksum>1A922BAF</checksum>
767
671
  </file>
768
672
  <file>
769
673
  <filename>report.html.erb</filename>
770
674
  <filetype>erb</filetype>
771
675
  <usage_type>resource</usage_type>
772
- <checksum>71EF0A45</checksum>
676
+ <checksum>FF1CBF19</checksum>
677
+ </file>
678
+ <file>
679
+ <filename>0422_test_b_sm_off.osm</filename>
680
+ <filetype>osm</filetype>
681
+ <usage_type>test</usage_type>
682
+ <checksum>E797C12A</checksum>
683
+ </file>
684
+ <file>
685
+ <filename>BasicOfficeTest.osm</filename>
686
+ <filetype>osm</filetype>
687
+ <usage_type>test</usage_type>
688
+ <checksum>75942985</checksum>
689
+ </file>
690
+ <file>
691
+ <filename>BasicOfficeTest_Mabry.osm</filename>
692
+ <filetype>osm</filetype>
693
+ <usage_type>test</usage_type>
694
+ <checksum>601A4415</checksum>
695
+ </file>
696
+ <file>
697
+ <filename>BasicOfficeTest_Mueller.osm</filename>
698
+ <filetype>osm</filetype>
699
+ <usage_type>test</usage_type>
700
+ <checksum>C57E800F</checksum>
701
+ </file>
702
+ <file>
703
+ <filename>BasicOfficeTest_Mueller_altHVAC_a.osm</filename>
704
+ <filetype>osm</filetype>
705
+ <usage_type>test</usage_type>
706
+ <checksum>2B03A487</checksum>
707
+ </file>
708
+ <file>
709
+ <filename>BasicOfficeTest_Mueller_altHVAC_b.osm</filename>
710
+ <filetype>osm</filetype>
711
+ <usage_type>test</usage_type>
712
+ <checksum>F12AB925</checksum>
713
+ </file>
714
+ <file>
715
+ <filename>MidRiseApt.osm</filename>
716
+ <filetype>osm</filetype>
717
+ <usage_type>test</usage_type>
718
+ <checksum>8316418F</checksum>
719
+ </file>
720
+ <file>
721
+ <filename>USA_CO_Golden-NREL.724666_TMY3.epw</filename>
722
+ <filetype>epw</filetype>
723
+ <usage_type>test</usage_type>
724
+ <checksum>BDF687C1</checksum>
725
+ </file>
726
+ <file>
727
+ <filename>USA_NY_Buffalo-Greater.Buffalo.Intl.AP.725280_TMY3.epw</filename>
728
+ <filetype>epw</filetype>
729
+ <usage_type>test</usage_type>
730
+ <checksum>6B50E0FF</checksum>
731
+ </file>
732
+ <file>
733
+ <filename>USA_TX_Austin-Camp.Mabry.722544_TMY3.epw</filename>
734
+ <filetype>epw</filetype>
735
+ <usage_type>test</usage_type>
736
+ <checksum>FB60E24C</checksum>
737
+ </file>
738
+ <file>
739
+ <filename>USA_TX_Austin-Mueller.Muni.AP.722540_TMY3.epw</filename>
740
+ <filetype>epw</filetype>
741
+ <usage_type>test</usage_type>
742
+ <checksum>B5BB1762</checksum>
743
+ </file>
744
+ <file>
745
+ <filename>fsr.osm</filename>
746
+ <filetype>osm</filetype>
747
+ <usage_type>test</usage_type>
748
+ <checksum>D2A4E538</checksum>
773
749
  </file>
774
750
  <file>
775
751
  <filename>measure_Test.rb</filename>
776
752
  <filetype>rb</filetype>
777
753
  <usage_type>test</usage_type>
778
- <checksum>9144C35D</checksum>
754
+ <checksum>33870D5A</checksum>
755
+ </file>
756
+ <file>
757
+ <filename>uo_blend.osm</filename>
758
+ <filetype>osm</filetype>
759
+ <usage_type>test</usage_type>
760
+ <checksum>605CDF17</checksum>
761
+ </file>
762
+ <file>
763
+ <filename>uo_lg_hotel.osm</filename>
764
+ <filetype>osm</filetype>
765
+ <usage_type>test</usage_type>
766
+ <checksum>B8033381</checksum>
767
+ </file>
768
+ <file>
769
+ <filename>uo_mixed.osm</filename>
770
+ <filetype>osm</filetype>
771
+ <usage_type>test</usage_type>
772
+ <checksum>1874C555</checksum>
773
+ </file>
774
+ <file>
775
+ <filename>uo_strip_mall.osm</filename>
776
+ <filetype>osm</filetype>
777
+ <usage_type>test</usage_type>
778
+ <checksum>95EBB09E</checksum>
779
779
  </file>
780
780
  </files>
781
781
  </measure>
@@ -100,8 +100,8 @@ module OsLib_QAQC
100
100
  when 'OS_SetpointManager_Scheduled'
101
101
  sch = spm.to_SetpointManagerScheduled.get.schedule
102
102
  if sch.to_ScheduleRuleset.is_initialized
103
- min_c = std.schedule_ruleset_annual_min_max_value(sch.to_ScheduleRuleset.get)['min']
104
- max_c = std.schedule_ruleset_annual_min_max_value(sch.to_ScheduleRuleset.get)['max']
103
+ min_c = openstudiostandards::schedules.schedule_ruleset_annual_min_max_value(sch.to_ScheduleRuleset.get)['min']
104
+ max_c = openstudiostandards::schedules.schedule_ruleset_annual_min_max_value(sch.to_ScheduleRuleset.get)['max']
105
105
  elsif sch.to_ScheduleConstant.is_initialized
106
106
  min_c = std.schedule_constant_annual_min_max_value(sch.to_ScheduleConstant.get)['min']
107
107
  max_c = std.schedule_constant_annual_min_max_value(sch.to_ScheduleConstant.get)['max']
@@ -61,13 +61,13 @@ module OsLib_QAQC
61
61
  if use_old_gem_code
62
62
  annual_equiv_flow_rate = schedule_inst.to_ScheduleRuleset.get.annual_equivalent_full_load_hrs
63
63
  else
64
- annual_equiv_flow_rate = std.schedule_ruleset_annual_equivalent_full_load_hrs(schedule_inst.to_ScheduleRuleset.get)
64
+ annual_equiv_flow_rate = OpenstudioStandards::Schedules.schedule_ruleset_get_equivalent_full_load_hours(schedule_inst.to_ScheduleRuleset.get)
65
65
  end
66
66
  elsif schedule_inst.to_ScheduleConstant.is_initialized
67
67
  if use_old_gem_code
68
68
  annual_equiv_flow_rate = schedule_inst.to_ScheduleConstant.get.annual_equivalent_full_load_hrs
69
69
  else
70
- annual_equiv_flow_rate = std.schedule_constant_annual_equivalent_full_load_hrs(schedule_inst.to_ScheduleConstant.get)
70
+ annual_equiv_flow_rate = OpenstudioStandards::Schedules.schedule_constant_get_equivalent_full_load_hours(schedule_inst.to_ScheduleConstant.get)
71
71
  end
72
72
  else
73
73
  check_elems << OpenStudio::Attribute.new('flag', "#{schedule_inst.name} isn't a Ruleset or Constant schedule. Can't calculate annual equivalent full load hours.")
@@ -139,7 +139,7 @@ module OsLib_QAQC
139
139
  if use_old_gem_code
140
140
  annual_equiv_flow_rate = inst_schedule.to_ScheduleRuleset.get.annual_equivalent_full_load_hrs
141
141
  else
142
- annual_equiv_flow_rate = std.schedule_ruleset_annual_equivalent_full_load_hrs(inst_schedule.to_ScheduleRuleset.get)
142
+ annual_equiv_flow_rate = OpenstudioStandards::Schedules.schedule_ruleset_get_equivalent_full_load_hours(inst_schedule.to_ScheduleRuleset.get)
143
143
  end
144
144
  elsif inst_schedule.to_ScheduleConstant.is_initialized
145
145
  if use_old_gem_code
@@ -241,7 +241,7 @@ module OsLib_QAQC
241
241
  if use_old_gem_code
242
242
  annual_equiv_flow_rate = inst_schedule.to_ScheduleRuleset.get.annual_equivalent_full_load_hrs
243
243
  else
244
- annual_equiv_flow_rate = std.schedule_ruleset_annual_equivalent_full_load_hrs(inst_schedule.to_ScheduleRuleset.get)
244
+ annual_equiv_flow_rate = OpenstudioStandards::Schedules.schedule_ruleset_get_equivalent_full_load_hours(inst_schedule.to_ScheduleRuleset.get)
245
245
  end
246
246
  elsif inst_schedule.to_ScheduleConstant.is_initialized
247
247
  if use_old_gem_code
@@ -136,6 +136,13 @@ module OsLib_QAQC
136
136
  climate_zone = bt_cz['climate_zone']
137
137
  prototype_prefix = "#{target_standard} #{building_type} #{climate_zone}"
138
138
 
139
+ # if building type, or climate zone are empty don't run this section
140
+ if [building_type, climate_zone].include?("")
141
+ check_elems << OpenStudio::Attribute.new('flag', "Can't calculate target Envelope performance. Make sure model has climate zone and building type defined.")
142
+ check_elem = OpenStudio::Attribute.new('check', check_elems)
143
+ return check_elem
144
+ end
145
+
139
146
  # make array of construction details for surfaces
140
147
  surface_details = []
141
148
  missing_surface_constructions = []
@@ -269,7 +276,7 @@ module OsLib_QAQC
269
276
  construction_type = surface_detail[:construction_type]
270
277
  next if boundary_condition.to_s != 'Outdoors'
271
278
 
272
- film_coefficients_r_value = std.film_coefficients_r_value(intended_surface_type, includes_int_film = true, includes_ext_film = true)
279
+ film_coefficients_r_value = OpenstudioStandards::Constructions.film_coefficients_r_value(intended_surface_type, includes_int_film = true, includes_ext_film = true)
273
280
  thermal_conductance = surface_detail[:construction].thermalConductance.get
274
281
  r_value_with_film = 1 / thermal_conductance + film_coefficients_r_value
275
282
  source_units = 'm^2*K/W'
@@ -314,9 +321,11 @@ module OsLib_QAQC
314
321
  # check for non opaque sub surfaces
315
322
  source_units = 'W/m^2*K'
316
323
  target_units = 'Btu/ft^2*h*R'
317
- u_factor_si = std.construction_calculated_u_factor(sub_surface_detail[:construction].to_LayeredConstruction.get.to_Construction.get)
324
+ surface_construction = sub_surface_detail[:construction].to_LayeredConstruction.get
325
+ u_factor_si = OpenstudioStandards::Constructions.construction_get_conductance(surface_construction)
318
326
  u_factor_ip = OpenStudio.convert(u_factor_si, source_units, target_units).get
319
- shgc = std.construction_calculated_solar_heat_gain_coefficient(sub_surface_detail[:construction].to_LayeredConstruction.get.to_Construction.get)
327
+ shgc = OpenstudioStandards::Constructions.construction_get_solar_transmittance(sub_surface_detail[:construction].to_LayeredConstruction.get)
328
+
320
329
  intended_surface_type = sub_surface_detail[:surface_type]
321
330
  construction_type = sub_surface_detail[:construction_type]
322
331
  const_bldg_cat = sub_surface_detail[:const_bldg_cat]
@@ -356,7 +365,7 @@ module OsLib_QAQC
356
365
  intended_surface_type = sub_surface_detail[:surface_type]
357
366
  construction_type = sub_surface_detail[:construction_type]
358
367
  next if boundary_condition.to_s != 'Outdoors'
359
- film_coefficients_r_value = std.film_coefficients_r_value(intended_surface_type, includes_int_film = true, includes_ext_film = true)
368
+ film_coefficients_r_value = OpenstudioStandards::Constructions.film_coefficients_r_value(intended_surface_type, includes_int_film = true, includes_ext_film = true)
360
369
 
361
370
  thermal_conductance = sub_surface_detail[:construction].thermalConductance.get
362
371
  r_value_with_film = 1 / thermal_conductance + film_coefficients_r_value
@@ -451,7 +460,7 @@ module OsLib_QAQC
451
460
  boundary_condition = surface_detail[:boundary_condition]
452
461
  intended_surface_type = surface_detail[:surface_type]
453
462
  construction_type = surface_detail[:construction_type]
454
- film_coefficients_r_value = std.film_coefficients_r_value(intended_surface_type, includes_int_film = true, includes_ext_film = true)
463
+ film_coefficients_r_value = OpenstudioStandards::Constructions.film_coefficients_r_value(intended_surface_type, includes_int_film = true, includes_ext_film = true)
455
464
 
456
465
  thermal_conductance = surface_detail[:construction].thermalConductance.get
457
466
  r_value_with_film = 1 / thermal_conductance + film_coefficients_r_value
@@ -171,7 +171,7 @@ module OsLib_QAQC
171
171
  # skip if all spaces using this space type are plenums
172
172
  all_spaces_plenums = true
173
173
  space_type.spaces.each do |space|
174
- if !std.space_plenum?(space)
174
+ if !OpenstudioStandards::Space.space_plenum?(space)
175
175
  all_spaces_plenums = false
176
176
  next
177
177
  end
@@ -339,7 +339,7 @@ module OsLib_QAQC
339
339
 
340
340
  # warn if there are spaces in model that don't use space type unless they appear to be plenums
341
341
  @model.getSpaces.each do |space|
342
- next if std.space_plenum?(space)
342
+ next if OpenstudioStandards::Space.space_plenum?(space)
343
343
 
344
344
  if !space.spaceType.is_initialized
345
345
  check_elems << OpenStudio::Attribute.new('flag', "#{space.name} doesn't have a space type assigned, can't validate internal loads.")
@@ -78,7 +78,7 @@ module OsLib_QAQC
78
78
  is_plenum = true
79
79
  end
80
80
  else
81
- if std.space_plenum?(space)
81
+ if OpenstudioStandards::Space.space_plenum?(space)
82
82
  is_plenum = true
83
83
  end
84
84
  end
@@ -43,8 +43,8 @@ module OsLib_QAQC
43
43
  when 'OS_SetpointManager_Scheduled'
44
44
  sch = spm.to_SetpointManagerScheduled.get.schedule
45
45
  if sch.to_ScheduleRuleset.is_initialized
46
- min_c = std.schedule_ruleset_annual_min_max_value(sch.to_ScheduleRuleset.get)['min']
47
- max_c = std.schedule_ruleset_annual_min_max_value(sch.to_ScheduleRuleset.get)['max']
46
+ min_c = openstudiostandards::schedules.schedule_ruleset_annual_min_max_value(sch.to_ScheduleRuleset.get)['min']
47
+ max_c = openstudiostandards::schedules.schedule_ruleset_annual_min_max_value(sch.to_ScheduleRuleset.get)['max']
48
48
  elsif sch.to_ScheduleConstant.is_initialized
49
49
  min_c = std.schedule_constant_annual_min_max_value(sch.to_ScheduleConstant.get)['min']
50
50
  max_c = std.schedule_constant_annual_min_max_value(sch.to_ScheduleConstant.get)['max']
@@ -60,8 +60,8 @@ module OsLib_QAQC
60
60
  next if low_sch.empty?
61
61
  low_sch = low_sch.get
62
62
  if low_sch.to_ScheduleRuleset.is_initialized
63
- min_c = std.schedule_ruleset_annual_min_max_value(low_sch.to_ScheduleRuleset.get)['min']
64
- max_c = std.schedule_ruleset_annual_min_max_value(low_sch.to_ScheduleRuleset.get)['max']
63
+ min_c = openstudiostandards::schedules.schedule_ruleset_annual_min_max_value(low_sch.to_ScheduleRuleset.get)['min']
64
+ max_c = openstudiostandards::schedules.schedule_ruleset_annual_min_max_value(low_sch.to_ScheduleRuleset.get)['max']
65
65
  elsif low_sch.to_ScheduleConstant.is_initialized
66
66
  min_c = std.schedule_constant_annual_min_max_value(low_sch.to_ScheduleConstant.get)['min']
67
67
  max_c = std.schedule_constant_annual_min_max_value(low_sch.to_ScheduleConstant.get)['max']
@@ -74,8 +74,8 @@ module OsLib_QAQC
74
74
  next if high_sch.empty?
75
75
  high_sch = high_sch.get
76
76
  if high_sch.to_ScheduleRuleset.is_initialized
77
- min_c = std.schedule_ruleset_annual_min_max_value(high_sch.to_ScheduleRuleset.get)['min']
78
- max_c = std.schedule_ruleset_annual_min_max_value(high_sch.to_ScheduleRuleset.get)['max']
77
+ min_c = openstudiostandards::schedules.schedule_ruleset_annual_min_max_value(high_sch.to_ScheduleRuleset.get)['min']
78
+ max_c = openstudiostandards::schedules.schedule_ruleset_annual_min_max_value(high_sch.to_ScheduleRuleset.get)['max']
79
79
  elsif high_sch.to_ScheduleConstant.is_initialized
80
80
  min_c = std.schedule_constant_annual_min_max_value(high_sch.to_ScheduleConstant.get)['min']
81
81
  max_c = std.schedule_constant_annual_min_max_value(high_sch.to_ScheduleConstant.get)['max']