Professional Documents
Culture Documents
Plotting Mccabe-Thiele Diagrams in Microsoft Excel: Manual, by Macdonald
Plotting Mccabe-Thiele Diagrams in Microsoft Excel: Manual, by Macdonald
Plotting Mccabe-Thiele Diagrams in Microsoft Excel: Manual, by Macdonald
IN MICROSOFT EXCEL
John L. Gossage
Dan F. Smith Department of Chemical Engineering
Lamar University
Abstract Introduction
For a binary distillation problem involving a McCabe-Thiele diagrams are helpful for
constant relative volatility, a McCabe-Thiele teaching distillation to students in Mass Transfer
diagram is useful for demonstrating the (or Unit Operations) class. However, teachers
relationships among the reflux ratio, the number know that drawing an accurate McCabe-Thiele
of stages, the relative volatility, and the feed diagram, especially freehand, is quite difficult
condition. However, these diagrams are difficult and rather time-consuming. Thus, this paper
and time-consuming to draw accurately by details a method for generating a McCabe-
hand. This paper provides directions for plotting Thiele diagram using Microsoft Excel.
McCabe-Thiele diagrams using Microsoft
Excel. For a good overview of the McCabe-Thiele
method as applied to binary distillation
Notation problems, see Geankoplis [1], pages 706-724.
The third assumption is that the Murphree Figure 2: The McCabe-Thiele diagram. Point P
efficiency is constant for the whole column. The is the intersection of the Feed Line and the
fourth assumption is that the number of stages is Equilibrium Curve; point F is the intersection of
no more than 50: this limit places a maximum the Feed Line with the Rectifying and Stripping
on the size of the output table used to generate Operating Lines.
the plot.
The equilibrium curve is generated by first
Equations rearranging Eq. 1 to solve for y as shown in [1]
(equation 11.3-4, page 701):
Several equations are needed to provide
enough information to be able to generate the
McCabe-Thiele diagram. Figure 2 shows more
heat needed to vaporize 1 mole Once the location of point P(xp,yp) is known,
� �
of feed at entering conditions
𝑞𝑞 = Eq. 3 the spreadsheet next calculates the minimum
molar latent heat of
� � reflux ratio, RRmin. As shown in Figure 3, if
vaporization of feed
the value of RR is decreased to RRmin, then
Thus, q=0 means the feed is a saturated vapor; points P and F merge.
q=1 means the feed is a saturated liquid; 0<q<1
means the feed is a saturated liquid-vapor
mixture; q<0 means the feed is a superheated
vapor, and q>1 means the feed is a subcooled
liquid. The feed line can then be drawn starting
from the point (zf, zf) with a slope given by
q/(q-1). Therefore, if q≠1 the feed line equation
is given by this equation:
Feed 𝑞𝑞 ∙ 𝑥𝑥 − 𝑧𝑧𝑓𝑓
𝑦𝑦 = Eq. 4
line: 𝑞𝑞 − 1
20. In cell M22 (two rows under “Feed”), 30. In cell E33 enter this formula:
enter a 0. In cells E22, E23, and M23, =xp
enter the following formula:
=zf 31. In cell I33 enter this formula:
These four cells represent two (x,y) points to =yp
draw the dashed line from the x-axis up to These four cells (from steps 29-31) represent
the 45° line at x=zF. two (x,y) points that will be connected to
draw the Feed line.
21. In cell N24 (four rows under “Bottoms”),
enter a 0. In cells E24, E25, and N25, 32. Now comes the Equilibrium curve. In cell
enter the following formula: E34 enter “0”. In cell J34 (fourteen rows
=xb beneath the “Eq Line” heading) enter the
These four cells represent two (x,y) points to following formula from Eq. 2:
draw the dashed line from the x-axis up to = alpha*E34/(1+E34*(alpha-1))
the 45° line at x=xB.
One drawback of VLOOKUP is that the This method of performing a “left lookup” is
Lookup_value must be in the leftmost column detailed by MacDonald in [2], pages 338-339.
of the Table_array. Thus, while it works
admirably when searching for the Stage # (as Drawing the McCabe-Thiele Diagram
used here), it does not work “backwards”: it can
search for the Stage # and return the Now that the data have been placed in the
corresponding x-value (or even the y-value, as appropriate tabular form, Excel can now draw
used in K77), but it cannot search for the x- the McCabe-Thiele diagram. Here are the steps
value and return the Stage #, because the Stage in the process.
# appears to the left of the x-value in the
Table_array. To perform such a “left lookup” 44. Select cells E20:N176. A simple way is to
requires the use of two Excel commands used click on cell E20, then use the “Go To”
together. A portion of the formula in cell B17 shortcut described above in step 16, using a
contains two Excel functions INDEX and MATCH: Reference of N176.
The INDEX function takes three arguments, the 48. Format the y-axis. Click on any of the
array, the row_num, and the column_num, and values on the y-axis: Excel will then select
returns the value found in the array at the all of them. Right-click and select “Format
specified row_num and the column_num. In the Axis…”. On “Axis Options”, after
present problem, the MATCH function returns a “Maximum” click the “Fixed” radio button
value of 3 for the row_num, and since the array and enter a 1. After “Major unit” click the
is specified as A21:B71 and the column_num is “Fixed” radio button and enter 0.1. Below
given as 1, the formula returns the value found “Axis Options” click “Number”. From the
51. Resize the chart. Click the resize handle (it Does the Condenser Count as a Stage?
looks like three dots in a horizontal line) at
the bottom center of the chart: the cursor As described by Geankoplis [1] on pages 723-
changes to a two-headed vertical arrow. 724, if the condenser is a partial condenser (so
Click and drag so the bottom edge of the the distillate product is removed as a vapor), and
chart falls just above the Row 19 headings. the partial condenser reaches equilibrium, then
the condenser counts as an equilibrium stage.
52. Make the “Distillate” line dashed rather For the more-common case of a total condenser,
than solid. Right-click on the line and select the condenser does not perform a separation so
“Format Data Series…”. In the “Format it does not count as an equilibrium stage.
Data Series” dialog box, select Line style,
then select Dash type and choose “Round Extensions of this Method
Dot”. Click “Close”.
The spreadsheet described here can be used to
53. Repeat step 52 twice more: once for the find the minimum number of stages, Nmin. To
Feed line, and again for the Bottoms line. do this, simply set the Reflux Ratio RR to a very
high value, say 1,000,000. Then, the rectifying
54. Smooth the Equilibrium curve. Right- operating line will have a slope of 0.999999,
click on the curve and select “Format Data which is close enough to one to represent total
Series…”. In the “Format Data Series” reflux. The calculated number of stages would
dialog box, select Line style, then check the then be equal to Nmin. For the values of α, zf,
“Smoothed line” box and click “Close”. q, xd, xb, and η given in Figure 1, Nmin =
3.8066….
55. Make both the 45° and Stages lines black.
Right-click on the 45° line, and select The above minimum stage number result
“Format Data Series…”, select Line color, combined with the earlier minimum reflux ratio
then select the Solid line radio button. In the result (depicted in Figure 3) demonstrates the
Color box, click the arrow and choose black. following important conclusions about the
Repeat for the Stages line. relationship between number of stages, reflux
ratio, and the economics of the process:
56. Add the x-axis title. Click on the chart, then
on the Ribbon select “Layout” (just below