Class SystemSpanWagnerEos

All Implemented Interfaces:
Serializable, Cloneable, SystemInterface

public class SystemSpanWagnerEos extends SystemEos
Thermodynamic system using the Span-Wagner reference equation for CO2.
Author:
esol
See Also:
  • Field Details

  • Constructor Details

    • SystemSpanWagnerEos

      public SystemSpanWagnerEos()

      Constructor for SystemSpanWagnerEos.

    • SystemSpanWagnerEos

      public SystemSpanWagnerEos(double T, double P)

      Constructor for SystemSpanWagnerEos.

      Parameters:
      T - a double
      P - a double
    • SystemSpanWagnerEos

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

      Constructor for SystemSpanWagnerEos.

      Parameters:
      T - a double
      P - a double
      checkForSolids - a boolean
  • Method Details

    • clone

      public SystemSpanWagnerEos clone()

      clone.

      Specified by:
      clone in interface SystemInterface
      Overrides:
      clone in class SystemThermo
      Returns:
      a SystemInterface object
    • addComponent

      public void addComponent(String componentName, double moles)
      add a component to a fluid. If component already exists, the moles will be added to the existing component.
      Specified by:
      addComponent in interface SystemInterface
      Overrides:
      addComponent in class SystemThermo
      Parameters:
      componentName - Name of the component to add. See NeqSim database for component in the database.
      moles - number of moles (per second) of the component to be added to the fluid
    • addComponent

      public void addComponent(ComponentInterface inComponent)
      add a component to a fluid. If component already exists, the moles will be added to the existing component.
      Specified by:
      addComponent in interface SystemInterface
      Overrides:
      addComponent in class SystemThermo
      Parameters:
      inComponent - Component object to add.
    • commonInitialization

      public void commonInitialization()
      Perform common initialisation tasks.