Interface ColumnSolver
- All Known Implementing Classes:
ColumnSolverFactory.DampedSubstitutionSolver, ColumnSolverFactory.DirectSubstitutionSolver, ColumnSolverFactory.InsideOutSolver, ColumnSolverFactory.MeshResidualSolver, ColumnSolverFactory.SumRatesSolver, ColumnSolverFactory.TemperatureNewtonSolver, ColumnSolverFactory.WegsteinSolver
interface ColumnSolver
Internal strategy interface for distillation column solvers.
The interface is package-private to keep the public DistillationColumn API stable while
solver implementations are split out of the column class.
- Version:
- 1.0
- Author:
- esol
-
Method Summary
Modifier and TypeMethodDescriptionGet the solver type represented by this strategy.solve(DistillationColumn column, UUID id) Solve the supplied distillation column.
-
Method Details
-
solve
Solve the supplied distillation column.- Parameters:
column- the column to solveid- calculation identifier for this solve- Returns:
- summary metrics from the completed solve
-
getSolverType
DistillationColumn.SolverType getSolverType()Get the solver type represented by this strategy.- Returns:
- the matching
DistillationColumn.SolverType
-