Class SystemPCSAFT

All Implemented Interfaces:
Serializable, Cloneable, SystemInterface

public class SystemPCSAFT extends SystemSrkEos
This class defines a thermodynamic system using the PC-SAFT EoS equation of state.
Version:
$Id: $Id
Author:
Even Solbraa
See Also:
  • Field Details

    • logger

      static org.apache.logging.log4j.Logger logger
      Logger object for class.
    • serialVersionUID

      private static final long serialVersionUID
      Serialization version UID.
      See Also:
  • Constructor Details

    • SystemPCSAFT

      public SystemPCSAFT()

      Constructor for SystemPCSAFT.

    • SystemPCSAFT

      public SystemPCSAFT(double T, double P)

      Constructor for SystemPCSAFT.

      Parameters:
      T - The temperature in unit Kelvin
      P - The pressure in unit bara (absolute pressure)
    • SystemPCSAFT

      public SystemPCSAFT(double T, double P, boolean checkForSolids)

      Constructor for SystemPCSAFT.

      Parameters:
      T - The temperature in unit Kelvin
      P - The pressure in unit bara (absolute pressure)
      checkForSolids - Set true to do solid phase check and calculations
  • Method Details

    • addTBPfraction

      public void addTBPfraction(String componentName2, double numberOfMoles, double molarMass, double density)
      method to add true boiling point fraction.
      Specified by:
      addTBPfraction in interface SystemInterface
      Overrides:
      addTBPfraction in class SystemThermo
      Parameters:
      componentName2 - selected name of the component to be added
      numberOfMoles - number of moles to be added
      molarMass - molar mass of the component in kg/mol
      density - density of the component in g/cm3
    • clone

      public SystemPCSAFT clone()

      clone.

      Specified by:
      clone in interface SystemInterface
      Overrides:
      clone in class SystemSrkEos
      Returns:
      a SystemInterface object
    • commonInitialization

      public void commonInitialization()

      commonInitialization.