Wang Henke Method 2Solve Method
Solves the distillation or absorption column using the Modified Wang–Henke Bubble-Point method.
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(
Column rc,
int nc,
int ns,
int maxits,
double[] tol,
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
)VB
Public Function Solve (
rc As Column,
nc As Integer,
ns As Integer,
maxits As Integer,
tol 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
) 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.
- tol Double
- Convergence tolerance array.
- F Double
- Feed molar flow rate for each stage (mol/s).
- V Double
- Initial vapour molar flow rate profile (mol/s).
- Q Double
- Stage heat duty profile (kW).
- L Double
- Initial liquid molar flow rate profile (mol/s).
- VSS Double
- Vapour side-stream draw-off rates (mol/s).
- LSS Double
- Liquid side-stream draw-off rates (mol/s).
- Kval Double
- Initial K-value matrix (stage × component).
- x Double
- Initial liquid mole-fraction matrix (stage × component).
- y Double
- Initial vapour mole-fraction matrix (stage × component).
- z Double
- Feed composition matrix (stage × component).
- fc Double
- Feed component molar flow matrix (stage × component).
- HF Double
- Feed molar enthalpy for each stage (kJ/mol).
- T Double
- Initial temperature profile (K).
- P Double
- Pressure profile (Pa).
- condt Columncondtype
- The condenser type (total, partial, or full reflux).
- stopatitnumber Int32
- Iteration number at which to pause (0 = run to completion).
- eff Double
- Murphree tray efficiency for each stage.
- coltype ColumnColType
- The column type (distillation, absorption, etc.).
- pp PropertyPackage
- Property package used for thermodynamic calculations.
- specs DictionaryString, ColumnSpec
- Column specifications (condenser and reboiler specs).
- IdealK Boolean
- If True, use ideal (Raoult) K-values.
- IdealH Boolean
- If True, use ideal enthalpies.
Return Value
ObjectAn object array containing the converged column profiles.