Control parameter identification method and system of VSG type energy storage system simulation model

By combining the particle swarm optimization algorithm and the differential evolution algorithm to identify the control parameters of the VSG energy storage system, the problem of low parameter identification accuracy and reliability in the existing technology is solved, and higher identification accuracy and robustness are achieved.

CN118732503APending Publication Date: 2024-10-01湖南经研电力设计有限公司 +1
View PDF 0 Cites 6 Cited by

Patent Information

Application Number
CN202410846831.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing technology has low accuracy and reliability when identifying the simulation model parameters of VSG energy storage systems. Especially in complex nonlinear systems, it is easy to fall into premature predicament and it is difficult to obtain accurate model parameters.

Method used

Using the method of combining particle swarm optimization algorithm and differential evolution algorithm, through initializing algorithm parameters, updating particle position and speed, mutation and hybridization operations, the optimal solution of the population is integrated, the control parameters of the VSG energy storage system are identified, and the control parameters of the VSG energy storage system are identified through simulation data and The deviation calculation of the real data verifies the validity of the identification results.

Benefits of technology

It improves the accuracy and reliability of parameter identification of the VSG energy storage system simulation model, can better identify parameters in complex nonlinear models, avoids premature dilemmas, and enhances the robustness and accuracy of the identification results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118732503A_ABST
    Figure CN118732503A_ABST
Patent Text Reader

Abstract

The invention discloses a control parameter identification method for a VSG type energy storage system simulation model. The control parameter identification method comprises the following steps: acquiring data information of a VSG type energy storage system; establishing a VSG type energy storage system simulation model and selecting a control parameter to be identified; and identifying the selected control parameters based on a particle swarm optimization algorithm and a differential evolution algorithm to complete control parameter identification of the VSG type energy storage system simulation model. The invention also discloses a system for realizing the control parameter identification method of the VSG type energy storage system simulation model. According to the method, the control parameters are identified based on the particle swarm optimization algorithm and the differential evolution algorithm, so that the control parameters of the VSG type energy storage system simulation model can be identified, the reliability is higher, and the accuracy is better.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of electrical automation, and in particular relates to a control parameter identification method and system for a VSG type energy storage system simulation model. Background Art

[0002] With the development of economy and technology and the improvement of people's living standards, electricity has become an indispensable secondary energy source in people's production and life, bringing endless convenience to people's production and life. Therefore, ensuring the stable and reliable supply of electricity has become one of the most important tasks of the power system.

[0003] At present, environmental problems are becoming more and more serious, so more and more new energy power generation systems are beginning to be connected to the power grid and generate electricity. With the access of a high proportion of new energy power generation systems, the dynamic performance of the power system is facing increasingly severe tests. In addition, the external characteristics of the current source, dependence on the phase-locked loop, lack of damping inertia support capabilities, and inability to operate independently and in isolation have also made the power system face increasingly serious pressure for stable operation.

[0004] Virtual synchronous generator (VSG) control technology has the advantages of voltage source external characteristics, good damping and inertial support capabilities, and independent island operation, and has been widely used in photovoltaic, wind turbine and other new energy power generation systems. At the same time, researchers have also proposed that applying VSG to energy storage systems can enable energy storage systems to overcome the shortcomings of traditional control methods, contribute to the safe and stable operation of energy storage power stations, and provide more reliable and higher-quality voltage regulation, frequency regulation, and emergency services for the power system.

[0005] In order to conduct a more in-depth study of the VSG energy storage system, modeling of the VSG energy storage system is particularly important. Therefore, accurately obtaining the model parameters is the prerequisite for establishing the VSG energy storage system model. At present, the commonly used model parameter identification schemes mainly include theoretical analysis method, numerical calculation method, and intelligent optimization algorithm: The theoretical analysis method is based on the system operation mechanism, corresponds the electrochemical process to the circuit elements in the equivalent model, and determines the unknown parameters in the model by performing differential and derivative operations on the VI characteristic curve of the model; however, as the system structure becomes more and more complex, the accuracy of parameter identification of the theoretical analysis method is constantly decreasing. The essence of the numerical calculation method is to make the simulation curve output by the model as close to the measured curve as possible through iteration, and then obtain the optimal solution of the model parameters; however, the performance of the numerical method depends on the objective function and the initial value setting of the parameters, the human factor is large, and the scheme is not suitable for parameter identification of complex nonlinear models. The intelligent optimization algorithm is an optimization algorithm that simulates the laws of natural phenomena and the social behavior of biological groups. The scheme identifies the optimal solution for model parameters through a step-by-step optimization strategy; however, the intelligent optimization algorithm is prone to fall into the dilemma of premature solution when solving the parameter identification of nonlinear and multi-extreme complex systems, and its reliability and accuracy are poor. Summary of the invention

[0006] One of the purposes of the present invention is to provide a control parameter identification method of a VSG type energy storage system simulation model with high reliability and good accuracy.

[0007] A second object of the present invention is to provide a system for implementing the control parameter identification method of the VSG type energy storage system simulation model.

[0008] The control parameter identification method of the VSG type energy storage system simulation model provided by the present invention comprises the following steps:

[0009] S1. Obtain data information of the VSG energy storage system;

[0010] S2. Based on the VSG control principle and the data information obtained in step S1, a VSG type energy storage system simulation model is established, and the control parameters to be identified are selected;

[0011] S3. Based on the particle swarm optimization algorithm and the differential evolution algorithm, the control parameters selected in step S2 are identified to complete the control parameter identification of the VSG type energy storage system simulation model.

[0012] The control parameter identification method of the VSG type energy storage system simulation model also includes the following steps:

[0013] S4. According to the control parameters of the VSG type energy storage system simulation model obtained by identification, the deviation between the simulation data and the real data of the VSG type energy storage system simulation model is calculated to complete the verification of the identification result.

[0014] The deviation calculation between the simulation data and the real data of the VSG type energy storage system simulation model specifically includes the following steps:

[0015] The deviation value F is calculated using the following formula:

[0016]

[0017] Where w r is the weight value under the rth working condition; d is the number of working conditions tested; n is the length of the test data; i r,j,sim is the simulation value of the jth data point under the rth condition; i r,j,meas is the true value of the jth data point under the rth condition.

[0018] The verification of the identification result described above specifically includes the following steps:

[0019] If the deviation value F is greater than the set value, the verification fails and the identification result is deemed invalid;

[0020] If the deviation value F is less than or equal to the set value, the verification is qualified and the identification result is deemed valid;

[0021] The smaller the deviation value F is, the better the identification result is.

[0022] The step S2 described in which a VSG type energy storage system simulation model is established based on the VSG control principle and the data information obtained in the step S1 specifically includes the following steps:

[0023] The rotor equation controls the output of mechanical torque through the power difference, thereby adjusting the frequency; at the same time, the damping power is used to suppress power oscillation; it is expressed as:

[0024]

[0025] Where J is the virtual moment of inertia; w is the VSG output voltage angular frequency; w n is the rated frequency of the power grid; P ref is the active power reference value; P is the active power; D is the damping coefficient; θ is the phase difference between VSG and grid voltage;

[0026] VSG reactive power control is a virtual excitation regulator, which uses bus voltage difference and reactive power difference as feedback to simulate the excitation system and obtain the VSG internal potential; it is expressed as:

[0027]

[0028] Where E is the VSG excitation electromotive force; Q ref is the reactive power reference value; Q is the reactive power; k q is the reactive voltage proportional coefficient; ΔU is the voltage difference; k pe is the reactive power ratio coefficient; k ie is the reactive power integral coefficient; U ref is the voltage reference value; U is the grid connection point voltage value.

[0029] The step S2 of selecting the control parameter to be identified specifically includes the following steps:

[0030] The selected control parameters to be identified include virtual moment of inertia J, damping coefficient D, reactive voltage proportional coefficient k q , reactive power ratio coefficient k pe and reactive power integral coefficient k ie .

[0031] The step S3 described in which the control parameters selected in step S2 are identified based on the particle swarm optimization algorithm and the differential evolution algorithm specifically includes the following steps:

[0032] A. Initialize algorithm parameters for particle swarm optimization algorithm;

[0033] B. Calculate the fitness value of each individual in the current population;

[0034] C. Based on the particle swarm optimization algorithm, the position and speed of each particle are updated, and the optimal solution of the particle swarm population is obtained; at the same time, based on the differential evolution algorithm, each particle is mutated, the mutated particles are hybridized to produce offspring individuals, and the optimal solution of the differential evolution population is obtained;

[0035] D. Merge the optimal solution of the particle swarm population obtained in step C with the optimal solution of the differential evolution population to obtain the current optimal solution of the population;

[0036] E. Determine whether the set conditions are met:

[0037] If the set conditions are met, the iteration is terminated, and the optimal value of the current population optimal solution obtained during the iteration process is used as the final output result to complete the identification of the control parameters selected in step S2;

[0038] If the set conditions are not met, return to step B and proceed to the next round of iteration.

[0039] The initialization algorithm parameters described in step A specifically include the following steps:

[0040] Initialize the algorithm parameters of the particle swarm optimization algorithm; the algorithm parameters include population size, particle dimension, particle position value range, particle speed value range, total number of iterations, inertia weight, crossover probability and search accuracy.

[0041] The updating of the position and velocity of each particle described in step C specifically includes the following steps:

[0042] The particle speed is updated using the following formula:

[0043] v s,k+1 =wv s,k +c1r1(x best,k -x s,k )+c2r2(x gbest -x s,k )

[0044] Where v s,k+1 is the particle velocity of particle s at the k+1th iteration; w is the inertia weight; v s,k is the particle velocity of particle s at the kth iteration; c1 is the first learning factor; r1 is the first random number, and its value range is [0,1]; x best,k is the optimal position of the individual particle in the kth iteration; x s,k is the individual position of particle s in the kth iteration; c2 is the first learning factor; r2 is the second random number, and its value range is [0,1]; x gbest The global optimal position of the particle corresponding to the current population optimal solution;

[0045] The particle position is updated using the following formula:

[0046] x s,k+1 =x s,k +v s,k+1

[0047] Where x s,k+1 is the individual position of particle s at the k+1th iteration.

[0048] The inertia weight specifically includes the following steps:

[0049] The inertia weight w is calculated using the following formula:

[0050]

[0051] Where w min is the minimum value of inertia weight; w max is the maximum value of the inertia weight; α is the set control factor; k is the current number of iterations; M is the maximum number of iterations; w ave is the average value of the inertia weight.

[0052] The step C of mutating each particle and hybridizing the mutated particles to produce offspring individuals specifically includes the following steps:

[0053] The following formula is used for mutation operation:

[0054] h s,k+1 =x p1,k +F(x p2,k +x p3,k )

[0055] Where h s,k+1 is the particle position after particle s mutates in the k+1th iteration; x p1,k is the individual particle position of particle p1 at the kth iteration; x p2,k is the individual particle position of particle p2 at the kth iteration; x p3,k is the individual particle position of particle p3 at the kth iteration; F is the mutation factor;

[0056] The following formula is used to perform binomial distribution crossover on the variant individuals to produce offspring individuals:

[0057]

[0058] Where l is the third random number, and its value range is [0,1]; CR is the crossover probability;

[0059] In the selection operation, a greedy strategy is adopted: the generated offspring individuals are retained only when the fitness value of the generated offspring individuals is better than that of the parent individuals; otherwise, the generated offspring individuals are not retained and the parent individuals are retained.

[0060] The crossover probability specifically includes the following steps:

[0061] The crossover probability CR is calculated using the following formula:

[0062]

[0063] Where CR max is the maximum value of the crossover probability; J s is the fitness value of the current particle s; J min is the minimum fitness value of the current population; J max is the maximum fitness value of the current population; CR min is the minimum crossover probability.

[0064] Step D, in which the particle swarm population optimal solution obtained in step C and the differential evolution population optimal solution are merged to obtain the current population optimal solution, specifically comprises the following steps:

[0065] According to the optimal solution P of the particle swarm obtained in step C gbset And the optimal solution of differential evolution population D gbset , calculate the fitness value F of the optimal solution of the particle swarm population Pg And the fitness value F of the optimal solution of the differential evolution population Dg ;

[0066] If F Dg <F Pg , then the optimal solution of the differential evolution population D gbset The particles in the swarm are sorted by fitness value, and the optimal solution P of the swarm is gbset The particles in are sorted by fitness value according to the same rule, and the fitness values ​​of each particle in the optimal solution of the two populations are compared in turn:

[0067] If the optimal solution of the differential evolution population is D gbset The fitness value of the particle in is greater than the optimal solution P of the particle swarm gbset The particle fitness value in the differential evolution population is gbset The corresponding particles in the particle swarm replace the optimal solution P gbset The corresponding particles in

[0068] If the optimal solution of the differential evolution population is D gbset The fitness value of the particle in is less than or equal to the optimal solution P of the particle swarm gbset If the particle fitness value in is not large, no replacement will be performed;

[0069] If F Dg ≥F Pg , then directly take the optimal solution of the particle swarm population P gbset Replaced with the optimal solution D of the differential evolution population gbset ;

[0070] The final particle swarm population optimal solution is taken as the current population optimal solution.

[0071] The determination of whether the set condition is met in step E specifically includes the following steps:

[0072] The set conditions include whether the maximum number of iterations is reached and whether the set search accuracy is met;

[0073] The set conditions are met, specifically reaching the maximum number of iterations or satisfying the set search accuracy;

[0074] The set conditions are not met, specifically, the maximum number of iterations is not reached and the set search accuracy is not met.

[0075] The present invention also provides a system for implementing the control parameter identification method of the VSG type energy storage system simulation model, comprising a data acquisition module, a parameter determination module, a parameter identification module and a parameter verification module; the data acquisition module, the parameter determination module, the parameter identification module and the parameter verification module are connected in series in sequence; the data acquisition module is used to acquire data information of the VSG type energy storage system, and upload the data information to the parameter determination module; the parameter determination module is used to establish a VSG type energy storage system simulation model based on the received data information, the VSG control principle and the acquired data information, select the control parameters to be identified, and upload the data information to the parameter identification module; the parameter identification module is used to identify the selected control parameters based on the received data information, the particle swarm optimization algorithm and the differential evolution algorithm, complete the control parameter identification of the VSG type energy storage system simulation model, and upload the data information to the parameter verification module; the parameter verification module is used to calculate the deviation between the simulation data and the real data of the VSG type energy storage system simulation model according to the received data information and the control parameters of the VSG type energy storage system simulation model obtained by identification, and complete the verification of the identification result.

[0076] The control parameter identification method and system of the VSG type energy storage system simulation model provided by the present invention identify the control parameters based on the particle swarm optimization algorithm and the differential evolution algorithm. Therefore, the present invention can not only complete the control parameter identification of the VSG type energy storage system simulation model, but also has higher reliability and better accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0077] Figure 1 The figure is a schematic diagram of the method flow of the present invention.

[0078] Figure 2 It is a schematic diagram for comparing the excitation electromotive force E test curve and the identification curve of the method embodiment of the present invention.

[0079] Figure 3 It is a schematic diagram for comparing a test curve and an identification curve of a voltage phase difference θ between a VSG and a power grid according to an embodiment of the method of the present invention.

[0080] Figure 4 Schematic diagram of the functional modules of the system of the present invention. DETAILED DESCRIPTION

[0081] like Figure 1 The method flow chart of the method of the present invention is shown as follows: The control parameter identification method of the VSG type energy storage system simulation model disclosed in the present invention comprises the following steps:

[0082] S1. Obtain data information of the VSG energy storage system;

[0083] S2. Based on the VSG control principle and the data information obtained in step S1, a VSG type energy storage system simulation model is established, and the control parameters to be identified are selected; specifically, the following steps are included:

[0084] The rotor equation controls the output of mechanical torque through the power difference, thereby adjusting the frequency; at the same time, the damping power is used to suppress power oscillation; it is expressed as:

[0085]

[0086] Where J is the virtual moment of inertia; w is the VSG output voltage angular frequency; w n is the rated frequency of the power grid; P ref is the active power reference value; P is the active power; D is the damping coefficient; θ is the phase difference between VSG and grid voltage;

[0087] VSG reactive power control is a virtual excitation regulator, which uses bus voltage difference and reactive power difference as feedback to simulate the excitation system and obtain the VSG internal potential; it is expressed as:

[0088]

[0089] Where E is the VSG excitation electromotive force; Q ref is the reactive power reference value; Q is the reactive power; k q is the reactive voltage proportional coefficient; ΔU is the voltage difference; k pe is the reactive power ratio coefficient; k ie is the reactive power integral coefficient; U ref is the voltage reference value; U is the grid connection point voltage value;

[0090] The selected control parameters to be identified include virtual moment of inertia J, damping coefficient D, reactive voltage proportional coefficient k q , reactive power ratio coefficient k pe and reactive power integral coefficient k ie ; These parameters are generally not accurately obtained due to manufacturer confidentiality or changes in operating conditions;

[0091] The remaining parameters can be obtained by intercepting, standardizing and coordinate transforming the field test data;

[0092] S3. Based on the particle swarm optimization algorithm and the differential evolution algorithm, the control parameters selected in step S2 are identified to complete the control parameter identification of the VSG type energy storage system simulation model; specifically comprising the following steps:

[0093] The PSO algorithm (particle swarm optimization algorithm) is simple and easy to implement, has a wide range of applications, and has a fast convergence speed. However, when solving the identification of nonlinear and multi-extreme complex model parameters, it is easy to fall into the local optimum in the later stage and oscillate near the optimal solution; the DE algorithm (differential evolution algorithm) can dynamically track the current search situation and correct its search strategy in real time by virtue of its unique memory ability. At the same time, it does not need to rely on the characteristic information of the problem, making the algorithm more robust, but the DE algorithm converges slowly in the later stage; therefore, the present invention combines the particle swarm optimization algorithm and the differential evolution algorithm to identify the control parameters;

[0094] A. Initialize the algorithm parameters for the particle swarm optimization algorithm; specifically, the following steps are included:

[0095] Initialize the algorithm parameters of the particle swarm optimization algorithm; the algorithm parameters include population size, particle dimension, particle position value range, particle speed value range, total number of iterations, inertia weight, crossover probability and search accuracy;

[0096] B. Calculate the fitness value of each individual in the current population;

[0097] C. Based on the particle swarm optimization algorithm, the position and speed of each particle are updated, and the optimal solution of the particle swarm population is obtained; at the same time, based on the differential evolution algorithm, each particle is mutated, the mutated particles are hybridized to produce offspring individuals, and the optimal solution of the differential evolution population is obtained;

[0098] In specific implementation, the updating of the position and velocity of each particle specifically includes the following steps:

[0099] The particle speed is updated using the following formula:

[0100] v s,k+1 =wv s,k +c1r1(x best,k -x s,k )+c2r2(x gbest -x s,k )

[0101] Where v s,k+1 is the particle velocity of particle s at the k+1th iteration; w is the inertia weight; v s,k is the particle velocity of particle s at the kth iteration; c1 is the first learning factor; r1 is the first random number, and its value range is [0,1]; x best,k is the optimal position of the individual particle in the kth iteration; x s,k is the individual position of particle s in the kth iteration; c2 is the first learning factor; r2 is the second random number, and its value range is [0,1]; x gbestThe global optimal position of the particle corresponding to the current population optimal solution;

[0102] The particle position is updated using the following formula:

[0103] x s,k+1 =x s,k +v s,k+1

[0104] Where x s,k+1 is the individual position of particle s at the k+1th iteration.

[0105] Among them, the inertia weight w is calculated using the following formula:

[0106]

[0107] Where w min is the minimum value of inertia weight; w max is the maximum value of the inertia weight; α is the set control factor; k is the current number of iterations; M is the maximum number of iterations; w ave is the average value of inertia weight;

[0108] In a specific implementation, the step of mutating each particle and hybridizing the mutated particles to produce offspring individuals specifically includes the following steps:

[0109] The following formula is used for mutation operation:

[0110] h s,k+1 =x p1,k +F(x p2,k +x p3,k )

[0111] Where h s,k+1 is the particle position after particle s mutates in the k+1th iteration; x p1,k is the individual particle position of particle p1 at the kth iteration; x p2,k is the individual particle position of particle p2 at the kth iteration; x p3,k is the individual particle position of particle p3 at the kth iteration; F is the mutation factor;

[0112] The following formula is used to perform binomial distribution crossover on the variant individuals to produce offspring individuals:

[0113]

[0114] Where l is the third random number, and its value range is [0,1]; CR is the crossover probability, which can be calculated using the following formula:

[0115]

[0116] Where CR max is the maximum value of the crossover probability; J s is the fitness value of the current particle s; J min is the minimum fitness value of the current population; J max is the maximum fitness value of the current population; CR min is the minimum value of the crossover probability;

[0117] In the selection operation, a greedy strategy is adopted: the generated offspring individuals are retained only when the fitness value of the generated offspring individuals is better than that of the parent individuals; otherwise, the generated offspring individuals are not retained and the parent individuals are retained;

[0118] In this step, the innovative adjustment of the inertia weight and the crossover probability can make the solution of the present invention have a strong global search capability while maintaining a certain local search capability;

[0119] D. Fusion of the particle swarm population optimal solution obtained in step C and the differential evolution population optimal solution to obtain the current population optimal solution; specifically including the following steps:

[0120] According to the optimal solution P of the particle swarm obtained in step C gbset And the optimal solution of differential evolution population D gbset , calculate the fitness value F of the optimal solution of the particle swarm population Pg And the fitness value F of the optimal solution of the differential evolution population Dg ;

[0121] If F Dg <F Pg , then the optimal solution of the differential evolution population D gbset The particles in the swarm are sorted by fitness value, and the optimal solution P of the swarm is gbset The particles in are sorted by fitness value according to the same rule, and the fitness values ​​of each particle in the optimal solution of the two populations are compared in turn:

[0122] If the optimal solution of the differential evolution population is D gbset The fitness value of the particle in is greater than the optimal solution P of the particle swarm gbset The particle fitness value in the differential evolution population is gbset The corresponding particles in the particle swarm replace the optimal solution P gbset The corresponding particles in

[0123] If the optimal solution of the differential evolution population is D gbset The fitness value of the particle in is less than or equal to the optimal solution P of the particle swarm gbset If the particle fitness value in is not large, no replacement will be performed;

[0124] If F Dg ≥FPg , then directly take the optimal solution of the particle swarm population P gbset Replaced with the optimal solution D of the differential evolution population gbset ;

[0125] The final particle swarm population optimal solution is used as the current population optimal solution;

[0126] E. Determine whether the set conditions are met:

[0127] If the set conditions are met, the iteration is terminated, and the optimal value of the current population optimal solution obtained during the iteration process is used as the final output result to complete the identification of the control parameters selected in step S2;

[0128] If the set conditions are not met, return to step B and proceed to the next round of iteration;

[0129] The specific steps include:

[0130] The set conditions include whether the maximum number of iterations is reached and whether the set search accuracy is met;

[0131] The set conditions are met, specifically reaching the maximum number of iterations or satisfying the set search accuracy;

[0132] The set conditions are not met, specifically, the maximum number of iterations is not reached and the set search accuracy is not met;

[0133] S4. According to the control parameters of the VSG type energy storage system simulation model obtained by identification, the deviation between the simulation data and the real data of the VSG type energy storage system simulation model is calculated to complete the verification of the identification results; specifically comprising the following steps:

[0134] The deviation value F is calculated using the following formula:

[0135]

[0136] Where w r is the weight value under the rth working condition; d is the number of working conditions tested; n is the length of the test data; i r,j,sim is the simulation value of the jth data point under the rth condition; i r,j,meas is the true value of the jth data point under the rth condition;

[0137] If the deviation value F is greater than the set value, the verification fails and the identification result is deemed invalid;

[0138] If the deviation value F is less than or equal to the set value, the verification is qualified and the identification result is deemed valid;

[0139] The smaller the deviation value F is, the better the identification result is.

[0140] The effects of the method of the present invention are further described below in conjunction with the embodiments:

[0141] First, for the same set of data, the method of the present invention is compared with the traditional particle swarm optimization algorithm and the traditional differential evolution algorithm. The identification results are shown in Table 1:

[0142] Table 1 Schematic diagram of identification results of different algorithms

[0143] Parameter name Particle Swarm Optimization Differential Evolution Algorithm Method of the present invention J 0.9728 0.9892 0.9944 D 76.8011 79.6451 74.1253 <![CDATA[k q ]]> 0.3652 0.3511 0.3393 <![CDATA[k pe ]]> 0.0711 0.0831 0.0598 <![CDATA[k ie ]]> 324.7414 342.3969 316.6629 Fitness value 1.5271 2.6328 1.0115

[0144] The comparison curve of the identification results of the excitation electromotive force E and the grid voltage phase difference θ is as follows: Figure 2 and Figure 3 As shown;

[0145] According to Table 1 and Figure 2 , Figure 3 It can be seen that compared with the traditional method, the method of the present invention has higher identification accuracy, stronger robustness of identification parameters and higher reliability.

[0146] like Figure 4 The functional module schematic diagram of the system of the present invention is shown as follows: the system of the control parameter identification method for realizing the VSG type energy storage system simulation model disclosed in the present invention comprises a data acquisition module, a parameter determination module, a parameter identification module and a parameter verification module; the data acquisition module, the parameter determination module, the parameter identification module and the parameter verification module are connected in series in sequence; the data acquisition module is used to acquire data information of the VSG type energy storage system, and upload the data information to the parameter determination module; the parameter determination module is used to establish a VSG type energy storage system simulation model according to the received data information, based on the VSG control principle and the acquired data information, select the control parameters to be identified, and upload the data information to the parameter identification module; the parameter identification module is used to identify the selected control parameters according to the received data information, based on the particle swarm optimization algorithm and the differential evolution algorithm, complete the control parameter identification of the VSG type energy storage system simulation model, and upload the data information to the parameter verification module; the parameter verification module is used to calculate the deviation between the simulation data and the real data of the VSG type energy storage system simulation model according to the received data information and the control parameters of the VSG type energy storage system simulation model obtained by identification, and complete the verification of the identification result.

Claims

1. A control parameter identification method for a VSG type energy storage system simulation model, comprising the following steps: S1. Obtain data information of the VSG energy storage system; S2. Based on the VSG control principle and the data information obtained in step S1, a VSG type energy storage system simulation model is established, and the control parameters to be identified are selected; S3. Based on the particle swarm optimization algorithm and the differential evolution algorithm, the control parameters selected in step S2 are identified to complete the control parameter identification of the VSG type energy storage system simulation model.

2. The control parameter identification method of the VSG type energy storage system simulation model according to claim 1, Features The following steps are also included: S4. According to the control parameters of the VSG type energy storage system simulation model obtained by identification, the deviation between the simulation data and the real data of the VSG type energy storage system simulation model is calculated to complete the verification of the identification result.

3. The control parameter identification method of the VSG type energy storage system simulation model according to claim 2, Features The deviation calculation between the simulation data and the real data of the VSG type energy storage system simulation model specifically includes the following steps: The deviation value F is calculated using the following formula: Where w r is the weight value under the rth working condition; d is the number of working conditions tested; n is the length of the test data; i r,j,sim is the simulation value of the jth data point under the rth condition; i r,j,meas is the true value of the jth data point under the rth condition; The verification of the identification result described above specifically includes the following steps: If the deviation value F is greater than the set value, the verification fails and the identification result is deemed invalid; If the deviation value F is less than or equal to the set value, the verification is qualified and the identification result is deemed valid; The smaller the deviation value F is, the better the identification result is.

4. The control parameter identification method of the VSG type energy storage system simulation model according to claim 1, Features The step S2 described in which a VSG type energy storage system simulation model is established based on the VSG control principle and the data information obtained in the step S1 specifically includes the following steps: The rotor equation controls the output of mechanical torque through the power difference, thereby adjusting the frequency; at the same time, the damping power is used to suppress power oscillation; it is expressed as: Where J is the virtual moment of inertia; w is the VSG output voltage angular frequency; w n is the rated frequency of the power grid; P ref is the active power reference value; P is the active power; D is the damping coefficient; θ is the phase difference between VSG and grid voltage; VSG reactive power control is a virtual excitation regulator, which uses bus voltage difference and reactive power difference as feedback to simulate the excitation system and obtain the VSG internal potential; it is expressed as: Where E is the VSG excitation electromotive force; Q ref is the reactive power reference value; Q is the reactive power; k q is the reactive voltage proportional coefficient; ΔU is the voltage difference; k pe is the reactive power ratio coefficient; k ie is the reactive power integral coefficient; U ref is the voltage reference value; U is the grid connection point voltage value; The step S2 of selecting the control parameter to be identified specifically includes the following steps: The selected control parameters to be identified include virtual moment of inertia J, damping coefficient D, reactive voltage proportional coefficient k q , reactive power ratio coefficient k pe and reactive power integral coefficient k ie .

5. The control parameter identification method of the VSG type energy storage system simulation model according to claim 4, Features The step S3 described in which the control parameters selected in step S2 are identified based on the particle swarm optimization algorithm and the differential evolution algorithm specifically includes the following steps: A. Initialize algorithm parameters for particle swarm optimization algorithm; B. Calculate the fitness value of each individual in the current population; C. Based on the particle swarm optimization algorithm, the position and speed of each particle are updated, and the optimal solution of the particle swarm population is obtained; at the same time, based on the differential evolution algorithm, each particle is mutated, the mutated particles are hybridized to produce offspring individuals, and the optimal solution of the differential evolution population is obtained; D. Merge the optimal solution of the particle swarm population obtained in step C with the optimal solution of the differential evolution population to obtain the current optimal solution of the population; E. Determine whether the set conditions are met: If the set conditions are met, the iteration is terminated, and the optimal value of the current population optimal solution obtained during the iteration process is used as the final output result to complete the identification of the control parameters selected in step S2; If the set conditions are not met, return to step B and proceed to the next round of iteration.

6. The control parameter identification method of the VSG type energy storage system simulation model according to claim 5, Features The updating of the position and velocity of each particle described in step C specifically includes the following steps: The particle speed is updated using the following formula: v s,k+1 =wv s,k +c 1 r 1 (x best,k -x s,k )+c 2 r 2 (x gbest -x s,k ) Where v s,k+1 is the particle velocity of particle s at the k+1th iteration; w is the inertia weight; v s,k is the particle velocity of particle s at the kth iteration; c 1 is the first learning factor; r 1 is the first random number, and its value range is [0,1]; x best,k is the optimal position of the individual particle in the kth iteration; x s,k is the individual position of particle s at the kth iteration; c 2 is the first learning factor; r 2 is the second random number, and its value range is [0,1]; x gbest The global optimal position of the particle corresponding to the current population optimal solution; The particle position is updated using the following formula: x s,k+1 =x s,k +v s,k+1 Where x s,k+1 is the individual position of particle s at the k+1th iteration.

7. The control parameter identification method of the VSG type energy storage system simulation model according to claim 6, Features The step C of mutating each particle and hybridizing the mutated particles to produce offspring individuals specifically includes the following steps: The following formula is used for mutation operation: h s,k+1 =x p1,k +F(x p2,k +x p3,k ) Where h s,k+1 is the particle position after particle s mutates in the k+1th iteration; x p1,k is the individual particle position of particle p1 at the kth iteration; x p2,k is the individual particle position of particle p2 at the kth iteration; x p3,k is the individual particle position of particle p3 at the kth iteration; F is the mutation factor; The following formula is used to perform binomial distribution crossover on the variant individuals to produce offspring individuals: Where l is the third random number, and its value range is [0,1]; CR is the crossover probability; In the selection operation, a greedy strategy is adopted: the generated offspring individuals are retained only when the fitness value of the generated offspring individuals is better than that of the parent individuals; otherwise, the generated offspring individuals are not retained and the parent individuals are retained.

8. The control parameter identification method of the VSG type energy storage system simulation model according to claim 7, Features The inertia weight specifically includes the following steps: The inertia weight w is calculated using the following formula: Where w min is the minimum value of inertia weight; w max is the maximum value of the inertia weight; α is the set control factor; k is the current number of iterations; M is the maximum number of iterations; w ave is the average value of inertia weight; The crossover probability specifically includes the following steps: The crossover probability CR is calculated using the following formula: Where CR max is the maximum value of the crossover probability; J s is the fitness value of the current particle s; J min is the minimum fitness value of the current population; J max is the maximum fitness value of the current population; CR min is the minimum crossover probability.

9. The control parameter identification method of the VSG type energy storage system simulation model according to claim 8, Features Step D, in which the particle swarm population optimal solution obtained in step C and the differential evolution population optimal solution are merged to obtain the current population optimal solution, specifically comprises the following steps: According to the optimal solution P of the particle swarm obtained in step C gbset And the optimal solution of differential evolution population D gbset , calculate the fitness value F of the optimal solution of the particle swarm population Pg And the fitness value of the optimal solution of the differential evolution population F Dg ; If F Dg <F Pg , then the optimal solution of the differential evolution population D gbset The particles in the swarm are sorted by fitness value, and the optimal solution P of the swarm is gbset The particles in are sorted by fitness value according to the same rule, and the fitness values ​​of each particle in the optimal solution of the two populations are compared in turn: If the optimal solution of the differential evolution population is D gbset The fitness value of the particle in is greater than the optimal solution P of the particle swarm gbset The particle fitness value in the differential evolution population is gbset The corresponding particles in the particle swarm replace the optimal solution P gbset The corresponding particles in If the optimal solution of the differential evolution population is D gbset The fitness value of the particle in is less than or equal to the optimal solution P of the particle swarm gbset If the particle fitness value in is not large, no replacement will be performed; If F Dg ≥F Pg , then directly take the optimal solution of the particle swarm population P gbset Replaced with the optimal solution D of the differential evolution population gbset ; The final particle swarm population optimal solution is taken as the current population optimal solution.

10. A system for implementing the control parameter identification method of the VSG type energy storage system simulation model according to any one of claims 1 to 9, Features It includes a data acquisition module, a parameter determination module, a parameter identification module and a parameter verification module; the data acquisition module, the parameter determination module, the parameter identification module and the parameter verification module are connected in series in sequence; the data acquisition module is used to acquire data information of the VSG type energy storage system, and upload the data information to the parameter determination module; the parameter determination module is used to establish a simulation model of the VSG type energy storage system according to the received data information, based on the VSG control principle and the acquired data information, select the control parameters to be identified, and upload the data information to the parameter identification module; The parameter identification module is used to identify the selected control parameters based on the received data information, based on the particle swarm optimization algorithm and the differential evolution algorithm, complete the control parameter identification of the VSG type energy storage system simulation model, and upload the data information to the parameter verification module; The parameter verification module is used to calculate the deviation between the simulation data and the real data of the VSG type energy storage system simulation model according to the received data information and the control parameters of the VSG type energy storage system simulation model obtained by identification, so as to complete the verification of the identification results.

Citation Information

Cited By

  • Method, device and equipment for analyzing electrostatic protection characteristics of TVS (Transient Voltage Suppressor)

    CN119294266A

  • Method, device and equipment for analyzing electrostatic protection characteristics of TVS tube

    CN119294266B

  • Control parameter identification method and system of energy storage grid-connected converter

    CN119482586A

  • Variable working condition parameter identification method for steam turbine speed regulating system

    CN120373132A

  • Method, device and equipment for identifying fault parameters of energy storage system under extreme weather and medium

    CN120629972A