Abstract
In this article computer implementation of the river flow regulation model for a hydro complex with a hydroelectric power plant on the main river during extreme water discharges is considered. Modes of operation for hydroelectric power plant with a reservoir are appointed using design dispatch schedules for annual flow regulation. The use of the proposed model makes it possible to determine the operating modes of the hydro complex, taking into account modern economic and environmental requirements, make adjustments to their parameters, assess the energy-economic and environmental effects.