SURFEX v7.3
General documentation of Surfex
|
00001 SUBROUTINE DX_AIR_COOLING_COIL_CV(PT_CANYON, PQ_CANYON, PPS, PRHOA, & 00002 PT_IN, PQ_IN, PCOP_RAT, PCAP_SYS_RAT, & 00003 PT_ADP, PF_WATER_COND, & 00004 PM_SYS, PH_BLD_COOL, PH_WASTE, PLE_WASTE, & 00005 PCOP, PCAP_SYS, PT_OUT, PQ_OUT, & 00006 PDX_POWER, PT_BLD_COOL ) 00007 ! 00008 USE MODE_THERMOS 00009 USE MODE_PSYCHRO 00010 ! 00011 USE MODD_CSTS, ONLY : XCPD 00012 ! 00013 USE YOMHOOK ,ONLY : LHOOK, DR_HOOK 00014 USE PARKIND1 ,ONLY : JPRB 00015 ! 00016 ! Extracted from EP_Engineer_ref p. 518 00017 ! 00018 REAL, INTENT(IN) :: PT_CANYON ! Canyon air temperature [K] 00019 REAL, INTENT(IN) :: PQ_CANYON ! Canyon air humidity ratio [kg kg-1] 00020 REAL, INTENT(IN) :: PPS ! Canyon air pressure [Pa] 00021 REAL, INTENT(IN) :: PRHOA ! Canyon air density [kg m-3] 00022 REAL, INTENT(IN) :: PT_IN ! Actual inlet air temperature [K] 00023 REAL, INTENT(IN) :: PQ_IN ! Actual inlet air humidity ratio [kg kg-1] 00024 REAL, INTENT(IN) :: PCOP_RAT ! Rated COP 00025 REAL, INTENT(IN) :: PCAP_SYS_RAT ! Rated capacity [W] 00026 REAL, INTENT(IN) :: PT_ADP ! Apparatus dewpoint [K] 00027 REAL, INTENT(IN) :: PF_WATER_COND ! fraction of evaporation of the condenser 00028 REAL, INTENT(INOUT) :: PM_SYS ! HVAC air mass flow rate [kg s-1] 00029 REAL, INTENT(INOUT) :: PH_BLD_COOL ! Sensible cooling load 00030 REAL, INTENT(OUT) :: PH_WASTE ! Sensible heat rejected by the condenser [W] 00031 REAL, INTENT(OUT) :: PLE_WASTE ! Latent heat rejected by the condenser [W] 00032 REAL, INTENT(OUT) :: PCOP ! Actual COP 00033 REAL, INTENT(OUT) :: PCAP_SYS ! Actual capacity [W] 00034 REAL, INTENT(OUT) :: PT_OUT ! Actual outlet temperature [K] 00035 REAL, INTENT(OUT) :: PQ_OUT ! Actual outlet humidity ratio [kg kg-1] 00036 REAL, INTENT(OUT) :: PDX_POWER ! Electrical power consumed by the DX unit [W] 00037 REAL, INTENT(OUT) :: PT_BLD_COOL ! Total energy supplied by the DX unit [W] 00038 ! 00039 REAL :: ZTWB_CANYON ! Canyon air wet-bulb temperature [ K] 00040 REAL :: ZCAPTEMP ! Total cooling capacity modifier curve function of temperature 00041 REAL :: ZTW_IN ! Wet-bulb temperature of the air entering the coil [ K] 00042 REAL :: ZT_COND ! Dry-bulb or wet-bulb air temperature entering the condenser [K] 00043 REAL :: ZEIRTEMP ! Energy input ratio modifier curve function of temperature 00044 REAL :: ZPLR ! Part load ratio 00045 REAL :: ZPARTLOADF ! Part load fraction correlation 00046 REAL :: ZSHR ! Actual coil sensible heat rate 00047 REAL :: ZH_ADP ! Enthalpy of air at ADP conditions [J/kg] 00048 REAL :: ZH_OUT ! Enthalpy of air leaving the cooling coil [J/kg] 00049 REAL :: ZH_IN ! Enthalpy of air entering the cooling coil [J/kg] 00050 ! Performance curves coefficients 00051 REAL :: ZA1 00052 REAL :: ZB1 00053 REAL :: ZC1 00054 REAL :: ZD1 00055 REAL :: ZE1 00056 REAL :: ZF1 00057 ! Total cooling capacity modifier curve function of flow fraction (desactivated) 00058 !REAL :: ZCAPFLOW 00059 !REAL :: ZA2 00060 !REAL :: ZB2 00061 !REAL :: ZC2 00062 REAL :: ZA3 00063 REAL :: ZB3 00064 REAL :: ZC3 00065 REAL :: ZD3 00066 REAL :: ZE3 00067 REAL :: ZF3 00068 ! Energy input ratio modifier curve function of flow fraction (desactivated) 00069 !REAL :: ZEIRFLOW 00070 !REAL :: ZA4 00071 !REAL :: ZB4 00072 !REAL :: ZC4 00073 REAL :: ZA5 00074 REAL :: ZB5 00075 REAL :: ZC5 00076 REAL(KIND=JPRB) :: ZHOOK_HANDLE 00077 ! 00078 IF (LHOOK) CALL DR_HOOK('DX_AIR_COOLING_COIL_CV',0,ZHOOK_HANDLE) 00079 ! 00080 !* A. Definitions 00081 ! ----------- 00082 ! 00083 ! 00084 !* B. Performance curves 00085 ! ------------------ 00086 ! Total cooling capacity modifier curve function of temperature 00087 ! Obtained from default vaules of EnergyPlus SingleSpeedDX 00088 ! DOE-2.1E, COOL-CAP-FT for PTAC w/ SI temps 00089 ! FurnaceDX DX Coil Cap-FT, Minimum Value of x, 12.77778; 00090 ! Maximum Value of x, 23.88889; 00091 ! Minimum Value of y, 23.88889; 00092 ! Maximum Value of y, 46.11111 00093 ZA1 = 0.942587793 !- Coefficient1 Constant 00094 ZB1 = 0.009543347 !- Coefficient2 x 00095 ZC1 = 0.00068377 !- Coefficient3 x**2 00096 ZD1 = -0.011042676 !- Coefficient4 y 00097 ZE1 = 0.000005249 !- Coefficient5 y**2 00098 ZF1 = -0.00000972 !- Coefficient6 x*y 00099 ! Total cooling capacity modifier curve function of flow fraction 00100 ! DOE-2.1E, RATED-CCAP-FFLOW for PTAC 00101 ! FurnaceDX DX Coil Cap-FF, Minimum Value of x, 0.5; 00102 ! Maximum Value of x, 1.5; 00103 !ZA2 = 0.8 !- Coefficient1 Constant 00104 !ZB2 = 0.2 !- Coefficient2 x 00105 !ZC2 = 0 !- Coefficient3 x**2 00106 ! Energy input ratio modifier curve function of temperature 00107 ! DOE-2.1E, COOL-EIR-FT for PTAC w/ SI temps 00108 ! FurnaceDX DX Coil EIR-FT, Minimum Value of x, 12.77778; 00109 ! Maximum Value of x, 23.88889; 00110 ! Minimum Value of y, 23.88889; 00111 ! Maximum Value of y, 46.11111 00112 ZA3 = 0.342414409 !- Coefficient1 Constant 00113 ZB3 = 0.034885008 !- Coefficient2 x 00114 ZC3 = -0.0006237 !- Coefficient3 x**2 00115 ZD3 = 0.004977216 !- Coefficient4 y 00116 ZE3 = 0.000437951 !- Coefficient5 y**2 00117 ZF3 = -0.000728028 !- Coefficient6 x*y 00118 ! Energy input ratio modifier curve function of flow fraction 00119 ! DOE-2.1E, RATED-CEIR-FFLOW for PTAC 00120 ! FurnaceDX DX Coil EIR-FF, Minimum Value of x, 0.5; 00121 ! Maximum Value of x, 1.5; 00122 !ZA4 = 1.1552 !- Coefficient1 Constant 00123 !ZB4 = -0.1808 !- Coefficient2 x 00124 !ZC4 = 0.0256 !- Coefficient3 x**2 00125 ! Part load fraction correlation 00126 ! PLF = l.- Cd(1.-PLR) where Cd = 0.15 00127 ! FurnaceDX DX Coil PLF, Minimum Value of x, 0.0; 00128 ! Maximum Value of x, 1.0; 00129 ZA5 = 0.85 !- Coefficient1 Constant 00130 ZB5 = 0.15 !- Coefficient2 x 00131 ZC5 = 0 !- Coefficient3 x**2 00132 ! 00133 ! 00134 !* C. Total cooling capacity 00135 ! ---------------------- 00136 ! 00137 IF (PM_SYS/PRHOA/PCAP_SYS_RAT < 0.00004027) THEN 00138 PM_SYS = 0.00004027*PCAP_SYS_RAT*PRHOA 00139 ! PRINT*,'ERROR: HVAC supply air flow rate must be greater than 0.00004027m3/s/W' 00140 ELSE IF (PM_SYS/PRHOA/PCAP_SYS_RAT > 0.00006041) THEN 00141 PM_SYS = 0.00006041*PCAP_SYS_RAT*PRHOA 00142 ! PRINT*,'ERROR: HVAC supply air flow rate must be lower than 0.00006041m3/s/W' 00143 END IF 00144 ! 00145 ! Wet-bulb temperature entering the cooling coil 00146 ZTW_IN = TWB_FROM_TPQ(PT_IN, PPS, PQ_IN) 00147 ! 00148 ! Dry-bulb temperature of the air entering an air-cooled condenser 00149 ! or wet-bulb temp entering a water-cooled condenser 00150 ZTWB_CANYON = TWB_FROM_TPQ(PT_CANYON, PPS, PQ_CANYON) 00151 ZT_COND = ZTWB_CANYON + (PT_CANYON - ZTWB_CANYON)*(1. - PF_WATER_COND) 00152 ! 00153 ! Total cooling capacity modifier curve function of temperature 00154 ZCAPTEMP = ZA1 + (ZTW_IN -273.15) * (ZB1 + ZC1*(ZTW_IN -273.15)) & 00155 + (ZT_COND-273.15) * (ZD1 + ZE1*(ZT_COND-273.15)) & 00156 + (ZTW_IN -273.15) * (ZT_COND-273.15) * ZF1 00157 ! 00158 ! Total cooling capacity 00159 PCAP_SYS = PCAP_SYS_RAT * ZCAPTEMP 00160 ! 00161 !* D. Coil outlet conditions 00162 ! ---------------------- 00163 ! 00164 ! Inlet air enthalpy 00165 ZH_IN = ENTH_FN_T_Q(PT_IN,PQ_IN) 00166 ! Apparatus dewpoint enthalpy 00167 ZH_ADP = ENTH_FN_T_Q(PT_ADP,QSAT(PT_ADP,PPS)) 00168 ! 00169 ! Cooling coil sensible heat rate 00170 IF (ZH_IN - ZH_ADP < 10.) THEN 00171 ! 00172 ZSHR = 1. 00173 ! 00174 PT_OUT = PT_ADP 00175 PQ_OUT = PQ_IN 00176 ZH_OUT = ENTH_FN_T_Q(PT_OUT,PQ_OUT) 00177 PT_BLD_COOL = 0.0 00178 ! 00179 ELSE 00180 ! 00181 ZSHR = MIN(XCPD*(PT_IN - PT_ADP)/(ZH_IN - ZH_ADP), 1.) ! 00182 ! 00183 ! Thermal load limited by the system capacity 00184 IF ( PH_BLD_COOL > PCAP_SYS * ZSHR ) PH_BLD_COOL = PCAP_SYS * ZSHR 00185 ! 00186 ! Outlet air temperature 00187 PT_OUT = PT_IN - PH_BLD_COOL / PM_SYS / XCPD 00188 IF (PT_OUT < PT_ADP) PT_OUT = PT_ADP 00189 ! 00190 ! Outlet air enthalpy 00191 ZH_OUT = ZH_IN - XCPD * (PT_IN - PT_OUT) / ZSHR 00192 ! 00193 ! Outlet air humidity ratio 00194 PQ_OUT = Q_FN_T_ENTH(PT_OUT, ZH_OUT) 00195 ! 00196 ! Total thermal energy supplied by the cooling coil 00197 PT_BLD_COOL = PM_SYS*(ZH_IN - ZH_OUT) 00198 ! 00199 END IF 00200 ! 00201 ! 00202 !* D. HVAC efficiency and electrical power consumed by the DX unit 00203 ! ------------------------------------------------------------ 00204 ! 00205 ! Energy input ratio modifier curve function of temperature 00206 ZEIRTEMP = ZA3 + (ZTW_IN -273.15) * (ZB3 + ZC3*(ZTW_IN -273.15)) & 00207 + (ZT_COND-273.15) * (ZD3 + ZE3*(ZT_COND-273.15)) & 00208 + (ZTW_IN -273.15) * (ZT_COND-273.15) * ZF3 00209 ! 00210 ! HVAC coefficient of performance 00211 PCOP = PCOP_RAT / ZEIRTEMP 00212 ! 00213 ! Part load fraction correlation 00214 ZPLR = PH_BLD_COOL / (PCAP_SYS * ZSHR) 00215 ! 00216 IF (ZPLR > 1.0) ZPLR = 1.0 00217 ! 00218 ZPARTLOADF = ZA5 + ZB5 * ZPLR + ZC5 * ZPLR**2 00219 IF ( ZPARTLOADF < MIN(0.7, ZPLR) ) ZPARTLOADF = MIN(0.7, ZPLR) 00220 ! 00221 ! Electrical power consumed by the DX unit 00222 ! (compressors plus outdoor condenser fans) 00223 PDX_POWER = PCAP_SYS / PCOP * ZPLR / ZPARTLOADF 00224 ! 00225 ! 00226 !* E. Waste heat emissions 00227 ! -------------------- 00228 ! 00229 ! Total heat rejected by the condenser 00230 PLE_WASTE = (PT_BLD_COOL + PDX_POWER) * PF_WATER_COND 00231 PH_WASTE = (PT_BLD_COOL + PDX_POWER) * (1. - PF_WATER_COND) 00232 ! 00233 IF (LHOOK) CALL DR_HOOK('DX_AIR_COOLING_COIL_CV',1,ZHOOK_HANDLE) 00234 ! 00235 END SUBROUTINE DX_AIR_COOLING_COIL_CV