ValveP2_Gas Method

Calculates the outlet pressure P2 for single-phase gas service given a known mass flow rate and flow coefficient, using bisection search within the non-choked pressure range.

Definition

Namespace: DWSIM.UnitOperations.UnitOperations
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
public Object P2_Gas(
	double Wi,
	double Kv,
	double P1,
	double k,
	double rho
)

Parameters

Wi  Double
Gas mass flow rate in kg/h.
Kv  Double
Effective flow coefficient (m³/h at 1 bar drop).
P1  Double
Inlet pressure in bar.
k  Double
Ratio of specific heats (Cp/Cv) of the gas.
rho  Double
Gas density at inlet conditions in kg/m³.

Return Value

Object
The calculated outlet pressure P2 in bar.

See Also