← Claudeworks!
|
PID Water Tank Controller
v1.6
About
Prompts
View Code
⛶
How to Use
The Intuition
The Math
1
Set a target
Use the setpoint slider to choose your desired water level (0–100%).
2
Create a disturbance
Adjust the inflow slider to simulate water entering the tank — this is the disturbance the controller must counteract.
3
Tune the PID gains
Use the Kp, Ki, and Kd sliders to adjust the controller. Watch the chart to see how each gain affects response.
4
Change the tank
Adjust tank capacity (100–1000L) and valve slew rate to see how physical constraints affect controllability.
5
Auto-tune
Press Auto-Tune to let the algorithm calculate gains based on your tank size and slew rate.
Comments & Suggestions
Log in to post comments and join the conversation.
Loading comments...