twin_simulate#
- TwinRuntime.twin_simulate(time_stop, time_step=0)#
Simulates the TWIN model from previous time point to the stop point given by time_stop.
- Parameters:
- time_stop
float
Stop time.
- time_step
float
(optional
) Step size. If the value is 0, only one stepping call will be performed such that the model will be stepped from previous stop point to the given point in one shot (internally the model can take smaller time steps for numerical integration); otherwise, it will perform multiple steps with the step size of h. Default is 0.
- time_stop