Enum Class PhaseModifiedFurstElectrolyteEos.DielectricMixingRule

java.lang.Object
java.lang.Enum<PhaseModifiedFurstElectrolyteEos.DielectricMixingRule>
neqsim.thermo.phase.PhaseModifiedFurstElectrolyteEos.DielectricMixingRule
All Implemented Interfaces:
Serializable, Comparable<PhaseModifiedFurstElectrolyteEos.DielectricMixingRule>, Constable
Enclosing class:
PhaseModifiedFurstElectrolyteEos

public static enum PhaseModifiedFurstElectrolyteEos.DielectricMixingRule extends Enum<PhaseModifiedFurstElectrolyteEos.DielectricMixingRule>
Enum for selecting dielectric constant mixing rules for mixed solvents.

Warning: Only MOLAR_AVERAGE is fully thermodynamically consistent. VOLUME_AVERAGE and LOOYENGA provide correct dielectric constant values but have incomplete composition derivatives (dε/dn), which may cause issues with fugacity coefficient calculations and phase equilibrium. Use MOLAR_AVERAGE (default) for rigorous thermodynamic calculations.

Version:
$Id: $Id
Author:
Even Solbraa
  • Enum Constant Details

    • MOLAR_AVERAGE

      public static final PhaseModifiedFurstElectrolyteEos.DielectricMixingRule MOLAR_AVERAGE
      Molar average: eps_mix = sum(x_i * eps_i). Standard NeqSim approach. Fully consistent.
    • VOLUME_AVERAGE

      public static final PhaseModifiedFurstElectrolyteEos.DielectricMixingRule VOLUME_AVERAGE
      Volume average: eps_mix = sum(phi_i * eps_i). Better for water-glycol mixtures (2.4% avg error vs 4.2% for molar). Warning: Composition derivatives not implemented - use for property estimation only, not phase equilibrium.
    • LOOYENGA

      Looyenga: eps_mix^(1/3) = sum(phi_i * eps_i^(1/3)). Theoretical basis for polar mixtures. Warning: Composition derivatives not implemented - use for property estimation only, not phase equilibrium.
  • Constructor Details

    • DielectricMixingRule

      private DielectricMixingRule()
  • Method Details

    • values

      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null