Simulated and predicted response of time-series idnlgrey model in Matlab
Show older comments
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!
Accepted Answer
More Answers (0)
Categories
Find more on Manage System Data in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!