BAE 2013 MATLAB project Due Thursday, November 19, 2020 Note: The purpose of the project is to provide you with an opportunity to apply what you learned using MATLAB. Each student is required to provide the “Project_YourInitial.m” format of their program with a summary of the solution to the problem. The solution of the problem should be provided on computer paper double-spaced text in Times New Roman and font size 12, with a one (1) inch margin on all sides, see file “Project template_your initials.docx”. Submit an electronic copy containing syntax and Figures in MATLAB project in Assignment section in Canvas (see the note at the end). Prepare a script file to import data from spreadsheet “Bioreactor Run11.xlsx” and perform the following calculations: 1. Estimate the specific growth rates and cell mass yields per carbon monoxide (CO) consumed between each time interval (i.e., t2 = 3.5h & t1 = 0 h; then t2 = 6.5 h & t1= 3.5 h and so on) and report the maximum values of µ and Yx/co as output messages from the program. Store all estimated specific growth rate and cell mass yield with time in an Excel file named “biogas11.xlsx”. Also, print the results using sprint as follows: “The maximum value of mu is ______ and occurs at ______ minutes” “The maximum value of Y_x/co is ______ and occurs at ______ minutes” where X is cell mass concentration, g/L t is time, h Yx/co , cell mass yield per carbon monoxide, g cells/mmol CO 2. Plot time (x-axis) vs specific growth rate (y-axis) and time (x-axis) vs Yx/co (y-axis). Present them in one figure window as 2x1 subplots with dashed black lines. Plot the max values as a separate color and shape on each plot. 3. Plot time (x-axis) vs cell mass concentration (y-axis) as green line and Asterisk marker; the second plot is for time (x-axis) vs ethanol (y-axis) with red line and circle marker and, the last graph is time (x-axis) vs ethanol (y-axis) with black line and diamond marker. Present them in one figure window as 1x3 subplots. Plot the max values as a separate color and shape on each plot. 12 )1ln()2ln( 12 tt XX tt − − =−µ 12 consumedCO XXY cox − = 4. Plot 3D graph: time (x-axis), total CO consumed (y-axis), total H2 consumed (z-axis). 5. Plot bar chart: time (x-axis), agitation (y-axis). 6. Plot real time figure that shows progress of data on graph with time (x-axis), first graph pH (y-axis), then hold on and add CO consumed (y-axis). 7. Fit the cell mass versus time data to a polynomial curve of degree 1, 2 and 3. Present the experimental and predicted cell mass values versus time for the three curves in one figure window as 1x3 subplots with time (x-axis) and cell mass concentration (y-axis). Find the predicted cell mass concentrations at 35and 175 hours and print the results using sprint as follows: “The value of cell concentration at t = 35 is ______ and at t = 175 is ______ using the equation y = a x + b” The values of the constants a and b should also be printed out in the location of a and b in the equation. Note: add in the script file the following condition that if the values of µ or Yx/co are less than zero, report them as zeros. Save the figures you created in parts 2, 3, 4, 5, 6 and 7 in png format. You will submit a total of nine files: 1- Project_YourInitial.m 2- Biogas11.xlsx 3- Project template_your initials.docx 4- Six figures as png files.
欢迎咨询51作业君