Class ColumnSolverFactory

java.lang.Object
neqsim.process.equipment.distillation.ColumnSolverFactory

final class ColumnSolverFactory extends Object
Factory for the built-in distillation column solver strategies.

This class keeps enum dispatch outside DistillationColumn. The first implementation is a thin adapter layer around the existing numerical methods so that the public behavior remains unchanged while future rigorous solvers can be added as separate strategies.

Version:
1.0
Author:
esol
  • Field Details

    • DIRECT

      private static final ColumnSolver DIRECT
      Direct substitution strategy.
    • DAMPED

      private static final ColumnSolver DAMPED
      Damped substitution strategy.
    • INSIDE_OUT

      private static final ColumnSolver INSIDE_OUT
      Inside-out strategy.
    • WEGSTEIN

      private static final ColumnSolver WEGSTEIN
      Wegstein strategy.
    • SUM_RATES

      private static final ColumnSolver SUM_RATES
      Sum-rates strategy.
    • NEWTON

      private static final ColumnSolver NEWTON
      Temperature Newton strategy.
    • MESH_RESIDUAL

      private static final ColumnSolver MESH_RESIDUAL
      MESH residual-monitored strategy.
  • Constructor Details

    • ColumnSolverFactory

      private ColumnSolverFactory()
      Utility class constructor.
  • Method Details

    • create

      static ColumnSolver create(DistillationColumn.SolverType solverType)
      Create the strategy for a solver type.
      Parameters:
      solverType - requested solver type
      Returns:
      solver strategy for the requested type