Write a program to calculate the results of isothermal flash

Assignment Help MATLAB Programming
Reference no: EM132234440

Assignment - Programming flash calculations

A stream of hydrocarbons is to be separated in single-stage vapor-liquid flash process. The feed stream is a bubble point liquid at 600 kPa with the following flow rates, in kmol/h:

propane: 2.21

n-butane: 3.18

i-butane: 3.65

n-pentane: 4.96

i-pentane: 2.30

n-hexane: 1.11

Write a program to calculate the results of an isothermal flash at a given temperature and a pressure of 305 kPa. Find the flow rates and the compositions of the product streams at a flash temperature of 320 K. Find the heat, in units of kJ/h, that must be added to the feed stream at a given temperature and plot heat versus flash temperature in the range of 305 < T < 330. Estimate the temperature at which the flash is adiabatic.

The materials you turn in on Blackboard with this assignment should include:

  • The computer code that you wrote. The better your code is commented, the more partial credit we'll be able to give you.
  • A 1-2 page description of the methods you implemented in your program.
  • The results (output) from your program.

Note: Using the GetEnthalpy.m function

You can find the function file GetEnthalpy.m in the 'resources' section of the course Piazza page. It returns the molar enthalpy of a stream in units of J/mol given the pressure, temperature, composition, and phase of that stream. You should copy it into the same folder or directory as the GetKValues function. The use is as follows: enthalpy = GetEnthalpy(p, T, component_numbers, compositions, ph)

Note - Follow the instructions on the pdf using Kvalue zip drive to obtain the values from the interactive code and the rest of the process from the GetEnthalpy script. The 1-2 page report is not needed.

Attachment:- Assignment Files.rar

Reference no: EM132234440

Questions Cloud

Describe micro payments : Describe micropayments. Discuss three different situations where micropayments could occur.
Applicable to the c200 class for wgu : Can you give me three leadership practices that are applicable to the C200 Class for WGU?
Explain how the school could sustain a lean culture : As students, you should have a good understanding of operations within an academic institution. explain how the school could sustain a lean culture.
Create a human resources plan of the steps : You are a Human Resources (HR) program of one. Based on the information in this course, create a Human Resources plan of the steps needed.
Write a program to calculate the results of isothermal flash : Programming flash calculations - Write a program to calculate the results of an isothermal flash at a given temperature and a pressure of 305 kPa
Explain and justify cost associated with implementation : With the justification of an HRIS solidified, you need to show your client how you will implement the HRIS using one of the change models discussed in our text.
Briefly discuss the history behind ebp : What evidenced-based practice (EBP) is. Briefly discuss the history behind EBP
Issue of central importance to strategic planning : The topic of Ethics continues to increase as an issue of central importance to strategic planning.
Skills needed for the changing workplace : Give details on the skills needed for the changing workplace and how you can develop these skills?

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

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