Is it possible to convert the whole Simulink model into a state space one?

2 visualizzazioni (ultimi 30 giorni)
Dear friends
In fact I am thinking of simulate a system, whose terminal information at t_k is known, and the information at t_0 is unknown. If I try to run Simulink model, it is prompted that since t_0 is smaller than the "initial time" t_k, simulation failed. So
(1) Is there a way to set the Simulink environment such that it can be simulated?
(2) If not, can I extract the state space model from the whole Simulink model such that ode45 or other solvers can be used to solve the problem?
Thanks
Dingyu

Risposte (1)

Jesús Zambrano
Jesús Zambrano il 7 Feb 2020
Hi Dingyu,
You first have to create the input vector(s) to your model and collect the simulation results or output vector(s).
With this done, you can follow a standard procedure for state space identification, for example following the steps in this link https://www.mathworks.com/help/releases/R2019b/ident/ref/estimatestatespacemodel.html
Hope it can help with your question.
Best,
Jesús

Categorie

Scopri di più su General Applications in Help Center e File Exchange

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by