필터 지우기
필터 지우기

Problem using optimization algortihms

조회 수: 2 (최근 30일)
Edouard Sergent
Edouard Sergent 2016년 4월 4일
Hello everyone, I need to solve an optimization problem. First of all, there are two differential equations like this :
dT(1,1) = (h_int*S_int*(Tt - T) + w*c_eau*(T_in - T))/(m_eau*c_eau);
dT(2,1) = (h_ext*S_ext*(T_air - Tt) + h_int*S_int*(T - Tt))/(c_t);
The free parameters are h_int, h_ext, c_t and L (L is inside S_int and S_ext). I have multiple experiments. The first thing I did is to use the 'nlgreyest' function on each experiment. It works perfectly. Matlab is able to find a very good solution to fit the experimental data with the theoretical model.
I wanted not to use this 'nlgreyest' function anymore but only to use the optimisation algorithm. As I know, the 'nlgreyest' is using 'lsqnonlin' optimization algorithm. I tried to use 'lsqnonlin' but the result is very very bad, If I display the values of the parameters during the optimization process, I see that there are only small changes... I tried the different algorithm 'interior-point', 'active-set', 'trust-region-reflective' but it doesn't change anything. I tried with or without bounds. With 'fmincon' it seems to work better but it is really bad compare to 'nlgreyest'. Do you know why it works with 'nlgreyest' and not with the others functions ? The problem is not very difficult It should work ... Thank you very much for your help. Edouard

답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by