Wang Henke MethodSolve_ Internal Method
Internal solver loop that performs the Wang–Henke BP iteration with a single tolerance value.
Definition
Namespace: DWSIM.UnitOperations.UnitOperations.Auxiliary.SepOps.SolvingMethods
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
An object array containing the converged column profiles.
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
C#
public Object Solve_Internal(
Column rc,
int nc,
int ns,
int maxits,
double tolerance,
double[] F,
double[] V,
double[] Q,
double[] L,
double[] VSS,
double[] LSS,
double[][] Kval,
double[][] x,
double[][] y,
double[][] z,
double[][] fc,
double[] HF,
double[] T,
double[] P,
Columncondtype condt,
int stopatitnumber,
double[] eff,
ColumnColType coltype,
PropertyPackage pp,
Dictionary<string, ColumnSpec> specs,
bool IdealK,
bool IdealH,
int Mode,
List<FlashAlgorithm> flashalgs
)VB
Public Function Solve_Internal (
rc As Column,
nc As Integer,
ns As Integer,
maxits As Integer,
tolerance As Double,
F As Double(),
V As Double(),
Q As Double(),
L As Double(),
VSS As Double(),
LSS As Double(),
Kval As Double()(),
x As Double()(),
y As Double()(),
z As Double()(),
fc As Double()(),
HF As Double(),
T As Double(),
P As Double(),
condt As Columncondtype,
stopatitnumber As Integer,
eff As Double(),
coltype As ColumnColType,
pp As PropertyPackage,
specs As Dictionary(Of String, ColumnSpec),
IdealK As Boolean,
IdealH As Boolean,
Mode As Integer,
flashalgs As List(Of FlashAlgorithm)
) As ObjectParameters
- rc Column
- The rigorous column object being solved.
- nc Int32
- Number of chemical components.
- ns Int32
- Number of equilibrium stages (0-based).
- maxits Int32
- Maximum number of outer iterations.
- tolerance Double
- F Double
- V Double
- Q Double
- L Double
- VSS Double
- LSS Double
- Kval Double
- x Double
- y Double
- z Double
- fc Double
- HF Double
- T Double
- P Double
- condt Columncondtype
- stopatitnumber Int32
- eff Double
- coltype ColumnColType
- pp PropertyPackage
- specs DictionaryString, ColumnSpec
- IdealK Boolean
- IdealH Boolean
- Mode Int32
- flashalgs ListFlashAlgorithm
Return Value
ObjectAn object array containing the converged column profiles.