Читать книгу See-Through Modelling - Dominic Robertson - Страница 53
Event flags and switches
ОглавлениеThe simplest way to control when and if calculations happen is through the use of flags and switches.
Event flags are ‘on and off’ switches mostly governed by input dates that turn calculations on and off for distinct periods of time, ranging from single periods to all periods. Flags are time-dependent. The values that a flag can take are 1 or 0 for each period across the timeline, as in Figure 7.