Rice University - CENG 403 - Distillation - Matlab Functions

Matlab Functions Related to Distillation

A sequence of Matlab programs is available for simulating different operations associated with distillation of binary mixtures. Here is a list of the most useful ones together with brief descriptions of them.

Main Set of Binary Distillation Matlab Programs

Program

Description

Performs

bidist

Binary ideal distillation

Finds molar flows of products and internal streams relative to feed. Used in oplines.

bubpt2

Binary form of bubpt

Determines the bubble point temperature & vapor mol fraction for given P & liquid mol fraction.

cost1

Cost estimation

Determines total, steam, cooling water, and equipment costs for the column and its heat exchangers.

dewpt2

Binary form of dewpt

Determines the dew point temperature and liquid mol fraction for given P and vapor mol fraction.

enbal1

Energy balance program

Determines the reboiler and condenser heat loads.

mcbt

McCabe-Thiele Diagram

Starts constructing a McCabe-Thiele Diagram.

oplines

Operating lines in binary distillation.

Determines the points on the operating lines for the McC-T. diagram. Used in ptop.

ptop

Plate to plate calculation

Determines points on the plate to plate steps for McC-T. diagram.

rmin

Minimum reflux ratio

Finds the minimum reflux ratio for given P, feed quality and mol fraction and the top mol fraction.

rminf

Error function for rmin

Used by rmin to find minimum reflux ratio.

VapFlow

Column Diameter and Vapor flow

Estimates column diameter based on allowed velocity of vapor.

Vapor liquid equilibria in these binary programs are determined by assuming ideal behavior of the liquid and vapor. Antoine constants in the data bank are used to determine vapor pressures of the compounds with the vappr program. A second set of programs that is based on the additional assumption of constant relative volatility may also be useful. We will use most of the programs listed in the table to show how our specifications can be met for a range of operating parameters. Then we will show how total cost of the separations can be used to determine "optimal" values of the operating parameters.

Return to Matlab Distillation Table of Contents.