Compressor

Model interface of Compressor

This component models a compressor that compress an inlet flow, between MinFlowrate and MaxFlowrate, using electricity.

IO Compressor

Fig. 46 I/O Compressor

The default model calculated the electrical consumption based on the following formula:

\[P=\frac{1}{\eta_is}.n.\dot{m}.c_p.T_1.(\tau^(frac{\gamma-1}{\eta.\gamma})-1)\]

It requires:

  • the motor efficiency multiplied by the isentropic efficiency \(\eta_is\),

  • the number of compressor stages \(n\),

  • the mass flow rate \(\dot{m}\),

  • the heat capacity \(c_p\),

  • the inlet temperature \(T_1\),

  • the isentropic coefficient \(\gamma\)

Additionally, there is a polytropic model that requires polytropic efficiency and polytropic coefficient.

Losses can be considered.

Expressions table of Compressor

See also Expressions table of TechnicalSubModel for generic options

Table. 15 Compressor

Expression name

Unit

Mandatory

Description

UsedPower

mExpUsedPower

mPortUsedPower->pFluxUnit

Computed power used by the compressor \

MaxPower

mExpSizeMax

mPortUsedPower->pFluxUnit

Maximal power used by the compressor \

InMassFlowRate

mExpInMassFlow

mPortInMassFlowRate->pFluxUnit

input flow compressed by the compressor \

OutMassFlowRate

mExpOutMassFlow

mPortOutMassFlowRate->pFluxUnit

output flow compressed by the compressor, can be different from input flow if losses are considered \

State

mExpState

mPortUsedPower->pFluxUnit

ON / OFF state of the compressor \

Pressure_out

mExpPOut

mPortOutMassFlowRate->pPotentialUnit

Pressure at the exit of the compressor \

Steam

mExpSteam

mPortInMassFlowRate->pFluxUnit

quantity of steam input in the compressor\

TemperatureIn

mExpTIn

degC

Temperature before compression \

Model variables of Compressor

Table. 16 Compressor variables table

Variable name

dimension

Associated Expr

size

varMin

varMax

varType

mUsedPower

1

mExpUsedPower

mHorizon

0.f

abs(mMaxPower)

double

mMassFlow

1

mHorizon

0.f

abs(mMaxFlow)

double

mPOut

1

mHorizon

0.f

abs(10000)

double

mSteam

1

mHorizon

0.f

abs(10000)

double

mVarTOutlet

0

0.f

double

mTIn

1

mHorizon

0.f

abs(10000)

double

mMassFlowOut

1

mExpOutMassFlow

mHorizon

0.f

abs(mMaxFlow)

double