1 страниц (8 вхождений)
Using splines to find the Area Under the Curve - In these two worksheet the Area Under the Curve is found for a biomass batch reactor and a pulse - Сообщения
#1 Опубликовано: 15.05.2023 20:34:26
Hi,
These two examples solve the problem calculations for the total biomass formed in a batch bioreactor and the pattern flow of a reactor with a pulse of some tracer. The splines method and the Simpson integration formula found in the forum let me solve both problems.
Kind regards,
splines_integral_data.sm (30 КиБ) скачан 151 раз(а).
splines_integral_data1.sm (31 КиБ) скачан 147 раз(а).
These two examples solve the problem calculations for the total biomass formed in a batch bioreactor and the pattern flow of a reactor with a pulse of some tracer. The splines method and the Simpson integration formula found in the forum let me solve both problems.
Kind regards,
splines_integral_data.sm (30 КиБ) скачан 151 раз(а).
splines_integral_data1.sm (31 КиБ) скачан 147 раз(а).
1 пользователям понравился этот пост
Oscar Campo 26.05.2023 07:10:00
#2 Опубликовано: 22.05.2023 15:02:07
Hello
Fitting Javier's data to the Gauss function by the Levenberg-Marquardt Algorithm

Javier_fit_CBG.sm (37 КиБ) скачан 137 раз(а).
Best Regards
Carlos
Fitting Javier's data to the Gauss function by the Levenberg-Marquardt Algorithm

Javier_fit_CBG.sm (37 КиБ) скачан 137 раз(а).
Best Regards
Carlos
1 пользователям понравился этот пост
Javier Ochoa 22.05.2023 15:20:00
#3 Опубликовано: 22.05.2023 15:56:44
Hi Jean and Carlos,
These worksheets help me to better understand the problem which I tried to solve.
Thanks in advance,
These worksheets help me to better understand the problem which I tried to solve.
Thanks in advance,
#4 Опубликовано: 23.05.2023 16:29:20
Hi Jean and Carlos,
I am curious about your thoughts for the result I found using the al_nlqsolve routine from ALGLIB.
May be I was lucky to find a similar solution.
Kind regards,
LevenbergMarquardt_solver.sm (27 КиБ) скачан 142 раз(а).
I am curious about your thoughts for the result I found using the al_nlqsolve routine from ALGLIB.
May be I was lucky to find a similar solution.
Kind regards,
LevenbergMarquardt_solver.sm (27 КиБ) скачан 142 раз(а).
#5 Опубликовано: 24.05.2023 00:30:27
WroteHi Jean and Carlos,
I am curious about your thoughts for the result I found using the al_nlqsolve routine from ALGLIB.
May be I was lucky to find a similar solution.
Kind regards,
LevenbergMarquardt_solver.sm (27 КиБ) скачан 142 раз(а).
Hi Javier
As you can see in the graph, the green line is that of your solution,
and it is not correct, since it does not fit the data.

It is always important to draw the curve
Javier fit.sm (24 КиБ) скачан 120 раз(а).
Best Regards
Carlos
1 пользователям понравился этот пост
Javier Ochoa 24.05.2023 09:31:00
#6 Опубликовано: 24.05.2023 03:41:54
Hola Javier. Your Levenberg Marquardt algorithm works pretty well, but you choose a bad guess starting point, with a very high tolerance. BTW, I made some few modifications and use also other target function.
LevenbergMarquardt_solver.sm (32 КиБ) скачан 146 раз(а).
LevenbergMarquardt_solver.pdf (233 КиБ) скачан 144 раз(а).
Best regards.
Alvaro.
LevenbergMarquardt_solver.sm (32 КиБ) скачан 146 раз(а).
LevenbergMarquardt_solver.pdf (233 КиБ) скачан 144 раз(а).
Best regards.
Alvaro.
2 пользователям понравился этот пост
#7 Опубликовано: 24.05.2023 15:52:25
WroteHi,
These two examples solve the problem calculations for the total biomass formed in a batch bioreactor and the pattern flow of a reactor with a pulse of some tracer. The splines method and the Simpson integration formula found in the forum let me solve both problems.
Kind regards,
splines_integral_data.sm (30 КиБ) скачан 151 раз(а).
splines_integral_data1.sm (31 КиБ) скачан 147 раз(а).
Hola Javier. You can also use this code for integrate and differentiate tabulated data.
splines_integral_data.sm (85 КиБ) скачан 134 раз(а).
splines_integral_data.pdf (180 КиБ) скачан 150 раз(а).
Best regards.
Alvaro.
1 пользователям понравился этот пост
Javier Ochoa 29.05.2023 09:25:00
#8 Опубликовано: 25.05.2023 13:16:26
1 пользователям понравился этот пост
Javier Ochoa 29.05.2023 09:25:00
1 страниц (8 вхождений)
-
Новые сообщения
-
Нет новых сообщений