Compressor
Model interface of Compressor
This component models a compressor that compress an inlet flow, between MinFlowrate and MaxFlowrate, using electricity.
![]()
Fig. 46 I/O Compressor
The default model calculated the electrical consumption based on the following formula:
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
Expression name |
Unit |
Mandatory |
Description |
---|---|---|---|
UsedPower |
mExpUsedPower |
mPortUsedPower->pFluxUnit |
|
MaxPower |
mExpSizeMax |
mPortUsedPower->pFluxUnit |
|
InMassFlowRate |
mExpInMassFlow |
mPortInMassFlowRate->pFluxUnit |
|
OutMassFlowRate |
mExpOutMassFlow |
mPortOutMassFlowRate->pFluxUnit |
|
State |
mExpState |
mPortUsedPower->pFluxUnit |
|
Pressure_out |
mExpPOut |
mPortOutMassFlowRate->pPotentialUnit |
|
Steam |
mExpSteam |
mPortInMassFlowRate->pFluxUnit |
|
TemperatureIn |
mExpTIn |
degC |
|
Model variables of Compressor
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 |