Class SystemPrEos

All Implemented Interfaces:
Serializable, Cloneable, SystemInterface
Direct Known Subclasses:
SystemGERGwaterEos, SystemPrCPA, SystemPrDanesh, SystemPrEos1978, SystemPrEosDelft1998, SystemPrEosvolcor, SystemPrGassemEos, SystemPrMathiasCopeman, SystemUMRCPAEoS, SystemUMRPRUEos

public class SystemPrEos extends SystemEos
This class defines a thermodynamic system using the Peng–Robinson equation of state (PR‑EoS).

The Peng–Robinson EOS is expressed as

P = \frac{R T}{v - b} - \frac{a \alpha}{v (v + b) + b (v - b)}
where R is the gas constant, T is the temperature, v is the molar volume, and a and b are component specific parameters. The temperature dependent parameter \alpha is calculated from the acentric factor \omega and critical temperature T_c as
\alpha = \left[1 + \left(0.37464 + 1.54226\,\omega - 0.26992\,\omega^2\right)
          \left(1 - \sqrt{T/T_c}\right)\right]^2
Version:
$Id: $Id
Author:
Even Solbraa
See Also:
  • Field Details

    • serialVersionUID

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

    • SystemPrEos

      public SystemPrEos()
      Default constructor creating a PR-EoS system at 298.15 K and 1 bara.
    • SystemPrEos

      public SystemPrEos(double T, double P)
      Constructs a PR-EoS system at the specified temperature and pressure.
      Parameters:
      T - the temperature in Kelvin
      P - the pressure in bara (absolute pressure)
    • SystemPrEos

      public SystemPrEos(double T, double P, boolean checkForSolids)
      Constructs a PR-EoS system with optional solid phase calculations.
      Parameters:
      T - the temperature in Kelvin
      P - the pressure in bara (absolute pressure)
      checkForSolids - set true to enable solid phase calculations
  • Method Details