kLa Calculation Mass Transfer Coefficient
21 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Parris
el 31 de Ag. de 2023
Respondida: SANKALP DEV
el 4 de Sept. de 2023
We are looking to process KLa Value. The inputs are the form of three tags, DO, Condition Name, and step_name. The approach is to calculate after the expirment is completed. Inputing values in a PAT system, and data browsing those values to run calculation for KLa. Regression calculation of data when the inroduction of N2 20% into the process and or Air 80% introduction into the process. The idea is the trigger the calculation per the step in the process. I'm new to MatLab. Is there any literature around kLa formulas, utlizing Matlab modeling.
2 comentarios
Respuesta aceptada
SANKALP DEV
el 4 de Sept. de 2023
Hey Parris,
I understand you are trying to calculate KLa values based on dissolved oxygen concentration (DO) data collected at 10-second intervals, while introducing nitrogen and air during specific steps.
The following steps will assist you in accomplishing your objective,
- Load the data - You can use the “readtable” function to read data from a spreadsheet or CSV file.
- Use dot notations to extract relevant columns.
- Third step would be to filter data for N2 and air events.
- To calculate the driving force, you can utilize array indexing. Consider using the following lines of code to accomplish these steps:
% Filter data for N2 and air events
n2Index = strcmp(step_name, 'N2 EVENT');
airIndex = strcmp(step_name, 'AIR EVENT');
% Calculate driving force
drivingForce = abs(DO(airIndex) - DO(n2Index));
5. Now you have the appropriate data, you can proceed with your further calculations.
Please refer to the following MATLAB documentation for more details
- https://www.mathworks.com/help/matlab/matlab_prog/access-data-in-a-table.html?s_tid=srchtitle_site_search_1_in%20tables
- https://www.mathworks.com/help/matlab/ref/strcmp.html?s_tid=srchtitle_site_search_1_strcmp
Hope this helps,
Regards
Sankalp
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrix Indexing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!