The program computes the residue curve map for the ternary mixture benzene-toluene-p-xylene. When you change the mouse's position, a new residue curve is computed and displayed. Residue curve maps play an important role in the conceptual design of distillation columns. The pointer's position gives an initial point from which the simulation runs forward and backward in warped time. The lightest (benzene) and the heaviest (p-xylene) components are the unstable and stable nodes. The distillation gets richer in the heavy components until there is only p-xylene left. The intermediate component (toluene) is a saddle point. All three components are extreme points of the system of differential equations. If the pointer is outside the triangle then the point does not correspond to a realistic mixture (i.e., it has mole fractions that are negative or greater than 1). If the user chooses a mouse’s location inside the triangle, its two coordinates correspond to the mole fractions of benzene (x) and p-xylene (y). The third (toluene’s) mole fraction is 1-x-y. The plot is the residue curve of the ternary mixture that represents the composition of the distillation still versus warped time.
For more information, see: M. F. Doherty and M. F. Malone, Conceptual Design of Distillation Systems, New York: McGraw-Hill, 2001.
Housam Binous (2022). Residue curve map for the ternary mixture benzene-toluene-p-xylene (https://www.mathworks.com/matlabcentral/fileexchange/16449-residue-curve-map-for-the-ternary-mixture-benzene-toluene-p-xylene), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!