Running Simulations
out = simulate(my_model, T = T_end)
Mandatory Keyword Arguments:
T
total time of the simulation
Optional Keyword Arguments:
t0
initial time, defaults to0//1
xd0
initial state, defaults tonothing
. Overwrites initial state given in model.ud
input function(t) -> some_input
, if none is given, the input will benothing
for all times.
Supported Keywords with no Effect for DT Simulations:
uc
input only used for continuous-time modelsxc0
initial state only used for continuous-time modelsintegator
no integrator is used for discrete-time simulationsΔt_max
only relevant for integrators and therefore irrelevant for discrete-time models