Separation performed by flash vaporization in a drum

Assignment Help C/C++ Programming
Reference no: EM13921642

Consider a vapor/liquid separation performed by flash vaporization in a drum:

The feed stream has flow rate F and compositions (in mole fraction) zi for n components, giving compositions z1, z2, ..., zn. In the drum, this feed is separated into a liquid phase that leaves the system with flow rate L and compositions xi and a vapor phase that leaves the system with flow rate V and compositions yi.

The thermodynamic principles governing this process are described by n vapor-liquid equilibrium ratios Ki, one for each component. Given these K-values, a feed flow rate, and feed compositions, it is possible to find the product flow rates and compositions by finding the root of the following equation in the interval [0,1]:

€ zi(1-Ki) 1+Ψ(Ki -1) = 0 i=1 nΣ,

where the independent variable Ψ is defined as Ψ = V/F. In other words, the system can besolved by finding a value of Ψ that makes the left-hand side of the equation above equal to zero.

Once this value of Ψ is found, L can be found as L = F - V and the compositions in each phase can be found as:

€ xi = zi 1+Ψ(Ki -1) and € yi = xiKi.

Write a program that to find the output flow rates and compositions for such a separation system with an input flow rate (in mol/h), input compositions (in mole fraction) and K-values (dimensionless). Your program should be able to handle any number of components in the feed.

Consider a 7-component system where the feed compositions are: z1 = 0.16, z2 = 0.09, z3 = 0.21, z4

= 0.13, z5 = 0.06, z6 = 0.15, and z7 = 0.20; the K-values are K1 = 3.52, K2 = 1.92, K3 = 1.22, K4

= 0.84, K5 = 0.43, and K6 = 0.08. The total feed rate is 1500 mol/h. Plot the output compositions and flow rates in both phases as functions of K7 as K7 varies from 0.05 to 4.00.

Note: While there are several root-finding routines built into MATLAB as functions, avoid using them in this project. Instead, write your own root-finding routine based the one of the algorithms we studied in class.

Reference no: EM13921642

Questions Cloud

Given that revenue is the same for each period : Given that revenue is the same for each period, explain why net income increases each year.
Paragraph of reader response to the dickinson poem : Compose a paragraph of 'reader response' to the Dickinson poem and one of the Whitman poems. One paragraph each! Remember, 'reader response' asks that you connect with the poem in some personal way
Use present value of annuity table : How much money does Melinda need to deposit into her investment account today if she wishes to withdraw $8,000 a year for twenty years? She expects to earn an average rate of return of 11 percent. (Choose the closest answer, use present value of annu..
Will the author be happy with the book company output choice : Will the author be happy with the book company's output choice? Does the selected output maximize the joint profits (for both the author and company) from the book?
Separation performed by flash vaporization in a drum : Consider a vapor/liquid separation performed by flash vaporization in a drum:
Explain why ti might have made the given decision : TI made the decision to price its semiconductors substantially below its production costs. This decision increased sales, but resulted in near-term reductions in profits. Explain why TI might have made this decision.
When the owner contributed no assets to the business : Write a memo to explain how the business was able to generate retained earnings when the owner contributed no assets to the business.
How many people does mountain springs employ : Suppose the firm has 20 machines and is producing its current output using an optimal K /L ratio. How many people does Mountain Springs employ? Assume each person works 40 hours a week.
Describe the challenges of the recommended culture : Create a two-page report that describes the advantages and challenges (the impact) of adding a culture to your multinational organization by using the following criteria:- Select an industry. (e.g., Technology, Aerospace, Consumer Products, Energy,..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd