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

  What are the three oops principles

What are the three Oops principles, define them and What is the difference between C++ & Java?

  Write a program to create 100 real random numbers

Write a program to create 100 real random numbers and store it into a 1-D array. Find the value 1413 from the stored data and print out the value 1413 and the index of the array to the screen

  Write a test program that creates an account object

Write a test program that creates an Account object with an ID of 1122, a balance of 20000USD, and an annual interest rate of 4.5% - Use the withdraw method to withdraw 2.500USD, use the deposit method to deposit 3000USD and print the balance, mont..

  Create a base employee class

Create a base Employee class and a derived StudentEmployee class

  Write a program for find greatest common divisor

Write code for a recursive implementation of Euclid's algorithm

  Three dimensional array representing parking spaces

start with code in the file lab.cpp. This program works with a three dimensional array representing parking spaces in a parking garage on several floors. The code is incomplete. The functions "main", "display" and "showSpace" are complete. Your job i..

  Normalization of database tables

Using the STUDENT table structure shown in Table, do the following: Table: Sample STUDENT Records

  The westfield carpet company has asked you to write an

the westfield carpet company has asked you to write an application that calculates the price of carpeting for

  Write a program that calculates and prints the take-home pay

Write a program that calculates and prints the take-home pay for a commissioned sales employee. Perform a compile-time initialization and store the name of Jessica Oakley in a variable called employeeName.

  Calculate the component voltages

Calculate the component voltages for the following series resonant RLC circuit

  Write a program that will read input and write it back out

Write a program that will read input, and write it back out, character by character. Propend each line of input with a line number.

  Write a driver to thoroughly test your implementation

Write a driver (SortedListArrayDriver) to thoroughly test your implementation. Part of your grade  will depend on evidence of testing. Note that it is not necessary to provide user interaction in your driver class for this program

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