dam water capacity analysis