Thread Subject: Parameter Tuning in Simscape

Subject: Parameter Tuning in Simscape

From: John Kreuder

Date: 12 Jun, 2009 14:17:02

Message: 1 of 2

There are online tutorials about parameter tuning in Simscape, but the user documentation for r2009a says that parameter tuning has been replaced by Simulink Design Optimization. The documenation for Simulink says that I should be able to access this feature in the Simulink library browser, but I don't see it. I am trying to do an optimization of a thermal system to minimize cost by minimizing fuel input while maximizing the system power output (minimize cost/kwh), but I can't find the controls that will let me select and constrain the parameters I want to vary. Can you please tell me what I need to do to access these tools in r2009a?

Subject: Parameter Tuning in Simscape

From: Arnaud Miege

Date: 15 Jun, 2009 12:15:18

Message: 2 of 2

"John Kreuder" <gedoboarder@hotmail.com> wrote in message <h0to0u$3k8$1@fred.mathworks.com>...
> There are online tutorials about parameter tuning in Simscape, but the user documentation for r2009a says that parameter tuning has been replaced by Simulink Design Optimization. The documenation for Simulink says that I should be able to access this feature in the Simulink library browser, but I don't see it. I am trying to do an optimization of a thermal system to minimize cost by minimizing fuel input while maximizing the system power output (minimize cost/kwh), but I can't find the controls that will let me select and constrain the parameters I want to vary. Can you please tell me what I need to do to access these tools in r2009a?

Hi John,

Before R2009a, there used to be two distinct products:
* Simulink Parameter Estimation, which allowed you to do optimization-based tuning of your model parameters using mesaured/experimental data so that the difference between your predicted output and out measured output would be minimized (for the same input)
* Simulink Response Optimization, which allowed you to do optimization-based tuning of your model parameters, so that constraints placed on signals (such as overshoot, undershoot, etc...) would be met.

They both required the optimization toolbox from MATLAB, which was doing the optimization in the background. The main difference between the two products was that the first one was generally used for tuning physical parameters and model validation, whereas the second one was generally used for tuning controller parameters so that control requirements would be met.

As of R2009a, those two products were merged into Simulink Design Optimization (which still requires the Optimization Toolbox). Both functionalities are still available if you have the product installed and licensed:
* for the parameter tuning, in your model, click on Tools -> Parameter Estimation. This will launch the user interface for tuning your parameters. The relevant section of the documentation is:
http://www.mathworks.com/access/helpdesk/help/toolbox/sldo/ug/brzapme.html
* for the response optimization, you should have a Simulink Design Optimization library in your Simulink library browser. Drag and drop the signal constraint in your model and connect it the signal you want constrain. Double-click on the block to configure it. The relevant section of the documentation is:
http://www.mathworks.com/access/helpdesk/help/toolbox/sldo/ug/brzaprd.html

HTH,

Arnaud

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
simulink design... Arnaud Miege 15 Jun, 2009 08:19:05
simscape John Kreuder 12 Jun, 2009 10:19:04
design optimiza... John Kreuder 12 Jun, 2009 10:19:04
parameter tuning John Kreuder 12 Jun, 2009 10:19:04
rssFeed for this Thread

Contact us at files@mathworks.com