Agent-based Modeling (ABM) is a simulation method where the autonomous agents interacting with the environment (space) and/or each other by a set of rules.
The most obvious example of ABM is to simulate actions of non-player characters (NPCs) in computer games.
ABM is able to model heterogeneously, i.e. it does not require the environment to be well stirred (as opposed to ODEs), continuous (as opposed to to PDEs), nor need the characteristics of each kind of agents to be identical (as opposed to SSAs).
This makes ABM more flexible to model individual behaviors. - traffic jam - infectious disease spread - molecular interactions
The model to hold the space, the agents, and other parameters (called properties)
The stepping function step!() to tell how the model evolve.
Could I do ABM by myself?
Yes, you can define the agents, rules and stepping functions from scratch, but it’s more convenient (and perhaps more performant) to use a test package like Agents.jl.
Status `~/work/jl-abm/jl-abm/Project.toml`
[46ada45e] Agents v6.2.10
⌃ [13f3f980] CairoMakie v0.13.10
[69e1c6dd] CellListMap v0.9.15
[a93c6f00] DataFrames v1.8.1
[927a84f5] DelaunayTriangulation v1.6.6
[31c24e10] Distributions v0.25.123
⌃ [86223c79] Graphs v1.13.1
⌅ [682c06a0] JSON v0.21.4
[98b081ad] Literate v2.21.0
[1862ce21] MarkdownTables v1.1.0
[90137ffa] StaticArrays v1.9.16
[2913bbd2] StatsBase v0.34.10
⌅ [ff63dad9] StreamSampling v0.6.9
[bd369af6] Tables v1.12.1
[ea8e919c] SHA v0.7.0
Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated`