Upper Gorham dam and minimum flow structure