A parameter optimization method for cooperative control of diesel generator sets and energy storage inverters

Through Hamiltonian model and simulation analysis, the problem of collaborative control parameter optimization of diesel generator sets and energy storage inverters in an isolated grid system has been solved, the frequency stability and load fluctuation response capabilities of the system have been improved, and the diesel generator set and energy storage inverter have been realized. Optimal combination of collaborative control parameters of the inverter.

CN115347611BActive Publication Date: 2024-09-27KUNMING UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211043816.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-29
Publication Date
2024-09-27
Estimated Expiration
2042-08-29

AI Technical Summary

Technical Problem

In isolated power grids and distributed power supply networks, the parameter optimization problem of cooperative control of diesel generator sets and energy storage inverters is difficult, especially how to improve the stability and frequency stability of the system during the transient impact caused by load fluctuations. is a difficult problem.

Method used

The Hamiltonian model is used for system modeling. Through the correction of the antisymmetric structure matrix and the symmetric damping matrix, combined with simulation analysis and optimization, the cooperative control parameters of the diesel generator set and the inverter are determined, and the damping matrix is ​​corrected to improve the system stability. .

Benefits of technology

Through the method of Hamiltonian model and simulation analysis, the difficulty of parameter optimization during cooperative control of diesel generator sets and inverters has been successfully solved, and the frequency stability and load fluctuation response capabilities of the isolated grid system have been improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0003821191070000121
    Figure BDA0003821191070000121
  • Figure BDA0003821191070000067
    Figure BDA0003821191070000067
  • Figure FDA0005013288690000015
    Figure FDA0005013288690000015
Patent Text Reader

Abstract

The present invention discloses a method for optimizing the coordinated control parameters of a diesel generator set and an energy storage inverter. First, the Hamiltonian models of various components in an isolated grid system are aggregated, and on this basis, additional control is added and the damping matrix parameters in the additional control are set. The approximate optimal range of a device parameter is found through a single variable method, and the optimal range of other device parameters is further found through a two-variable simulation method, so as to obtain the optimal coordinated control range of the parameters. The method of the present invention avoids the difficulty of theoretical optimization calculation of complex systems and has the advantages of simplicity and practicality. The present invention is also applicable to other new energy distributed power supply systems with similar structures.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of microgrid control, and specifically is a method for optimizing coordinated control parameters of a diesel generator set and an energy storage inverter. Background Art

[0002] With the development of new energy, distributed power supply networks and isolated power supply modes are becoming more and more popular. It is a good acceptance mode for new energy with strong dispersion, volatility and unpredictability. This type of power supply network often also includes power sources such as diesel generators and energy storage batteries, which play a role in smoothing the volatility characteristics of new energy. Inverters are indispensable components. In the operation of isolated power supply networks and distributed power supply networks, ensuring frequency stability is the key to ensuring normal power supply, and it is also a difficult problem. Cooperative control can effectively improve the stability of distributed power grids including isolated power systems, especially in transient shocks caused by load fluctuations. However, one of the difficulties of cooperative control is the optimization of control parameters, which requires better optimization to find better parameters. Summary of the invention

[0003] In view of the above problems, the present invention proposes a method for optimizing the coordinated control parameters of a diesel generator set and an inverter in an isolated power supply system including a diesel generator set, an inverter and an asynchronous motor load.

[0004] The parameter optimization method of the present invention is based on the Hamiltonian model of the control object. The unified form of the Hamiltonian model is:

[0005]

[0006] Where: H is the Hamiltonian function; J(y) is the antisymmetric structure matrix; R(y) is the symmetric damping matrix; g(y) is the input channel matrix; u is the input control matrix;

[0007] The specific steps of the present invention are as follows:

[0008] Step 1: System model collection

[0009] First, the Hamiltonian model of each component in the power supply system is given:

[0010] (1) Hamiltonian model of diesel generator set

[0011]

[0012] In the above formula, J C (y) is the structural matrix of the diesel generator set, which is an antisymmetric matrix, namely J C (y) = -J C T (y); R C(y) is the damping matrix of the diesel generator set, which is a symmetric matrix, namely R C (y) = R C T (y); g C (y) is the input channel matrix of the diesel generator set; u C is the input control matrix of the diesel generator set; H C is the Hamiltonian function of the diesel generator set, which is expressed as follows:

[0013]

[0014] Where: y = [y1 y2 y3 y4 y5], y1, y2, y3, y4, y5 are the variables of the diesel generator set, y1 is the displacement of the diesel engine actuator; y2 is the actuator movement speed; y3 is the relative value of the generator angular velocity, y3 = Δω = ω-1, ω is the angular velocity; y4 is the generator power angle δ, rad; y5 is the generator q-axis transient potential E q '; All the variables without units are standard values;

[0015] In the above formula (2), the other parameters are as follows: is the actuator mass; is the diesel engine actuator parameter; U s is the bus voltage; X d∑ and x′ d are the generator d-axis equivalent reactance and synchronous reactance respectively; X d∑ ′ is the equivalent synchronous reactance of the generator d axis; X q∑ and X q is the q-axis equivalent reactance and synchronous reactance; X f is the reactance of the generator excitation winding; X ad is the generator d-axis armature reaction reactance, T j is the generator inertia time parameter, all the above parameters are in standard value; ω B is the base value of the rotor angular velocity, ω B =314.15rad / s; In formula (1):

[0016]

[0017]

[0018]

[0019]

[0020] The parameters in the above three matrices are described as follows:

[0021] is the equivalent stiffness coefficient of diesel engine actuator; is the controller parameter; is the diesel engine torque parameter; and is the diesel engine structural parameter; x nl is the no-load displacement of the diesel engine; T d0 ' is the generator time parameter; is the input of the actuator; E f is the excitation potential of the generator; D is the equivalent damping coefficient of the generator; the above parameters are all standard values;

[0022] (2) Inverter Hamiltonian model

[0023] The inverter is an adjustable power source and adopts a virtual generator model, whose Hamiltonian function is:

[0024]

[0025] In the above formula, x is the variable matrix of the inverter virtual generator; H LB is the inverter Hamiltonian function, J LB (x) is the inverter virtual generator structure matrix; R LB (x) is the inverter virtual generator damping matrix; g LB (x) is the inverter virtual generator input channel matrix; u LB Enter the control matrix for the inverter virtual generator.

[0026] H LB The expression is as follows:

[0027]

[0028] Where: x = [x1 x2 x3 x4 x5] is the variable of the inverter, x1 is the power angle of the virtual generator of the inverter Unit: rad; x2 is the angular velocity ω of the virtual generator of the inverter, x2=ω; x3 is the stator d-axis current i of the virtual generator of the inverter d , x3=i d ; x4 is the q-axis current of the virtual generator stator of the inverter, x4=i q ; x5 is the increment of the rotor internal potential ΔE of the inverter virtual generator, x5=ΔE=E-E0, E is the internal potential, E0 is the initial value of the internal potential; T B is the inertia time constant of the inverter virtual generator; X L and X C is the standard reactance of the inverter AC side inductance and capacitance converted to d and q coordinates; T E is the time constant of the excitation system; u tis the output terminal voltage; the above quantities without units specified are taken as standard values;

[0029] The matrix in formula (3) is as follows:

[0030]

[0031]

[0032]

[0033]

[0034] The parameters in the above matrix are described as follows:

[0035] ω B is the base value of the rotor angular velocity of the inverter virtual generator, ω B =314.15rad / s;ω ref D is the angular velocity reference value of the virtual generator of the inverter; LB is the inverter virtual generator damping coefficient; b p is the active power droop coefficient; b Q is the reactive droop coefficient; R is the stator winding resistance per phase; p ref Q is the active reference value of the virtual generator of the inverter; ref K is the virtual reactive power reference value of the inverter; E is the inverter virtual generator excitation gain coefficient; Z Q is the intermediate calculated value, ω in u is the angular velocity input control variable of the inverter virtual generator; tin Input control voltage for inverter virtual generator;

[0036] (3) Hamiltonian model of asynchronous motor

[0037] The asynchronous motor is modeled as an induction motor, which consists of a stator and a rotor. Its Hamiltonian model is:

[0038]

[0039] In the above formula, z is the variable matrix of the asynchronous motor; H D is the Hamiltonian function of the asynchronous motor, J D (z) is the asynchronous motor structure matrix; R D (z) is the damping matrix of the asynchronous motor; g D (z) is the input channel matrix; u D is the input control matrix.

[0040] Hamiltonian function H of asynchronous motor D The expression is:

[0041]

[0042] Where: z = [z1 z2 z3], z1 is the motor rotor angular velocity ω r , z1=ω r ; z2 is the transient voltage v′ of the motor rotor d axis d , z2=v′ d ; z3 is the transient voltage v′ of the motor q axis q , z3=v′ q ; T j is the motor inertia time constant; i ds 、i qs are the stator d-axis and q-axis winding currents respectively; X s , X′ s are stator winding reactance and transient reactance respectively; ω s is the stator angular velocity of the motor; all the above quantities are standard values.

[0043] The structure and damping matrix in equation (5) is:

[0044]

[0045]

[0046]

[0047]

[0048] in: R s is the stator resistance; ω B is the motor angular velocity base value, ω B =314.15rad / s; T'0 is the transient open circuit time constant of the motor, seconds; u s is the standard value of the motor output voltage; ω s is the angular velocity standard value of the motor stator.

[0049] (4) Model Collection

[0050] Combining the Hamiltonian models of the above three components will result in a 13th-order complex system model. Due to the complexity of the matrix, a block matrix is ​​used here, as shown in the following formula, where the subscript C represents the diesel generator state variable, the subscript LB represents the inverter virtual generator state variable, and the subscript D represents the motor state variable;

[0051]

[0052] Among them, u CIt is the control input of diesel generator set; u LB It is the inverter virtual generator control input; u D For motor control input.

[0053] Formula (7) can be expressed in standard form as:

[0054]

[0055] The Hamiltonian function H of the overall isolated grid system is:

[0056] H=H C +H LB +H D (9)

[0057] In formula (5), x = [x C x LB x D ] T ; g=[g C (x C ) LB (x LB ) D (x D )] T ; u=[u C u LB u D ] T .

[0058] Step 2: Set additional control parameters

[0059] The unified expression of the Hamiltonian equation for each component given in step 1 is as follows:

[0060]

[0061] Apply additional control α to system (8). Suppose the control of the system after adding the additional control α is w, then w=u+α.

[0062] According to the Hamiltonian structure modification theory, let J a (x) is the antisymmetric structure correction matrix, R a (x) is the symmetric damping correction matrix, and the corrected structural matrix is ​​J d (x), the damping matrix is ​​R d (x), that is: J d (x) = J(x) + J a (x), R d (x) = R(x) + R a (x), then the Hamiltonian system (8) is equivalently transformed into:

[0063]

[0064]

[0065]

[0066] The above formula α is the expression of the additional control applied to the model (10) in the unified form, that is, the additional control law. Applying the above conclusions, additional control is added to the model (7) of the overall isolated grid system given in step 1, and the control expression is also as formula (13), where the additional control is obtained by setting the damping correction matrix R a Implementation, without considering the modification of the structure matrix, so let J a =0.

[0067] Assume that the damping correction matrix R of the additional control implemented on the isolated grid system is a for:

[0068]

[0069] In the above formula, the subscript α-C represents the additional control implemented on the diesel generator set; α-LB represents the additional control implemented on the inverter; α-D represents the additional control implemented on the asynchronous motor. The present invention only corrects the damping matrix and does not perform additional control on the motor of the load.

[0070] Select the damping correction matrix as follows:

[0071]

[0072] Where: R a-C is the damping correction matrix of the diesel generator set; R a-LB is the inverter damping correction matrix; R a-D is the damping correction matrix of the asynchronous motor;

[0073] Step 3: Control law calculation

[0074] According to the additional control α given by equation (12), the model (1) and Hamiltonian function (9) of the diesel generator set can be substituted to obtain the control as follows:

[0075]

[0076] Similarly, by substituting the inverter model (3) and Hamiltonian function (9) into the expression (12) of the additional control α, the additional control of the inverter can be calculated as follows:

[0077]

[0078] Where: A = p ref+(D+b p )ω ref , Other symbols have been explained above.

[0079] Step 4: Additional control parameter optimization method

[0080] The obtained additional controls (14) and (15) of the diesel generator set and inverter are combined and written into a matrix form as follows:

[0081]

[0082] The above formula is the control law of the additional control. Since the overall model is 13th order, mathematical derivation is used to find r C and r LB It will be very difficult to find the optimal value of . The present invention proposes to use a simulation method to find the optimal value. The specific steps are as follows:

[0083] (1) Use the univariate method to determine one of the parameter ranges;

[0084] The positive peak and reverse peak of the first cycle of the bus frequency change curve are called the first peak curve and the first peak valley curve respectively. Using the single variable method, given r LB =a, calculate and select r C = [bc], where a, b, c are any rational numbers. Simulate and calculate the first peak curve and the first peak-valley curve of the bus frequency, and observe whether the minimum value of the first peak curve of the bus frequency and the maximum value of the first peak-valley curve are included in them. If so, the minimum and maximum values ​​represent the minimum values ​​of the positive and reverse oscillation of the bus frequency amplitude. If not, a larger r is given again. C range until these two values ​​appear, then read the r corresponding to the two extreme values C The interval is set to r C =[mn], m and n are rational numbers;

[0085] (2) Use the two-variable method to simulate and determine the optimal combination of parameters

[0086] Using the bivariate method, take the r obtained in step 1 C = [mn], take r LB =[de], d and e are rational numbers, and further simulation obtains r C -r LB - first peak, r C -r LB - The first two three-dimensional graphs of the peak and valley, according to the requirements of the distributed power grid (isolated power grid also follows this standard) for the bus frequency fluctuation index, find the interval in the two three-dimensional graphs that satisfies the bus frequency below the fluctuation index requirements, then the corresponding r C and rLB The union of the intervals is the optimal combination of collaborative control parameters.

[0087] The beneficial effects of the present invention are:

[0088] The paper solves the difficulty of theoretically deriving the optimal combination of control parameters when the diesel generator set and the inverter are coordinated in an isolated grid composed of a diesel generator set, an inverter and a load, and provides a method for finding the optimal combination through simulation analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0089] Figure 1 Isolated grid system operation diagram;

[0090] Figure 2 Peak-to-valley and peak-to-peak variation curves of bus frequency;

[0091] Figure 3 Three-dimensional variation diagram of the first peak value of bus frequency;

[0092] Figure 4 Three-dimensional variation diagram of the first peak-to-valley value of bus frequency. DETAILED DESCRIPTION

[0093] The present invention will be further described below in conjunction with specific embodiments.

[0094] Example 1

[0095] This embodiment is aimed at Figure 1 The system structure shown in the figure includes a diesel generator set, an inverter and an asynchronous motor. The specific steps of the parameter optimization method are as follows:

[0096] Step 1: System model collection

[0097] Firstly, the Hamiltonian model of each component in the power supply system is given.

[0098] (1) Hamiltonian model of diesel generator set

[0099]

[0100] In the above formula, J C (y) is the structural matrix of the diesel generator set, which is an antisymmetric matrix, namely J C (y) = -J C T (y); R C (y) is the damping matrix of the diesel generator set, which is a symmetric matrix, namely R C (y) = R C T (y); g C (y) is the input channel matrix of the diesel generator set; u C is the input control matrix of the diesel generator set; HC is the Hamiltonian function of the diesel generator set, which is expressed as follows:

[0101]

[0102] Where: y = [y1 y2 y3 y4 y5], y1, y2, y3, y4, y5 are the variables of the diesel generator set, y1 is the displacement of the diesel engine actuator; y2 is the actuator movement speed; y3 is the relative value of the generator angular velocity, y3 = Δω = ω-1, ω is the angular velocity; y4 is the generator power angle δ, rad; y5 is the generator q-axis transient potential E q '; All the variables without units are standard values;

[0103] In the above formula (2), the other parameters are as follows: is the actuator mass; is the diesel engine actuator parameter; U s is the bus voltage; X d∑ and x′ d are the generator d-axis equivalent reactance and synchronous reactance respectively; X d∑ ′ is the equivalent synchronous reactance of the generator d axis; X q∑ and X q is the q-axis equivalent reactance and synchronous reactance; X f is the reactance of the generator excitation winding; X ad is the generator d-axis armature reaction reactance, T j is the generator inertia time parameter, all the above parameters are in standard value; ω B is the base value of the rotor angular velocity, ω B =314.15, rad / s; In formula (1):

[0104]

[0105]

[0106]

[0107] The parameters in the above three matrices are described as follows:

[0108] is the equivalent stiffness coefficient of diesel engine actuator; is the controller parameter; is the diesel engine torque parameter; and is the diesel engine structural parameter; x nl is the no-load displacement of the diesel engine; T d0 ' is the generator time parameter; is the input of the actuator; E fis the excitation potential of the generator; D is the equivalent damping coefficient of the generator; the above parameters are all standard values;

[0109] (2) Inverter Hamiltonian model

[0110] The inverter adopts a virtual generator model, and its Hamiltonian function is:

[0111]

[0112] In the above formula, H LB is the inverter Hamiltonian function, J LB (x) is the inverter virtual generator structure matrix; R LB (x) is the inverter virtual generator damping matrix; g LB (x) is the inverter virtual generator input channel matrix; u LB is the input control matrix of the inverter virtual generator; x is the variable matrix of the inverter virtual generator.

[0113] H LB The expression is as follows:

[0114]

[0115] Where: x = [x1 x2 x3 x4 x5] is the variable of the inverter, x1 is the power angle of the virtual generator of the inverter Unit: rad; x2 is the angular velocity ω of the virtual generator of the inverter, x2=ω; x3 is the stator d-axis current i of the virtual generator of the inverter d , x3=i d ; x4 is the q-axis current of the virtual generator stator of the inverter, x4=i q ; x5 is the increment of the rotor internal potential ΔE of the inverter virtual generator, x5=ΔE=E-E0, E is the internal potential, E0 is the initial value of the internal potential; T B is the inertia time constant of the inverter virtual generator; X L and X C is the standard reactance of the inverter AC side inductance and capacitance converted to d and q coordinates; T E is the time constant of the excitation system; u t is the output terminal voltage; the above quantities without units specified are taken as standard values;

[0116] The matrix in formula (3) is as follows:

[0117]

[0118]

[0119]

[0120] The parameters in the above matrix are described as follows:

[0121] ω B is the base value of the rotor angular velocity of the inverter virtual generator, ω B =314.15, rad / s; ω ref D is the angular velocity reference value of the virtual generator of the inverter; LB is the inverter virtual generator damping coefficient; b p is the active power droop coefficient; b Q is the reactive droop coefficient; R is the stator winding resistance per phase; p ref Q is the active reference value of the virtual generator of the inverter; ref K is the virtual reactive power reference value of the inverter; E is the inverter virtual generator excitation gain coefficient; Z Q is the intermediate calculated value, ω in u is the angular velocity input control variable of the inverter virtual generator; tin Input control voltage for inverter virtual generator;

[0122] (3) Hamiltonian model of asynchronous motor

[0123] The asynchronous motor is modeled as an induction motor, and its Hamiltonian model is:

[0124]

[0125] In the above formula, H D is the Hamiltonian function of the asynchronous motor, J D (z) is the asynchronous motor structure matrix; R D (z) is the damping matrix of the asynchronous motor; g D (z) is the input channel matrix; u D is the input control matrix; z is the asynchronous motor variable matrix.

[0126] Hamiltonian function H of asynchronous motor D The expression is:

[0127]

[0128] Where: z = [z1 z2 z3], z1 is the motor rotor angular velocity ω r , z1=ω r ; z2 is the transient voltage v′ of the motor rotor d axis d , z2=v′ d ; z3 is the transient voltage v′ of the motor q axis q , z3=v′ q ; T jis the inertia time constant of the motor; i ds 、i qs are the stator d-axis and q-axis winding currents respectively; X s , X′ s are stator winding reactance and transient reactance respectively; ω s is the stator angular velocity of the motor; all the above quantities are standard values.

[0129] The structure and damping matrix in equation (5) is:

[0130]

[0131]

[0132]

[0133] in: R s is the stator resistance; ω B is the base value of the motor angular velocity, ω B =314.15, rad / s; T′0 is the transient open circuit time constant, seconds; u s is the standard value of the motor output voltage; ω s is the angular velocity standard value of the motor stator.

[0134] (4) Model Collection

[0135] Combining the Hamiltonian models of the above three components will result in a 13th-order system model, which is represented by a block matrix as shown below, where the subscript C represents the diesel generator set state variable, the subscript LB represents the inverter virtual generator state variable, and the subscript D represents the motor state variable.

[0136]

[0137] In standard form:

[0138]

[0139] The Hamiltonian function H of the overall isolated grid system is:

[0140] H=H C +H LB +H D (9)

[0141] u C It is the diesel generator control input; u LB It is the inverter virtual generator control input; u D For motor control input.

[0142] Step 2: Set additional control parameters

[0143] The unified expression of the Hamiltonian equation for each component given in step 1 is as follows:

[0144]

[0145] Apply additional control α to system (8). Suppose the control of the system after adding the additional control α is w, then w=u+α.

[0146] According to the Hamiltonian structure modification theory, let J a (x) is the antisymmetric structure correction matrix, R a (x) is the symmetric damping correction matrix, and the corrected structural matrix is ​​J d (x), the damping matrix is ​​R d (x), that is: J d (x) = J(x) + J a (x), R d (x) = R(x) + R a (x), then the Hamiltonian system (8) is equivalently transformed into:

[0147]

[0148]

[0149]

[0150] The above formula is an expression for additional control α.

[0151] Add additional control to the model (7) of the overall isolated grid system given in step 1. The control expression is as shown in equation (12). The additional control is achieved by setting the damping correction matrix R a Realize, and let J a =0.

[0152] Assume that the damping correction matrix R of the additional control implemented on the isolated grid system is a for:

[0153]

[0154] In the above formula, the subscript α-C represents the additional control implemented on the diesel generator set; α-LB represents the additional control implemented on the inverter; α-D represents the additional control implemented on the asynchronous motor. The present invention only corrects the damping matrix and does not perform additional control on the motor of the load.

[0155] Select the damping correction matrix as follows:

[0156]

[0157] Where: Ra-C is the damping correction matrix of the diesel generator set; R a-LB is the inverter virtual generator damping correction matrix; R a-D is the damping correction matrix of the asynchronous motor;

[0158] Step 3: Control law calculation

[0159] According to the additional control α given by equation (12), the model (1) and Hamiltonian function (9) of the diesel generator set can be substituted to obtain the control as follows:

[0160]

[0161] Similarly, by substituting the inverter model (3) and Hamiltonian function (9) into the expression (12) of the additional control α, the additional control of the inverter can be calculated as follows:

[0162]

[0163] Where: A = p ref +(D+b p )ω ref , Other symbols have been explained above and will not be repeated here.

[0164] Step 4: Additional control parameter optimization method

[0165] The obtained additional control sets of diesel generator sets and inverters are put together and written in matrix form:

[0166]

[0167] The above formula is the control law of the additional control. Since the overall model is 13th order, mathematical derivation is used to find r C and r LB It will be very difficult to determine the optimal value of , and the present invention proposes to use a simulation method to find the optimal value.

[0168] Example 2

[0169] Given the isolated grid system parameters: diesel generator rated power 1250kW, rated speed n = 1500r / min, generator pole number p = 2, generator damping coefficient D = 2.1753; inverter virtual generator damping coefficient D LB =2; Active power droop coefficient b P =10, reactive power droop coefficient b Q =-35;

[0170] Given the initial operating conditions of the isolated grid system: the diesel generator set carries an active load of 0.8pu, of which the active power of the load motor is 0.7pu, and other static loads are 0.1pu. One motor is put into operation at t=0.5s.

[0171] (1) Use the univariate method to determine one of the parameter ranges;

[0172] The positive peak and reverse peak of the first cycle of the bus frequency change curve are called the first peak curve and the first peak valley curve respectively. Using the single variable method, given r LB =a, calculate and select r C = [bc], where a, b, c are any rational numbers. Simulate and calculate the first peak curve and the first peak-valley curve of the bus frequency, and observe whether the minimum value of the first peak curve of the bus frequency and the maximum value of the first peak-valley curve are included in them. If so, the maximum and minimum values ​​represent the minimum values ​​of the positive and reverse oscillation of the bus frequency amplitude. If not, a larger r is given again. C range until these two values ​​appear, then read the r corresponding to the two extreme values C The interval is set to r C =[mn], m and n are rational numbers;

[0173] (2) Use the two-variable method to simulate and determine the optimal combination of parameters

[0174] Using the bivariate method, take the r obtained in step 1 C = [mn], take r LB =[de], d and e are rational numbers, and further simulation obtains r C -r LB - first peak, r C -r LB - The first two three-dimensional graphs of the peak and valley, according to the requirements of the distributed power grid (isolated power grid also follows this standard) for the bus frequency fluctuation index, find the interval in the two three-dimensional graphs that satisfies the bus frequency below the fluctuation index requirements, then the corresponding r C and r LB The union of the intervals is the optimal combination of collaborative control parameters.

[0175] The specific parameter simulation optimization method is:

[0176] (1) Use the univariate method to determine one of the parameters r LB scope;

[0177] The maximum and minimum values ​​of the first cycle defining the bus frequency variation curve are called the first peak curve and the first peak-valley curve, respectively.

[0178] First, using the univariate method, given r LB =50, select rC = [0 25], simulate the first peak value and the first peak-valley curve of the bus frequency, and observe whether the minimum value of the first peak value curve of the bus frequency and the maximum value of the first peak-valley curve are included in it. The minimum and maximum values ​​represent the minimum values ​​of the positive and reverse directions of the bus frequency amplitude oscillation. If the two extreme values ​​are not included, a larger r is given again. C range until an extreme value appears, Figure 2 In the figure, the horizontal coordinate r corresponding to the extreme value is C Between 10 and 15.

[0179] (2) Use the two-variable method to simulate and determine the parameter r LB and r C Optimized combination

[0180] Based on step (1), the bivariate method is used to take the r obtained in step 1 C = [0 15], the range is expanded here to find the optimal parameter combination more quickly, taking r LB =[-100 100], simulation obtains r C -r LB - first peak, r C -r LB -Two 3D images of the first peak and valley, e.g. Figure 3 and Figure 4 , if the frequency fluctuation index is limited to 0.1%, then Figure 3 The minimum value interval and Figure 4 The r corresponding to the maximum value interval within the volatility index C and r LB The union of is the optimal combination of cooperative control parameters. C =[10 12], r LB =[-50 100], from the results, r LB The allowed range is relatively wide, which also indicates that r LB The impact is relatively C Small.

[0181] So the optimal parameter of cooperative control is: C =[10 12], r LB =[-50 100], that is, this range is the optimal parameter combination for collaborative control.

Claims

1. A method for optimizing the coordinated control parameters of a diesel generator set and an energy storage inverter, characterized in that: First, the Hamiltonian model of each component of the isolated grid system is assembled, additional control is implemented based on the model and the damping matrix parameters of the additional control are set, and the optimal combination of the coordinated control parameters is obtained through single-variable and double-variable simulation methods; specifically, the following steps are included: Step 1: System model collection (1) Hamiltonian model of diesel generator set In the above formula, J C (y) is the structure matrix of the diesel generator set; R C (y) is the damping matrix of the diesel generator set; g C (y) is the input channel matrix of the diesel generator set; u C Input control matrix for diesel generator set; H C is the Hamiltonian function of the diesel generator set, which is expressed as follows: Where: y = [y1 y2 y3 y4 y5], y1 is the displacement of the diesel engine actuator; y2 is the actuator movement speed; y3 is the relative value of the generator angular velocity, that is, y3 = Δω = ω-1, ω is the angular velocity; y4 is the generator power angle δ, rad; y5 is the generator q-axis transient potential E q '; The variables without units are all standard values; is the actuator mass; is the diesel engine actuator parameter; U s is the bus voltage; X d∑ and x′ d are the generator d-axis equivalent reactance and synchronous reactance respectively; X d∑ ′ is the equivalent synchronous reactance of the generator d axis; X q∑ and X q is the q-axis equivalent reactance and synchronous reactance; X f is the reactance of the generator excitation winding; X ad is the generator d-axis armature reaction reactance, T j is the generator inertia time parameter, all the above parameters are in standard value; ω B is the base value of the rotor angular velocity, ω B =314.15rad / s; In formula (1): The parameters in the above three matrices are described as follows: is the equivalent stiffness coefficient of diesel engine actuator; is the controller parameter; is the diesel engine torque parameter; and is the diesel engine structural parameter; x nl is the no-load displacement of the diesel engine; T d0 ' is the generator time parameter; is the input of the actuator; E f is the excitation potential of the generator; D is the equivalent damping coefficient of the generator; the above parameters are all standard values; (2) Inverter Hamiltonian model The inverter adopts a virtual generator model, and its Hamiltonian function is: In the above formula, x is the variable matrix of the inverter virtual generator; H LB is the inverter Hamiltonian function, J LB (x) is the inverter virtual generator structure matrix; R LB (x) is the inverter virtual generator damping matrix; g LB (x) is the inverter virtual generator input channel matrix; u LB Input control matrix for inverter virtual generator; H LB The expression is as follows: Where: x = [x1 x2 x3 x4 x5] is the variable of the inverter, x1 is the power angle φ of the virtual generator of the inverter, Unit: rad; x2 is the angular velocity ω of the virtual generator of the inverter, x2=ω; x3 is the stator d-axis current i of the virtual generator of the inverter d , x3=i d ; x4 is the q-axis current of the virtual generator stator of the inverter, x4=i q ; x5 is the increment of the rotor internal potential ΔE of the inverter virtual generator, x5=ΔE=E-E0, E is the internal potential, E0 is the initial value of the internal potential; T B is the inertia time constant of the inverter virtual generator; X L and X C is the standard reactance of the inverter AC side inductance and capacitance converted to d and q coordinates; T E is the time constant of the excitation system; u t is the output terminal voltage; the above quantities without units specified are taken as standard values; In formula (3): The parameters in the above matrix are described as follows: ω B is the base value of the rotor angular velocity of the inverter virtual generator, ω B =314.15rad / s;ω ref D is the angular velocity reference value of the virtual generator of the inverter; LB is the inverter virtual generator damping coefficient; b p is the active power droop coefficient; b Q is the reactive power droop coefficient; R is the stator winding resistance per phase; p ref Q is the active reference value of the virtual generator of the inverter; ref K is the virtual reactive power reference value of the inverter; E is the inverter virtual generator excitation gain coefficient; Z Q is the intermediate calculated value, ω in u is the angular velocity input control variable of the virtual generator of the inverter; tin Input control voltage for inverter virtual generator; (3) Hamiltonian model of asynchronous motor The asynchronous motor is modeled as an induction motor, and its Hamiltonian model is: In the above formula, z is the variable matrix of the asynchronous motor; H D is the Hamiltonian function of the asynchronous motor, J D (z) is the asynchronous motor structure matrix; R D (z) is the damping matrix of the asynchronous motor; g D (z) is the input channel matrix; u D is the input control matrix; Hamiltonian function H of asynchronous motor D The expression is: Where: z = [z1 z2 z3], z1 is the motor rotor angular velocity ω r , z1=ω r ; z2 is the transient voltage v of the motor rotor d axis d ′, z2=v d ′; z3 is the transient voltage v of the motor q axis q ′, z3=v q ′;T j is the motor inertia time constant; i ds 、i qs are the stator d-axis and q-axis winding currents respectively; X s , X s ′ are stator winding reactance and transient reactance respectively; ω s is the stator angular velocity of the motor; all the above quantities are standard values; In formula (5): in: R s is the stator resistance; ω B is the motor angular velocity base value, ω B =314.15rad / s; T'0 is the transient open circuit time constant of the motor, seconds; u s is the standard value of the motor output voltage; ω s is the standard value of the motor stator angular velocity; (4) Model Collection The Hamiltonian models of the above three components are combined to obtain a 13th-order system model, which is represented by a block matrix as follows, where the subscript C represents the diesel generator state variable, the subscript LB represents the inverter virtual generator state variable, and the subscript D represents the motor state variable; Where: u C It is the control input of diesel generator set; u LB It is the inverter virtual generator control input; u D It is the motor control input; (7) is expressed in standard form as: The Hamiltonian function H of the overall isolated grid system is: H=H C +H LB +H D (9) Step 2: Set additional control parameters Apply additional control α to system (8). Suppose the control of the system after adding the additional control α is w, then w = u + α. According to the Hamiltonian structure modification theory, let J a (x) is the antisymmetric structure correction matrix, R a (x) is the symmetric damping correction matrix, and the corrected structural matrix is ​​J d (x), the damping matrix is ​​R d (x), that is: J d (x) = J(x) + J a (x), R d (x) = R(x) + R a (x), then the Hamiltonian system (8) is equivalently transformed into: The above formula α is the expression of the additional control applied, that is, the control law; Additional control is achieved by setting the matrix R a and J a To achieve, the damping matrix R in equation (12) a for: In the above formula, the subscript α-C represents the additional control implemented on the diesel generator set; α-LB represents the additional control implemented on the inverter; α-D represents the additional control implemented on the asynchronous motor. Let J a =0; Select the damping correction matrix as follows: Where: R a-C is the damping correction matrix of the diesel generator set; R a-LB is the inverter virtual generator damping correction matrix; R a-D is the damping correction matrix of the asynchronous motor; Step 3: Control law calculation According to the additional control α given by equation (12), the model (1) and Hamiltonian function (9) of the diesel generator set are substituted into the calculation to obtain the control as follows: Similarly, substituting the inverter model (3) and Hamiltonian function (9) into the expression (12) of the additional control α, the additional control of the inverter is calculated as follows: In formula (14): A = p ref +(D+b p )ω ref , The other symbols have been explained above; Step 4: Optimization process The obtained additional controls (13) and (14) of the diesel generator set and inverter are combined and written into a matrix form as follows: The specific steps of the optimization process are as follows: (1) Use the univariate method to determine one of the parameter ranges The positive peak and reverse peak curves of the first cycle of the bus frequency change curve are called the first peak and the first peak valley respectively. Using the single variable method, given r LB =a, calculate and select r C = [bc], where a, b, c are any rational numbers. Simulate and calculate the first peak curve and the first peak-valley curve of the bus frequency, and observe whether the minimum value of the first peak curve of the bus frequency and the maximum value of the first peak-valley curve are included in them. If so, the minimum and maximum values ​​represent the minimum values ​​of the positive and reverse oscillation of the bus frequency amplitude. If not, a larger r is given again. C range until these two values ​​appear, then read the r corresponding to the two extreme values C The interval is set to r C =[mn], m and n are rational numbers; (2) Use the two-variable method to simulate and determine the optimal combination of parameters Using the bivariate method, take the r obtained in step (1) C = [mn], take r LB =[de], d and e are rational numbers, and further simulation obtains r C -r LB - first peak, r C -r LB - The first two three-dimensional graphs of the peak and valley, according to the requirements of the distributed power grid for the bus frequency fluctuation index, find the interval in the two three-dimensional graphs that satisfies the bus frequency below the fluctuation index requirements, then the corresponding r C and r LB The union of the intervals is the optimal combination of collaborative control parameters.