Enum Class AccelerationMethod
- All Implemented Interfaces:
Serializable, Comparable<AccelerationMethod>, Constable
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
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBroyden's quasi-Newton method.Direct substitution (successive substitution).Wegstein acceleration method. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AccelerationMethodReturns the enum constant of this class with the specified name.static AccelerationMethod[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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 nameNullPointerException- if the argument is null
-