update_time

Powertrain.update_time(instant: Time) None

It updates the time by appending the instant simulated time step.

Parameters

instantTime

Simulated time step to be added to time.

Raises

TypeError

If instant is not an instance of Time.