modelCompressor

Gas compressor
Diagram of Compressor

Information

## Copyright © EDF 2002 - 2026  
## ThermoSysPro Version 4.2  
This component model is documented in Sect. 11.3 of the ThermoSysPro book.   

# Static compressor   
   
Most modern combustion turbines use multistage axial compressors. The pressure of the atmospheric air flowing through is increased up to 30 times.  
The mass flow rate of inlet air increases when the ambient temperature decreases.  

## Modelica component model  

The equations mentioned below are implemented in the component *Compressor*, located in the *FlueGases.Machines* sub-library.  
The component has 3 connectors:  
- Ce: flue gases at the inlet,  
- Cs: flue gases at the outlet,  
- Power: compressor power output.  
   
![modelica://ThermoSysPro/UsersGuide/Documentation/ThermoSysPro.FlueGases.Machines.Compressor.svg](modelica://ThermoSysPro/UsersGuide/Documentation/ThermoSysPro.FlueGases.Machines.Compressor.svg)  

## Nomenclature  

| Symbol| Description| Unit| Definition| Modelica name|  
| :-------------------- | :------------------------------------------------------- | :------------------------------- | :---------------------------------- |:---------------------------------- |  
| \\(h\_{\mathrm{i}}\\)| Fluid specific enthalpy at the inlet| \\(\mathrm{J} / \mathrm{kg}\\)||He|  
| \\(h\_{\mathrm{is}}\\)| Fluid specific enthalpy after the isentropic compression | \\(\mathrm{J} / \mathrm{kg}\\)||His|  
| \\(h\_{\mathrm{o}}\\)| Fluid specific enthalpy at the outlet| \\(\mathrm{J} / \mathrm{kg}\\)||Hs|  
| \\(m\\)| Fluid mass flow rate| \\(\mathrm{kg} / \mathrm{s}\\)| \\(q \cdot \rho\_{\mathrm{i}}\\)|Q|  
| \\(P\_{\mathrm{i}}\\)| Fluid pressure at the inlet| \\(\mathrm{Pa}\\)||Pe|  
| \\(P\_{\mathrm{o}}\\)| Fluid pressure at the outlet| \\(\mathrm{Pa}\\)||Ps|  
| \\(q\\)| Fluid volumetric flow rate| \\(\mathrm{m}^{3} / \mathrm{s}\\)||Qv|  
| \\(W\_{\mathrm{c}}\\)| Compressor power \(negative value\)| \\(\mathrm{W}\\)||Wcp|  
| \\(X\\)| Ratio between the actual and nominal compression rate| \\(-\\)| \\(\pi / \pi\_{n}\\)|Xtau|  
| \\(\eta\\)| Isentropic efficiency| \\(-\\)||is_eff|  
| \\(\eta\_{\mathrm{n}}\\) | Nominal isentropic efficiency| \\(-\\)||is_eff_n|  
| \\(\pi\\)| Compression rate| \\(-\\)| \\(P\_{\mathrm{o}} / P\_{\mathrm{i}}\\)|tau|  
| \\(\pi\_{\mathrm{n}}\\)| Nominal compression rate| \\(-\\)||tau_n|  
| \\(\rho\_{\mathrm{i}}\\) | Fluid density at the inlet| \\(\mathrm{kg} / \mathrm{m}^{3}\\) ||rho_e|  

## Governing equations  

The steady-state model is based on a polynomial equation of the isentropic efficiency obtained by experimental data from several combined cycle power plants.  


### Fluid specific enthalpy at the outlet of the compressor  


    
    

- Validity domain:   
   
 \\(\forall h\_{\mathrm{i}}\\)  

- Mathematical formulation:   
   
 $$h\_{\mathrm{o}}=h\_{\mathrm{i}}+\frac{\left\(h\_{\mathrm{is}}-h\_{\mathrm{i}}\right\)}{\eta\_{\mathrm{is}}}$$  

- Comments:   
   



### Compressor power  


    
    

- Validity domain:   
   
 \\(\dot{m} \geq 0\\)  

- Mathematical formulation:   
   
 $$W\_{\mathrm{c}}=\dot{m} \cdot\left\(h\_{\mathrm{i}}-h\_{0}\right\)$$  

- Comments:   
   



### Isentropic efficiency  


    
    

- Validity domain:   
   
 \\(X>0\\)  

- Mathematical formulation:   
   
 $$\eta=f\_{\eta}\(X\) \cdot \eta\_{n}$$  

- Comments:   
   
 \\( f\_{\eta}\(X\)\\) is the compressor map expressed as a polynomial function of \\(X\\).   

## References   
   
El Hefni, Baligh and Bouskela, Daniel (2019). [Modeling and Simulation of Thermal Power Plants with ThermoSysPro](https://link.springer.com/book/10.1007/978-3-030-05105-1), sect. 11.3. Springer Nature Switzerland AG.

Parameters

TypeNameDefaultDescription
Integermass_flow_rate_comp1Ways for computing the mass flow rate - 1: Q = rho*Qv - 2: Q = rho*f(T)
Units.SI.TemperatureTmax284.16Air transition temperature between f1 = a*x + b and f2 = c*x + d for the computation of Q (active if mass_flow_rate_comp == 2)
Realcoef1_10.1164Coefficient a for f1 = a*x + b
Realcoef2_138.643Coefficient b for f1 = a*x + b
Realcoef1_2-0.2324Coefficient c for f2 = c*x + d
Realcoef2_2137.49Coefficient d for f2 = c*x + d
RealA4-1.2362Coefficient of X^4 for the computation of the isentropic efficiency
RealA33.6721Coefficient of X^3 for the computation of the isentropic efficiency
RealA2-4.2434Coefficient of X^2 for the computation of the isentropic efficiency
RealA12.3957Coefficient of X^1 for the computation of the isentropic efficiency
RealA00.4118Coefficient of X^0 for the computation of the isentropic efficiency
Realtau_n14.149Nominal compression rate
Realis_eff_n0.84752Nominal isentropic efficiency

Connectors

TypeNameDefaultDescription
ThermoSysPro.FlueGases.Connectors.FlueGasesInletCe
ThermoSysPro.FlueGases.Connectors.FlueGasesOutletCs
ThermoSysPro.InstrumentationAndControl.Connectors.OutputRealPower

Components

TypeNameDefaultDescription
RealtauCompression rate
Realis_effIsentropic efficiency
Units.SI.PowerWcpCompressor power
Units.SI.AbsolutePressurePeAir pressure at the inlet
Units.SI.AbsolutePressurePsAir pressure at the outlet
RealXtauNormal and nominal compression rates ratio
Units.SI.MassFlowRateQAir mass flow rate
Units.SI.VolumeFlowRateQvAir volumetric flow rate
Units.SI.TemperatureTeAir temperature at the inlet
Units.SI.TemperatureTsAir temperature at the outlet
Units.SI.TemperatureTisIsentropic air temperature at the outlet
Units.SI.SpecificEnthalpyHeAir specific enthalpy at the inlet
Units.SI.SpecificEnthalpyHsAir specific enthalpy at the outlet
Units.SI.SpecificEnthalpyHisAir specific enthalpy after the isentropic compression
Units.SI.SpecificEntropySeAir specific entropy at the inlet
Units.SI.Densityrho_eAir density at the inlet

Revisions

Author  

Baligh El Hefni