modelPartialCompressor

Information

This base model contains the basic interface, parameters and definitions for steam turbine models. It lacks the actual performance characteristics, i.e. two more equations to determine the flow rate and the efficiency.

This model does not include any shaft inertia by itself; if that is needed, connect a Modelica.Mechanics.Rotational.Inertia model to one of the shaft connectors.

Modelling options

The following options are available to calculate the enthalpy of the outgoing steam:

  • explicitIsentropicEnthalpy = true: the isentropic enthalpy h_out_iso is calculated by the Medium.isentropicEnthalpy function.
  • explicitIsentropicEnthalpy = false: the isentropic enthalpy is given equating the specific entropy of the inlet steam steam_in and of a fictional steam state steam_iso, which has the same pressure of the outgoing steam, both computed with the function Medium.specificEntropy.

Parameters

TypeNameDefaultDescription
Initialization › Start Value: Absolute Pressure
Medium.AbsolutePressurep_a_startMedium.p_defaultPressure at port a
Medium.AbsolutePressurep_b_startp_a_startPressure at port b
Initialization › Start Value: Temperature
Booleanuse_T_starttrueUse T_start if true, otherwise h_start
Medium.TemperatureT_a_startMedium.T_defaultTemperature at port a
Medium.TemperatureT_b_startT_a_startTemperature at port b
Initialization › Start Value: Specific Enthalpy
Medium.SpecificEnthalpyh_a_startMedium.specificEnthalpy_pTX(p_a_start, T_a_start, X_start)Specific enthalpy at port a
Medium.SpecificEnthalpyh_b_startMedium.isentropicEnthalpy(p_b_start, Medium.setState_phX(p_a_start, h_a_start, X_start))Specific enthalpy at port b
Initialization › Start Value: Mass Fractions
Medium.MassFraction[Medium.nX]X_startMedium.X_defaultMass fractions m_i/m
Initialization › Start Value: Trace Substances
Medium.ExtraProperty[Medium.nC]C_startfill(0, Medium.nC)Trace substances
Initialization › Start Value: Mass Flow Rate
Medium.MassFlowRatem_flow_start0Mass flow rate
Advanced
BooleanallowFlowReversaltrue= true to allow flow reversal, false restricts to design direction (port_a -> port_b)

Connectors

TypeNameDefaultDescription
Interfaces.FluidPort_Stateport_ahigh pressure port
Interfaces.FluidPort_Flowport_blow pressure port
Modelica.Mechanics.Rotational.Interfaces.Flange_bshaft_a
Modelica.Mechanics.Rotational.Interfaces.Flange_bshaft_b

Components

TypeNameDefaultDescription
SI.Efficiencyeta_mechTurbine mechanical efficiency
SI.Efficiencyeta_isIsentropic or aerodynamic efficiency
Medium.ThermodynamicStatestate_a
Realp_ratioport_b.p/port_a.p pressure ratio
SI.AnglephiShaft rotation angle
SI.TorquetauNet torque acting on the turbine
SI.AngularVelocityomegaShaft angular velocity
SI.MassFlowRatem_flowMass flow rate
Medium.SpecificEnthalpyh_inInlet enthalpy
Medium.SpecificEnthalpyh_outOutlet enthalpy
Medium.SpecificEnthalpyh_isIsentropic outlet enthalpy
Medium.SpecificEnthalpydh_idealIdeal enthalpy change
Medium.SpecificEnthalpydhActual enthalpy change
SI.PowerQ_mechMechanical power added to system
SI.PowerUbEnergy balance

Contents

NameDescription
MediumMedium properties

Revisions