Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Parameter Estimation in Transport of diluted species
Posted 28 déc. 2014, 21:57 UTC−5 Interfacing, Chemical Reaction Engineering Version 5.0 6 Replies
Please login with a confirmed email address before reporting spam
I would like to know if exists the Parameter Estimation for the Transport of Diluted Species and how use it.
I have been trying to add experimental data but I can not.
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
I have experimental data concentration v/s time of de second domain, and I would like to determinate the diffusion coefficient of the first domain.
Please login with a confirmed email address before reporting spam
br
Lasse
Please login with a confirmed email address before reporting spam
actually I work on quite a similar thing currently.
To get experimental data in COMSOL you can use an interpolation plot. Say you have a table with your experimental data, create the interpolation function (e.g. int1) and import your table data.
To be able to use this data to compare with a simulated curve got to >data sets and create a data set "Function1D" (other dimensions respectively). The procedure is described in the model geoelectrics (Forward Problem and Sensitivity; Model ID: 9636).
Briefly:
When creating the data set Function1D choose "int1" from the dropdown menu (i.e. your interpolation function).
Then create a 1D-plotgroup and a line graph. In the line graph choose the data set Function1D and for x-expression type in: int1(s). For x-expression type in: s.
Hope this helps!
Did you find a way to automate the parameter estimation?
Best regards,
Tobias
Please login with a confirmed email address before reporting spam
First at all, thank you. I used a similar way to compare experimental data and the simulation model. I also used sweep parameter to compare different combination of parameter and find easily a better estimation.
An automatic way to do the optimization of this parameter that I thought is use the LiveLink for Matlab. So you can write a code that export the simulation data to Matlab and and calculate the minimum mean square and estimate another set of parameter here, then give this parameter to COMSOL, simulate here, and so on. Sadly, I couldn't activate this LiveLink, I don't know why, so I don't know if actually this idea really works.
Kind regards,
Ximena
Please login with a confirmed email address before reporting spam
thank you. That should also be possible with the Java-API. I will see if I can figure it out.
One thing needs to be added to my other post:
Beware, when you have more than one component in your model. Say your int-function is defined for component 2, then you will have to use "comp2.int1(s)" in the y-expression field.
Best,
Tobias
Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.
Suggested Content
- KNOWLEDGE BASE Duplicate parameter/variable name
- KNOWLEDGE BASE BDF, Generalized Alpha, and Runge-Kutta Methods
- FORUM Negative Concentration in Transport of Diluted Species
- BLOG Multiparameter Optimization with a Least-Squares Objective
- KNOWLEDGE BASE Stabilization Schemes in COMSOL