
Function to Trigger the End Horizon
trigger_end_horizon(dat)
The updated netsim_dat
main list object.
Main netsim_dat
object containing a networkDynamic
object and other initialization information passed from
netsim
.
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.