openstudio-standards 0.8.2 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/data/standards/OpenStudio_Standards-ashrae_90_1-ALL-comstock(space_types).xlsx +0 -0
  3. data/data/standards/openstudio_standards_duplicates_log.csv +7962 -0
  4. data/lib/openstudio-standards/refrigeration/create_case.rb +58 -21
  5. data/lib/openstudio-standards/refrigeration/create_typical_refrigeration.rb +4 -2
  6. data/lib/openstudio-standards/refrigeration/create_walkin.rb +57 -22
  7. data/lib/openstudio-standards/refrigeration/data/refrigerated_cases.csv +31 -31
  8. data/lib/openstudio-standards/refrigeration/data/refrigerated_walkins.csv +76 -76
  9. data/lib/openstudio-standards/service_water_heating/create_typical.rb +10 -10
  10. data/lib/openstudio-standards/service_water_heating/create_water_heater.rb +10 -0
  11. data/lib/openstudio-standards/service_water_heating/create_water_heating_loop.rb +16 -3
  12. data/lib/openstudio-standards/service_water_heating/data/convert_data.rb +9 -9
  13. data/lib/openstudio-standards/service_water_heating/data/typical_water_use_equipment.csv +49 -49
  14. data/lib/openstudio-standards/service_water_heating/data/typical_water_use_equipment.json +159 -159
  15. data/lib/openstudio-standards/standards/Standards.CoilCoolingDXMultiSpeed.rb +7 -18
  16. data/lib/openstudio-standards/standards/Standards.CoilCoolingDXSingleSpeed.rb +10 -20
  17. data/lib/openstudio-standards/standards/Standards.CoilCoolingDXTwoSpeed.rb +6 -15
  18. data/lib/openstudio-standards/standards/Standards.CoilCoolingWaterToAirHeatPumpEquationFit.rb +5 -6
  19. data/lib/openstudio-standards/standards/Standards.CoilDX.rb +93 -43
  20. data/lib/openstudio-standards/standards/Standards.CoilHeatingDXMultiSpeed.rb +5 -5
  21. data/lib/openstudio-standards/standards/Standards.CoilHeatingDXSingleSpeed.rb +135 -37
  22. data/lib/openstudio-standards/standards/Standards.CoilHeatingWaterToAirHeatPumpEquationFit.rb +2 -2
  23. data/lib/openstudio-standards/standards/Standards.Model.rb +9 -4
  24. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.computer_room_acs.json +302 -140
  25. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.heat_pumps.json +648 -326
  26. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.heat_pumps_heating.json +371 -90
  27. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2004/data/ashrae_90_1_2004.water_heaters.json +66 -22
  28. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.computer_room_acs.json +302 -140
  29. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.heat_pumps.json +1012 -296
  30. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.heat_pumps_heating.json +443 -79
  31. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2007/data/ashrae_90_1_2007.water_heaters.json +66 -22
  32. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.computer_room_acs.json +302 -140
  33. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.heat_pumps.json +672 -306
  34. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.heat_pumps_heating.json +354 -74
  35. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2010/data/ashrae_90_1_2010.water_heaters.json +72 -24
  36. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.computer_room_acs.json +302 -140
  37. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.energy_recovery.json +8 -8
  38. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.heat_pumps.json +930 -604
  39. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.heat_pumps_heating.json +415 -111
  40. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2013/data/ashrae_90_1_2013.water_heaters.json +72 -24
  41. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/data/ashrae_90_1_2016.computer_room_acs.json +602 -140
  42. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/data/ashrae_90_1_2016.heat_pumps.json +1005 -333
  43. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/data/ashrae_90_1_2016.heat_pumps_heating.json +642 -88
  44. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2016/data/ashrae_90_1_2016.water_heaters.json +78 -26
  45. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/data/ashrae_90_1_2019.computer_room_acs.json +722 -140
  46. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/data/ashrae_90_1_2019.heat_pumps.json +1741 -426
  47. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/data/ashrae_90_1_2019.heat_pumps_heating.json +1108 -111
  48. data/lib/openstudio-standards/standards/ashrae_90_1/ashrae_90_1_2019/data/ashrae_90_1_2019.water_heaters.json +186 -62
  49. data/lib/openstudio-standards/standards/ashrae_90_1/data/ashrae_90_1.schedules.json +62 -232
  50. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilCoolingDXSingleSpeed.rb +2 -3
  51. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilCoolingDXTwoSpeed.rb +1 -1
  52. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilDX.rb +7 -18
  53. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilHeatingDXSingleSpeed.rb +9 -7
  54. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm.CoilHeatingGas.rb +1 -1
  55. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm_2019/data/ashrae_90_1_prm_2019.heat_pumps.json +154 -69
  56. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm_2019/data/ashrae_90_1_prm_2019.heat_pumps_heating.json +72 -72
  57. data/lib/openstudio-standards/standards/ashrae_90_1_prm/ashrae_90_1_prm_2019/data/ashrae_90_1_prm_2019.water_heaters.json +382 -295
  58. data/lib/openstudio-standards/standards/deer/data/deer.schedules.json +62 -232
  59. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/data/heat_pumps.json +16 -0
  60. data/lib/openstudio-standards/standards/necb/BTAPPRE1980/data/heat_pumps_heating.json +6 -0
  61. data/lib/openstudio-standards/standards/necb/NECB2011/data/heat_pumps.json +16 -0
  62. data/lib/openstudio-standards/standards/necb/NECB2011/data/heat_pumps_heating.json +6 -0
  63. data/lib/openstudio-standards/standards/necb/NECB2011/hvac_systems.rb +1 -1
  64. data/lib/openstudio-standards/standards/necb/NECB2011/necb_2011.rb +2 -2
  65. data/lib/openstudio-standards/standards/necb/NECB2015/data/heat_pumps.json +16 -0
  66. data/lib/openstudio-standards/standards/necb/NECB2015/data/heat_pumps_heating.json +8 -0
  67. data/lib/openstudio-standards/standards/necb/NECB2020/data/heat_pumps.json +20 -0
  68. data/lib/openstudio-standards/standards/necb/NECB2020/data/heat_pumps_heating.json +10 -0
  69. data/lib/openstudio-standards/utilities/simulation.rb +3 -2
  70. data/lib/openstudio-standards/version.rb +1 -1
  71. metadata +5 -3
@@ -344519,134 +344519,49 @@
344519
344519
  "name": "SuperMarket ClgSetp_Enduse",
344520
344520
  "category": "Thermostat Setpoint",
344521
344521
  "units": "C",
344522
- "day_types": "Sat",
344523
- "start_date": "2014-01-01T00:00:00+00:00",
344524
- "end_date": "2014-12-31T00:00:00+00:00",
344525
- "type": "Hourly",
344526
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
344527
- "values": [
344528
- 23.1,
344529
- 23.1,
344530
- 23.1,
344531
- 23.1,
344532
- 23.1,
344533
- 23.0,
344534
- 22.5,
344535
- 22.4,
344536
- 22.4,
344537
- 22.4,
344538
- 22.4,
344539
- 22.4,
344540
- 22.4,
344541
- 22.4,
344542
- 22.4,
344543
- 22.4,
344544
- 22.4,
344545
- 22.4,
344546
- 22.4,
344547
- 22.4,
344548
- 22.4,
344549
- 22.6,
344550
- 22.6,
344551
- 22.7
344522
+ "day_types": "Default|Wknd|Wkdy",
344523
+ "start_date": "2014-01-01T00:00:00+00:00",
344524
+ "end_date": "2014-12-31T00:00:00+00:00",
344525
+ "type": "Hourly",
344526
+ "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings. Values vary from 22.4C to 23.1C. Edited to constant 22.75C.",
344527
+ "values": [
344528
+ 22.75,
344529
+ 22.75,
344530
+ 22.75,
344531
+ 22.75,
344532
+ 22.75,
344533
+ 22.75,
344534
+ 22.75,
344535
+ 22.75,
344536
+ 22.75,
344537
+ 22.75,
344538
+ 22.75,
344539
+ 22.75,
344540
+ 22.75,
344541
+ 22.75,
344542
+ 22.75,
344543
+ 22.75,
344544
+ 22.75,
344545
+ 22.75,
344546
+ 22.75,
344547
+ 22.75,
344548
+ 22.75,
344549
+ 22.75,
344550
+ 22.75,
344551
+ 22.75
344552
344552
  ]
344553
344553
  },
344554
344554
  {
344555
344555
  "name": "SuperMarket ClgSetp_Enduse",
344556
344556
  "category": "Thermostat Setpoint",
344557
344557
  "units": "C",
344558
- "day_types": "SmrDsn",
344559
- "start_date": "2014-01-01T00:00:00+00:00",
344560
- "end_date": "2014-12-31T00:00:00+00:00",
344561
- "type": "Constant",
344562
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
344563
- "values": [
344564
- 22.4
344565
- ]
344566
- },
344567
- {
344568
- "name": "SuperMarket ClgSetp_Enduse",
344569
- "category": "Thermostat Setpoint",
344570
- "units": "C",
344571
- "day_types": "Sun",
344572
- "start_date": "2014-01-01T00:00:00+00:00",
344573
- "end_date": "2014-12-31T00:00:00+00:00",
344574
- "type": "Hourly",
344575
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
344576
- "values": [
344577
- 23.1,
344578
- 23.1,
344579
- 23.1,
344580
- 23.1,
344581
- 23.1,
344582
- 23.1,
344583
- 22.5,
344584
- 22.4,
344585
- 22.4,
344586
- 22.5,
344587
- 22.4,
344588
- 22.4,
344589
- 22.4,
344590
- 22.4,
344591
- 22.4,
344592
- 22.4,
344593
- 22.4,
344594
- 22.4,
344595
- 22.4,
344596
- 22.4,
344597
- 22.5,
344598
- 22.6,
344599
- 22.6,
344600
- 22.7
344601
- ]
344602
- },
344603
- {
344604
- "name": "SuperMarket ClgSetp_Enduse",
344605
- "category": "Thermostat Setpoint",
344606
- "units": "C",
344607
- "day_types": "Wkdy",
344608
- "start_date": "2014-01-01T00:00:00+00:00",
344609
- "end_date": "2014-12-31T00:00:00+00:00",
344610
- "type": "Hourly",
344611
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
344612
- "values": [
344613
- 23.1,
344614
- 23.1,
344615
- 23.1,
344616
- 23.1,
344617
- 23.1,
344618
- 23.0,
344619
- 22.5,
344620
- 22.4,
344621
- 22.4,
344622
- 22.4,
344623
- 22.4,
344624
- 22.4,
344625
- 22.4,
344626
- 22.4,
344627
- 22.4,
344628
- 22.4,
344629
- 22.4,
344630
- 22.4,
344631
- 22.4,
344632
- 22.4,
344633
- 22.4,
344634
- 22.6,
344635
- 22.6,
344636
- 22.7
344637
- ]
344638
- },
344639
- {
344640
- "name": "SuperMarket ClgSetp_Enduse",
344641
- "category": "Thermostat Setpoint",
344642
- "units": "C",
344643
- "day_types": "WntrDsn",
344558
+ "day_types": "WntrDsn|SmrDsn",
344644
344559
  "start_date": "2014-01-01T00:00:00+00:00",
344645
344560
  "end_date": "2014-12-31T00:00:00+00:00",
344646
344561
  "type": "Constant",
344647
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
344562
+ "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings. Values vary from 22.4C to 23.1C. Edited to constant 22.75C.",
344648
344563
  "values": [
344649
- 23.1
344564
+ 22.75
344650
344565
  ]
344651
344566
  },
344652
344567
  {
@@ -345019,134 +344934,49 @@
345019
344934
  "name": "SuperMarket HtgSetp_Enduse",
345020
344935
  "category": "Thermostat Setpoint",
345021
344936
  "units": "C",
345022
- "day_types": "Sat",
345023
- "start_date": "2014-01-01T00:00:00+00:00",
345024
- "end_date": "2014-12-31T00:00:00+00:00",
345025
- "type": "Hourly",
345026
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
345027
- "values": [
345028
- 18.9,
345029
- 18.9,
345030
- 18.9,
345031
- 18.9,
345032
- 18.9,
345033
- 18.9,
345034
- 19.9,
345035
- 20.0,
345036
- 20.0,
345037
- 20.1,
345038
- 20.1,
345039
- 20.1,
345040
- 20.1,
345041
- 20.1,
345042
- 20.1,
345043
- 20.1,
345044
- 20.1,
345045
- 20.1,
345046
- 20.1,
345047
- 20.1,
345048
- 20.0,
345049
- 19.8,
345050
- 19.8,
345051
- 19.7
345052
- ]
345053
- },
345054
- {
345055
- "name": "SuperMarket HtgSetp_Enduse",
345056
- "category": "Thermostat Setpoint",
345057
- "units": "C",
345058
- "day_types": "SmrDsn",
345059
- "start_date": "2014-01-01T00:00:00+00:00",
345060
- "end_date": "2014-12-31T00:00:00+00:00",
345061
- "type": "Constant",
345062
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
345063
- "values": [
345064
- 18.9
345065
- ]
345066
- },
345067
- {
345068
- "name": "SuperMarket HtgSetp_Enduse",
345069
- "category": "Thermostat Setpoint",
345070
- "units": "C",
345071
- "day_types": "Sun",
345072
- "start_date": "2014-01-01T00:00:00+00:00",
345073
- "end_date": "2014-12-31T00:00:00+00:00",
345074
- "type": "Hourly",
345075
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
345076
- "values": [
345077
- 18.9,
345078
- 18.9,
345079
- 18.9,
345080
- 18.9,
345081
- 18.9,
345082
- 18.9,
345083
- 19.9,
345084
- 20.0,
345085
- 20.0,
345086
- 20.0,
345087
- 20.1,
345088
- 20.1,
345089
- 20.1,
345090
- 20.1,
345091
- 20.1,
345092
- 20.1,
345093
- 20.1,
345094
- 20.1,
345095
- 20.1,
345096
- 20.0,
345097
- 20.0,
345098
- 19.8,
345099
- 19.8,
345100
- 19.7
345101
- ]
345102
- },
345103
- {
345104
- "name": "SuperMarket HtgSetp_Enduse",
345105
- "category": "Thermostat Setpoint",
345106
- "units": "C",
345107
- "day_types": "Wkdy",
344937
+ "day_types": "Default|Wknd|Wkdy",
345108
344938
  "start_date": "2014-01-01T00:00:00+00:00",
345109
344939
  "end_date": "2014-12-31T00:00:00+00:00",
345110
344940
  "type": "Hourly",
345111
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
344941
+ "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings. Values vary from 18.9C to 20.1C. Edited to constant 19.5C.",
345112
344942
  "values": [
345113
- 18.9,
345114
- 18.9,
345115
- 18.9,
345116
- 18.9,
345117
- 18.9,
345118
- 19.0,
345119
- 20.0,
345120
- 20.1,
345121
- 20.1,
345122
- 20.1,
345123
- 20.1,
345124
- 20.1,
345125
- 20.1,
345126
- 20.1,
345127
- 20.1,
345128
- 20.1,
345129
- 20.1,
345130
- 20.1,
345131
- 20.1,
345132
- 20.1,
345133
- 20.0,
345134
- 19.8,
345135
- 19.8,
345136
- 19.7
344943
+ 19.5,
344944
+ 19.5,
344945
+ 19.5,
344946
+ 19.5,
344947
+ 19.5,
344948
+ 19.5,
344949
+ 19.5,
344950
+ 19.5,
344951
+ 19.5,
344952
+ 19.5,
344953
+ 19.5,
344954
+ 19.5,
344955
+ 19.5,
344956
+ 19.5,
344957
+ 19.5,
344958
+ 19.5,
344959
+ 19.5,
344960
+ 19.5,
344961
+ 19.5,
344962
+ 19.5,
344963
+ 19.5,
344964
+ 19.5,
344965
+ 19.5,
344966
+ 19.5
345137
344967
  ]
345138
344968
  },
345139
344969
  {
345140
344970
  "name": "SuperMarket HtgSetp_Enduse",
345141
344971
  "category": "Thermostat Setpoint",
345142
344972
  "units": "C",
345143
- "day_types": "WntrDsn",
344973
+ "day_types": "WntrDsn|SmrDsn",
345144
344974
  "start_date": "2014-01-01T00:00:00+00:00",
345145
344975
  "end_date": "2014-12-31T00:00:00+00:00",
345146
344976
  "type": "Constant",
345147
- "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings.",
344977
+ "notes": "From end use data (Powerhouse Dynamics and Transformative Wave). Informed by 164 buildings. Values vary from 18.9C to 20.1C. Edited to constant 19.5C.",
345148
344978
  "values": [
345149
- 20.1
344979
+ 19.5
345150
344980
  ]
345151
344981
  },
345152
344982
  {
@@ -84,12 +84,11 @@ class ASHRAE901PRM < Standard
84
84
 
85
85
  # Lookup efficiencies depending on whether it is a unitary AC or a heat pump
86
86
  ac_props = nil
87
+ eff_key = 'minimum_coefficient_of_performance_no_fan_cooling'
87
88
  if sys_type == 'PSZ_HP' || sys_type == 'PTHP'
88
89
  ac_props = model_find_object(standards_data['heat_pumps'], search_criteria, capacity_btu_per_hr, Date.today)
89
- eff_key = 'copnfcooling'
90
90
  else
91
91
  ac_props = model_find_object(standards_data['unitary_acs'], search_criteria, capacity_btu_per_hr, Date.today)
92
- eff_key = 'minimum_coefficient_of_performance_no_fan_cooling'
93
92
  end
94
93
 
95
94
  # Get the minimum efficiency standards
@@ -97,7 +96,7 @@ class ASHRAE901PRM < Standard
97
96
 
98
97
  # Check to make sure properties were found
99
98
  if ac_props.nil?
100
- OpenStudio.logFree(OpenStudio::Warn, 'openstudio.standards.CoilCoolingDXSingleSpeed', "For #{coil_cooling_dx_single_speed.name}, cannot find efficiency info using #{search_criteria}, cannot apply efficiency standard.")
99
+ OpenStudio.logFree(OpenStudio::Warn, 'openstudio.standards.CoilCoolingDXSingleSpeed', "For #{coil_cooling_dx_single_speed.name}, cannot find efficiency info using #{search_criteria} and capacity #{capacity_btu_per_hr} btu/hr, cannot apply efficiency standard.")
101
100
  return cop # value of nil
102
101
  end
103
102
 
@@ -64,7 +64,7 @@ class ASHRAE901PRM < Standard
64
64
 
65
65
  # Check to make sure properties were found
66
66
  if ac_props.nil?
67
- OpenStudio.logFree(OpenStudio::Warn, 'openstudio.standards.CoilCoolingDXTwoSpeed', "For #{coil_cooling_dx_two_speed.name}, cannot find efficiency info using #{search_criteria}, cannot apply efficiency standard.")
67
+ OpenStudio.logFree(OpenStudio::Warn, 'openstudio.standards.CoilCoolingDXTwoSpeed', "For #{coil_cooling_dx_two_speed.name}, cannot find efficiency info using #{search_criteria} and capacity #{capacity_btu_per_hr} btu/hr, cannot apply efficiency standard.")
68
68
  return cop # value of nil
69
69
  end
70
70
 
@@ -11,31 +11,16 @@ module ASHRAEPRMCoilDX
11
11
  # @param sys_type [String] HVAC system type
12
12
  # @return [String] the coil_dx_subcategory(coil_dx)
13
13
  def coil_dx_subcategory(coil_dx, capacity, sys_type)
14
- sub_category = ''
15
-
16
- # heating coil
17
- if coil_dx.iddObjectType.valueName.to_s.include? 'OS_Coil_Heating_DX'
18
- if sys_type == 'PTHP'
19
- sub_category = 'PTHP'
20
- elsif capacity < 65000
21
- sub_category = 'Single Package'
22
- else
23
- sub_category = '47F db/43F wb outdoor air'
24
- end
25
- end
26
-
27
- # cooling coil
14
+ sub_category = nil
28
15
  if coil_dx.iddObjectType.valueName.to_s.include? 'OS_Coil_Cooling_DX'
29
16
  case sys_type
30
17
  when 'PTHP'
31
- sub_category = 'PTHP'
18
+ sub_category = nil
32
19
  when 'PTAC'
33
20
  sub_category = nil
34
21
  when 'PSZ_HP'
35
22
  if capacity < 65000
36
23
  sub_category = 'Single Package'
37
- else
38
- sub_category = 'Split-system and single package'
39
24
  end
40
25
  else
41
26
  sub_category = 'Single Package'
@@ -59,7 +44,7 @@ module ASHRAEPRMCoilDX
59
44
 
60
45
  # Get the coil_dx_subcategory(coil_dx)
61
46
  subcategory = coil_dx_subcategory(coil_dx, capacity, sys_type)
62
- if subcategory != ''
47
+ unless subcategory.nil?
63
48
  search_criteria['subcategory'] = subcategory
64
49
  end
65
50
 
@@ -69,8 +54,12 @@ module ASHRAEPRMCoilDX
69
54
 
70
55
  if sys_type == 'PTAC'
71
56
  search_criteria['equipment_type'] = sys_type
57
+ elsif sys_type == 'PTHP'
58
+ search_criteria['equipment_type'] = sys_type
72
59
  elsif sys_type == 'PSZ_AC'
73
60
  search_criteria['equipment_type'] = 'Air Conditioners'
61
+ elsif sys_type == 'PSZ_HP'
62
+ search_criteria['equipment_type'] = 'Heat Pumps'
74
63
  end
75
64
 
76
65
  return search_criteria
@@ -136,20 +136,22 @@ class ASHRAE901PRM < Standard
136
136
  capacity_w = coil_heating_dx_single_speed_find_capacity(coil_heating_dx_single_speed, sys_type)
137
137
  capacity_btu_per_hr = OpenStudio.convert(capacity_w, 'W', 'Btu/hr').get
138
138
  search_criteria = coil_dx_find_search_criteria(coil_heating_dx_single_speed, capacity_btu_per_hr, sys_type)
139
+ if sys_type == 'PSZ-HP' && capacity_btu_per_hr > 65000
140
+ search_criteria['rating_condition'] = '47F db/43F wb outdoor air'
141
+ end
139
142
 
140
- # find object
141
- ac_props = nil
142
- ac_props = model_find_object(standards_data['heat_pumps_heating'], search_criteria, capacity_btu_per_hr, Date.today)
143
143
  # Get the minimum efficiency standards
144
+ hp_props = nil
144
145
  cop = nil
146
+ hp_props = model_find_object(standards_data['heat_pumps_heating'], search_criteria, capacity_btu_per_hr, Date.today)
145
147
 
146
148
  # Check to make sure properties were found
147
- if ac_props.nil?
148
- OpenStudio.logFree(OpenStudio::Warn, 'openstudio.standards.CoilHeatingDXSingleSpeed', "For #{coil_heating_dx_single_speed.name}, cannot find efficiency info using #{search_criteria}, cannot apply efficiency standard.")
149
- return cop # value of nil
149
+ if hp_props.nil?
150
+ OpenStudio.logFree(OpenStudio::Warn, 'openstudio.standards.CoilHeatingDXSingleSpeed', "For #{coil_heating_dx_single_speed.name}, cannot find efficiency info using #{search_criteria} and capacity #{capacity_btu_per_hr} btu/hr, cannot apply efficiency standard.")
151
+ return false
150
152
  end
151
153
 
152
- cop = ac_props['copnfcooling']
154
+ cop = hp_props['minimum_coefficient_of_performance_no_fan_heating']
153
155
  new_comp_name = "#{coil_heating_dx_single_speed.name} #{capacity_btu_per_hr.round}Btu/hr #{cop}COP"
154
156
 
155
157
  # Rename
@@ -41,7 +41,7 @@ class ASHRAE901PRM < Standard
41
41
 
42
42
  # Check to make sure properties were found
43
43
  if coil_props.nil?
44
- OpenStudio.logFree(OpenStudio::Warn, 'openstudio.standards.CoilHeatingGas', "For #{coil_heating_gas.name}, cannot find efficiency info using #{search_criteria}, cannot apply efficiency standard.")
44
+ OpenStudio.logFree(OpenStudio::Warn, 'openstudio.standards.CoilHeatingGas', "For #{coil_heating_gas.name}, cannot find efficiency info using #{search_criteria} and capacity #{capacity_btu_per_hr} btu/hr, cannot apply efficiency standard.")
45
45
  successfully_set_all_properties = false
46
46
  return successfully_set_all_properties
47
47
  end