Contents


Compressor2_CL



Procedure Compressor2_CL provides a model of a compressor with a specified isentropic or polytropic efficiency.  The model operates both within and outside of vapor dome.

Inputs:
h_in:  inlet enthalpy (J/kg, kJ/kg, or Btu/lbm)
P_in:  inlet pressure (bar, atm, Pa, kPa, MPa)
P_out:  outlet pressure (bar, atm, Pa, kPa, MPa)
m_dot:  mass flow rate (kg/s or lb_m/hr)
F$:  fluid string identifier
eta:  if eta>0 then it is interpreted as the isentropic efficiency
if eta<0 then abs(eta) is interpreted as the polytropic efficiency

Outputs:
h_out:  outlet enthalpy (J/kg, kJ/kg, or Btu/lbm)
W_dot:  power (W, kW or Btu/hr)
eta_s:  isentropic efficiency (this is useful if polytropic efficiency is an input)

Example: 
$UnitSystem SI Mass J K Pa
F$='He'
P_in=1e5 [Pa]
h_in=Enthalpy(F$,T=300 [K])
P_out=1e6 [Pa]
m_dot=0.1 [kg/s]
eta= 0.9 [-]
Call Compressor2_CL(h_in, P_in, P_out, m_dot, F$, eta: h_out, W_dot, eta_s)

{Solution:
h_out = 2.626e6 J/kg
W_dot = 261683 W
eta_s = 0.9}

Index