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
| Type | Name | Default | Description |
|---|---|---|---|
| Initialization › Start Value: Absolute Pressure | |||
| Medium.AbsolutePressure | p_a_start | Medium.p_default | Pressure at port a |
| Medium.AbsolutePressure | p_b_start | p_a_start | Pressure at port b |
| Initialization › Start Value: Temperature | |||
| Boolean | use_T_start | true | Use T_start if true, otherwise h_start |
| Medium.Temperature | T_a_start | Medium.T_default | Temperature at port a |
| Medium.Temperature | T_b_start | T_a_start | Temperature at port b |
| Initialization › Start Value: Specific Enthalpy | |||
| Medium.SpecificEnthalpy | h_a_start | Medium.specificEnthalpy_pTX(p_a_start, T_a_start, X_start) | Specific enthalpy at port a |
| Medium.SpecificEnthalpy | h_b_start | Medium.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_start | Medium.X_default | Mass fractions m_i/m |
| Initialization › Start Value: Trace Substances | |||
| Medium.ExtraProperty[Medium.nC] | C_start | fill(0, Medium.nC) | Trace substances |
| Initialization › Start Value: Mass Flow Rate | |||
| Medium.MassFlowRate | m_flow_start | 0 | Mass flow rate |
| Advanced | |||
| Boolean | allowFlowReversal | true | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.FluidPort_State | port_a | high pressure port | |
| Interfaces.FluidPort_Flow | port_b | low pressure port | |
| Modelica.Mechanics.Rotational.Interfaces.Flange_b | shaft_a | ||
| Modelica.Mechanics.Rotational.Interfaces.Flange_b | shaft_b |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Efficiency | eta_mech | Turbine mechanical efficiency | |
| SI.Efficiency | eta_is | Isentropic or aerodynamic efficiency | |
| Medium.ThermodynamicState | state_a | ||
| Real | p_ratio | port_b.p/port_a.p pressure ratio | |
| SI.Angle | phi | Shaft rotation angle | |
| SI.Torque | tau | Net torque acting on the turbine | |
| SI.AngularVelocity | omega | Shaft angular velocity | |
| SI.MassFlowRate | m_flow | Mass flow rate | |
| Medium.SpecificEnthalpy | h_in | Inlet enthalpy | |
| Medium.SpecificEnthalpy | h_out | Outlet enthalpy | |
| Medium.SpecificEnthalpy | h_is | Isentropic outlet enthalpy | |
| Medium.SpecificEnthalpy | dh_ideal | Ideal enthalpy change | |
| Medium.SpecificEnthalpy | dh | Actual enthalpy change | |
| SI.Power | Q_mech | Mechanical power added to system | |
| SI.Power | Ub | Energy balance |
Contents
| Name | Description |
|---|---|
| Medium properties |
Revisions
- 20 Apr 2005
by Francesco Casella:
First release. - 5 Oct 2011
by Francesco Casella:
Small changes in alias variables.