Computing Operating point using Simulation Snapshots

2 visualizaciones (últimos 30 días)
Tan Edwin
Tan Edwin el 27 de Mayo de 2011
I used simulation snapshots and got an operating point which i then uses the operating point to initialize my model.
after that i clear my workspace and lost the operating point. So when i want to try to re-compute my operating point it shows: The operating point cannot be synchronized with the model.
so how do i remove the operating point from the model memory to allow a re-computation.
Also by initializing the model at the operating point and simulating my model, instead of 100 data points (t=100 and time step =1), it gave me 117 data points instead, which i also dun understand.
Thanks

Respuesta aceptada

Erman Korkut
Erman Korkut el 31 de Mayo de 2011
Hi Tan,
To stop the model from trying to initialize from a no longer existent operating point, you can go to the menu in Simulink model Simulation->Configuration Parameters and in the upcoming dialog, you can select Data Import/Expor on the left and uncheck Input and Initial State checkboxes in Load From Workspace panel on the right. This should fix the error.
For the extra data points, depending on your Simulink solver settings and the state of your model, Simulink can choose to take extra time steps for simulation to be more accurate.
Erman

Más respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by