The power supply system is affected by external disturbances, so it should be stable and operate normally in compliance with power quality standards. The power supply system goes into abnormal modes operation when, after a short-term failure or disturbance, it does not restore normal mode. The electrical complex, which includes a wind power plant, as well as a battery and a diesel generator connected in parallel, is able to provide reliable power supply to consumers which meets the power quality indicators. The article develops an algorithm that is implemented by an automatic control system to select the operating mode depending on climatic factors (wind) and the forecast of energy consumption for the day ahead. Forecast data is selected based on the choice of the methods, which will have the smallest forecast error. It is concluded that if the energy consumption forecast data is added to the automatic control system, then it will be possible to increase the efficiency of the power supply complex. In the developed algorithm the verification of normal and abnormal modes of operation is considered based on the stability theory. The criteria for assessing the normal mode of operation are identified, as well as the indicators of the object’s load schedules for assessing the load of power supply sources and the quality standards for power supply to consumers for ranking the load by priority under critical operating conditions and restoring normal operation are considered.