Consider the nonlinear system:
(2.8) |
The corresponding implicit scheme is:
(2.9) |
(2.10) |
(2.11) |
Because of the approximations invoved, Equation 2.12 is not guarenteed to be stable. Nevertheless, it should do a much better job than the corresponding explicit method for reasonably smooth systems. This method is chosen by setting
METHOD='Implicit'in the MTT simpar.txt file.
A further approximation arises by setting ie computing it one only at the beginning of the simulation. This method is chosen by setting
METHOD='ImplicitL'in the MTT simpar.txt file.
Both methods make use of the smx ``state-matrix with state '' representation of MTT which is generated symbolically from the system bond graph.