
168 Programming for Chemical Engineers
DISTILLATION PROGRAM LISTING REVISITED
We break up the original large Distillation Program in C into various parts, each
of which performs a specific and separate task such as
- determining the minimum number of stages in the distillation process,
- determining the minimum reflux ratio, and
- determining the actual number of stages.
Actually, we improved the C program for the distillation problem (Program
Listing 4.5) and added features to handle water-acetic acid and methanol water-in
addition to the benzene-toluene system. By applying similar regression analysis
and a validation procedure, we