The invention provides an
energy storage optimization scheduling method and
system under
microgrid priority fusion constraint, and the method comprises the steps: S1, carrying out the reading and preprocessing of multi-
source data, carrying out the unified time axis of historical photovoltaic output, user load, future weather,
electricity price, demand unit price, and completing the missing value interpolation and abnormal value
elimination, and forming a
time series data set; s2, setting decision variables, namely charging power, discharging power, maximum charging power, maximum discharging power,
energy storage equipment capacity, commercial power purchase unit price and demand unit price; s3, the overall income is maximized under the specified priority, and the expenditure is reduced; s4, establishing a priority constraint, an
energy storage hardware constraint, an
electrical load constraint and other constraint conditions, and avoiding target scheduling conflicts according to the corresponding constraint conditions; s5, carrying out two-stage MINLP rapid solution, and searching a feasible solution in a short time by using a rapid exploration method; and deep optimization is carried out through a fine mode.