The invention discloses a
microgrid equivalent modeling method based on LSTM neural network. The method comprises specific steps of 1, collecting The disturbance data of the common
coupling point of the
microgrid during the disturbance period; 2, according to the equivalent modeling requirement of the
microgrid, determining the number of input and output nodes of the LSTM neural network, and offline training the LSTM neural network by utilize the disturbance data collected in the step 1; 3, according to the neural network trained offline in the step 2, obtaining a nonlinear
equivalent model which can represent the running state of the microgrid. The invention utilizes
artificial neural network to have good ability to deal with complex non-linear problems, and at the same time can well capture the dynamic characteristics of the
electric power system, and the structure and parameters of the dynamic model are determined by the structure and parameters of the LSTM neural network. Only themeasured values of the common
coupling points of the micro-grid are needed, and the specific parameters and topological structure of the micro-
grid system are not required to be mastered. Moreover, adefinite model is not required to be established in advance when the micro-
grid system is equivalent. Once the model is trained and tested, the dynamic
equivalent model based on LSTM neural network can meet the needs of
system simulation and analysis.