Enum Class AccelerationMethod

java.lang.Object
java.lang.Enum<AccelerationMethod>
neqsim.process.equipment.util.AccelerationMethod
All Implemented Interfaces:
Serializable, Comparable<AccelerationMethod>, Constable

public enum AccelerationMethod extends Enum<AccelerationMethod>
Enumeration of convergence acceleration methods for recycle calculations.

These methods control how the recycle tear stream values are updated between iterations to improve convergence speed and stability.

Version:
1.0
Author:
Even Solbraa
  • Enum Constant Details

    • DIRECT_SUBSTITUTION

      public static final AccelerationMethod DIRECT_SUBSTITUTION
      Direct substitution (successive substitution). Uses the output of the current iteration directly as input for the next iteration. Simple but can be slow or unstable for tightly-coupled systems.

      Formula: x_{n+1} = g(x_n)

    • WEGSTEIN

      public static final AccelerationMethod WEGSTEIN
      Wegstein acceleration method. A single-variable acceleration technique that uses the slope between consecutive iterations to extrapolate towards the solution.

      Formula: x_{n+1} = q * g(x_n) + (1-q) * x_n where q = s/(s-1) and s is the slope estimate

      Particularly effective for single recycle loops and provides bounded acceleration to prevent oscillation.

    • BROYDEN

      public static final AccelerationMethod BROYDEN
      Broyden's quasi-Newton method. A multi-variable acceleration technique that approximates the Jacobian matrix and updates it using rank-one corrections.

      Best suited for systems with multiple coupled recycle streams. More sophisticated than Wegstein but requires more memory for storing the Jacobian approximation.

  • Constructor Details

    • AccelerationMethod

      private AccelerationMethod()
  • Method Details

    • values

      public static AccelerationMethod[] 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

      public static AccelerationMethod valueOf(String name)
      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