Integration of nonlinear ODE (Solver and time steps)

Home Forums Matlab Integration of nonlinear ODE (Solver and time steps)

This topic contains 1 reply, has 2 voices, and was last updated by  cK 8 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #594

    pankaj kumar
    Participant

    May i know how i can assure that time step and solver used for a given nonlinear model such as Van der pol or nonlinear model having term such as x^4*xdot are accurate enough with respect to error flow in solution. Any class note and article with examples may be more useful.

    #595

    cK
    Keymaster

    Error is with respect to true solution. If the equations have a closed form solution derived from first principles, you may plot difference between simulation and true solution. If that is not possible, the only way is to compare simulation data with other solvers in Matlab or other algorithms/softwares or an implementation of state-of-the-art techniques.

    Firstly you can try raising the tolerances and see if the simulation is significantly different. Or, try the comparison with a different (but not inappropriate) solver.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.