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

7.2. distillation/equilibrium_data

class distillation.equilibrium_data.heat_capacity_liquid.CpL(compound_name)[source]

Heat capacities of liquids

eval(T)[source]

return heat capacity liquid in J/kmol/K

integral_dT(T_ref, T)[source]
\[\int_{Tref}^T CpL dT\]
class distillation.equilibrium_data.heats_of_vaporization.dH_vap(compound_name)[source]

Heat of vaporization

class distillation.equilibrium_data.heat_capacity_vapor.CpV[source]

Heat capacities of vapor