Pywr is a generalised network resource allocation model written in Python. It intends to be …
https://github.com/pywr/pywr
docs