Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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.
optimization module in a time dependent model
Posted Mar 26, 2011, 6:30 p.m. EDT Version 4.0a 2 Replies
Please login with a confirmed email address before reporting spam
Hi ,
These days I am working on an optimization problem in COMSOL 4.0a. I use time dependent Nernst-Plank model. Using this model I am able to find the trend of current versus time and I have experimental trend as well. The plan is using the COMSOL model and the experimental results to find an optimum value for a physical constant. So the control variable is not changing through time. I also defined the objective variable as the integral of the RMS error between model and experimental results through time.
COMSOL all the time gives "singular matrix" error in this case. Does anyone know how I can solve this problem? If using MATLAB optimization toolbar in COMSOL with MATLAB environment is the only way, does anyone know any example that can help me. I can't figure out how I should use optimization toolbar in this case.
I greatly appericiate your help.
Atieh
These days I am working on an optimization problem in COMSOL 4.0a. I use time dependent Nernst-Plank model. Using this model I am able to find the trend of current versus time and I have experimental trend as well. The plan is using the COMSOL model and the experimental results to find an optimum value for a physical constant. So the control variable is not changing through time. I also defined the objective variable as the integral of the RMS error between model and experimental results through time.
COMSOL all the time gives "singular matrix" error in this case. Does anyone know how I can solve this problem? If using MATLAB optimization toolbar in COMSOL with MATLAB environment is the only way, does anyone know any example that can help me. I can't figure out how I should use optimization toolbar in this case.
I greatly appericiate your help.
Atieh
2 Replies Last Post Apr 2, 2011, 3:43 p.m. EDT