Thread Subject: Analytic Jacobian in ODE solvers - Matlab vs Simulink

Subject: Analytic Jacobian in ODE solvers - Matlab vs Simulink

From: Christophe Lauwerys

Date: 26 Aug, 2011 08:22:11

Message: 1 of 1

In Matlab the accuracy and convergence of a nonlinear ODE simulation is increased by providing the analytic Jacobian of the system. See for instance ODE15S which explicitly states: "The Jacobian matrix df/dy is critical to reliability and efficiency".

I assume the same is true if the same ODE would be simulated in Simulink. So my question is, how can I provide the Jacobian of my ODE in Simulink to improve reliability and efficiency of my ODE simulation?

It would make sense that Simulink itself analytically calculates the Jacobian if all functions/blocks used are analytically known, and if not, the user would be able to prove it himself. Is there a way to do this? Is Simscape any better in this respect?

Thanks

Christophe

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
ode Christophe Lauwerys 26 Aug, 2011 04:24:28
jabobian Christophe Lauwerys 26 Aug, 2011 04:24:28
simulink Christophe Lauwerys 26 Aug, 2011 04:24:28
simscape Christophe Lauwerys 26 Aug, 2011 04:24:28
rssFeed for this Thread

Contact us at files@mathworks.com