PID Water Tank Simulator

Tune Kp, Ki, Kd to keep the water between the underfill line and the top without spilling.

Goal: Survive as long as you can
Water Level
0%
Time Alive
0.0s
Best Time
0.0s
Valve (Inflow)
0.00
Difficulty
x1.0
Tank
Don't let water over or under flow
Top (Overflow) Setpoint: 65%
Underfill
Tip: Start the sim, then tweak Kp, Ki, Kd. Too much Kp makes it twitchy; Ki removes steady error; Kd dampens overshoot.

PID Controls

Setpoint is the middle of the safe zone
Ready

Outflows

Total Outflow: 0.00
Leak (steady)
Flow: 0.00
Random Valve (bursts)
Flow: 0.00
Tide (slow wave)
Flow: 0.00

Score

0

Earns +10 × multiplier every second you survive.

How to play

  • Click Start, then tune Kp, Ki, Kd to keep the water between the underfill line and the top.
  • If you overflow, it spills and you lose. If you drop below the underfill line, you lose.
  • Each outflow has a live graph so you can see what's stealing your water.