System.store_switch_times#
- System.store_switch_times(**kwargs)#
Store event switching time in a sorted Numpy array in
System.switch_timesand an OrderedDictSystem.switch_dict.System.switch_dicthas keys as event times and values as the OrderedDict of model names and instances associated with the event.- Parameters:
- modelsOrderedDict
model name : model instance
- epsfloat
The small time step size to use immediately before and after the event
- Returns:
- array-like
self.switch_times