Petri Net — AGV Fleet Charging Bays
Token model of an automated warehouse where six robots contend for two charging bays, so the bay place is the semaphore that decides how many can charge at once.
Make it your own.
title AGV fleet contending for two charging bays
place onTask tokens 6 "AGVs on task"
place lowBattery tokens 0 "Battery below 20%"
place freeBay tokens 2 "Free charging bays"
place charging tokens 0 "On charge"
transition drain "Battery falls below 20%"
transition dock "Dock into a free bay"
transition release "Charge complete, undock"
onTask -> drain
drain -> lowBattery
lowBattery -> dock
freeBay -> dock
dock -> charging
charging -> release
release -> onTask
release -> freeBay