Microgrid distributed control method and system based on multiple processes
By adopting a multi-process control method in a networked microgrid and using edge agents and multi-agent consensus algorithms, the frequency and voltage recovery and power distribution of the microgrid are optimized, and the reliability problem of a single microgrid in extreme cases is solved. It realizes efficient stable operation and optimized scheduling of the power grid.
Patent Information
- Application Number
- CN202411190106.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-08-28
AI Technical Summary
Existing AC microgrids are difficult to ensure reliable operation in extreme cases, especially in the event of main grid failures and natural disasters, where a single microgrid system may not maintain voltage stability and power sharing, resulting in frequency and voltage deviation issues.
Adopting a distributed control method for microgrids based on multi-process, by establishing edge agents in networked microgrids, using alternating direction multiplier algorithm and multi-agent consensus algorithm, the total reactive power loss is optimized and distributed consistency control is achieved. , ensure the recovery of frequency and voltage and the sharing of power.
It effectively realizes voltage frequency recovery and reasonable power allocation between microgrids, avoids frequency and voltage deviations, solves the optimization scheduling problem under the optimal current of the system, reduces the number of communications, and saves communication resources.
Smart Images

Figure CN119093515A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of AC microgrid distributed control, and in particular relates to a multi-process-based microgrid distributed control method and system. Background Art
[0002] In order to protect the ecological environment and achieve sustainable development, renewable energy is becoming more and more attractive to future microgrids (MG), and people are increasingly demanding environmental friendliness, scalability, and flexibility. With the rapid development of new energy power generation, distributed generation (DG) represented by photovoltaics and wind turbines has the advantages of less pollution, high reliability, high energy efficiency, low transmission cost, and flexible installation location. However, the direct access of a large number of distributed power sources to the microgrid will have a great impact on the voltage stability of the microgrid, and seriously affect the power flow distribution, power sharing, and relay protection of the microgrid. Therefore, how to maintain efficient, safe, economical and stable operation of the microgrid has become a topic that must be solved for the high-quality development of the future microgrid.
[0003] Most of the existing research on AC microgrids is aimed at single MG systems. However, in some extreme cases, such as main grid failures and natural disasters, a single MG system may not be able to ensure reliable operation. In order to improve the reliability and resilience of the entire system, a feasible solution is to interconnect the MGs in a certain area to form a networked microgrid (NMG) system. The actual application scenarios of the NMG system include active distribution networks with residential microgrids, building microgrid communities, and offshore power systems with seaport and shipboard microgrids. NMG systems can be further classified according to their electrical structure, such as voltage level, current type, connection method, etc.
[0004] In addition, the application of edge agents in distributed AC microgrids can optimize energy management, improve the real-time response capability of the system, and help promote the local consumption and sustainable development of distributed energy.
[0005] Some scholars have explored the distributed control strategy of AC microgrids and proposed many different control concepts, which are mainly divided into three types: (1) active and reactive power (PQ) control; (2) voltage and frequency (V / f) control; (3) droop control. Among them, PQ control is mainly used in the scenario of AC microgrid grid-connected operation. V / f control is an open-loop control method that aims to keep the voltage and frequency of the grid at a specified value by adjusting the output, but its control accuracy is low. Droop control is a closed-loop control strategy that adjusts the voltage and frequency of the AC microgrid by simulating the droop characteristics of traditional grid generators. It has high control accuracy and is suitable for microgrid environments with precise power distribution and coordinated control, but it will bring frequency and voltage deviation problems. In order to ensure the flexible and stable operation of NMG, some scholars applied the single MG control framework to the NMG system and proposed a two-layer distributed control scheme, but did not study the coordination problem with the upper-layer optimization scheduling. Summary of the invention
[0006] In view of the deficiencies in the prior art, the present application proposes a multi-process based microgrid distributed control method and system.
[0007] In a first aspect, the present application proposes a multi-process based microgrid distributed control method, comprising:
[0008] Establishing an edge agent for each microgrid in the networked microgrid, each edge agent comprising: a main process, a secondary process and a tertiary process, the networked microgrid comprising a plurality of microgrids, each microgrid comprising a plurality of distributed power generation units;
[0009] In the third-level process, the alternating direction multiplier algorithm is used to optimize the networked microgrid with the goal of minimizing the total reactive power loss in the networked microgrid, and the active power reference value and reactive power reference value of each microgrid are obtained and sent to the second-level process;
[0010] In the secondary process, based on the local measurement signals, the measurement signals from the adjacent microgrids, and the active power reference and reactive power reference from the tertiary process, a multi-agent consensus algorithm is used for distributed consistency control to achieve frequency recovery of the microgrid, voltage recovery at the common coupling point, and arbitrary power sharing between microgrids. The calculated voltage control signal and frequency control signal are sent to the droop controller in the main process.
[0011] In the main process, droop control is adopted for each microgrid to realize autonomous operation. According to the voltage control signal and frequency control signal from the secondary process, the voltage reference value and the frequency reference value are calculated and sent to the droop controller of the power generation unit.
[0012] The distributed generation units in a single microgrid are subjected to droop control and then to secondary linear control to track the voltage reference value and frequency reference value fed into the main process, so as to realize frequency recovery, voltage recovery of the distributed generation units in a single microgrid, and active power distribution and reactive power distribution among multiple generation units.
[0013] The multi-process-based microgrid distributed control method also includes: setting a trigger function for communication with adjacent microgrids, and when the value of the trigger function meets a preset threshold, obtaining the voltage state and frequency state of the adjacent microgrid to update the voltage state and frequency state of the local microgrid, and at the same time propagating the voltage state and frequency state of the local microgrid to the neighboring microgrid.
[0014] The trigger function is calculated as follows:
[0015]
[0016] Among them, f i (t) is the trigger function of the i-th microgrid at the t-th moment, σ i is the first setting coefficient, α i is the second setting coefficient, and 0<σ i <1,0<α i <1 / d i , d i is the in-degree of the i-th microgrid, ζ avg,i is the mean value of the voltage or frequency of the i-th microgrid, e i (t) is the measurement error, calculated as follows:
[0017]
[0018] Among them, e i (t) is the measurement error of the i-th microgrid at the t-th moment, is the measured value of the i-th microgrid at the t-th time, i.e., voltage and frequency, is the tth microgrid k The measured value at time t k+1 For the tth k+1 Time, t k For the tth k time.
[0019] The alternating direction multiplier algorithm is used to optimize the networked microgrid with the control target of minimizing the total reactive power loss in the networked microgrid, and the active power reference value and reactive power reference value of each microgrid are obtained, including:
[0020] The optimal power flow problem is established with the control objective of minimizing the total reactive power loss in the networked microgrid;
[0021] According to the number of buses, the optimal power flow problem is decomposed into multiple sub-problems;
[0022] Solve each sub-problem to obtain the active power reference value and reactive power reference value of each microgrid, and send them to the secondary process.
[0023] In the secondary process, according to the local measurement signal, the measurement signal from the adjacent microgrid, and the active power reference value and the reactive power reference value from the tertiary process, a multi-agent consensus algorithm is used to perform distributed consistency control to achieve frequency recovery of the microgrid, voltage recovery at the common coupling point, and arbitrary power sharing between microgrids, and the calculated voltage control signal and frequency control signal are sent to the droop controller in the main process, including:
[0024] According to the local frequency measurement signal and active power measurement signal of each microgrid, the frequency measurement signal and active power measurement signal from the adjacent microgrid, and the active power reference value from the three-level process, the multi-agent consensus algorithm is used to perform distributed consistency control on the frequency of each microgrid to obtain the frequency control signal. The calculation formula is as follows:
[0025]
[0026] in, For microgrid MG i The frequency control signal, N is the total number of microgrids, g i For MG i The pinning gain, MG i Represents local microgrid, MG j represents the adjacent microgrid, a ij For local microgrid MG i With adjacent microgrid MG j The weighted adjacency matrix of For local microgrid MG i The active power reference value of For adjacent microgrid MG j The active power reference value of To adjust MG i The droop factor of active power, To adjust MG j The droop factor of active power, For local microgrid MG i The frequency measurement value, For adjacent microgrid MG j The frequency measurement value, For local microgrid MG i The measured active power value of For adjacent microgrid MG j The measured active power value of For the updated local microgrid MG i frequency control signal.
[0027] According to the local voltage signal measurement signal and reactive power measurement signal of each microgrid and the voltage signal measurement signal and reactive power measurement signal from the adjacent microgrid and the reactive power reference value from the three-level process, the multi-agent consensus algorithm is used to perform distributed consistency control on the voltage of each microgrid to obtain the voltage control signal. The calculation formula is as follows:
[0028]
[0029] in, For microgrid MG i The voltage control signal, N is the total number of microgrids, MG i Represents local microgrid, MG j represents the adjacent microgrid, a ij For local microgrid MG i With adjacent microgrid MG j The weighted adjacency matrix of For local microgrid MG i The reactive power reference value, For adjacent microgrid MG j Reactive power reference value, V * is the voltage standard value, To adjust MG i The droop factor of reactive power, To adjust MG j The droop factor of reactive power, For adjacent microgrid MG j The voltage control signal, For local microgrid MG i The measured value of reactive power, For adjacent microgrid MG j Reactive power measurement, V PCC is the voltage at the common coupling point, For the updated local microgrid MG i voltage control signal.
[0030] In the secondary process, a multi-agent consensus algorithm is used for distributed consistency control, and the frequency and common coupling voltage of the microgrid will converge to the standard value, as shown in the following expression:
[0031]
[0032]
[0033]
[0034]
[0035] Among them, ω * is the standard value of frequency, V * is the voltage standard value, is the local microgrid MG at time t i Frequency, V PCC is the voltage at the common coupling point, To adjust MG j The droop factor of active power, To adjust MG i The droop factor of active power, is the adjacent microgrid MG at time t j The measured value of active power, is the local microgrid MG at time t i The measured value of active power, For adjacent microgrid MG j The active power reference value of For local microgrid MG i The active power reference value of To adjust MG j The droop factor of reactive power, To adjust MG i The droop factor of reactive power, is the adjacent microgrid MG at time t j The measured value of reactive power, is the local microgrid MG at time t i The measured value of reactive power, For local microgrid MG i The reactive power reference value, For adjacent microgrid MG j Reactive power reference value.
[0036] In the main process, droop control is adopted for each microgrid to achieve autonomous operation. The calculation formula is as follows:
[0037]
[0038]
[0039] Among them, ω * is the standard value of frequency, V * is the voltage standard value, is the frequency control signal from the secondary process; is the voltage control signal from the secondary process; To adjust MG i The droop factor of active power, To adjust MG i The droop factor of reactive power, For microgrid MG i The calculated frequency value is used as the frequency reference value sent to the distributed generation unit and as the frequency measurement value in the secondary process. For microgrid MG i The calculated voltage value is used as the voltage reference value sent to the distributed generation unit and as the voltage measurement value in the secondary process. For microgrid MG i The measured value of active power, For microgrid MG i A measure of reactive power.
[0040] The distributed generation unit in a single microgrid adopts droop control, and the calculation formula is as follows:
[0041]
[0042]
[0043] in, is the frequency calculation value of the power generation unit, is the calculated value of the voltage of the power generation unit, For the microgrid MG i The frequency reference value, For the microgrid MG i The voltage reference value, To adjust the power generation unit DG k The droop factor of active power, To adjust the power generation unit DG k The ranges of reactive power droop coefficient are:
[0044]
[0045]
[0046] in, To control the maximum frequency of the generating unit, To control the minimum frequency of the generating unit, For the power generation unit DG k The maximum value of active power, For the power generation unit DG k The minimum value of active power, For the power generation unit DG k The maximum value of the voltage, For the power generation unit DGk The minimum value of the voltage, For the power generation unit DG k The maximum value of reactive power, For the power generation unit DG k Minimum value of reactive power.
[0047] The secondary linear control is to perform secondary linear control on the distributed generation unit, and the calculation formula is as follows:
[0048]
[0049]
[0050]
[0051]
[0052] in, For microgrid MG i Medium power generation unit DG k and power generation unit DG h If the communication coefficient between the power generation unit DG k and power generation unit DG h If there is a link between otherwise For microgrid MG i Medium power generation unit DG k If the generation unit DG k Can directly receive and but otherwise For the power generation unit DG k The frequency calculation value of To control the power generation unit DG h The frequency calculation value of Adjustment of the power generation unit DG k The droop factor of active power, Adjustment of the power generation unit DG h The droop factor of active power, For the power generation unit DG k The measured value of active power, For the power generation unit DG k The frequency control signal, For microgrid MG i The total number of generating units in For the power generation unit DG h The measured value of active power, For the power generation unit DG k The calculated voltage value is For the power generation unit DG k The droop factor of reactive power, For the power generation unit DG k The measured value of reactive power, For the power generation unit DG k The voltage control signal, For the power generation unit DG h The voltage control signal, For the microgrid MG i The frequency reference value, For the microgrid MG i The voltage reference value, For the power generation unit DG k The calculated voltage value is For the power generation unit DG h The droop factor of reactive power, For the power generation unit DG h The measured value of reactive power, For the power generation unit DG k The measured value of reactive power, For the power generation unit DG k The droop factor of reactive power, DG is a distributed generation unit k an updated frequency control signal; DG is a distributed generation unit k Updated voltage control signal.
[0053] In the second aspect, the present application proposes a multi-process-based microgrid distributed control system, including: an edge agent module, a three-level process module, a two-level process module, a main process module and a single microgrid control module, wherein the edge agent module is connected to the three-level process module, the two-level process module and the main process module, respectively, the three-level process module is connected to the two-level process module, the two-level process module is connected to the main process module, and the main process module is connected to the single microgrid control module;
[0054] An edge agent module is used to establish an edge agent for each microgrid in the networked microgrid, each edge agent includes: a main process, a secondary process and a tertiary process, the networked microgrid includes multiple microgrids, each microgrid includes multiple distributed power generation units;
[0055] The third-level process module is used to optimize the networked microgrid in the third-level process by adopting an alternating direction multiplier algorithm to minimize the total reactive power loss in the networked microgrid, obtain an active power reference value and a reactive power reference value of each microgrid, and send them to the second-level process;
[0056] The secondary process module is used to use a multi-agent consensus algorithm to perform distributed consistency control in the secondary process based on local measurement signals, measurement signals from adjacent microgrids, and active power reference values and reactive power reference values from the tertiary process, so as to achieve frequency recovery of the microgrid, voltage recovery at the common coupling point, and arbitrary power sharing between microgrids, and send the calculated voltage control signal and frequency control signal to the droop controller in the main process;
[0057] The main process module is used to take droop control on each microgrid in the main process to achieve autonomous operation, calculate the voltage reference value and the frequency reference value according to the voltage control signal and the frequency control signal from the secondary process, and send the voltage reference value and the frequency reference value to the droop controller of the power generation unit;
[0058] A single microgrid control module is used to adopt droop control on the distributed power generation units in a single microgrid, and then perform secondary linear control to track the voltage reference value and frequency reference value fed into the main process, so as to achieve frequency recovery, voltage recovery of the distributed power generation units in a single microgrid, and active power distribution and reactive power distribution among multiple power generation units.
[0059] Beneficial effects:
[0060] This application proposes a multi-process-based distributed control method and system for microgrids. For the networked microgrid (NMG) system, the idea of hierarchical control is used to coordinate control under multiple processes. The voltage and frequency can be effectively restored and the power can be reasonably distributed between microgrids, avoiding the problem of frequency and voltage deviation, and solving the optimization scheduling problem under the optimal power flow of the system. On the basis of meeting the control requirements, the design of the event trigger mechanism can reduce the number of communications and save communication resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 A schematic diagram of a multi-process distributed control process of a microgrid according to an embodiment of the present application;
[0062] Figure 2 A multi-process-based distributed control flow chart of a microgrid according to an embodiment of the present application;
[0063] Figure 3 A block diagram of a microgrid distributed control based on multiple processes according to an embodiment of the present application;
[0064] Figure 4 The topology diagram of the NMG system using four MG units as an example in the embodiment of the present application;
[0065] Figure 5 Frequency, voltage and active power simulation example diagram of the embodiment of the present application;
[0066] Figure 6 A schematic diagram of a multi-process microgrid distributed control system according to an embodiment of the present application. DETAILED DESCRIPTION
[0067] The specific implementation of the present application is further described in detail below in conjunction with the drawings and examples.
[0068] This application designs a distributed control strategy for an AC NMG system in which multiple low-voltage MGs are connected in parallel to a medium-voltage power grid. While improving the elasticity and resilience of the microgrid system, the network loss of the NMG system is further optimized. Since the object of this application is an AC microgrid under island operation, it is necessary to consider the local autonomy and precise power distribution between each unit, so the basic control adopts droop control. Compared with the control of a single MG system, the NMG system couples more electrical components and communication infrastructure together, so the control method is more challenging.
[0069] This application proposes a distributed control method for microgrids based on multiple processes, which adopts the idea of hierarchical control to systematically solve the shortcomings of existing methods. First, by analogy with the droop control of distributed generation units (DG), droop control is proposed for each microgrid (MG), so that it can operate autonomously only through local measurements. Distributed consistency control is carried out in the secondary process of the microgrid (MG) to achieve frequency and voltage recovery as well as active power and reactive power sharing; in the tertiary process of the microgrid (MG), the alternating direction multiplier method (ADMM) algorithm is used to optimize the power flow distribution in the microgrid, so that the total network power loss is minimized. In addition, the event trigger mechanism is applied to the edge computing device to reduce the demand for communication resources while ensuring the stable operation of each process in the edge agent.
[0070] Embodiment 1:
[0071] This embodiment proposes a microgrid distributed control method based on multi-process, such as Figure 1 , Figure 2 , Figure 3 , Figure 4 As shown, including:
[0072] Step S1: establishing an edge agent for each microgrid in the networked microgrid, each edge agent including: a main process, a secondary process and a tertiary process, the networked microgrid includes a plurality of microgrids, each microgrid includes a plurality of distributed power generation units;
[0073] In this embodiment, the networked microgrid (NMG) system is an interactive, complex cyber-physical system consisting of highly coupled electrical and communication systems. Typically, an NMG system can operate in an island or grid-connected mode. This embodiment studies an island NMG system in which each MG is integrated by a set of dispatchable DGs connected to a common coupling point (PCC). The communication system in the NMG system includes a lower-layer communication network between DGs in each MG and an upper-layer communication network between MGs. In the communication network of the NMG system, reference frequency and voltage signals are generated by measuring the contact line information of the local MG and exchanging them with adjacent agents. The generated reference frequency and voltage signals are then sent to the distributed secondary control of a single MG so that all DGs can track this reference signal. An event trigger detector is set in the edge computing of the upper and lower communication layers. Only when the preset threshold of the trigger function is met, the state variables are uploaded and the control instructions are updated, thereby alleviating the communication pressure of the system and reducing the communication cost.
[0074] Step S1.1: NMG system upper communication network: Communication network diagram between multiple MGs Indicates that For edge sets, is a node set. For i=1,...,N, node i represents the i-th MG, and (i,j)∈ε means that the j-th MG can communicate with the i-th MG. The weighted adjacency matrix of ij ]∈R N×N , where i≠j, a ij > 0. If (j,i)∈ε, a ij = 0. If all a ij =a ji , then the graph is an undirected graph. The degree matrix Δ is expressed as Δ = diag{d i}∈R N×N , Then, The Laplace matrix of is defined as L = Δ - A = [l ij ]∈R N×N Consider a command generator and an augmented multi-agent system with N agents. The relevant graph is defined as where={(0,i)|i=1,…,N}∪and Therefore, node 0 represents the command generator. For i=1,...,N, if the i-th MG can communicate with the command generator, then a i0 > 0, otherwise a i0 =0.
[0075] Step S1.2: NMG system lower level communication network: For a single MG, the communication network between multiple DGs within it is shown in Figure Indicates that For edge sets, is a node set. For k=1,...,M, node k represents the kth DG, It means that the kth DG can communicate with the hth DG. The weighted adjacency matrix of G is represented as A = [a kh ]∈R M×M , where k≠h, a kh > 0. If a kh = 0. If all a kh =a hk , then the graph is an undirected graph.
[0076] Step S2: In the third-level process, the alternating direction multiplier algorithm is used to optimize the networked microgrid with the goal of minimizing the total reactive power loss in the networked microgrid, and the active power reference value and reactive power reference value of each microgrid are obtained and sent to the second-level process, including:
[0077] Step S2.1: Establish an optimal power flow problem with minimizing the total reactive power loss in the networked microgrid as the control objective;
[0078] In this embodiment, a third-level process is established on the basis of the secondary process of the NMG system to optimize the operation of the NMG system, with the goal of minimizing the network power loss in the microgrid. Since the dynamics of frequency and voltage recovery are much faster, the values of frequency and voltage can be regarded as steady-state values through the third-level optimization. The third-level control solves the optimal power flow (OPF) problem and returns the actual active power and reactive power dispatch commands to the secondary control layer ( and ), the proposed control framework will follow the scheduling commands to make the system operate in the optimal state.
[0079] The main advantage of using ADMM is that it inherits the advantages of dual decomposition and augmented Lagrangian methods for constrained optimization. In the general decomposition structure, the objective and constraints are divided into K parts:
[0080]
[0081]
[0082] Among them, x i is a local variable, z is a global variable, is a local variable x i should be the ratio of variable z, is a local constraint, and K is the number of constraints.
[0083] The augmented Lagrangian for the coupled constraint-related problem in a general decomposition structure is given.
[0084]
[0085] Among them, λ i is the dual variable associated with the equality constraint and ρ∈R is the Lagrangian step size parameter.
[0086] The optimal power flow problem is established with the control objective of minimizing the total reactive power loss in the networked microgrid. The calculation formula is as follows:
[0087]
[0088] st:
[0089]
[0090]
[0091]
[0092]
[0093]
[0094] in, Expressed as is the node voltage vector; Is The vector obtained by eliminating the elements irrelevant to the mother line i; H i Yes, including MG i and the number of MGs connected to it; For MG i The minimum value of active power, For MG i The maximum value of active power, For MG i The minimum value of reactive power, For MG i The maximum value of reactive power; and is the load power at bus i; Minimum voltage threshold, is the maximum voltage threshold, the matrix and It is expressed as:
[0095]
[0096] Among them, Y=G+jB is the admittance matrix of the power grid system, which is the inverse of the impedance matrix. and They are respectively p and z q The derived matrix is obtained by writing the constraints in quadratic form.
[0097] Step S2.2: Decompose the optimal power flow problem into multiple sub-problems according to the number of buses;
[0098] In this embodiment, in order to solve the OPF problem in a distributed manner, the system in step S2.1 needs to be split into subsystems. The number of subsystems corresponds to the number of MGs. The total active power loss can be represented by decomposing the function into H parts:
[0099]
[0100] The subproblem on busbar i involves H i The busbars can be expressed as:
[0101] if
[0102]
[0103]
[0104] if
[0105]
[0106]
[0107] in are local variables. Therefore, the OPF problem can be formulated as a general consensus problem with a general decomposition structure and can be solved in a distributed manner via ADMM, where the coupling constraints are:
[0108]
[0109] in, is a global variable, indicating the mapping to subsystem i A collection of related components.
[0110] Step S2.3: Solve each sub-problem, obtain the active power reference value and reactive power reference value of each microgrid, and send them to the secondary process.
[0111] In this embodiment, by solving the above sub-problems (subsystems), the active power reference value of each microgrid is finally obtained. And reactive power reference value
[0112] Step S3: In the secondary process, based on the local measurement signal, the measurement signal from the adjacent microgrid, and the active power reference value and reactive power reference value from the tertiary process, a multi-agent consensus algorithm is used for distributed consistency control to achieve frequency recovery of the microgrid, voltage recovery at the common coupling point, and arbitrary power sharing between microgrids, and the calculated voltage control signal and frequency control signal are sent to the droop controller in the main process;
[0113] Step S3.1: Set a trigger function for the communication between adjacent microgrids, and obtain the voltage status of the adjacent microgrid when the value of the trigger function meets the preset threshold. and frequency status Used to update the voltage and frequency status of the local microgrid and to propagate the voltage status of the local microgrid to neighboring microgrids and frequency status
[0114] In this embodiment, during the communication between the upper and lower layers of the NMG system, information exchange only occurs at non-periodic triggering moments, and these triggering moments are determined by event triggering conditions. The event triggering error and the event triggering conditions are generally expressed as follows:
[0115] e(t)=x(t k )-x(t)
[0116] ||e(t)||≥e T
[0117] Among them, t∈[t k ,t k+1 ), x(t) is the current system state variable, x(t k ) is the system state variable of the kth trigger event. When the formula e(t) = x(t k )-x(t) The state measurement error e(t) calculated is greater than the trigger threshold e T , then the current time t is marked as the triggering time.
[0118] Among them, the time series expression of the following event triggering in the edge computing of the upper and lower communication layers is:
[0119] t k = inf{t>t k-1,i |f i (t)≥0}
[0120] The trigger function is calculated as follows:
[0121]
[0122] Among them, f i (t) is the trigger function of the i-th microgrid at the t-th moment, σ i is the first setting coefficient, α i is the second setting coefficient, and 0<σ i <1,0<α i <1 / d i , d i is the in-degree of the i-th microgrid, ζ avg,i is the voltage mean or frequency mean of the i-th microgrid, e i (t) is the measurement error, calculated as follows:
[0123]
[0124] Among them, e i (t) is the measurement error of the i-th microgrid at the t-th moment, is the measured value of the i-th microgrid at the t-th moment, i.e., voltage or frequency, is the i-th microgrid at the t-th k The measured value of the state variable at time t k+1 For the tth k+1 Time, t k For the tth k time.
[0125] When the trigger function f i When (t) is satisfied, the neighbor’s information is obtained to update the local control signal, and the state information of the neighbor is propagated to the neighbor. Since the event-triggered secondary control only requires the neighbor’s information, the reduction of information transmission reduces the communication cost and improves the communication efficiency.
[0126] In this embodiment, the convergence of the proposed trigger function is proved below, and the closed-loop control system can be expressed as:
[0127]
[0128] Among them, ζ is the system state variable, representing frequency or voltage; is the updated variable; L is the gain matrix; e is the measurement error of the state variable.
[0129] If we can prove that It can prove the convergence and stability of the system near the equilibrium point.
[0130]
[0131] Expanding the above formula, we can get:
[0132]
[0133] Where N is the number of microgrids, e i is the measurement error of the i-th microgrid state variable, e j is the jth microgrid state variable measurement error, ζ avg,i is the voltage mean or frequency mean of the i-th microgrid.
[0134] Use the following inequality:
[0135]
[0136] Get the boundary values of the inequality:
[0137]
[0138] Among them, d i is the in-degree of the i-th microgrid.
[0139] When the conditions shown by the boundary values are met:
[0140]
[0141] Among them, σ i is the first setting coefficient, α i is the second setting coefficient, and 0<σ i <1,0<α i <1 / d i , d i is the in-degree of the i-th microgrid.
[0142] It can be further deduced that:
[0143]
[0144] This proves the convergence of the event-triggered control algorithm.
[0145] Step S3.2: In the secondary process, based on the local measurement signal, the measurement signal from the adjacent microgrid, and the active power reference value and reactive power reference value from the tertiary process, a multi-agent consensus algorithm is used for distributed consistency control to achieve frequency recovery of the microgrid, voltage recovery at the common coupling point, and arbitrary power sharing between microgrids, and the calculated voltage control signal and frequency control signal are sent to the droop controller in the main process;
[0146] In this embodiment, similar to the droop control of distributed generation units (DG) in a single microgrid (MG), droop control is proposed for each MG so that it can operate autonomously only through local measurements. In addition, a secondary process is designed based on the MG droop control, and a multi-agent consensus algorithm is used to achieve frequency recovery of the AC microgrid and power sharing between MGs to address the accuracy trade-off between power sharing and frequency regulation caused by droop inertia. The secondary process of MG aims to achieve three goals: (1) frequency recovery; (2) bus voltage recovery at the point of common coupling (PCC); and (3) arbitrary power sharing between MGs.
[0147] In the secondary process, according to each microgrid according to the local measurement signal and the measurement signal from the adjacent microgrid and the active power reference value and the reactive power reference value from the tertiary process, a consensus algorithm is used to perform distributed consistency control on the frequency and voltage of each microgrid to obtain a frequency control signal and a voltage control signal, including:
[0148] Step S3.2.1: According to the active power reference value of each microgrid, a multi-agent consensus algorithm is used to perform distributed consistency control on the frequency of each microgrid to obtain a frequency control signal. The calculation formula is as follows:
[0149] According to the local frequency and active power measurement signals of each microgrid and the frequency and active power measurement signals from the adjacent microgrid, as well as the active power reference value from the three-level process, the multi-agent consensus algorithm is used to perform distributed consistency control on the frequency of each microgrid to obtain the frequency control signal. The calculation formula is as follows:
[0150]
[0151] in, For microgrid MG i The frequency control signal, N is the total number of microgrids, g i For MG i The pinning gain, MG i Represents local microgrid, MG j represents the adjacent microgrid, a ij For local microgrid MG i With adjacent microgrid MG j The weighted adjacency matrix of For local microgrid MG i The active power reference value of For adjacent microgrid MG j The active power reference value of To adjust MG i The droop factor of active power, To adjust MG jThe droop factor of active power, For local microgrid MG i The frequency measurement value, For adjacent microgrid MG j The frequency measurement value, For local microgrid MG i The measured active power value of For adjacent microgrid MG j The measured active power value of For the updated local microgrid MG i frequency control signal.
[0152] Step S3.2.2: Based on the local voltage signal and reactive power measurement signal of each microgrid and the voltage signal and reactive power measurement signal from the adjacent microgrid, as well as the reactive power reference value from the three-level process, a multi-agent consensus algorithm is used to perform distributed consistency control on the voltage of each microgrid to obtain a voltage control signal. The calculation formula is as follows:
[0153]
[0154] in, For microgrid MG i The voltage control signal, N is the total number of microgrids, MG i Represents local microgrid, MG j represents the adjacent microgrid, a ij For local microgrid MG i With adjacent microgrid MG j The weighted adjacency matrix of For local microgrid MG i The reactive power reference value, For adjacent microgrid MG j Reactive power reference value, V * is the voltage standard value, To adjust MG i The droop factor of reactive power, To adjust MG j The droop factor of reactive power, For adjacent microgrid MG j The voltage control signal, For local microgrid MG i The measured value of reactive power, For adjacent microgrid MG j Reactive power measurement, V PCC is the voltage at the common coupling point, For the updated local microgrid MG i voltage control signal.
[0155] Step S3.2.3: In the secondary process, the multi-agent consensus algorithm is used for distributed consistency control, and the frequency and common coupling voltage of the microgrid will converge to the standard value, which is expressed as follows:
[0156]
[0157]
[0158]
[0159]
[0160] Among them, ω * is the standard value of frequency, V * is the voltage standard value, is the local microgrid MG at time t i Frequency, V PCC is the voltage at the common coupling point, To adjust MG j The droop factor of active power, To adjust MG i The droop factor of active power, is the adjacent microgrid MG at time t j The measured value of active power, is the local microgrid MG at time t i The measured value of active power, For adjacent microgrid MG j The active power reference value of For local microgrid MG i The active power reference value of To adjust MG j The droop factor of reactive power, To adjust MG i The droop factor of reactive power, is the adjacent microgrid MG at time t j The measurement of reactive power, Q MGi (t) is the local microgrid MG at time t i The measured value of reactive power, For local microgrid MG i The reactive power reference value, For adjacent microgrid MG j Reactive power reference value.
[0161] Step S4: In the main process, droop control is adopted for each microgrid to realize autonomous operation. According to the voltage control signal and frequency control signal from the secondary process, the voltage reference value and the frequency reference value are calculated and sent to the droop controller of the power generation unit.
[0162] In the main process, droop control is adopted for each microgrid to achieve autonomous operation. The calculation formula is as follows:
[0163]
[0164]
[0165] Among them, ω * is the standard value of frequency, V * is the voltage standard value, is the frequency control signal from the secondary process; is the voltage control signal from the secondary process; To adjust MG i The droop factor of active power, To adjust MG i The droop factor of reactive power, For microgrid MG i The calculated frequency value is used as the frequency reference value sent to the distributed generation unit and as the frequency measurement value in the secondary process. For microgrid MG i The calculated voltage value is used as the voltage reference value sent to the distributed generation unit and as the voltage measurement value in the secondary process. For microgrid MG i The measured value of active power, For microgrid MG i A measure of reactive power.
[0166] Step S5: The distributed generation units in a single microgrid are subjected to droop control and then to secondary linear control to track the voltage reference value and frequency reference value fed into the main process, so as to realize frequency recovery, voltage recovery of the distributed generation units in a single microgrid, and active power distribution and reactive power distribution among multiple generation units.
[0167] In this embodiment, for the control of a single microgrid (MG), droop control is applied to control the interface voltage and frequency of the DG converter of the power generation unit in the island operation mode, and the quadratic linear control of the distributed power generation unit is designed to track the frequency and voltage reference values fed into the corresponding MG, so as to achieve frequency recovery, voltage recovery of the distributed power generation unit in a single MG, and active power distribution and reactive power distribution among multiple power generation units.
[0168] Step S5.1: adopt droop control for the distributed generation unit in a single microgrid, that is, adopt the droop control to control the interface voltage and frequency of the generation unit DG converter in the island operation mode, and the expression is as follows:
[0169]
[0170]
[0171] in, is the frequency calculation value of the power generation unit, is the calculated value of the voltage of the power generation unit, For the microgrid MG i The frequency reference value, For the microgrid MG i The voltage reference value, To adjust the power generation unit DG k The droop factor of active power, To adjust the power generation unit DG k The ranges of reactive power droop coefficient are:
[0172]
[0173]
[0174] in, To control the maximum frequency of the generating unit, To control the minimum frequency of the generating unit, For the power generation unit DG k The maximum value of active power, For the power generation unit DG k The minimum value of active power, For the power generation unit DG k The maximum value of the voltage, For the power generation unit DG k The minimum value of the voltage, For the power generation unit DG k The maximum value of reactive power, For the power generation unit DG k Minimum value of reactive power.
[0175] Step S5.2: The distributed generation unit is then subjected to secondary linear control, and the calculation formula is as follows:
[0176]
[0177]
[0178]
[0179]
[0180] in, For microgrid MG i Medium power generation unit DG k and power generation unit DG h If the communication coefficient between the power generation unit DG k and power generation unit DG h If there is a link between otherwise For microgrid MG i Medium power generation unit DG k If the generation unit DG k Can directly receive and but otherwise For the power generation unit DG k The frequency calculation value of To control the power generation unit DG h The frequency calculation value of Adjustment of the power generation unit DG k The droop factor of active power, Adjustment of the power generation unit DG h The droop factor of active power, For the power generation unit DG k The measured value of active power, For the power generation unit DG k The frequency control signal, For microgrid MG i The total number of generating units in For the power generation unit DG h The measured value of active power, For the power generation unit DG k The calculated voltage value is For the power generation unit DG k The droop factor of reactive power, For the power generation unit DG k The measured value of reactive power, For the power generation unit DG k The voltage control signal, For the power generation unit DG h The voltage control signal, For the microgrid MG i The frequency reference value, For the microgrid MG i The voltage reference value, For the power generation unit DG k The calculated voltage value is For the power generation unit DG h The droop factor of reactive power, For the power generation unit DG h The measured value of reactive power, For the power generation unit DG k The measured value of reactive power, For the power generation unit DG k The droop factor of reactive power, DG is a distributed generation unit k an updated frequency control signal; DG is a distributed generation unit k Updated voltage control signal.
[0181] In this embodiment, the DG is secondarily controlled to track the frequency and voltage reference values fed into the corresponding MG, thereby achieving accurate power distribution between the DGs in a single MG.
[0182] In order to describe the specific process in more detail, a specific example is given for the above-mentioned multi-process-based distributed control method for microgrids, and the implementation process is described in detail.
[0183] Step S100: For the distributed multi-layer control scheme proposed by MG, an edge agent is established for each MG. Each agent contains three parallel and independent processes: the main process, the secondary process and the tertiary process. These three processes run at different time scales. When the upper process completes a cycle, the lower process saves the signal value of the upper process until the upper process receives a new signal. In this cycle, the goal of distributed event-triggered control of microgrids based on multi-processes under edge agents is finally achieved.
[0184] Step S100.1: In the main process, similar to the DG droop control, droop control is proposed for each MG so that it can operate autonomously only through local measurements.
[0185] Step S100.1.1: Obtain local measurement value of node i and
[0186] Step S100.1.2: Calculate the control signal according to the droop control and secondary control signal and
[0187] Step S100.1.3: and Send to MG i Local droop control;
[0188] Return to step S100.1.4: Return to step S100.1.1.
[0189] Step S100.2: The secondary control layer corresponds to the secondary process and adopts event-triggered control. In the secondary process, a large amount of data (such as voltage and frequency) generated between adjacent MGs will be analyzed, processed and stored in the edge computing device, which has better real-time performance.
[0190] Step S100.2.1: Obtain In node MG i Local measurement value at ;
[0191] Step S100.2.2: if the event trigger function condition is met, proceed to the next step, i.e., step S100.2.3;
[0192] Step S100.2.3: Exchange collected local measurements
[0193] Step S100.2.4: Calculate control signal based on local measurement and three-level process signals and
[0194] Step S100.2.5: Send to the upper level process;
[0195] Step S100.2.6: Return to step S100.2.1 and restart a new consensus algorithm cycle.
[0196] Step S100.3: The three-level control layer corresponds to the three-level process, and the scheduling layer adopts time-triggered control with a sampling period of 1s. In the cloud microgrid control center, the operation of the microgrid system is optimized according to the ADMM algorithm, with the goal of minimizing the total network power loss in the microgrid, solving the optimal power flow problem, and returning the actual active power and reactive power scheduling commands to the secondary control layer ( and ). The proposed control framework will follow the scheduling commands to make the system operate in the optimal state.
[0197] Step S100.3.1: Start the loop and perform the initial iteration: I=1;
[0198] Step S100.3.2: Obtain the initial state, active power and reactive power of the local measured load of node i:
[0199] Step S100.3.3: Initial value of global variables:
[0200] Step S100.3.4: Initial value of Lagrange multiplier: λ i (I)←λ0;
[0201] Step S100.3.5: When When , the loop starts to execute;
[0202] Step S100.3.6: Solve a local non-convex optimization problem to update the local variable v i (I+1). At the MGs bus, the local voltage is set to a specific reference value. The problem at the bus is:
[0203]
[0204]
[0205] Step S100.3.7:
[0206] Step S100.3.8: Distribute U to all neighbors;
[0207] Step S100.3.9: Collect U from all neighbors;
[0208] Step S100.3.10: Update the global variable by averaging all received U
[0209] Step S100.3.11: Update Lagrange multipliers:
[0210] Step S100.3.12: Enter the next iteration: I=I+1;
[0211] Step S100.3.13: Satisfy Proceed to the next step;
[0212] Step S100.3.14: Calculate the set point power output for the corresponding DR:
[0213]
[0214]
[0215] Step S100.3.15: Sent to the secondary process, completing the current loop.
[0216] Step S100.3.16: Starting from step S100.3.1, a new ADMM cycle is started.
[0217] Simulation results:
[0218] This example uses four MG units as an example to simulate the frequency, voltage and active power. Figure 5 As shown, the traditional droop control method is used for 0-1s, and the control method proposed in this example is used for 1-10s. Figure 5 It can be seen that this example control method can effectively restore voltage and frequency and reasonably distribute power.
[0219] This embodiment proposes a multi-process-based distributed control method for microgrids, including: for a networked microgrid (NMG) system, the idea of hierarchical control is used to coordinate control under multiple processes. An event trigger detector is set in the edge computing of the communication layer. Only when the preset threshold of the trigger function is met, the state variable is uploaded and the control instruction is updated, so as to reduce the number of communications and save communication costs on the basis of meeting the stable operation of the system. For the DG unit in a single MG, droop control is used for frequency and voltage control, and quadratic linear control is performed to track the voltage reference value and frequency reference value ( and ), realizing frequency recovery and voltage recovery of distributed generation units in a single microgrid, as well as active power distribution and reactive power distribution among multiple distributed generation units. For the main control layer of the NMG system, similar to the DG droop control, a droop control is proposed for each MG, so that it can operate autonomously only through local measurement, and the generated reference frequency and voltage ( and ) is sent to the droop controller of the local DG. The secondary control of the NMG system is to perform distributed consistency control through a multi-agent consensus algorithm to calculate the control signal based on the local measurement signal ( and ) and sends the control signal to the droop control in the main process, thereby restoring the frequency and common coupling point voltage in the NMG system to the reference value, and the active power and reactive power will follow the dispatch signal from the three-level control ( and The third-level control of the NMG system uses the ADMM algorithm to optimize the operation of the microgrid system, with the goal of minimizing the network power loss in the microgrid, solving the optimal power flow problem, and returning the actual active power and reactive power dispatching commands to the secondary control layer ( and ). The three control processes are integrated into an edge agent of an MG, following the scheduling command and running at different time scales. When the upper process completes a cycle, the lower process saves the signal value of the upper process until the upper process receives a new sample. In this cycle, multiple goals of distributed event-triggered control of microgrids based on multi-processes under edge agents are finally achieved.
[0220] Embodiment 2:
[0221] This embodiment proposes a microgrid distributed control system based on multi-process, such as Figure 6 As shown, it includes: an edge agent module, a three-level process module, a two-level process module, a main process module and a single microgrid control module, the edge agent module is connected to the three-level process module, the two-level process module and the main process module respectively, the three-level process module is connected to the two-level process module, the two-level process module is connected to the main process module, and the main process module is connected to the single microgrid control module;
[0222] An edge agent module is used to establish an edge agent for each microgrid in the networked microgrid, each edge agent includes: a main process, a secondary process and a tertiary process, the networked microgrid includes multiple microgrids, and each microgrid includes multiple distributed power generation units;
[0223] The third-level process module is used to optimize the networked microgrid in the third-level process by adopting an alternating direction multiplier algorithm to minimize the total reactive power loss in the networked microgrid, obtain an active power reference value and a reactive power reference value of each microgrid, and send them to the second-level process;
[0224] The secondary process module is used to use a multi-agent consensus algorithm to perform distributed consistency control in the secondary process based on local measurement signals, measurement signals from adjacent microgrids, and active power reference values and reactive power reference values from the tertiary process, so as to achieve frequency recovery of the microgrid, voltage recovery at the common coupling point, and arbitrary power sharing between microgrids, and send the calculated voltage control signal and frequency control signal to the droop controller in the main process;
[0225] The main process module is used to take droop control on each microgrid in the main process to achieve autonomous operation. According to the voltage control signal and frequency control signal from the secondary process, the voltage reference value and the frequency reference value are calculated and sent to the droop controller of the power generation unit.
[0226] A single microgrid control module is used to adopt droop control on the distributed power generation units in a single microgrid, and then perform secondary linear control to track the voltage reference value and frequency reference value fed into the main process, so as to achieve frequency recovery, voltage recovery of the distributed power generation units in a single microgrid, and active power distribution and reactive power distribution among multiple power generation units.
[0227] The various embodiments in the present application are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0228] The protection scope of the present application is not limited to the above-mentioned embodiments. Obviously, those skilled in the art can make various changes and modifications to the present disclosure without departing from the scope and spirit of the present disclosure. If these changes and modifications fall within the scope of the claims of the present disclosure and their equivalents, the intention of the present disclosure also includes these changes and modifications.
Claims
1. A multi-process based microgrid distributed control method, characterized in that: include: Establishing an edge agent for each microgrid in the networked microgrid, each edge agent comprising: a main process, a secondary process and a tertiary process, the networked microgrid comprising a plurality of microgrids, each microgrid comprising a plurality of distributed power generation units; In the third-level process, the alternating direction multiplier algorithm is used to optimize the networked microgrid with the goal of minimizing the total reactive power loss in the networked microgrid, and the active power reference value and reactive power reference value of each microgrid are obtained and sent to the second-level process; In the secondary process, based on the local measurement signals, the measurement signals from the adjacent microgrids, and the active power reference and reactive power reference from the tertiary process, a multi-agent consensus algorithm is used for distributed consistency control to achieve frequency recovery of the microgrid, voltage recovery at the common coupling point, and arbitrary power sharing between microgrids. The calculated voltage control signal and frequency control signal are sent to the droop controller in the main process. In the main process, droop control is adopted for each microgrid to realize autonomous operation. According to the voltage control signal and frequency control signal from the secondary process, the voltage reference value and the frequency reference value are calculated and sent to the droop controller of the power generation unit. The distributed generation units in a single microgrid are subjected to droop control and then to secondary linear control to track the voltage reference value and frequency reference value fed into the main process, so as to realize frequency recovery, voltage recovery of the distributed generation units in a single microgrid, and active power distribution and reactive power distribution among multiple generation units.
2. The multi-process based microgrid distributed control method according to claim 1, characterized in that: The multi-process-based microgrid distributed control method also includes: setting a trigger function for communication with adjacent microgrids, and when the value of the trigger function meets a preset threshold, obtaining the voltage state and frequency state of the adjacent microgrid to update the voltage state and frequency state of the local microgrid, and at the same time propagating the voltage state and frequency state of the local microgrid to the neighboring microgrid.
3. The multi-process based microgrid distributed control method according to claim 2 is characterized in that: The trigger function is calculated as follows: Among them, f i (t) is the trigger function of the i-th microgrid at the t-th moment, σ i is the first setting coefficient, α i is the second setting coefficient, and 0<σ i <1,0<α i <1 / d i , d i is the in-degree of the i-th microgrid, ζ avg,i is the mean value of the voltage or frequency of the i-th microgrid, e i (t) is the measurement error, calculated as follows: Among them, e i (t) is the measurement error of the i-th microgrid at the t-th moment, is the measured value of the i-th microgrid at the t-th time, i.e., voltage and frequency, is the tth microgrid k The measured value at time t k+1 For the tth k+1 Time, t k For the tth k time.
4. The multi-process based microgrid distributed control method according to claim 1, characterized in that: The alternating direction multiplier algorithm is used to optimize the networked microgrid with the control target of minimizing the total reactive power loss in the networked microgrid, and the active power reference value and reactive power reference value of each microgrid are obtained, including: The optimal power flow problem is established with the control objective of minimizing the total reactive power loss in the networked microgrid; According to the number of buses, the optimal power flow problem is decomposed into multiple sub-problems; Solve each sub-problem to obtain the active power reference value and reactive power reference value of each microgrid, and send them to the secondary process.
5. The multi-process based microgrid distributed control method according to claim 1, characterized in that: In the secondary process, according to the local measurement signal, the measurement signal from the adjacent microgrid, and the active power reference value and the reactive power reference value from the tertiary process, a multi-agent consensus algorithm is used to perform distributed consistency control to achieve frequency recovery of the microgrid, voltage recovery at the common coupling point, and arbitrary power sharing between microgrids, and the calculated voltage control signal and frequency control signal are sent to the droop controller in the main process, including: According to the local frequency measurement signal and active power measurement signal of each microgrid, the frequency measurement signal and active power measurement signal from the adjacent microgrid, and the active power reference value from the three-level process, the multi-agent consensus algorithm is used to perform distributed consistency control on the frequency of each microgrid to obtain the frequency control signal. The calculation formula is as follows: in, For microgrid MG i The frequency control signal, N is the total number of microgrids, g i For MG i The pinning gain, MG i Represents local microgrid, MG j represents the adjacent microgrid, a ij For local microgrid MG i With adjacent microgrid MG j The weighted adjacency matrix of For local microgrid MG i The active power reference value of For adjacent microgrid MG j The active power reference value of To adjust MG i The droop factor of active power, To adjust MG j The droop factor of active power, For local microgrid MG i The frequency measurement value, For adjacent microgrid MG j The frequency measurement value, For local microgrid MG i The measured active power value of For adjacent microgrid MG j The measured active power value of For the updated local microgrid MG i The frequency control signal; According to the local voltage signal measurement signal and reactive power measurement signal of each microgrid and the voltage signal measurement signal and reactive power measurement signal from the adjacent microgrid and the reactive power reference value from the three-level process, the multi-agent consensus algorithm is used to perform distributed consistency control on the voltage of each microgrid to obtain the voltage control signal. The calculation formula is as follows: in, For microgrid MG i The voltage control signal, N is the total number of microgrids, MG i Represents local microgrid, MG j represents the adjacent microgrid, a ij For local microgrid MG i With adjacent microgrid MG j The weighted adjacency matrix of For local microgrid MG i The reactive power reference value, For adjacent microgrid MG j Reactive power reference value, V * is the voltage standard value, To adjust MG i The droop factor of reactive power, To adjust MG j The droop factor of reactive power, For adjacent microgrid MG j The voltage control signal, For local microgrid MG i The measured value of reactive power, For adjacent microgrid MG j Reactive power measurement, V PCC is the voltage at the common coupling point, For the updated local microgrid MG i voltage control signal.
6. The multi-process based microgrid distributed control method according to claim 5, characterized in that: In the secondary process, a multi-agent consensus algorithm is used for distributed consistency control, and the frequency and common coupling voltage of the microgrid will converge to the standard value, as shown in the following expression: Among them, ω * is the standard value of frequency, V * is the voltage standard value, is the local microgrid MG at time t i Frequency, V PCC is the voltage at the common coupling point, To adjust MG j The droop factor of active power, To adjust MG i The droop factor of active power, is the adjacent microgrid MG at time t j The measured value of active power, is the local microgrid MG at time t i The measured value of active power, For adjacent microgrid MG j The active power reference value of For local microgrid MG i The active power reference value of To adjust MG j The droop factor of reactive power, To adjust MG i The droop factor of reactive power, is the adjacent microgrid MG at time t j The measured value of reactive power, is the local microgrid MG at time t i The measured value of reactive power, For local microgrid MG i The reactive power reference value, For adjacent microgrid MG j Reactive power reference value.
7. The multi-process based microgrid distributed control method according to claim 5, characterized in that: In the main process, droop control is adopted for each microgrid to achieve autonomous operation. The calculation formula is as follows: Among them, ω * is the standard value of frequency, V * is the voltage standard value, is the frequency control signal from the secondary process; is the voltage control signal from the secondary process; To adjust MG i The droop factor of active power, To adjust MG i The droop factor of reactive power, For microgrid MG i The calculated frequency value is used as the frequency reference value sent to the distributed generation unit and as the frequency measurement value in the secondary process. For microgrid MG i The calculated voltage value is used as the voltage reference value sent to the distributed generation unit and as the voltage measurement value in the secondary process. For microgrid MG i The measured value of active power, For microgrid MG i A measure of reactive power.
8. The multi-process based microgrid distributed control method according to claim 1, characterized in that: The distributed generation unit in a single microgrid adopts droop control, and the calculation formula is as follows: in, is the frequency calculation value of the power generation unit, is the calculated value of the voltage of the power generation unit, For the microgrid MG i The frequency reference value, For the microgrid MG i The voltage reference value, To adjust the power generation unit DG k The droop factor of active power, To adjust the power generation unit DG k The ranges of reactive power droop coefficient are: in, To control the maximum frequency of the generating unit, To control the minimum frequency of the generating unit, For the power generation unit DG k The maximum value of active power, For the power generation unit DG k The minimum value of active power, For the power generation unit DG k The maximum value of the voltage, For the power generation unit DG k The minimum value of the voltage, For the power generation unit DG k The maximum value of reactive power, For the power generation unit DG k Minimum value of reactive power.
9. The multi-process based microgrid distributed control method according to claim 8, characterized in that: The secondary linear control is to perform secondary linear control on the distributed generation unit, and the calculation formula is as follows: in, For microgrid MG i Medium power generation unit DG k and power generation unit DG h If the communication coefficient between the power generation unit DG k and power generation unit DG h If there is a link between otherwise For microgrid MG i Medium power generation unit DG k If the generation unit DG k Can directly receive and but otherwise For the power generation unit DG k The frequency calculation value of To control the power generation unit DG h The frequency calculation value of Adjustment of the power generation unit DG k The droop factor of active power, Adjustment of the power generation unit DG h The droop factor of active power, For the power generation unit DG k The measured value of active power, For the power generation unit DG k The frequency control signal, For microgrid MG i The total number of generating units in For the power generation unit DG h The measured value of active power, For the power generation unit DG k The calculated voltage value is For the power generation unit DG k The droop factor of reactive power, For the power generation unit DG k The measured value of reactive power, For the power generation unit DG k The voltage control signal, For the power generation unit DG h The voltage control signal, For the microgrid MG i The frequency reference value, For the microgrid MG i The voltage reference value, For the power generation unit DG k The calculated voltage value is For the power generation unit DG h The droop factor of reactive power, For the power generation unit DG h The measured value of reactive power, For the power generation unit DG k The measured value of reactive power, For the power generation unit DG k The droop factor of reactive power, DG is a distributed generation unit k an updated frequency control signal; DG is a distributed generation unit k Updated voltage control signal.
10. A multi-process based microgrid distributed control system, characterized in that: include: An edge agent module, a three-level process module, a two-level process module, a main process module and a single microgrid control module, wherein the edge agent module is connected to the three-level process module, the two-level process module and the main process module respectively, the three-level process module is connected to the two-level process module, the two-level process module is connected to the main process module, and the main process module is connected to a single microgrid control module; An edge agent module is used to establish an edge agent for each microgrid in the networked microgrid, each edge agent includes: a main process, a secondary process and a tertiary process, the networked microgrid includes multiple microgrids, each microgrid includes multiple distributed power generation units; The third-level process module is used to optimize the networked microgrid in the third-level process by adopting an alternating direction multiplier algorithm to minimize the total reactive power loss in the networked microgrid, obtain an active power reference value and a reactive power reference value of each microgrid, and send them to the second-level process; The secondary process module is used to use a multi-agent consensus algorithm to perform distributed consistency control in the secondary process based on local measurement signals, measurement signals from adjacent microgrids, and active power reference values and reactive power reference values from the tertiary process, so as to achieve frequency recovery of the microgrid, voltage recovery at the common coupling point, and arbitrary power sharing between microgrids, and send the calculated voltage control signal and frequency control signal to the droop controller in the main process; The main process module is used to take droop control on each microgrid in the main process to achieve autonomous operation, calculate the voltage reference value and the frequency reference value according to the voltage control signal and the frequency control signal from the secondary process, and send the voltage reference value and the frequency reference value to the droop controller of the power generation unit; A single microgrid control module is used to adopt droop control on the distributed power generation units in a single microgrid, and then perform secondary linear control to track the voltage reference value and frequency reference value fed into the main process, so as to achieve frequency recovery, voltage recovery of the distributed power generation units in a single microgrid, and active power distribution and reactive power distribution among multiple power generation units.
Citation Information
Patent Citations
Adaptive pinning control method for isolated microgrid voltage and frequency
CN110768289A
Multi-microgrid distributed optimization coordination control method based on finite time consistency
CN115800404A
Two-layer distributed cooperative power control method and system for micro-grid group
CN118316065A
Cited By
Micro-grid group coordination control method and system based on shared energy storage
CN120546064A
Chip network communication attack defense system of micro-grid system
CN120639342A
