blockDefrostCapacity
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
Block that calculates the heat transfered to airloop QTotDef_flow,
the total heating power consumption of the component PTot,
the defrost input power consumption PDef
and the crankcase heater input power consumption PCra.
The calculation are based on in Section 15.2.11.5 and 11.6 in the the EnergyPlus 22.2 engineering reference document, and are as
-
the defrost cycle time fraction
tDefFra, the heating capacity multiplierheaCapMuland the input power multiplierinpPowMulcalculated by Buildings.Fluid.DXSystems.Heating.BaseClasses.CoilDefrostTimeCalculations. -
the total heat transfer
QTot_flowand energy input ratioEIRcalculated by Buildings.Fluid.DXSystems.BaseClasses.DryCoil. -
the measured temperature
TConIn, humidity ratio per kg of total airXConInand pressurepInof the indoor coil inlet air temperature. -
the measured outdoor air temperature
TOut.
Calculations
Based on the type of defrost method defOpe, different calculations are used:
-
If
defOpe = reverseCycle, the heat transfer rate from the airstream to the outdoor coilQDef_flowand the power consumption for defrostPDefare calculated as follows:QDef_flow = 0.01*tDefFra*(7.222 - TOut)*(QTot_flow/1.01667),
PDef = defMod_T*(QTot_flow/1.01667)*tDefFra*RTF,where
defMod_Tis the defrost operation modifier calculated asdefMod_T = defCur[1] + defCur[2]*TConInWetBul + defCur[3]*TConInWetBul2 + defCur[4]*TOut + defCur[5]*TOut2 + defCur[6]*TOut*TConInWetBul,
and
RTFis the runtime fraction of the heating coil, calculated from part load ratioPLRand part load fractionPLFraasRTF = PLR/PLFra.
The part load ratio
PLRis set to1since only a constant speed DX heating coil is implemented.The
PLFrais calculated from the part load fraction curvedefCur.PLFraFunPLRasPLFra = PLFraFunPLR[1] + PLFraFunPLR[2]*PLR + PLFraFunPLR[3]*PLR2 + PLFraFunPLR[4]*PLR3.
-
If
defOpe = reverseCycle, the calculations areQDef_flow = 0,
PDef = QDefResCap*tDefFra*RTF,where
QDefResCapis the rated capacity of the resistive heating element on the outdoor coil.
The remaining variable calculations forRTF,PLRandPLFraare the same as above.
The total power consumption PTot and total heat flowrate to the air stream
QTotDef_flow (while accounting for defrost operation) is calculated
as follows:
PTot = QTot_flow*EIR*PLR*inpPowMul/PLFra,
QTotDef_flow = QTot_flow*heaCapMul.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | tDefRun | 0.5 | If defrost operation is timed, timestep fraction for which defrost cycle is run |
| Modelica.Units.SI.Power | QDefResCap | defCur.QDefResCap | Capacity of resistive defrost element |
| Buildings.Fluid.DXSystems.Heating.BaseClasses.Types.DefrostTimeMethods | defTri | Buildings.Fluid.DXSystems.Heating.BaseClasses.Types.DefrostTimeMethods.timed | Type of method to trigger the defrost cycle |
| Buildings.Fluid.DXSystems.Heating.BaseClasses.Types.DefrostOperation | defOpe | Buildings.Fluid.DXSystems.Heating.BaseClasses.Types.DefrostOperation.resistive | Type of defrost method |
| Buildings.Fluid.DXSystems.Heating.AirSource.Data.Generic.DXCoil | defCur | Defrost curve parameter record |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | tDefFra | Calculated fraction of timestep for which the defrost cycle is assumed to run | |
| Modelica.Blocks.Interfaces.RealInput | heaCapMul | Heating capacity multiplier | |
| Modelica.Blocks.Interfaces.RealInput | inpPowMul | Input power multiplier | |
| Modelica.Blocks.Interfaces.RealInput | TConIn | Temperature of air entering indoor condenser unit | |
| Modelica.Blocks.Interfaces.RealInput | XConIn | Humidity ratio of air entering indoor condenser coil | |
| Modelica.Blocks.Interfaces.RealInput | pIn | Pressure of air entering indoor condenser coil | |
| Modelica.Blocks.Interfaces.RealInput | TOut | Temperature of outdoor air | |
| Modelica.Blocks.Interfaces.RealInput | QTot_flow | Total heating capacity from heating coil curve calculations | |
| Modelica.Blocks.Interfaces.RealInput | EIR | Total energy input ratio from heating coil curve calculations | |
| Modelica.Blocks.Interfaces.RealInput | uSpe | Input speed signal | |
| Modelica.Blocks.Interfaces.RealOutput | QDef_flow | Power extracted from airloop to defrost outdoor coil | |
| Modelica.Blocks.Interfaces.RealOutput | PDef | Power input required for running defrost operation | |
| Modelica.Blocks.Interfaces.RealOutput | PTot | Total power input required for running heating coil with defrost operation | |
| Modelica.Blocks.Interfaces.RealOutput | QTotDef_flow | Total heat added to airloop after defrost | |
| Modelica.Blocks.Interfaces.RealOutput | PCra | Crankcase heater power consumption |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | defMod_T | Defrost modifier curve value | |
| Real | RTF | Run-time fraction | |
| Real | PLR | Part-load ratio | |
| Real | PLFra | Part-load fraction | |
| Modelica.Units.SI.ThermodynamicTemperature | TConInWetBul | Wet bulb temperature of air entering indoor condenser coil | |
| Buildings.Utilities.Psychrometrics.TWetBul_TDryBulXi | wetBul | Calculate wetbulb temperature of condensor inlet air |
Contents
| Name | Description |
|---|---|
| Fluid medium package |
Revisions
-
April 2, 2023, by Karthik Devaprasad:
First implementation.