What's the theory behind ode14x solver?
18 views (last 30 days)
Show older comments
I am trying to understand the theory behind the various solvers available in Simulink.
However, while for the majority of them several references and details are given, I'm not finding detailed and clear information about how ode14x works. The help states: "The ode14x solver uses a combination of Newton's method and extrapolation from the current value to compute the model state as an implicit function of the state and the state derivative at the next time step."
Where can I find precise details on the algorithm. How is the extrapolation used in the context and combination of an implicit method? Furthermore, what particular implicit method is used?
Thank you.
0 Comments
Answers (1)
Harsh Saxena
on 13 Jun 2023
Hi Antonio,
Two things that the documentation clearly mentions is the use of extrapolation and implicit method.
Extrapolation basically means using the known data in present to compute the future data. We can find the equation given in help
We can clearly see the use of extrapolation here as the general formula of extrapolation is: y(n+1) = y(n) + slope*(y(n+1) - y(n)).
Further, we can see that the function is implicit function because it is using a function of next state to calculate next state, x(n+1) = x(n) + f(x(n+1)). Which is the definition of implicit methods.
I am not sure the exact implicit method that is used by 'ode14x'. The documentation doesn’t helps that much in this case.
Hope this helps!
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!