Comment on page
Working with time
The key concept to understand about working with time in Causal - is Causal's time step index system.
Note that the time step index always start at 0, not 1. So 0 corresponds to the first time step of the model (e.g. Jan'22), 3 corresponds to the fourth time step (Apr'22), and so on.
Datefunction in Causal converts an input in
Dateformat to the appropriate timestep in that model to allow further calculations.
The syntax of the
Datefunction is as follows: either (yyyy,mm,dd) or (yyyy,mm).
E.g. date(2022,12,24) = 11 in a monthly model that starts in Jan 2022.