7. modules¶
7.1. distillation/amundson_1958¶
-
distillation.amundson_1958.main.
make_ABC
(V: numpy.array, L: numpy.array, K: numpy.array, F: numpy.array, z: numpy.array, Distillate: float, Bottoms: float, N: int)[source]¶ Distillation column with partial reboiler and total condenser
Note
K_j is assumed to depend on T and p, but not composition
- Parameters
V – vapor molar flow rate out of stage 0 to N
L – liquid molar flow rate out of stage 0 to N
K – equilibrium expressions for stage 0 to N
F – feed flow rate into stage for stage 0 to N
z – feed composition into stage for stage 0 to N
Distillate – distillate flow rate
Bottoms – bottoms flow rate
N – number of equilibrium stages
- Returns
A, B, C, D
-
distillation.amundson_1958.main.
solve_component_mass_balances
(*args)[source]¶ Distillation column with partial reboiler and total condenser
Note
K_j is assumed to depend on T and p, but not composition
- Parameters
V – vapor molar flow rate out of stage 0 to N
L – liquid molar flow rate out of stage 0 to N
K – equilibrium expressions for stage 0 to N
F – feed flow rate into stage for stage 0 to N
z – feed composition into stage for stage 0 to N
Distillate – distillate flow rate
Bottoms – bottoms flow rate
N – number of equilibrium stages
- Returns
l