kLa Calculation Mass Transfer Coefficient
조회 수: 21 (최근 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!