Skip to content

Voltranex/McCabeThiele-FLARE

Repository files navigation

FLARE | McCabe-Thiele method performer developed on MATLAB

alt text

FLARE is open source McCabe-Thiele method performer designed on MATLAB App Designer and compatible with R2016a and above MATLAB versions. Also with .exe file FLARE can be used without MATLAB installed.

Features

-Works with both database and user defined equilibrium values

-500 component database

-Fast response for different design parameters

-Easy to understand error panel

-With or without minimum stage number calculations

-Optimum feed condition finder

On the database tab two components are selected from drop-down menus. For user defined tab xA and yA equilibrium values defined with space. After that on the left side of the app McCabe-Thiele method parameters such as feed condition, bottom fraction(xB), top fraction (xD) and feed composition (xF) and reflux ratio values should be added in order to perform McCabe-Thiele method.

xA - yA equilibrium values calculated using the combination of Antoine equation and Raoult's law from Database alt text

xA - yA values defined by user alt text

Error panel alt text

Optimum Feed Condition Section alt text

About section alt text

Old version runs on MATLAB Editor

This MATLAB script allows 2 main features. One of them is using excel database to draw boiling point curve and equilibrium diagram of binary components using the combination of Antoine equation and Raoult's law. Second methods is takes the xA, yA equilibrium values from user to draw equilibrium diagram. After equilibrium diagram drawn, the second script called graphandler.m performs McCabe-Thiele method to calculate theorotical stage number, minimmum stage number and minimum reflux ratio graphically. Just run the mcCabeThiele.m file,

Here is the example of usage:

Choosing the method

alt text

Method a (From database)

Number of the components choosen from component list.pdf (500 compounds) than pressure of the system is defined.

Here is the BENZENE Example alt text

alt text

Here is the output of the Benzene and Toluen binary mixture;

McCabeThiele method option; alt text

alt text

Here is the results of McCabeThiele method

alt text

Red lines represents theorotical stage number, dashed black line is feed line and the black line represents minimum stage number.

alt text

Method b (From user given data)

alt text

xA, yA values must be an array as shown below. alt text Here is the output without McCabeThiele method alt text

Example of q defined feed condition; alt text alt text alt text

Here is the results of McCabeThiele method alt text

Red lines represents theorotical stage number, dashed black line is feed line and the black line represents minimum stage number. alt text

Update V-0.1 | 25.07.2021

Now user make a choice about to on/off mode of Minimum stage calculation. Here is the example of McCabe–Thiele method without minimum stages

alt text

Thank you for your time, for any suggestion or possible bug contact with me via e-mail or pull a request.