modelCompressor

Gas compressor
Diagram of Compressor

Extends from BaseClasses.CompressorBase (Gas compressor).

Information

This model adds the performance characteristics to the Compressor_Base model, by means of 2D interpolation tables.

The perfomance characteristics are specified by two characteristic equations: the first relates the flow number phic, the pressure ratio PR and the referred speed N_T; the second relates the efficiency eta, the flow number phic, and the referred speed N_T [1]. To avoid singularities, the two characteristic equations are expressed in parametric form by adding a further variable beta (method of beta lines [2]).

The performance maps are thus tabulated into three differents tables, tablePhic, tablePR and tableEta, which express phic, PR and eta as a function of N_T and beta, respectively, where N_T is the first row while beta is the first column. The referred speed N_T is defined as a percentage of the design referred speed and beta are arbitrary lines, usually drawn parallel to the surge-line on the performance maps.

Modelica.Blocks.Tables.CombiTable2D interpolates the tables to obtain values of referred flow, pressure ratio and efficiency at given levels of referred speed and beta.

Modelling options

The following options are available to determine how the table is defined:

  • Table = 0: the table is explicitly supplied as matrix parameter.
  • Table = 1: the table is read from a file; the string fileName contains the path to the files where the tables are stored, either in ASCII or Matlab binary format.

References:

  1. S. L. Dixon: Fluid mechanics, thermodynamics of turbomachinery, Oxford, Pergamon press, 1966, pp. 213.
  2. P. P. Walsh, P. Fletcher: Gas Turbine Performance, 2nd ed., Oxford, Blackwell, 2004, pp. 646.

Parameters

TypeNameDefaultDescription
BooleanexplicitIsentropicEnthalpy (from CompressorBase)trueisentropicEnthalpy function used
SI.PerUniteta_mech (from CompressorBase)0.98mechanical efficiency
Medium.TemperatureTdes_in (from CompressorBase)inlet design temperature
BooleanallowFlowReversal (from CompressorBase)system.allowFlowReversal= true to allow flow reversal, false restricts to design direction
SI.AngularVelocityNdesignDesign velocity
Real[:,:]tablePhicfill(0, 0, 2)Table for phic(N_T,beta)
Real[:,:]tableEtafill(0, 0, 2)Table for eta(N_T,beta)
Real[:,:]tablePRfill(0, 0, 2)Table for eta(N_T,beta)
StringfileName"noName"File where matrix is stored
TableTypesTableTableTypes.matrixSelection of the way of definition of table matrix
Initialisation
Medium.AbsolutePressurepstart_in (from CompressorBase)inlet start pressure
Medium.AbsolutePressurepstart_out (from CompressorBase)outlet start pressure
Medium.TemperatureTstart_in (from CompressorBase)Tdes_ininlet start temperature
Medium.TemperatureTstart_out (from CompressorBase)outlet start temperature
Medium.MassFraction[Medium.nX]Xstart (from CompressorBase)Medium.reference_Xstart gas composition

Connectors

TypeNameDefaultDescription
FlangeAinlet (from CompressorBase)
FlangeBoutlet (from CompressorBase)
Modelica.Mechanics.Rotational.Interfaces.Flange_ashaft_a (from CompressorBase)
Modelica.Mechanics.Rotational.Interfaces.Flange_bshaft_b (from CompressorBase)

Components

TypeNameDefaultDescription
ThermoPower.Systemsystem (from CompressorBase)System wide properties
Medium.BasePropertiesgas_in (from CompressorBase)
Medium.BasePropertiesgas_iso (from CompressorBase)
Medium.SpecificEnthalpyhout_iso (from CompressorBase)Outlet isentropic enthalpy
Medium.SpecificEnthalpyhout (from CompressorBase)Outlet enthaply
Medium.SpecificEntropys_in (from CompressorBase)Inlet specific entropy
Medium.AbsolutePressurepout (from CompressorBase)Outlet pressure
Medium.MassFlowRatew (from CompressorBase)Gas flow rate
SI.Anglephi (from CompressorBase)shaft rotation angle
SI.AngularVelocityomega (from CompressorBase)shaft angular velocity
SI.Torquetau (from CompressorBase)net torque acting on the compressor
SI.PerUniteta (from CompressorBase)isentropic efficiency
SI.PerUnitPR (from CompressorBase)pressure ratio
Modelica.Blocks.Tables.CombiTable2DEta
Modelica.Blocks.Tables.CombiTable2DPressRatio
Modelica.Blocks.Tables.CombiTable2DPhic
RealN_TReferred speed
RealN_T_designReferred design velocity
RealphicFlow number
RealbetaNumber of beta line

Revisions

  • 13 Apr 2005 by Francesco Casella:
    New method for calculating performance parameters using tables.
  • 14 Jan 2005 by Francesco Casella:
    Adapted to Modelica.Media.

  • Compressor model restructured using inheritance.
  • 5 Mar 2004 by Francesco Casella:
    First release.