How can I find the optimum input to a Simulink model?
1 次查看(过去 30 天)
显示 更早的评论
I have a big Simulink model. I want to find the input to the system (which is a time series) that will maximize the output (which is another time series, like any other Simulink model).
Which command or toolbox should I use and how? Optimization toolbox, Neural networks, Fuzzy, Genetic algorithm?
6 个评论
Ryan G
2012-8-27
I don't understand the question. If you have an input it must have limits. If you max out the control input that affects roll you will get the maximum roll rate.
It sounds like what you really want is a control system.
采纳的回答
Davide Ferraro
2012-8-30
Hi,
as Mariano was suggesting you may consider using an optimization algorithm and run the Simulink model in your objective function. You can use the SIM command to run the simulation from the code with your different input vector. To understand what's the appropriate optimization function you need to consider which type of problem you are solving (as previously suggested FMINCON and FMINUNC are good starting points).
You may also consider using Simulink Parameter Estimation (offered in Simulink Design Optimization) to setup the optimization process directly in Simulink (although if you're extensively working with timeseries you may find it quicker to write all the code in MATLAB for your optimization routine).
2 个评论
K E
2012-9-4
You might want to post a separate question for #3 since it is not related to your original question, which you have already accepted an answer for so people will not tend to read this far.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!