The invention discloses an active power real-time optimization control method and
system for a
wind power station, and the method comprises the steps: circularly carrying out the following operations in an active power real-time optimization control process: when
wind power ultra-short-term prediction power is greater than dispatching power, judging whether an
energy storage charging state is not fully charged, if yes, enabling an
energy storage system to carry out the charging through the excess electric quantity of
wind power, and if not, carrying out the
energy storage; further judging whether the difference value between the wind power ultra-short-term predicted power and the dispatching power is greater than the energy storage rated power or not, if so, taking the energy storage rated power as the energy storage charging power for charging by the energy storage
system, and if not, directly taking the difference value between the wind power ultra-short-term predicted power and the dispatching power as the energy storage charging power for charging; when the wind power ultra-short-term prediction power is smaller than the dispatching power, whether the energy storage charging state is larger than the minimum threshold value or not is judged, if yes, whether the difference value between the dispatching power and the wind power ultra-short-term prediction power is larger than the energy storage rated power or not is further judged, if yes, the energy storage system takes the energy storage rated power as the energy storage discharging power to conduct discharging, and if not, the energy storage system conducts discharging. And the energy storage system directly takes the difference value between the dispatching power and the wind power ultra-short-term prediction power as the energy storage
discharge power for discharging.