The McCabe-Thiele method provides a simplified graphical approach to estimate the number of stages required for distillation, assuming idealized conditions. It serves as a starting point for initial column design and can help optimize the process based on various factors such as reflux ratio, feed location, and desired product purity.
It's worth noting that the McCabe-Thiele method assumes idealized behavior and does not account for factors like non-idealities, pressure changes, heat effects, and column internals. Therefore, more rigorous methods and simulations are often employed for detailed design and analysis of distillation columns in practical applications.
The code is written in such a manner such that it is applicable for all types of data. For finding out equilibrium data, the equation y = alpha*x/(1-alpha*x) is used and the no. of stages were found individually for both top section and bottom section. The code will work only if the value of relative volatility is greater than 1 (minimum a value of 1.5 is required for smooth operation). The efficiency of the column is to be assumed but in future I try to include the calculation of Murphree's efficiency concept too in it.