Hydropower scheduling program (mainly in Python)