Compressor
Physical Model
For a compressor between from_junction
i and to_junction
j, the pressure lift
is calculated based on the absolute pressure (i.e., relative pressure as shown in pandapipes +
ambient pressure) and the pressure_ratio
\(\Pi\).
The required compression power for compressors with \(\dot{m}_{ij} > 0\) in Megawatt is estimated by the ideal adiabatic change in enthalpy by applying this equation [SSW15]:
Where \(\kappa\) is the isentropic exponent (assumed as 1.4), \(R_\text{s}\) is the specific gas constant, \(z(p)\) the compressibility and \(T_i\) the temperature.
Create Function
Component Table Data
net.compressor
Parameter |
Datatype |
Value Range |
Explanation |
net |
pandapipesNet |
pandapipes net to which the compressor will be added |
|
from_junction |
integer |
\(>\) 0 |
index of junction at the inlet |
to_junction |
integer |
\(>\) 0 |
index of junction at the outlet |
pressure_ratio |
float |
\(>\) 0 |
relative pressure ratio |
name |
string |
name of the compressor |
|
index |
int |
> 0 |
Force a specified ID if it is available |
in_service |
boolean |
True/ False |
True for in service or False for out of service |
Result Table Data
net.res_compressor
Parameter |
Datatype |
Explanation |
deltap_bar |
float |
The pressure lift caused by the compressor [bar] |
compr_power_mw |
float |
The estimated adiabatic compression power [MW] |