Examples tagged with reinforcing-loopllms.txt

Select an example to explore it in the playground.

Beginner - Introductory Models

Fishery Simulation

A fishery simulation of stocks, flows, and feedback loops managing fish populations.

Level: Beginner

populationresource-managementsustainabilitymanagementecosystemstocks-flowsreinforcing-loopbalancing-looprenewable-resourcequota-policy

  • Stocks: population
  • Flows: births, quota
  • Feedback Loops: reproduction (reinforcing), quota (balancing)
  • Probes: population, quota, gap_to_capacity, extracted_total

Antifragile System

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.

Level: Beginner

reinforcing-loopbalancing-loopreliabilityantifragility

  • Stocks: failure_rate, total_failures
  • Flows: failure
  • Feedback Loops: antifragile healing (balancing), fragile spiral (reinforcing)
  • Probes: failure_rate, total_failures

Logistic Growth

Grow a population too fast and it overshoots its carrying capacity before settling; grow it gently and it glides up to the same limit.

Level: Beginner

populationcapacityovershootnonlinear-dynamicsreinforcing-loop

  • Stocks: population
  • Flows: growth
  • Feedback Loops: reinforcing adoption, saturation constraint
  • Probes: population, growth

Savings vs Credit-Card Debt

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.

Level: Beginner

debtreinforcing-loopexponentialcompounding

  • Stocks: savings_balance, debt_balance
  • Flows: interest, deposit, payment
  • Feedback Loops: compound interest on savings (reinforcing), compound interest on debt (reinforcing)
  • Probes: savings_balance, debt_balance
Intermediate - Classic Dynamics

Dynamic Difficulty Adjustment

Adaptive encounters that track win rate to keep players challenged.

Level: Intermediate

gameplayreinforcing-loopbalancing-loopadaptivegame

  • Stocks: skill, difficulty, retention
  • Flows: practice gains, difficulty adaptation
  • Feedback Loops: skill improvement (reinforcing), challenge tuning (balancing)
  • Probes: skill, difficulty, win_rate, frustration, retention

SIR Model with Vaccination

An SIR epidemic at the threshold: vaccinating past the herd-immunity line pushes effective R0 below 1 and the outbreak fizzles.

Level: Intermediate

populationreinforcing-loopbalancing-loopcontrol

  • Stocks: susceptible, infected, recovered
  • Flows: infections, recoveries
  • Feedback Loops: disease spread (reinforcing), susceptible depletion / herd immunity (balancing)
  • Probes: susceptible, infected, recovered, r_eff

Sleep Debt Simulation

A sleep debt simulation tracking caffeine, sleep patterns, and debt buildup.

Level: Intermediate

debtreinforcing-loopbalancing-loop

  • Stocks: sleep_debt_hours
  • Feedback Loops: coffee reduces sleep (reinforcing), circadian pressure triggers sleep (balancing)
  • Probes: sleep_debt, subjective_energy
Advanced - Complex Simulations