modelInterpolateStates
Interpolate states of a working fluid
Information
This model performs the property interpolations of a given working fluid. See the documentation of Buildings.Fluid.CHPs.OrganicRankine.ConstantEvaporation for more details.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| ORC inputs | |||
| Buildings.Fluid.CHPs.OrganicRankine.Data.Generic | pro | Property records of the working fluid | |
| Advanced | |||
| Modelica.Units.SI.SpecificEnthalpy | h_small | (max(pro.hSatVap) - min(pro.hSatLiq))*1E-4 | A small value for specific enthalpy regularisation |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.ThermodynamicTemperature | TEva | Evaporating temperature | |
| Modelica.Units.SI.ThermodynamicTemperature | TCon | Condensing temperature | |
| Modelica.Units.SI.Efficiency | etaExp | Expander efficiency | |
| Modelica.Units.SI.Efficiency | etaPum | Pump efficiency | |
| Modelica.Units.SI.AbsolutePressure | pEva | Buildings.Utilities.Math.Functions.interpolate(u = TEva, xd = pro.T, yd = pro.p, d = pDer_T) | Evaporating pressure |
| Modelica.Units.SI.AbsolutePressure | pCon | Buildings.Utilities.Math.Functions.interpolate(u = TCon, xd = pro.T, yd = pro.p, d = pDer_T) | Condensing pressure |
| Modelica.Units.SI.Density | rhoLiq | Buildings.Utilities.Math.Functions.interpolate(u = TCon, xd = pro.T, yd = pro.rhoLiq, d = rhoLiqDer_T) | Saturated liquid density |
| Modelica.Units.SI.SpecificEntropy | sPumInl | Buildings.Utilities.Math.Functions.interpolate(u = TCon, xd = pro.T, yd = pro.sSatLiq, d = sSatLiqDer_T) | Specific entropy at pump inlet |
| Modelica.Units.SI.SpecificEnthalpy | hPumInl | Buildings.Utilities.Math.Functions.interpolate(u = TCon, xd = pro.T, yd = pro.hSatLiq, d = hSatLiqDer_T) | Specific enthalpy at pump inlet |
| Modelica.Units.SI.SpecificEnthalpy | hPinEva | Buildings.Utilities.Math.Functions.interpolate(u = TEva, xd = pro.T, yd = pro.hSatLiq, d = hSatLiqDer_T) | Specific enthalpy at evaporator-side pinch point |
| Modelica.Units.SI.SpecificEnthalpy | hPinCon | Buildings.Utilities.Math.Functions.interpolate(u = TCon, xd = pro.T, yd = pro.hSatVap, d = hSatVapDer_T) | Specific enthalpy at condenser-side pinch point |
| Modelica.Units.SI.SpecificEntropy | sSatVapCon | Buildings.Utilities.Math.Functions.interpolate(u = TCon, xd = pro.T, yd = pro.sSatVap, d = sSatVapDer_T) | Specific entropy of saturated vapor at the condenser |
| Modelica.Units.SI.SpecificEntropy | sRefCon | Buildings.Utilities.Math.Functions.interpolate(u = pCon, xd = pro.p, yd = pro.sRef, d = sRefDer_p) | Specific entropy on reference line at condensing pressure |
| Modelica.Units.SI.SpecificEntropy | sSatVapEva | Buildings.Utilities.Math.Functions.interpolate(u = TEva, xd = pro.T, yd = pro.sSatVap, d = sSatVapDer_T) | Specific entropy of saturated vapor at evaporating temperature |
| Modelica.Units.SI.SpecificEnthalpy | hSatVapEva | Buildings.Utilities.Math.Functions.interpolate(u = TEva, xd = pro.T, yd = pro.hSatVap, d = hSatVapDer_T) | Specific enthalpy of saturated vapor at evaporating temperature |
| Modelica.Units.SI.SpecificEntropy | sRefEva | Buildings.Utilities.Math.Functions.interpolate(u = pEva, xd = pro.p, yd = pro.sRef, d = sRefDer_p) | Specific entropy on reference line at evaporating pressure |
| Modelica.Units.SI.SpecificEnthalpy | hSatVapCon | Buildings.Utilities.Math.Functions.interpolate(u = TCon, xd = pro.T, yd = pro.hSatVap, d = hSatVapDer_T) | Specific enthalpy of saturated vapor at the condensing temperature |
| Modelica.Units.SI.SpecificEnthalpy | hRefCon | Buildings.Utilities.Math.Functions.interpolate(u = pCon, xd = pro.p, yd = pro.hRef, d = hRefDer_p) | Specific enthalpy on reference line at condensing pressure |
| Modelica.Units.SI.SpecificEnthalpy | hRefEva | Buildings.Utilities.Math.Functions.interpolate(u = pEva, xd = pro.p, yd = pro.hRef, d = hRefDer_p) | Specific enthalpy on reference line at evaporating pressure |
| Modelica.Units.SI.SpecificEnthalpy | hPumOut | hPumInl + wPum | Specific enthalpy at pump outlet |
| Modelica.Units.SI.SpecificEnthalpy | hExpInl | Buildings.Utilities.Math.Functions.regStep(x = h_reg, y1 = hSatVapEva, y2 = hExpInlWet, x_small = h_small) | Specific enthalpy at expander inlet |
| Modelica.Units.SI.SpecificEnthalpy | hExpOut | Buildings.Utilities.Math.Functions.regStep(x = h_reg, y1 = hExpOutDry, y2 = hSatVapCon, x_small = h_small) | Specific enthalpy at expander inlet |
| Modelica.Units.SI.TemperatureDifference | dTSup | max(0, dTSupWet) | Superheating temperature differential |
| Modelica.Units.SI.SpecificEnergy | qEva | hPumOut - hExpInl | Evaporator specific energy transfer into the cycle |
| Modelica.Units.SI.SpecificEnergy | qCon | hExpOut - hPumInl | Condenser specific energy transfer out of the cycle |
| Modelica.Units.SI.SpecificEnergy | wExp | hExpOut - hExpInl | Expander specific work |
| Modelica.Units.SI.SpecificEnergy | wPum | (pEva - pCon)/(rhoLiq*etaPum) | Pump specific work |
| Modelica.Units.SI.Efficiency | etaThe | (wExp + wPum)/qEva | Thermal efficiency |
Revisions
-
June 13, 2023, by Hongxiang Fu:
First implementation. This is for #3433.