Main Content
Estimate Parameters and States
Specify estimation data, progress plots, and optimization methods; speed up estimation using parallel computing and fast restart
Simulink® Design Optimization™ software provides both command-line tools and a graphical Parameter Estimator app for estimating parameters and states of a system modeled in Simulink. You can estimate several parameters and states of your model using single or multiple data sets. You can also impose custom constraints on parameter values, use parallel computing to speed up estimation, and generate code to run parameter estimation in deployed mode.
Apps
Parameter Estimator | Estimate model parameters and initial states |
Functions
Topics
Estimation Basics
- Estimate Model Parameter Values (GUI)
Use experimental data to estimate model parameter values in the app. - Estimate Model Parameter Values (Code)
Use experimental data to estimate model parameter values at the command line. - Estimate Model Parameters and Initial States (GUI)
Estimate model parameters and initial states in the app.
- Estimate Model Parameters and Initial States (Code)
Estimate model parameters and initial states at the command line. - Parameter Estimation with Simscape Models
In this example, you estimate the parameters for a Simscape™ model consisisting of a mass, spring, and damper, such that the model output matches the measured data, using the Parameter Estimator app.
Multiple Experiments
- Estimate Model Parameters Per Experiment (GUI)
Estimate model parameters in the app using data from some or all experiments. - Estimate Model Parameters Per Experiment (Code)
Estimate model parameters at the command line using data from some or all experiments. - Estimate Model Parameters Using Multiple Experiments (Code)
Use multiple sets of experimental data to estimate model parameter values at the command line.
Steady-State Estimation
- Specify Steady-State Operating Point for Parameter Estimation
An operating point of a dynamic system defines the states and root-level input signals of the model at a specific time. - Set Model to Steady-State When Estimating Parameters (GUI)
This example shows how to set a model to steady-state in the process of parameter estimation. - Set Model to Steady-State When Estimating Parameters (Code)
This example shows how to set a model to steady-state in the process of parameter estimation. - Parameter Estimation for Power Plant Excitation System Starting at Steady-State (GUI)
This example shows how to perform parameter estimation while starting the system in steady state using the example of an excitation system model for a power plant electric generator.
Custom Objectives
- Estimate Model Parameters with Parameter Constraints (Code)
Estimate model parameters at the command line and impose constraints on the parameter values. - Write a Cost Function
Write a cost function for parameter estimation, response optimization, or sensitivity analysis. The cost function evaluates your design requirements using design variable values.
Speed Up Estimation
- Speed Up Parameter Estimation Using Parallel Computing
Scenarios when you can speed up parameter estimation using parallel computing, and how the speedup happens. - Use Parallel Computing for Parameter Estimation
Use parallel computing for parameter estimation in the app, or at the command line. - Improving Optimization Performance Using Fast Restart (GUI)
Use fast restart mode to speed up parameter estimation. - Improving Optimization Performance Using Fast Restart (Code)
Use fast restart mode to speed up parameter estimation at the command line. - Use Accelerator Mode During Simulations
Simulink Design Optimization software supportsNormal
andAccelerator
simulation modes.
Parameter Estimator Tasks
- Specify Estimation Data
Specify estimation data in the Parameter Estimator. - Specify Parameters for Estimation
Choose continuous or discrete model parameters for estimation, and specify them in the Parameter Estimator app. - Specify Known Initial States
Specify initial conditions for measured data. You can also choose to estimate the initial conditions. - Specify Estimation Options
Specify goodness of fit criteria, estimation options, and parallel computing options. - Estimate Parameters and States
Estimate parameters and states in the Parameter Estimator after specifying estimation data and estimation options. - Save and Load Estimation Sessions
Save and load estimation sessions in the Parameter Estimator.
Code Generation and Deployment
- Generate MATLAB Code for Parameter Estimation Problems (GUI)
Use the Parameter Estimator to define an estimation problem, and then generate a MATLAB® function for parameter estimation at the command line. - Parameter Tuning for Digital Twins
Monitor the condition of an electric vehicle battery in the field with a deployed version of parameter estimation using Simulink Compiler™. - Generate MATLAB Code for Deployed Parameter Estimation Problems (GUI)
Automatically generate MATLAB to solve a parameter estimation problem deployed using Simulink Compiler.