Two-phase Flash Calculation for Phase Behavoir in Petroleum Engineering This package is written by C programming language. It has the following functions: Phase stability test. Phase split calculation. Saturation pressure calculation.