Valves(inp)

A

B

C

D

E

X

Y

Water supply100
Industrial consumption50
Municipal consumption50
Desired tank(Y) level85
(c) wojtek jarzęcki 2011