Homework Help Question & Answers

16. A process engineer at an oil refinery is tasked with monitoring the status of a distillation column. To function safely and effectively, the temperature, pressure, and crude oil flow rate nee...


16. A process engineer at an oil refinery is tasked with monitoring the status of a distillation column. To function safely a
16. A process engineer at an oil refinery is tasked with monitoring the status of a distillation column. To function safely and effectively, the temperature, pressure, and crude oil flow rate needs to be 350-360°C, 650-760 torr, and 350-415 barrels per hour, respectively. Construet a Matlab code that utilizes logic and disp/fprintf to display the appropriate notification when the column temperature, pressure, or crude oil flow rate are too high/low. Ignore cases where more than one condition has been exceeded. 20 Points
0 0
Next > < Previous
ReportAnswer #1

MATLAB Code:

close all
clear
clc

% Limits of temperature, pressure and flow rate
TL = 350; TH = 360;
PL = 650; PH = 760;
FL = 350; FH = 415;

% Sample input
T = 355; P = 600; F = 400;

if T < TL
disp('Temperature is too low.')
else
if T > TH
disp('Temperature is too high.')
end
end

if P < PL
disp('Pressure is too low.')
else
if P > PH
disp('Pressure is too high.')
end
end

if F < FL
disp('Flow rate is too low.')
else
if F > FH
disp('Flow rate is too high.')
end
end

Sample Output for the Sample Input:

Pressure is too low.

Add Homework Help Answer
Add Answer of:
16. A process engineer at an oil refinery is tasked with monitoring the status of a distillation column. To function safely and effectively, the temperature, pressure, and crude oil flow rate nee...
Your Answer: Your Name: What's your source?
Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
More Homework Help Questions Additional questions in this topic.
Need Online Homework Help?
Ask a Question
Get FREE Expert Answers
WITHIN MINUTES
Related Questions