Running Simulations
out = simulate(my_model, T = T_end)Mandatory Keyword Arguments:
- Ttotal time of the simulation
Optional Keyword Arguments:
- t0initial time, defaults to- 0//1
- xd0initial state, defaults to- nothing. Overwrites initial state given in model.
- udinput function- (t) -> some_input, if none is given, the input will be- nothingfor all times.
Supported Keywords with no Effect for DT Simulations:
- ucinput only used for continuous-time models
- xc0initial state only used for continuous-time models
- integatorno integrator is used for discrete-time simulations
- Δt_maxonly relevant for integrators and therefore irrelevant for discrete-time models