Class ComponentWater

All Implemented Interfaces:
Serializable, Cloneable, ComponentEosInterface, ComponentInterface, ThermodynamicConstantsInterface

public class ComponentWater extends ComponentEos
Component class for the IAPWS-IF97 water model.

This component uses an ideal reference fugacity coefficient since the thermodynamic properties are handled directly by the phase model.

Author:
esol
See Also:
  • Field Details

    • serialVersionUID

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

    • ComponentWater

      public ComponentWater(String name, double moles, double molesInPhase, int compIndex)
      Construct a water component.
      Parameters:
      name - component name
      moles - total moles of the component
      molesInPhase - moles in the current phase
      compIndex - index of component in phase array
    • ComponentWater

      public ComponentWater(int number, double tc, double pc, double m, double a, double moles)
      Constructor with basic critical properties – not used in the IF97 model but provided for completeness.
      Parameters:
      number - a int
      tc - a double
      pc - a double
      m - a double
      a - a double
      moles - a double
  • Method Details