The Determination of Safe Yield of Underground Reservoirs of the Closed-Basin Type