modelPartialPrescribed

Information

Base class.

Components

TypeNameDefaultDescription
SI.Pressurep_ininletPressure.y
SI.TemperatureT_ininletTemperature.y
RealpRatiopressureRatio.yPressure ratio
RealTrT_out/T_inTemperature ratio
RealTr_isT_out_is/T_inIsentropic temperature ratio
Realvrv_out/v_inSpecific volume ratio
SI.Efficiencyeta_isisentropicEfficiency.yIsentropic efficiency
Medium.ThermodynamicStatestate_inMedium.setState_pTX(p_in, T_in, Medium.X_default)Inlet state
Medium.Densityrho_inMedium.density(state_in)Inlet density
SI.SpecificVolumev_in1/rho_inInlet specific volume
Medium.IsentropicExponentgammaMedium.isentropicExponent(state_in)Isentropic exponent
RealRModelica.Constants.R/Medium.molarMass(state_in)Specific gas constant
Medium.SpecificHeatCapacitycpMedium.specificHeatCapacityCp(state_in)Isobaric heat capcity
Medium.AbsolutePressurep_outp_in*pRatioOutlet pressure
SI.PressureDifferencedpp_out - p_inPressure difference
SI.TemperatureT_out_isT_in*(p_out/p_in)^((gamma - 1)/gamma)Isentropic outlet temperature
SI.TemperatureT_outif pRatio >= 1 then T_in + 1/eta_is*(T_out_is - T_in) else T_in + eta_is*(T_out_is - T_in)Outlet temperature
Medium.Densityrho_outp_out/(R*T_out)Outlet density
RealrhoRatiorho_out/rho_inCompression ratio
SI.SpecificVolumev_out1/rho_outOutlet specific volume
Realn_auxif noEvent(abs(pRatio - 1) < Modelica.Constants.eps) then gamma/(gamma - 1) else log(pRatio)/log(T_out/T_in)
Realnn_aux/(n_aux - 1)Polytropic exponent
Realk_auxgamma/(gamma - 1)
Realeta_polif pRatio >= 1 then n_aux/k_aux else k_aux/n_auxPolytropic efficiency
SI.MassFlowRatem_flowmassFlowRate.yMass flow rate
SI.SpecificEnthalpyw_tcp*(T_out - T_in)Specific technical work
SI.PowerPm_flow*w_tPower
Modelica.Blocks.Sources.SawToothinletPressure
Modelica.Blocks.Sources.SawToothinletTemperature
Modelica.Blocks.Sources.SawToothpressureRatio
Modelica.Blocks.Sources.SawToothisentropicEfficiency
Modelica.Blocks.Sources.RealExpressionpressureDifference
Modelica.Blocks.Sources.RealExpressionoutletPressure
Modelica.Blocks.Sources.RealExpressionoutletTemperature
Modelica.Blocks.Sources.RealExpressionoutletDensity
Modelica.Blocks.Sources.RealExpressionoutletSpecificVolume
Modelica.Blocks.Sources.RealExpressionpolytropicEfficiency
Modelica.Blocks.Sources.RealExpressionpolytropicExponent
Modelica.Blocks.Continuous.FirstOrdermassFlowRate
EnergyFlow.Sources.PrescribedEnergyFlowenergyFlowSource
Modelica.Blocks.Sources.RealExpressionpower
Modelica.Blocks.Sources.RealExpressioncompressionRatio
Modelica.Blocks.Sources.SawToothmassFlowRate1

Contents

NameDescription
Medium

Revisions

  • 2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
    Initial version.