kLa Calculation Mass Transfer Coefficient
22 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
SANKALP DEV
2023 年 9 月 4 日
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!