org.jscience.chemistry.vapor.calculators
Class PRFugacityCalculator

java.lang.Object
  extended by org.jscience.chemistry.vapor.calculators.PRFugacityCalculator
All Implemented Interfaces:
IFugacityCalculator

public class PRFugacityCalculator
extends java.lang.Object
implements IFugacityCalculator

Peng-Robinson equation implementation for fugacity calculation.


Constructor Summary
PRFugacityCalculator()
           
 
Method Summary
 double[] calculateFugacity(double T, double P, double[] Psat)
          DOCUMENT ME!
 void setContext(VLEContext context)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PRFugacityCalculator

public PRFugacityCalculator()
Method Detail

setContext

public void setContext(VLEContext context)
DOCUMENT ME!

Specified by:
setContext in interface IFugacityCalculator
Parameters:
context - DOCUMENT ME!

calculateFugacity

public double[] calculateFugacity(double T,
                                  double P,
                                  double[] Psat)
DOCUMENT ME!

Specified by:
calculateFugacity in interface IFugacityCalculator
Parameters:
T - DOCUMENT ME!
P - DOCUMENT ME!
Psat - DOCUMENT ME!
Returns:
DOCUMENT ME!