Why does linearizing a model in different simulink versions give a different result?
Mostrar comentarios más antiguos

I linearize a model in order to get the Bode plot and Step response, nevertheless I get totally different results when I change of Matlab version.
The model was originaly created in Matlab R2013b, and I run it now wih Matlab R2015b.
I have made the linearization, both with commands an also using the Linear Analysis Tool, with this tool I can notice that for the linearization of the model I get also different number of space states as result.
The solvers have the same parameters in both versions.
I attach an image with the plots which I get (left-2013b, rigth-2015b)
Thanks for your time.
Respuestas (1)
Sebastian Castro
el 20 de Feb. de 2016
Editada: Sebastian Castro
el 20 de Feb. de 2016
0 votos
Does the model, by any chance, use Simscape blocks (or any of its add-on products)?
In R2014a, the Simscape blocks' initial conditions specifications got a pretty big change, and there might be some incompatibilities across versions for that reason.
Regardless of whether or not you have Simscape in the mix, I'd open the Linear Analysis tool and view the operating point/initial condition that is being used in each case. If the initial conditions are different, this would make sense. If the initial conditions are the same but the results are different, that would be weird.
- Sebastian
2 comentarios
Ivan Melendez Vazquez
el 22 de Feb. de 2016
Sebastian Castro
el 22 de Feb. de 2016
That's interesting... Check if maybe you have multiple Solver Configuration blocks, and one of them still has the local solver enabled?
Beyond that, I'm not sure. I could try look at the model if you're able/willing to attach it.
Categorías
Más información sobre Trimming and Linearization en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!