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

  Write a matlab routine data matrix containing a multivariate

Write a MATLAB routine A = ChowLiu(X) where X is a D × N data matrix containing a multivariate datapoint on each column that returns a Chow-Liu maximum likelihood tree for X.

  Does the root directory have any subdirectories

Does the root directory have any subdirectories you cannot search as an ordinary user? Does the root directory have any subdirectories you cannot read as a regular user? Explain.

  Compute the delay from controller to actuator

Send a file that contains a model simulated in truetime with it's m-files. Compute the delay from controller to actuator and from sensor to controller

  Compare the efficiency of the standard newton method

Compare the efficiency of the standard Newton method with this new iteration in order to find the zero of multiplicity m = 3 of the polynomial

  Design the circuit and select the appropriate components

ENG318 Project - Design the circuit and select the appropriate components for that circuit to fulfill the requirements of the device and Verify your design by MATLAB simulations.

  Matlab code to detect number of vehicles in a video clip

Machine Vision & Imaging Techniques in Mechanical Engineering - Write a MATLAB code to detect the number of vehicles in a video clip.

  Plot the pressure surface versus latitude and longitude

Plot the pressure surface versus latitude and longitude as a surface plot

  Write a matlab script to generate the coordinates of each

Each mouse travels towards its closest neighbor (in a counterclockwise direction) at a constant speed. The paths that the mice take form spiral curves.

  Fit the exponential function to the relaxation data

Fit the exponential function to the relaxation data and report the filename as well as the A, tau and B values and run all 3 functions in sequence to analyze ALL data

  Write a function named ''read_line''

Verify that your code works by saving some text into a file (created in notepad / textedit) and saving the file with extension '.txt'. You should attach the file (call it 'test.txt') with your code.

  Write a matlab script to calculate the speed of the rocket

Write a MATLAB script to calculate the height (metres) and the speed (metres/s) of the rocket over flight-time. Plot these results against time using two graph.

  An image histogram for a color image

goal is to build an image histogram for a color image based on its 6-bit color code.

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