Runs the user-defined event function to determine whether the event is triggered and records the model state. If
Event.repeat==False, this function will return
False so long as
True the first time
False thereafter. If
Event.repeat==True, the function returns
Event.trigger returns True.
WARNING: This is an internal function. Its use in user code is not recommended or supported, and its signature can change in future updates without warning. Use one of the suggested functions above instead, if applicable.
model — Helipad, required
The model object.
Return Value — bool
Whether the event criterion is satisfied this period.
Notes and Examples