Question: ANSWER USING MATLAB WITH NO ERRORS: The plant performs multiple runs in a day. The beginning of a run is defined by the last zero

ANSWER USING MATLAB WITH NO ERRORS: The plant performs multiple runs in a day. The beginning of a run is defined by the last zero flow reading
and the end of that run by the first zero flow reading (i.e. the first and last flow value in a run will be zero).
a) Using the indexing of the cleaned flow rate measurements at FT01, extract the data in the second run
for the three flow sensors, FT01, FT02 and FT03. Plot this on Figure 1(from Q1) in the appropriate sub
figure as red lines with a line width of 2.
b) Using the cleaned data, print to the command window the average flow rate in L/s through the entire
plant during the second run.
c) Excluding the starting up and winding down of the plant, print to the command window the minimum
flow rate (in L/s) through FT03 and how many times this value occurs during the second run. Use an
appropriate number of decimal places for each output.
d) For the minimum flow rates identified in part c), print to the command window the corresponding
average pressure reading for sensor PT01 during run 2 in kPa. Use 4 decimal places for this output.
e) On Figure 2, plot a histogram of the values for the three flow sensors in a 3x1 subplot. Use the
minimum (excluding the start and end like in part c)) and maximum values to set the boundaries and use
bin widths of 1.
f) On Figure 3, plot the rate through sensor FT01 against time in minutes from the beginning of the
second run. Write a numerical algorithm that identifies all of the step changes in the flowrate through
FT01. Additionally, mark all the step changes in flow rate as red circles of suitable size on your figure.Q2.
The plant performs multiple runs in a day. The beginning of a run is defined by the last zero flow reading
and the end of that run by the first zero flow reading (i.e. the first and last flow value in a run will be zero).
a) Using the indexing of the cleaned flow rate measurements at FT01, extract the data in the second run
for the three flow sensors, FT01, FT02 and FT03. Plot this on Figure 1(from Q1) in the appropriate sub
figure as red lines with a line width of 2.
b) Using the cleaned data, print to the command window the average flow rate in L/s through the entire
plant during the second run.
c) Excluding the starting up and winding down of the plant, print to the command window the minimum
flow rate (in L/s) through FT03 and how many times this value occurs during the second run. Use an
appropriate number of decimal places for each output.
d) For the minimum flow rates identified in part c), print to the command window the corresponding
average pressure reading for sensor PT01 during run 2 in kPa. Use 4 decimal places for this output.
e) On Figure 2, plot a histogram of the values for the three flow sensors in a 31 subplot. Use the
minimum (excluding the start and end like in part c)) and maximum values to set the boundaries and use
bin widths of 1.
f) On Figure 3, plot the rate through sensor FT01 against time in minutes from the beginning of the
second run. Write a numerical algorithm that identifies all of the step changes in the flowrate through
FT01. Additionally, mark all the step changes in flow rate as red circles of suitable size on your figure.
 ANSWER USING MATLAB WITH NO ERRORS: The plant performs multiple runs

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!