

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Reactors Three reactors are linked by pipes. The rate of transfer of chemicals through each pipe is equal to the flow rate (Q, m^3 /s) times the concentration of the reactor from which the flow originates (c, mg/ m^3 ). At steady state, a mass-balance dictates that the net transfer into each reactor equals the net transfer out. Develop mass-balance equations for the reactors and solve the three simultaneous equations for the concentrations. Analysis Forcing Functions Input mass flow rates 500, 200 mg/s
System
Response c 1 , c 2 , c 3 Reactor 1: 500 −¿ ¿ Reactor 2: Q 12 c 1 −¿^ ¿ Reactor 3: 200 + Q 13 c 1 + Q 23 c 2 − Q 33 c 3 =^0 In matrix form
c 1 c 2
MATLAB Code %% Calculation of the concentrations in 3 reactors linked by pipes % Problem 9.9 from Chapra %% --- parameters Q33 = 120; Q13 = 40; Q12 = 90; Q23 = 60; Q21 = 30; %% --- solve simultaneous equations Q = [Q12+Q13, -Q21, 0;... Q12, -(Q21+Q23), 0;... -Q13, -Q23, Q33 ]; b = [500, 0, 200]'; c = Q\b; fprintf('\n Concentrations, mg/m^3 \n') for i = 1: fprintf(' c%1d = %3.2f \n',i,c(i)) end Results Concentrations, mg/m^ c1 = 5. c2 = 5. c3 = 5.