Agent-based Modeling

The classes of an agent-based model: agents, events, schedulers and data collectors.
Keywords

agent-based modeling, system dynamics, bptk, bptk-py, python, business prototyping

Agent-based Modeling

What an agent-based model is made of: the agents and the events between them, the schedulers that run them, and the data collectors that record what they did.

Agent The base class for your agents
Event How agents talk to each other
DelayedEvent An event delivered a number of timesteps later
Scheduler Runs the agents, one after another
Simultaneous Scheduler Runs them as if they acted at the same instant
DataCollector Collects aggregate statistics per agent type and state
AgentDataCollector Collects every individual agent’s properties
CSVDataCollector Writes the results to CSV files instead of memory