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)
      Add a true boiling point (TBP) fraction.

      The density parameter is the specific gravity (relative density) of the fraction, which numerically equals the density in g/cm3. Typical values for petroleum fractions range from 0.65 (light naphtha) to about 1.1 (heavy residues). If a value greater than 1.5 is supplied (e.g. 738.0), it is assumed to be density in kg/m3 and is automatically converted by dividing by 1000.

      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 - specific gravity (relative density) of the component, i.e. density in g/cm3. Typical range: 0.65 to 1.1. Values above 1.5 are auto-converted from kg/m3.
    • 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.