The invention discloses a photovoltaic
energy storage system switching control method based on
islanding effect pre-judgment, which comprises the following steps of: 1, acquiring various parameters of a
power grid in real time, establishing a
power grid state
database, and continuously monitoring various electrical parameters of the
power grid by adopting a sensor; step 2, a
machine learning
algorithm is utilized, data in the power grid state
database is taken as a training sample, an
islanding effect pre-judgment model is constructed, and the
islanding effect pre-judgment model is used for predicting the probability of power failure caused by faults of the power grid in a period of time in the future; 3, setting a pre-judgment probability threshold value, and when the
prediction probability of the island effect pre-judgment model exceeds the threshold value, sending a grid-connected and off-grid
switching signal; and step 4, after the
switching signal is received, calculating the required
energy storage output adjustment amount according to the
current load demand and the output power of the photovoltaic
cell. The charging and discharging states of the
energy storage system are adjusted by controlling the energy storage converter, so that the sum of the photovoltaic power and the energy storage output can be matched with the load requirement.