Definition
A graphical and mathematical formalism for modeling concurrent, asynchronous, and distributed discrete‑event systems using places, transitions, directed arcs and tokens; system behavior is defined by token distribution (marking) and transition firing rules that move tokens between places.
Principle
Principle
System dynamics follow the Petri‑net token game: a transition is enabled when its input places hold the required tokens; firing consumes tokens from inputs and produces tokens in outputs according to arc multiplicities; structural properties (reachability, boundedness, liveness, deadlock) derive from net topology and initial marking.
Demonstration
Demonstration
Illustrative scenario — Producer–consumer with finite buffer: Situation — producer and consumer share a buffer of capacity C. Recognition — model places: IdleProducer, BufferSlots (C tokens initially represent free slots), ItemsInBuffer; transitions: Produce (requires a free slot) and Consume (requires an item). Action — fire Produce when BufferSlots token available (decrement free slots, increment ItemsInBuffer), fire Consume when ItemsInBuffer token present. Consequence — reachability analysis or simulation shows whether deadlock is possible, whether buffer overflows, and whether both processes remain live under given rates.
Misapplication
Misapplication
Using ordinary (untimed, uncolored) Petri nets to represent data‑dependent behavior, priorities, or timing without appropriate extensions, or treating tokens implicitly as distinct data values when the model assumes indistinguishable tokens; the error is conflating net semantics with richer semantics that require colored, timed, or stochastic Petri nets.
Consequence
Consequence
Proper Petri‑net modeling enables formal verification of concurrency properties (deadlocks, mutual exclusion), supports compositional reasoning, and guides design changes; misapplication can produce false assurances about liveness or safety when timing, data, or probabilistic aspects are material but omitted.
Reversal
Reversal
When timing, stochastic durations, priorities, or token attributes are critical, classical Petri nets must be extended (timed Petri nets, stochastic Petri nets, colored Petri nets, priority nets); these extensions change analysis methods and may reintroduce state‑space explosion or require approximation.
Boundary
Boundary
Clearly within — modeling control flow, resource allocation, synchronization, and concurrency structure in manufacturing cells, protocols, or workflow specifications. Boundary case — systems where token identity matters (use colored Petri nets). Clearly outside — continuous control systems described by differential equations without discrete token semantics.
Semantic Tension
Semantic Tension
Graphical simplicity and formal analyzability of basic Petri nets versus the expressiveness needed to model timing, data attributes and probabilities; richer formalisms increase fidelity but complicate analysis and scalability.
Synthesis
Synthesis
Petri nets provide a foundational representation of concurrency and causality; use the plain net to analyze structural concurrency and select appropriate timed, stochastic or colored extensions when data, time, or probabilistic behavior materially affect correctness or performance.