Bass Diffusion Model
Agent-based model of the Bass Diffusion Model
Keywords
agent-based modeling, abm, business prototyping, bptk, bptk-py, python, business simulation
Bass Diffusion Model
An Agent-based Implementation
This is an implementation of the Bass Diffusion model as an agent-based model using the BPTK-Py framework. It simulates 10,000 individual customers over 60 timesteps, so the chart below is computed when this page is built rather than in your browser.
## BPTK Package
from BPTK_Py.bptk import bptk
bptk = bptk()
bptk.plot_scenarios(
scenario_managers=["ABMsmBass"],
kind="area",
scenarios=["scenarioBassBase"],
agents=["customer"],
agent_states=["potentialCustomer", "currentCustomer"],
format="axes",
)