modelFixedEvaporating

Thermodynamic computations of the ORC with fixed evaporating temperature

Extends from Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.InterpolateStates (Interpolate states of a working fluid).

Information

This model computes the pinch points and the energy exchange, and interfaces with the input and output variables. The evaporating temperature is fixed as a parameter. See the documentation of Buildings.Fluid.CHPs.OrganicRankine.ConstantEvaporation for more details.

Parameters

TypeNameDefaultDescription
BooleanuseLowCondenserPressureWarningtrueIf true, issues warning if pCon < 101325 Pa
ORC inputs
Buildings.Fluid.CHPs.OrganicRankine.Data.Genericpro (from InterpolateStates)Property records of the working fluid
Advanced
Modelica.Units.SI.SpecificEnthalpyh_small (from InterpolateStates)(max(pro.hSatVap) - min(pro.hSatLiq))*1E-4A small value for specific enthalpy regularisation
Evaporator
Modelica.Units.SI.TemperatureDifferencedTPinEva_setSet evaporator pinch point temperature difference
Modelica.Units.SI.SpecificHeatCapacitycpHotConstant specific heat capacity
Modelica.Units.SI.ThermodynamicTemperatureTWorEvaWorking fluid evaporator temperature
Condenser
Modelica.Units.SI.TemperatureDifferencedTPinConPinch point temperature difference of condenser
Modelica.Units.SI.SpecificHeatCapacitycpColConstant specific heat capacity
Cycle
Modelica.Units.SI.MassFlowRatemWor_flow_maxUpper bound of working fluid flow rate
Modelica.Units.SI.MassFlowRatemWor_flow_minLower bound of working fluid flow rate
Modelica.Units.SI.MassFlowRatemWor_flow_hysteresisHysteresis for turning off the cycle when flow too low

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputTHotInIncoming temperature of hot fluid in evaporator
Modelica.Blocks.Interfaces.RealInputmHot_flowEvaporator hot fluid flow rate
Modelica.Blocks.Interfaces.RealInputTColInIncoming temperature of cold fluid in condenser
Modelica.Blocks.Interfaces.RealInputmCol_flowCondenser cold fluid flow rate
Modelica.Blocks.Interfaces.BooleanInputenaEnable cycle; set false to force working fluid flow to zero
Modelica.Blocks.Interfaces.RealOutputQEva_flowEvaporator heat flow rate into the cycle
Modelica.Blocks.Interfaces.RealOutputQCon_flowCondenser heat flow rate out of the cycle
Modelica.Blocks.Interfaces.RealOutputPExpExpander power generation
Modelica.Blocks.Interfaces.RealOutputPPumElectrical power consumption of the pump
Modelica.Blocks.Interfaces.BooleanOutputon_actualena and hys.yActual on off status of the cycle

Components

TypeNameDefaultDescription
Modelica.Units.SI.ThermodynamicTemperatureTEva (from InterpolateStates)Evaporating temperature
Modelica.Units.SI.ThermodynamicTemperatureTCon (from InterpolateStates)Condensing temperature
Modelica.Units.SI.EfficiencyetaExp (from InterpolateStates)Expander efficiency
Modelica.Units.SI.EfficiencyetaPum (from InterpolateStates)Pump efficiency
Modelica.Units.SI.AbsolutePressurepEva (from InterpolateStates)Buildings.Utilities.Math.Functions.interpolate(u = TEva, xd = pro.T, yd = pro.p, d = pDer_T)Evaporating pressure
Modelica.Units.SI.AbsolutePressurepCon (from InterpolateStates)Buildings.Utilities.Math.Functions.interpolate(u = TCon, xd = pro.T, yd = pro.p, d = pDer_T)Condensing pressure
Modelica.Units.SI.DensityrhoLiq (from InterpolateStates)Buildings.Utilities.Math.Functions.interpolate(u = TCon, xd = pro.T, yd = pro.rhoLiq, d = rhoLiqDer_T)Saturated liquid density
Modelica.Units.SI.SpecificEntropysPumInl (from InterpolateStates)Buildings.Utilities.Math.Functions.interpolate(u = TCon, xd = pro.T, yd = pro.sSatLiq, d = sSatLiqDer_T)Specific entropy at pump inlet
Modelica.Units.SI.SpecificEnthalpyhPumInl (from InterpolateStates)Buildings.Utilities.Math.Functions.interpolate(u = TCon, xd = pro.T, yd = pro.hSatLiq, d = hSatLiqDer_T)Specific enthalpy at pump inlet
Modelica.Units.SI.SpecificEnthalpyhPinEva (from InterpolateStates)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.SpecificEnthalpyhPinCon (from InterpolateStates)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.SpecificEntropysSatVapCon (from InterpolateStates)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.SpecificEntropysRefCon (from InterpolateStates)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.SpecificEntropysSatVapEva (from InterpolateStates)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.SpecificEnthalpyhSatVapEva (from InterpolateStates)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.SpecificEntropysRefEva (from InterpolateStates)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.SpecificEnthalpyhSatVapCon (from InterpolateStates)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.SpecificEnthalpyhRefCon (from InterpolateStates)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.SpecificEnthalpyhRefEva (from InterpolateStates)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.SpecificEnthalpyhPumOut (from InterpolateStates)hPumInl + wPumSpecific enthalpy at pump outlet
Modelica.Units.SI.SpecificEnthalpyhExpInl (from InterpolateStates)Buildings.Utilities.Math.Functions.regStep(x = h_reg, y1 = hSatVapEva, y2 = hExpInlWet, x_small = h_small)Specific enthalpy at expander inlet
Modelica.Units.SI.SpecificEnthalpyhExpOut (from InterpolateStates)Buildings.Utilities.Math.Functions.regStep(x = h_reg, y1 = hExpOutDry, y2 = hSatVapCon, x_small = h_small)Specific enthalpy at expander inlet
Modelica.Units.SI.TemperatureDifferencedTSup (from InterpolateStates)max(0, dTSupWet)Superheating temperature differential
Modelica.Units.SI.SpecificEnergyqEva (from InterpolateStates)hPumOut - hExpInlEvaporator specific energy transfer into the cycle
Modelica.Units.SI.SpecificEnergyqCon (from InterpolateStates)hExpOut - hPumInlCondenser specific energy transfer out of the cycle
Modelica.Units.SI.SpecificEnergywExp (from InterpolateStates)hExpOut - hExpInlExpander specific work
Modelica.Units.SI.SpecificEnergywPum (from InterpolateStates)(pEva - pCon)/(rhoLiq*etaPum)Pump specific work
Modelica.Units.SI.EfficiencyetaThe (from InterpolateStates)(wExp + wPum)/qEvaThermal efficiency
Modelica.Units.SI.ThermodynamicTemperatureTHotOutOutgoing temperature of the evaporator hot fluid
Modelica.Units.SI.ThermodynamicTemperatureTHotPinHot fluid temperature at pinch point
Modelica.Units.SI.TemperatureDifferencedTPinEvaPinch point temperature difference of evaporator
Modelica.Units.SI.ThermodynamicTemperatureTWorConWorking fluid condensing temperature
Modelica.Units.SI.ThermodynamicTemperatureTColOutFluid temperature out of the condenser
Modelica.Units.SI.ThermodynamicTemperatureTColPinCold fluid temperature at pinch point
Modelica.Units.SI.MassFlowRatemWor_flowMass flow rate of the working fluid
Modelica.Blocks.Logical.HysteresishysHysteresis for turning off cycle when working fluid flow too low

Revisions

  • January 29, 2024, by Hongxiang Fu:
    First implementation. This is for #3433.