trigger_end_horizon: Function to Trigger the End Horizon
Description
Function to Trigger the End Horizon
Usage
trigger_end_horizon(dat)
Value
The updated netsim_dat main list object.
Arguments
dat
Main netsim_dat object containing a networkDynamic
object and other initialization information passed from
netsim.
Details
This function triggers the end horizon if a control end.horizon exists and
its at value is equal to the current timestep. The end horizon consists on
the removal of a set of modules from the module list.