blockDefrostCapacity

Calculates defrost curve value at given temperature and mass flow rate

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

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 coil QDef_flow and the power consumption for defrost PDef are 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_T is the defrost operation modifier calculated as

    defMod_T = defCur[1] + defCur[2]*TConInWetBul + defCur[3]*TConInWetBul2 + defCur[4]*TOut + defCur[5]*TOut2 + defCur[6]*TOut*TConInWetBul,

    and RTF is the runtime fraction of the heating coil, calculated from part load ratio PLR and part load fraction PLFra as

    RTF = PLR/PLFra.

    The part load ratio PLR is set to 1 since only a constant speed DX heating coil is implemented.

    The PLFra is calculated from the part load fraction curve defCur.PLFraFunPLR as

    PLFra = PLFraFunPLR[1] + PLFraFunPLR[2]*PLR + PLFraFunPLR[3]*PLR2 + PLFraFunPLR[4]*PLR3.

  • If defOpe = reverseCycle, the calculations are

    QDef_flow = 0,
    PDef = QDefResCap*tDefFra*RTF,

    where QDefResCap is the rated capacity of the resistive heating element on the outdoor coil.
    The remaining variable calculations for RTF, PLR and PLFra are 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

TypeNameDefaultDescription
RealtDefRun0.5If defrost operation is timed, timestep fraction for which defrost cycle is run
Modelica.Units.SI.PowerQDefResCapdefCur.QDefResCapCapacity of resistive defrost element
Buildings.Fluid.DXSystems.Heating.BaseClasses.Types.DefrostTimeMethodsdefTriBuildings.Fluid.DXSystems.Heating.BaseClasses.Types.DefrostTimeMethods.timedType of method to trigger the defrost cycle
Buildings.Fluid.DXSystems.Heating.BaseClasses.Types.DefrostOperationdefOpeBuildings.Fluid.DXSystems.Heating.BaseClasses.Types.DefrostOperation.resistiveType of defrost method
Buildings.Fluid.DXSystems.Heating.AirSource.Data.Generic.DXCoildefCurDefrost curve parameter record

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputtDefFraCalculated fraction of timestep for which the defrost cycle is assumed to run
Modelica.Blocks.Interfaces.RealInputheaCapMulHeating capacity multiplier
Modelica.Blocks.Interfaces.RealInputinpPowMulInput power multiplier
Modelica.Blocks.Interfaces.RealInputTConInTemperature of air entering indoor condenser unit
Modelica.Blocks.Interfaces.RealInputXConInHumidity ratio of air entering indoor condenser coil
Modelica.Blocks.Interfaces.RealInputpInPressure of air entering indoor condenser coil
Modelica.Blocks.Interfaces.RealInputTOutTemperature of outdoor air
Modelica.Blocks.Interfaces.RealInputQTot_flowTotal heating capacity from heating coil curve calculations
Modelica.Blocks.Interfaces.RealInputEIRTotal energy input ratio from heating coil curve calculations
Modelica.Blocks.Interfaces.RealInputuSpeInput speed signal
Modelica.Blocks.Interfaces.RealOutputQDef_flowPower extracted from airloop to defrost outdoor coil
Modelica.Blocks.Interfaces.RealOutputPDefPower input required for running defrost operation
Modelica.Blocks.Interfaces.RealOutputPTotTotal power input required for running heating coil with defrost operation
Modelica.Blocks.Interfaces.RealOutputQTotDef_flowTotal heat added to airloop after defrost
Modelica.Blocks.Interfaces.RealOutputPCraCrankcase heater power consumption

Components

TypeNameDefaultDescription
RealdefMod_TDefrost modifier curve value
RealRTFRun-time fraction
RealPLRPart-load ratio
RealPLFraPart-load fraction
Modelica.Units.SI.ThermodynamicTemperatureTConInWetBulWet bulb temperature of air entering indoor condenser coil
Buildings.Utilities.Psychrometrics.TWetBul_TDryBulXiwetBulCalculate wetbulb temperature of condensor inlet air

Contents

NameDescription
MediumAFluid medium package

Revisions

  • April 2, 2023, by Karthik Devaprasad:
    First implementation.