Why does the output of my System Identification Toolbox model IDMODEL not match the output of the IDDATA object when I transfer these models into Simulink?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I am creating a IDDATA object "z" and I am estimating an IDMODEL "m" using the System Identfication Toolbox. When I use the COMPARE function as follows,
compare(z,m)
I get a good fit. However, when I export these models into Simulink and try to see the results on a Scope, I find that the output of the model does not match the output of the IDDATA object. I am not sure why Simulink is giving the wrong result.
Risposta accettata
MathWorks Support Team
il 20 Giu 2011
This change has been incorporated into the documentation in Release 2011a (R2011a). For previous releases, read below for any additional information:
When transferring the estimated model to Simulink, it is not reasonable to expect that the model output would match the experimental data output, unless the correct initial states are specified. See the attached article for a description of this requirement and how to fulfill it. Basically, an estimate of the initial states must be obtained and inserted into the model block. This estimate may be obtained by using the function PE on the simulation data object.
See the attached model and MATLAB file for an example.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Represent Data in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!