Tick

simulation.Tick()

A Tick represents a single time-step in a simulation. This object bundles the related information for a single tick. For instance, each time step corresponds to a calendar day, a numeric day (i.e., relative to the start of the simulation), which tau step this corresponds to, and so on.

Tick is a NamedTuple.

Attributes

date: date

The calendar date corresponding to day

day: int

Which day increment are we on? Same for each tau step: (0,0,1,1,2,2,…)

sim_index: int

Which simulation step are we on? (0,1,2,3,…)

step: int

Which tau step are we on? (0,1,0,1,0,1,…)

tau: float

What’s the tau length of the current step? (0.666,0.333,0.666,0.333,…)