modelPartialPump_Simple

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
RealnParallel1# of parallel components
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)
Visualization
BooleanshowNametrue

Connectors

TypeNameDefaultDescription
Interfaces.FluidPort_Flowport_ahigh pressure port
Interfaces.FluidPort_Flowport_blow pressure port

Components

TypeNameDefaultDescription
SI.Efficiencyeta_isIsentropic or aerodynamic efficiency
Medium.ThermodynamicStatestate_a
Medium.ThermodynamicStatestate_b
SI.PressureDifferencedpPressure change
SI.MassFlowRatem_flowMass flow rate
Medium.SpecificEnthalpydh_idealIdeal enthalpy change
Medium.SpecificEnthalpydhActual enthalpy change
SI.PowerWPumping power required
SI.PowerW_idealdh_ideal*m_flowIdeal pumping power required
SI.PowerUbEnergy balance

Contents

NameDescription
MediumMedium properties

Revisions