Fishery Simulation
A fishery simulation of stocks, flows, and feedback loops managing fish populations.
Latest simulation examples from Teach Yourself Systems
A fishery simulation of stocks, flows, and feedback loops managing fish populations.
The same adaptive loop, two fates: with one knob negative each failure makes the system stronger; flip its sign and failures spiral to certain breakdown.
Repeated sealed-bid auctions comparing first-price and Vickrey rules with learning agents.
At a teller running near capacity, patience decides everything: impatient customers give up before a line even forms - half walk out - while patient ones build a long queue yet nearly all get served.
A bathtub simulation illustrating stock and flow of water volume.
A car service simulation showing priority washing with features like interrupts.
Adaptive encounters that track win rate to keep players challenged.
One 8-bit rule number, three worlds: flip it to walk a single-line automaton from an ordered fractal through Turing-complete complexity to deterministic chaos.
Same 50 pulls, same spend, one setting apart: a pity timer guarantees the 1%-odds ultra after a dry streak, while turning it off can leave you empty-handed.
Conway's Game of Life: a random soup self-organizes into still-lifes, blinkers, and gliders — global order from one local rule.
A goal-seeking decay simulation modeling exponential approach toward a target.
Queuing theory demo of patient flow through an emergency department.
A ranger who patrols just 40% of sites can still stop poaching - but only if the penalty is harsh enough. Soften it and the same patrols let crime pay.
Naive reordering that ignores in-transit stock makes inventory swing; counting the pipeline flattens it.
Grow a population too fast and it overshoots its carrying capacity before settling; grow it gently and it glides up to the same limit.
A logistic map simulation that iterates x_{n+1}=r*x_n*(1-x_n) to illustrate chaos.
A predator-prey simulation using the Lotka-Volterra equations.
Discrete-time SimPy approximation of the predator–prey model.
A machines simulation depicting resource allocation and reliability.
Simulates skill-based matchmaking with adjustable buckets, skill delta and max wait.
A nested hierarchy simulation where tasks flow across company departments.
A single-server queue at the edge of overload: nudge utilization past 1 and the backlog diverges.
Dynamic pricing stabilises rider waits—until high gain and delay turn it into surge whiplash.
Competing rumor and fact-check messages racing across a social network.
Same card, same income - one number decides everything: pay just under the interest and the debt runs away; pay just over it and the balance marches to zero.
An SIR epidemic at the threshold: vaccinating past the herd-immunity line pushes effective R0 below 1 and the outbreak fizzles.
A sleep debt simulation tracking caffeine, sleep patterns, and debt buildup.
A bang-bang thermostat reading a delayed sensor overshoots and rings; shorten the delay and it settles.
Two-player waiting game exploring mixed strategies and the option value of waiting.
PID control keeps a domestic hot water tank near its setpoint while balancing heater power and losses.