MichelsenFlashGeneralFlash Method

Performs a general flash calculation for the specified pair of thermodynamic specifications (T, P, H, S, or vapor fraction).

Definition

Namespace: DWSIM.Thermodynamics.PropertyPackages
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
public Object GeneralFlash(
	FlashSpec spec1,
	FlashSpec spec2,
	double val1,
	double val2,
	Array Vz,
	Object VKij,
	Array VTc,
	Array VPc,
	Array Vw,
	double FirstEstimate = 0,
	Object otherargs = null
)

Parameters

spec1  FlashSpec
First flash specification (e.g., FlashSpec.T or FlashSpec.P).
spec2  FlashSpec
Second flash specification (e.g., FlashSpec.P, FlashSpec.H, FlashSpec.S, or FlashSpec.VAP).
val1  Double
Value for the first specification (in SI units).
val2  Double
Value for the second specification (in SI units).
Vz  Array
Array of overall mole fractions.
VKij  Object
Binary interaction parameter matrix.
VTc  Array
Array of critical temperatures (K).
VPc  Array
Array of critical pressures (Pa).
Vw  Array
Array of acentric factors.
FirstEstimate  Double  (Optional)
Optional first estimate for the unknown variable (0 for automatic).
otherargs  Object  (Optional)
Optional additional arguments passed to the EOS.

Return Value

Object
Array containing the calculated temperature, pressure, and phase split results.

See Also