simRes function

Simulate a water supply reservoir with specified operating policy.