Write your own real-time-control-algorithm for a sewer system
You can write the rtc-algorithm with a lua script and start the simulation. Stay tuned, how it is holding its ground with a random rain-event.
On the left there are two different pluviometer and three catchment areas. In the middle there are three tanks and one sewage treatment plant. You can hoover over the tanks and adjust the outflow is calculated. The best adjustment will result less outflow in river on the right.
The game itself is written in lua with the framework löve-2D, a free game-engine.