blockPartialCapacity
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
Cooling capacity modifiers
There are two cooling capacity modifier functions: The function capθ accounts for a performance change due to different temperatures at the condenser and evaporator and the function capFF accounts for a performance change due to different air flow rates at the evaporator, relative to the nominal condition. These cooling capacity modifiers are multiplied with nominal cooling capacity to obtain the cooling capacity of the coil at given inlet temperatures and mass flow rate. See Buildings.Fluid.DXSystems.BaseClasses.CapacityAirSource.
The temperature dependent cooling capacity modifier function is
capθ(θe,in, θc,in) = a1 + a2 θe,in + a3 θe,in 2 + a4 θc,in + a5 θc,in 2 + a6 θe,in θc,in,
where the six coefficients are obtained from the coil performance data record.
The flow fraction dependent cooling capacity modifier function is a polynomial with the normalized mass flow rate ff (flow fraction) at the evaporator as the time dependent variable. The normalized mass flow rate is defined as
ff = ṁ ⁄ ṁnom,
where ṁ is the mass flow rate at the evaporator and ṁnom is the nominal mass flow rate. If the coil has multiple stages, then the nominal mass flow rate of the respective stage is used. Hence,
capFF(ff) = b1 + b2 ff + b3 ff2 + b4ff3 + ...
The coefficients of the equation are obtained from the coil performance data record.
It is important to specify limits of the flow fraction to ensure validity of the capFF(⋅) function in performance record. A non-zero value of capFF(0) will lead to an infinite large change in fluid temperatures because Q̇ ≠ 0 but ṁ = 0. Hence, when ṁ ≠ 0 is below the valid range of the flow modifier function, the coil capacity will be reduced and set to zero near ṁ = 0.
Energy Input Ratio (EIR) modifiers
The Energy Input Ratio (EIR) is the inverse of the Coefficient of Performance (COP). Similar to the cooling rate, the EIR of the coil is the product of a function that takes into account changes in condenser and evaporator inlet temperatures, and changes in mass flow rate.
As for the cooling rate, EIRθ(⋅, ⋅) is
EIRθ(θe,in, θc,in) = c1 + c2 θe,in + c3 θe,in 2 + c4 θc,in + c5 θc,in 2 + c6 θe,in θc,in.
where the six coefficients are obtained from the coil performance data record, and θe,in is the dry-bulb temperature if the coil is dry, or the wet-bulb temperature otherwise.
Similar to the cooling ratio, the change in EIR due to a change in air mass flow rate is
EIRFF(ff) = d1 + d2 ff + d3 ff2 + d4ff3 + ...
Obtaining the polynomial coefficients
The package Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.PerformanceCurves contains performance curves. Alternatively, users can enter their own performance curves by making an instance of a curve in Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.PerformanceCurves and specifying custom coefficients for the above polynomials. The polynomial coefficients can be obtained by doing a curve fit that fits the polynomials to a set of data. The site http://www.scipy.org/Cookbook/FittingData shows examples for how to fit data. If a coil has multiple stages, then the fit need to be done for each stage. For variable frequency coils, multiple fits need to be done for user selected compressor speeds. For intermediate speeds, the performance data will be interpolated by the model Buildings.Fluid.DXSystems.Cooling.AirSource.VariableSpeed.
The table below shows the polynomials explained above, the name of the polynomial coefficients in Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.PerformanceCurves and the independent parameters against which the data need to be fitted.
| Modelica name of coefficient in data record | Polynomial of the above info section | Parameters for curve fit |
|---|---|---|
capFunT |
capθ(θe,in, θc,in) = a1 + a2 θe,in + a3 θe,in 2 + a4 θc,in + a5 θc,in 2 + a6 θe,in θc,in | capθ, θe,in, θc,in |
capFunFF |
capFF(ff) = b1 + b2 ff + b3 ff2 + b4ff3 + ... | capFF, ff |
EIRFunT |
EIRθ(θe,in, θc,in) = a1 + a2 θe,in + a3 θe,in 2 + a4 θc,in + a5 θc,in 2 + a6 θe,in θc,in | EIRθ, θe,in, θc,in |
EIRFunFF |
EIRFF(ff) = b1 + b2 ff + b3 ff2 + b4ff3 + ... | EIRFF, ff |
Note that for the above polynomials, the units for temperature is degree Celsius and not Kelvins.
Implementation
A parameter of the performance curve is the range of mass flow fraction ff for which the data are valid. Below this range, this model reduces the cooling capacity and the energy input ratio so that both are zero if ff < ffmin/4, where ffmin is the minimum flow fraction for which the performance curves are valid.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | use_mCon_flow | Set to true to enable connector for the condenser mass flow rate | |
| Integer | nSta | Number of coil stages (not counting the off stage) | |
| Buildings.Fluid.DXSystems.Cooling.AirSource.Data.Generic.BaseClasses.Stage[nSta] | sta | Performance data for this stage |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.IntegerInput | stage | Stage of coil, or 0/1 for variable-speed coil | |
| Modelica.Blocks.Interfaces.RealInput | TConIn | Temperature of air entering the condenser coil | |
| Modelica.Blocks.Interfaces.RealInput | m_flow | Air mass flow rate at the evaporator | |
| Modelica.Blocks.Interfaces.RealInput | TEvaIn | Temperature of air entering the evaporator (wet bulb for wet coil and dry bulb for dry coil) | |
| Modelica.Blocks.Interfaces.RealInput | mCon_flow | Water mass flow rate at the condenser | |
| Modelica.Blocks.Interfaces.RealOutput[nSta] | Q_flow | Total cooling capacity | |
| Modelica.Blocks.Interfaces.RealOutput[nSta] | EIR | Energy Input Ratio |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | ff | Air flow fraction: ratio of actual air flow rate by rated mass flow rate | |
| Real[nSta] | cap_T | Cooling capacity modification factor as a function of temperature | |
| Real[nSta] | cap_FF | Cooling capacity modification factor as a function of flow fraction | |
| Real[nSta] | EIR_T | EIR modification factor as a function of temperature | |
| Real[nSta] | EIR_FF | EIR modification factor as a function of flow fraction | |
| Real[nSta] | corFac | Correction factor that is one inside the valid flow fraction, and attains zero below the valid flow fraction |
Revisions
-
March 30, 2026, by Michael Wetter:
Avoided unsafe array access that relied on short-circuiting.
This is for issue 4516. -
April 5, 2023, by Xing Lu:
Changed class name fromPartialCoolingCapacitytoPartialCoilCapacity. -
November 8, 2022, by Michael Wetter:
Corrected calculation of performance which used the wrong upper bound.
This is for issue 3146. -
October 21, 2019, by Michael Wetter:
Ensured that transition interval for computation ofcorFacis non-zero.
This is for issue 1202. -
February 27, 2017 by Yangyang Fu:
Revised the documentation. -
December 18, 2012 by Michael Wetter:
Added warning if the evaporator or condenser inlet temperature of the current stage cross the minimum and maximum allowed values. -
September 20, 2012 by Michael Wetter:
Revised model and documentation. -
May 18, 2012 by Kaustubh Phalak:
Combined cooling capacity and EIR modifier function together to avoid repeatation of same variable calculations. Added heaviside function. -
April 20, 2012 by Michael Wetter:
Added unit conversion directly to function calls to avoid doing the conversion when the coil is switched off. -
April 6, 2012 by Kaustubh Phalak:
First implementation.