simulation_clock

simulation.simulation_clock(time_frame, tau_step_lengths)

Generates the sequence of ticks which makes up the simulation clock.

Parameters

time_frame: TimeFrame

A simulation’s time frame.

tau_step_lengths: list[float]

The simulation tau steps as fractions of one day.

Returns

Iterable[Tick]

The sequence of ticks as determined by the simulation’s start date, duration, and tau steps configuration.