Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. [10 points] MATLAB-based analysis of steady state train of CSTRs vs a PFR In this problem, you are asked to further explore the example

image text in transcribed

1. [10 points] MATLAB-based analysis of steady state train of CSTRs vs a PFR In this problem, you are asked to further explore the example of the steady state CSTR and PFR discussed in class. In each case, we have derived a so-called concentration: steady-state design equation describing the outlet CSTR: CA-IAE, where =V/F and i denotes the volume of a single CSTR PFR: CA-CAo exp (-kt) , where =V/F-nR2rF Here, you are asked to analyze how a train of n CSTRs of equal volwnes, VA,-..A,, connected in series as shown in the figure compares to a PFR of a volume, V, equal to the sum of the volumes of the CSTRS (i.e., V= VrtVzt +Vn). The volumetric flow rate, F, through the reactors is constant. For an inlet concentration, C,-10 mol/ms, first-order reaction constant k=0.1 s, and total residence time for the single PFR and train of CSTRs, t-V/F-(Vi+V2+V3+...+V)/F, of 40 s, write a MATLAB code to compare the performance of a train of n CSTRs to the performance of a single PFR of equal total residence time. Specifically, a. Create a function called cstr.m that implements the CSTR design equation. When called, this function should accept values for inlet concentration CAo, reaction rate constant k, and residence time for a reactor,Tj, and return the corresponding outlet concentration. b. Create a function called pfr.m that implements the PFR design equation. When called, this function should accept values for inlet concentration CAo, reaction rate constant k, and residence time, t, for the reactor and return the corresponding outlet concentration. c. Create a script file called CSTRvPFR.m that, when executed Assigns the given values for CAo, k, and to respective variables Cao, krxn, and tau Calls the pfr.m function to calculate the outlet concentration of the PFR, assigning the result to variable Ca pfr Repeatedly calls the cstr.m function to calculate the outlet concentration from each reactor in the train and, hence, the inlet concentration for the next reactor in the series to determine the final outlet concentration, Ca cstr (j). This should be carried out for seven different cases, j, defined, respectively, by the number of reactors in the train, where n=1 , 5, 10, 20, 30, 65, 100 Plots a well-labeled graph of the quantity (Ca _pfr - Ca_cstr) vs. n. ii. iii. iv

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions

Question

Define overfitting.

Answered: 1 week ago

Question

Discuss the Rights issue procedure in detail.

Answered: 1 week ago

Question

Discuss the Rights issue procedure in detail.

Answered: 1 week ago

Question

Explain the procedure for valuation of shares.

Answered: 1 week ago

Question

Which months of this year 5 Mondays ?

Answered: 1 week ago

Question

Define Leap year?

Answered: 1 week ago

Question

7. Explain why retirees may be valuable as part-time employees.

Answered: 1 week ago