A Petri-net-based model for the mathematical analysis of multi-agent systems | Synapse