Perform a transient simulation of the system described by cirstruct over the time interval t using the theta-method with parameter theta.
The initial value for the state vector is computed by solving a steady state problem at t(1), with starting guess x.
tol and maxit are parameters passed to
nls_newton_raphson
.
The output out will contain the value of the state vector at each point of t.
The optional parameter verbosity controls the amount of output produced:
The optional output niter returns the number of Newton iterations needed to reach convergence.
See also: tst_backward_euler,tst_daspk,tst_odepkg,nls_newton_raphson.
Package: ocs