Adhaimc/Quadruple_tanks_control — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Python simulation project for a quadruple water tank control challenge. I want four tanks shown in a 2 by 2 layout, two pumps feeding the lower tanks, fixed coupling valves, and realistic tank physics using gravity based outflow. The user should be able to run one script and watch the tank levels move toward target heights, with live plots for each tank, dashed target lines, and pump flow commands.

Please include a simple controller file that students can edit, using PID style pump control only, with pump outputs limited from 0 to 300 cm³ per second. The default targets should be around 40, 60, 70, and 80 cm. Add scoring that rewards fast settling, low overshoot, and stable behavior.

Also include a clear README explaining how to install, run the simulation, tune the controller, and prepare a short control design report. Keep the code organized, readable, and easy for students to experiment with.

Want more depth? Deep Reverse