I'm lost with the cost function to be evaluated when carrying out a sensitivity analysis
2 views (last 30 days)
Show older comments
Alberto Benito
on 16 Aug 2016
Commented: monika dixit
on 24 Apr 2018
I'm trying to carry out a sensitivity analysis on my simulink model that represents the Penman-Monteith equation and estimates Evapotranspiration (ETo) values. Well, I want to find out how any of the parameters I need to estimate ETo influences ETo. Everything went well until I had to evaluate the cost function for any of the samples previously created. It is here wher I get stuck. What's actually a cost function, what does it do, and what would be the most appropiate cost function in my case? I can provide more information about my model, inputs or whatever. Thanks to those who answer me.
1 Comment
monika dixit
on 24 Apr 2018
how did you model the Penman-Montieth equation in Simulink. Could you please guide?
Accepted Answer
Star Strider
on 17 Aug 2016
A ‘cost function’ measures the variation from the actual performance of your model and the ideal performance. I don’t know what you’re doing, but one example of a cost function is a sum-squared-error function that in nonlinear regression measures the squared difference between the value of the function with a given set of parameter values and the data it is desired to approximate. The optimization of the function adjusts the parameter values to minimise the cost function.
A sensitivity function is the Jacobian of the cost function, the partial derivatives of the cost function with respect to each parameter. This allows you easily to see the effect — or ‘sensitivity’ — of each parameter on the behaviour of the function.
This is a simplified explanation to get you started. An Internet search or any book on optimisation or nonlinear regression will provide you with a much more detailed — and mathematically rigourous — discussion.
2 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!