powered by
Attach a global variable to the simulation.
add_global(.env, key, value)
Returns the simulation environment.
the simulation environment.
the attribute name.
the value to set, either a numeric or a schedule, so that the global may change during the simulation.
schedule
Convenience functions: schedule.