Simulated and predicted response of time-series idnlgrey model in Matlab
Ältere Kommentare anzeigen
I have build an idnlgrey (nonlinear grey box) model using time-series dataset, and the model structure is an ODE system including two coupled ODEs, so it has two outputs y = [y1 y2].
On the one hand, I use sim() command to generate simulated response of model, and since time-series data has no inputs, only Initial Conditions will be used to compute simulated response, i.e. y_sim(t+1) = f(y(0)). For my understanding, the simulation procedure is actually to solve the ODE system using some numerical solvers. But I solve the ODE system using the most general solver ode45(), and compare with the simulated response from sim(). Although the fitness is high to 95%, but it means there exists error between sim() results and ode45() results. So I am wondering how sim() solves differential equations.
On the other hand, I use compare() command to generate k-step-ahead predicted response, which uses both Initial conditions and previous output data, but no matter values of kstep, it will generate same results with simulated data from sim(). I am wondering if time-series dataset displays same simulated and predicted response?
Ang suggestion is welcome!
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Manage System Data finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
