Module for calculation of condenser and reboiler loads:

F feed rate, mole per hour
H_F feed enthalpy, BTU/lb
D distillate rate, mole per hour
xF feed composition, mole fraction
xD distillate composition, mole fraction
xW residue composition, mole fraction
q feed quality
R reflux ratio)
T_b bubble point, deg F)
T_d dew point, deg F)
T_W residue temperature, deg F)
ΔH_sD enthalpy of solution, distillate, BTU per lb)
ΔH_sW enthalpy of solution, residue, BTU per lb)
c_A heat capacity of A, BTU per lb per deg F)
c_B heat capacity of B, BTU per lb per deg F)
M_A molecular weight of A)
M_B molecular weight of B)
λA latent heat of vaporization of A, BTU per lb)
λB latent heat of vaporization of B, BTU per lb)