Energy flow collaborative optimization control method and device

Through fuzzy clustering analysis and Byzantine fault-tolerant consensus algorithm, a multi-level energy flow collaborative optimization control model is constructed, which solves the randomness and fuzziness problems of distributed photovoltaic power generation systems in multi-energy systems, and achieves collaborative optimization operation and maximum efficiency of the system. change.

CN113887818BActive Publication Date: 2024-10-25GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111218445.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-19
Publication Date
2024-10-25
Estimated Expiration
2041-10-19

AI Technical Summary

Technical Problem

The power generation and power generation of distributed photovoltaic power generation systems in multi-energy systems are affected by a variety of uncertain factors. Existing calculation methods fail to fully consider randomness and fuzziness, resulting in calculation results that are not accurate enough to meet practical application needs.

Method used

Fuzzy clustering analysis algorithm and Byzantine fault-tolerant consensus algorithm are used to construct a multi-level energy flow collaborative optimization control model to obtain the operating characteristics of the data matrix and determine the multi-energy collaborative optimization operation plan to ensure that the system does not need to be restructured in terms of dynamics and scalability. start up.

Benefits of technology

It realizes the collaborative optimization operation of multi-energy system groups, ensures the maximum efficiency of photovoltaic power generation, electric vehicles and energy storage devices, ensures the dynamics and scalability of the algorithm, and adapts to changes in various uncertain factors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113887818B_ABST
    Figure CN113887818B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for collaborative optimization control of energy flows, the method comprising: constructing a data matrix corresponding to each energy data of a multi-energy system group according to each energy data; analyzing each data matrix using a fuzzy clustering analysis algorithm to obtain the operating characteristics of each data matrix; constructing a multi-level collaborative optimization control model of energy flows according to the operating characteristics of all the data matrices and preset constraints, and determining the multi-energy collaborative optimization operation scheme according to a preset Byzantine fault-tolerant consensus algorithm to control the multi-energy system group to achieve multi-energy collaborative optimization operation. The present invention realizes multi-energy collaborative optimization operation and ensures the efficiency of collaborative control of multi-energy systems by constructing a corresponding data matrix in the multi-energy system data and combining a fuzzy clustering analysis algorithm with a preset Byzantine fault-tolerant consensus algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automation control technology, and in particular to a method and device for collaborative optimization control of energy flows. Background Art

[0002] The traditional multi-energy system scheduling, operation and control mainly rely on engineers and other knowledge workers to make manual decisions, which is difficult to adapt to the requirements of refinement, informatization and intelligence. The asymmetry, nonlinearity, section alternation, time period alternation, volatility, randomness and fuzziness of energy coupling between the "source-grid-load-vehicle-storage" multi-distributed systems have increased the difficulty and complexity of solving the problem of coordinated operation and intelligent scheduling and control of the "source-grid-load-vehicle-storage" multi-energy system of combined heat and power generation.

[0003] In a multi-energy system, a distributed photovoltaic power generation system is a system with random and fuzzy uncertain events or parameters that are complex and interact with each other. Under the influence of various uncertain random and fuzzy events or parameters, the power generation and power generation of a distributed photovoltaic power generation system in a multi-energy system become more random and fuzzy, which greatly affects the capacity configuration of a distributed photovoltaic power generation system in a multi-energy system. In the past, the power generation and power generation of a distributed photovoltaic power generation system in a multi-energy system usually adopt a deterministic calculation method, and some also adopt an uncertainty calculation method of probability analysis. The deterministic calculation method usually calculates the power generation, power generation and installed capacity of a distributed photovoltaic power generation system in a multi-energy system under the assumption that the sunshine intensity in the region is determined, and does not consider the influence of factors such as the voltage regulation requirements and flexible control methods of the multi-energy system and distribution network. The calculation results are unique and deterministic, and often cannot reflect the actual situation of the power generation, power generation and installed capacity of a distributed photovoltaic power generation system in a multi-energy system. The probability analysis calculation method usually calculates the power generation, power generation and installed capacity of a distributed photovoltaic power generation system in a multi-energy system under the assumption that a single factor such as sunshine intensity and wind speed in the region is an uncertain factor, and the calculation result is a probability value with a certain confidence level. In fact, the power generation, power generation and installed capacity of distributed photovoltaic power generation systems of multi-energy systems are affected by a variety of uncertain factors. Moreover, these influencing factors usually have random uncertainty or fuzzy uncertainty, or they have random and fuzzy uncertainty, often existing in the form of random and fuzzy uncertainty events or parameters. It can be seen that the existing technologies for calculating the power generation, power generation and installed capacity of distributed photovoltaic power generation systems of multi-energy systems do not fully consider the uncertainty and randomness of the influencing factors, and the applicability, practicality and applicability of the calculation methods are also difficult to meet. Summary of the invention

[0004] The purpose of the present invention is to provide a method and device for collaborative optimization control of energy flows, so as to solve the problem of low efficiency of collaborative optimization control of multiple energy sources in the prior art.

[0005] To achieve the above object, the present invention provides an energy flow collaborative optimization control method, comprising:

[0006] According to each energy data of the multi-energy system group, construct a data matrix corresponding to each energy data;

[0007] Using a fuzzy cluster analysis algorithm to analyze each of the data matrices to obtain the operating characteristics of each of the data matrices;

[0008] According to the operating characteristics of all the data matrices and the preset constraints, a multi-level energy flow collaborative optimization control model is constructed, and according to the preset Byzantine fault-tolerant consensus algorithm, the multi-energy collaborative optimization operation plan is determined to control the multi-energy system group to achieve multi-energy collaborative optimization operation.

[0009] Preferably, the energy data includes: photovoltaic power generation data, electric vehicle charging and discharging data, energy storage device charging and discharging data, and load data.

[0010] Preferably, the constructing of the data matrix corresponding to each of the energy data is specifically: obtaining the corresponding historical data matrix, real-time data matrix and prediction data matrix respectively according to each of the energy data.

[0011] Preferably, the step of obtaining the operating characteristics of each of the data matrices is specifically as follows:

[0012] Determine the fuzzy cluster center matrix of the data matrix according to the fuzzy cluster analysis algorithm, wherein the fuzzy cluster center matrix includes a minimum fuzzy cluster center matrix, an average fuzzy cluster center matrix and a maximum fuzzy cluster center matrix;

[0013] The operating characteristics of the fuzzy clustering center matrix are determined by iterative calculation, wherein the operating characteristics include the optimal value of the active power output by each system in the multi-energy system, and the optimal value includes the optimal value of the minimum fuzzy clustering center matrix, the optimal value of the average fuzzy clustering center matrix, and the optimal value of the maximum fuzzy clustering center matrix.

[0014] Preferably, the determining of the multi-energy coordinated optimization operation plan is specifically as follows:

[0015] Determining the maximized distributed photovoltaic power generation efficiency within the multi-energy system according to the multi-level energy flow collaborative optimization control model;

[0016] The multi-energy collaborative optimization operation plan is determined in combination with the maximized distributed photovoltaic power generation efficiency within the multi-energy system and the preset Byzantine fault-tolerant consensus algorithm.

[0017] The present invention also provides an energy flow collaborative optimization control device, comprising:

[0018] A construction module, used to construct a data matrix corresponding to each energy data according to each energy data of the multi-energy system group;

[0019] An acquisition module, used for analyzing each of the data matrices using a fuzzy clustering analysis algorithm to acquire the operating characteristics of each of the data matrices;

[0020] A determination module is used to construct a multi-level energy flow collaborative optimization control model according to the operating characteristics of all the data matrices and preset constraints, and to determine the multi-energy collaborative optimization operation plan according to a preset Byzantine fault-tolerant consensus algorithm, so as to control the multi-energy system group to achieve multi-energy collaborative optimization operation.

[0021] Preferably, the construction module is also used for: photovoltaic power generation data, electric vehicle charging and discharging data, energy storage device charging and discharging data and load data.

[0022] Preferably, the construction module is further used to respectively obtain a corresponding historical data matrix, a real-time data matrix and a predicted data matrix according to each of the energy data.

[0023] Preferably, the acquisition module is further used for:

[0024] Determine the fuzzy cluster center matrix of the data matrix according to the fuzzy cluster analysis algorithm, wherein the fuzzy cluster center matrix includes a minimum fuzzy cluster center matrix, an average fuzzy cluster center matrix and a maximum fuzzy cluster center matrix;

[0025] The operating characteristics of the fuzzy clustering center matrix are determined by iterative calculation, wherein the operating characteristics include the optimal value of the active power output by each system in the multi-energy system, and the optimal value includes the optimal value of the minimum fuzzy clustering center matrix, the optimal value of the average fuzzy clustering center matrix, and the optimal value of the maximum fuzzy clustering center matrix.

[0026] Preferably, the determining module is further used for:

[0027] Determining the maximized distributed photovoltaic power generation efficiency within the multi-energy system according to the multi-level energy flow collaborative optimization control model;

[0028] The multi-energy collaborative optimization operation plan is determined in combination with the maximized distributed photovoltaic power generation efficiency within the multi-energy system and the preset Byzantine fault-tolerant consensus algorithm.

[0029] Compared with the prior art, the beneficial effects of the present invention are:

[0030] For a multi-energy system group consisting of photovoltaic power generation, electric vehicles and energy storage devices, fuzzy clustering analysis methods and Byzantine fault-tolerant consensus algorithms are used to ensure the coordinated optimization of multi-energy operations without restarting the system, ensuring the dynamics and scalability of the algorithm. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the implementation mode will be briefly introduced below. Obviously, the drawings described below are only some implementation modes of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0032] Figure 1 It is a flowchart of an energy flow collaborative optimization control method provided by a certain embodiment of the present invention;

[0033] Figure 2 It is a structural schematic diagram of an energy flow collaborative optimization control device provided by a certain embodiment of the present invention. DETAILED DESCRIPTION

[0034] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0035] It should be understood that the step numbers used in this document are only for convenience of description and are not intended to limit the order in which the steps are executed.

[0036] It should be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0037] The terms “include” and “comprising” indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0038] The term "and / or" means and includes any and all possible combinations of one or more of the associated listed items.

[0039] See also Figure 1 A certain embodiment of the present invention provides an energy flow collaborative optimization control method, comprising the following steps:

[0040] S101: constructing a data matrix corresponding to each energy data according to the energy data of the multi-energy system group.

[0041] The multi-energy system data includes: photovoltaic power generation data, electric vehicle charging and discharging data, energy storage device charging and discharging data, and load data. Constructing the corresponding data matrices respectively includes: obtaining the corresponding historical data matrix, real-time data matrix, and prediction data matrix respectively according to the multi-energy system data, as follows:

[0042] 1) Construction of the photovoltaic power generation data matrix in the multi-energy system. The data of the photovoltaic power generation system output active power, sunshine intensity, sunshine duration, sunshine shadow, sunshine deflection angle, etc. in the i-th multi-energy system are obtained from the historical database, real-time data collection system, and future prediction system. Through processing, calculation and analysis, the photovoltaic power generation history, real-time and prediction data matrix in the i-th multi-energy system is constructed:

[0043]

[0044]

[0045]

[0046] in are the historical, real-time and predicted data matrices of photovoltaic power generation in the i-th multi-energy system, i=1,2,...,N MG ,N MG is the number of multi-energy systems. are the photovoltaic power generation historical data matrices in the i-th multi-energy system The jth element data set of the photovoltaic power generation system active power, sunshine intensity, sunshine duration, sunshine shadow, and sunshine deflection angle, are the real-time data matrices of photovoltaic power generation in the i-th multi-energy system The data set includes active power, sunshine intensity, sunshine duration, sunshine shadow, and sunshine deflection of photovoltaic power generation system. are the real-time data matrices of photovoltaic power generation in the i-th multi-energy system The data set includes active power, sunshine intensity, sunshine duration, sunshine shadow, and sunshine deflection of photovoltaic power generation system. Mathematically, they are:

[0047]

[0048]

[0049]

[0050]

[0051]

[0052]

[0053]

[0054]

[0055]

[0056]

[0057]

[0058]

[0059]

[0060]

[0061]

[0062] in are the photovoltaic power generation historical data matrices in the i-th multi-energy system Here, the data value of the jth element time period t of the photovoltaic power generation system's active power, sunshine intensity, sunshine duration, sunshine shadow, and sunshine deflection angle, are the photovoltaic power generation historical data matrices in the i-th multi-energy system The real-time data values ​​of the active power, sunshine intensity, sunshine duration, sunshine shadow, and sunshine deflection angle of the photovoltaic power generation system during the period t are as follows: are the photovoltaic power generation historical data matrices in the i-th multi-energy system Here, the predicted data values ​​of active power, sunshine intensity, sunshine duration, sunshine shadow, and sunshine deflection of the photovoltaic power generation system in time period t, j = 1, 2, ..., N PDi ,N PDiis the number of historical data sets of photovoltaic power generation of the i-th multi-energy system, t = 1, 2, ..., T, T is the number of daily operation periods of the multi-energy system.

[0063] 2) Construction of the charging and discharging data matrix of electric vehicles in the multi-energy system. The data on the number of electric vehicles charged, charging active power, charging time, etc. in the i-th multi-energy system are obtained from the historical database, real-time data collection system, and future prediction system. Through processing, calculation and analysis, the historical, real-time and predicted data matrix of electric vehicle charging and discharging in the i-th multi-energy system is constructed:

[0064]

[0065]

[0066]

[0067] in are the historical, real-time and predicted data matrices of electric vehicle charging and discharging in the i-th multi-energy system, i=1,2,...,N MG ,N MG is the number of multi-energy systems. are the charging and discharging history data matrices of electric vehicles in the i-th multi-energy system The jth element data set of the number of electric vehicles being charged, the active power being charged, and the charging time, are the real-time data matrices of electric vehicle charging and discharging in the i-th multi-energy system The data set includes the number of electric vehicles charged, charging active power, and charging time. are the real-time data matrices of electric vehicle charging and discharging in the i-th multi-energy system The data set includes the number of electric vehicles charged, charging active power, and charging time. Mathematically, they are:

[0068]

[0069]

[0070]

[0071]

[0072]

[0073]

[0074]

[0075]

[0076]

[0077] in are the charging and discharging history data matrices of electric vehicles in the i-th multi-energy system The data value of the jth element time period t of the number of charging electric vehicles, charging active power, and charging time, are the charging and discharging history data matrices of electric vehicles in the i-th multi-energy system The real-time data values ​​of the number of electric vehicles being charged, charging active power, and charging time period t are shown in the figure. are the charging and discharging history data matrices of electric vehicles in the i-th multi-energy system The predicted data values ​​of the number of electric vehicles charged, charging active power, and charging time in time period t, j = 1, 2, ..., N PDi ,N PDi is the number of historical data sets of electric vehicle charging and discharging in the i-th multi-energy system, t = 1, 2, ..., T, T is the number of daily operation periods of the multi-energy system.

[0078] 3) Construction of the charge and discharge data matrix of energy storage devices in the multi-energy system. The data on the number of energy storage devices, charging active power, charging time, etc. in the i-th multi-energy system are obtained from the historical database, real-time data collection system, and future prediction system. Through processing, calculation and analysis, the charge and discharge history, real-time and prediction data matrix of energy storage devices in the i-th multi-energy system is constructed:

[0079]

[0080]

[0081]

[0082] in are the charge and discharge history, real-time and prediction data matrices of the energy storage device in the i-th multi-energy system, i=1,2,...,N MG ,N MG is the number of multi-energy systems. are the charge and discharge history data matrices of the energy storage device in the i-th multi-energy system The jth element data set of the number of energy storage devices, charging active power, and charging time, are the real-time data matrices of charging and discharging of energy storage devices in the i-th multi-energy system The data set includes the number of energy storage devices, charging active power, and charging time. are the real-time data matrices of charging and discharging of energy storage devices in the i-th multi-energy system The data set includes the number of energy storage devices, charging active power, and charging time. Mathematically, they are:

[0083]

[0084]

[0085]

[0086]

[0087]

[0088]

[0089]

[0090]

[0091]

[0092] in are the charge and discharge history data matrices of the energy storage device in the i-th multi-energy system The data value of the jth element time period t of the number of energy storage devices, charging active power, and charging time, are the charge and discharge history data matrices of the energy storage device in the i-th multi-energy system The real-time data values ​​of the number of energy storage devices, charging active power, and charging time period t are shown in the figure. are the charge and discharge history data matrices of the energy storage device in the i-th multi-energy system The predicted data values ​​of the number of energy storage devices, charging active power, and charging time in time period t, j = 1, 2, ..., N PDi ,N PDi is the number of historical data sets of charge and discharge of the energy storage device of the i-th multi-energy system, t = 1, 2, ..., T, T is the number of daily operation periods of the multi-energy system.

[0093] 4) Construction of load data matrix in multi-energy system: obtain data of electric load power, heat load power, cooling load power, indoor temperature, outdoor temperature, etc. in the i-th multi-energy system from the historical database, real-time data collection system, and future prediction system. Through processing, calculation and analysis, construct the load history, real-time and prediction data matrix in the i-th multi-energy system:

[0094]

[0095]

[0096]

[0097] in are the load history, real-time and forecast data matrices in the i-th multi-energy system, i=1,2,...,N MG ,N MG is the number of multi-energy systems. are the load history data matrices in the i-th multi-energy system The j-th element data set of electrical load power, heating load power, cooling load power, indoor temperature, and outdoor temperature, are the real-time data matrices of loads in the i-th multi-energy system The data sets of electrical load power, heating load power, cooling load power, indoor temperature, and outdoor temperature, are the real-time data matrices of loads in the i-th multi-energy system The data sets of electrical load power, heating load power, cooling load power, indoor temperature, and outdoor temperature, Mathematically, they are:

[0098]

[0099]

[0100]

[0101]

[0102]

[0103]

[0104]

[0105]

[0106]

[0107]

[0108]

[0109]

[0110]

[0111]

[0112]

[0113] in are the load history data matrices in the i-th multi-energy system The data value of the jth element time period t of the electrical load power, heating load power, cooling load power, indoor temperature, and outdoor temperature, are the load history data matrices in the i-th multi-energy system Real-time data values ​​of electrical load power, heating load power, cooling load power, indoor temperature, and outdoor temperature during time period t, are the load history data matrices in the i-th multi-energy system Predicted data values ​​of electrical load power, heating load power, cooling load power, indoor temperature, and outdoor temperature for time period t, j = 1, 2, ..., N PDi ,N PDi is the number of load history data sets of the i-th multi-energy system, t = 1, 2, ..., T, T is the number of daily operation periods of the multi-energy system.

[0114] S102: Analyze each of the data matrices using a fuzzy clustering analysis algorithm to obtain operating characteristics of each of the data matrices.

[0115] The fuzzy cluster center matrix of the data matrix is ​​determined according to the fuzzy cluster analysis algorithm, wherein the fuzzy cluster center matrix includes the minimum fuzzy cluster center matrix, the average fuzzy cluster center matrix and the maximum fuzzy cluster center matrix, and the operation characteristics of the fuzzy cluster center matrix are determined by iterative calculation, wherein the operation characteristics include the optimal value of the active power output of each system in the multi-energy system, and the optimal value includes the optimal value of the minimum fuzzy cluster center matrix, the optimal value of the average fuzzy cluster center matrix and the optimal value of the maximum fuzzy cluster center matrix, as follows:

[0116] Using the fuzzy clustering analysis method, the fuzzy clustering center matrix of the data set is constructed: C i ={C i1 ,C i2 ,C i3},(i=1,2,...,N MG ), C i1 , C i2 , C i3 They are the minimum fuzzy cluster center matrix, the average fuzzy cluster center matrix, and the maximum fuzzy cluster center matrix respectively.

[0117] Set the initial values ​​of the minimum fuzzy cluster center matrix, the average fuzzy cluster center matrix, and the maximum fuzzy cluster center matrix. Assume that the historical data average value of the active power output of the photovoltaic power generation system, the active power of electric vehicle charging and discharging, the active power of energy storage device charging and discharging, the electric load power, the thermal load power, and the cooling load power of the i-th multi-energy system is P MAPVi , P MAEVi , P MADSi , P MAEi , P MAHi , P MACi , then the initial values ​​of the minimum, average, and maximum fuzzy clustering center matrices of the output active power of the photovoltaic power generation system of the i-th multi-energy system, the charging and discharging active power of electric vehicles, the charging and discharging active power of energy storage devices, the electric load power, the thermal load power, and the cooling load power are:

[0118]

[0119]

[0120]

[0121] in

[0122] k MAPV1 =k MAEV1 =k MADS1 =k MAE1 =k MAH1 =k MAC1 =0.2

[0123] k MAPV2 =k MAEV2 =k MADS2 =k MAE2 =k MAH2 =k MAC2 =1.0

[0124] k MAPV3 =k MAEV3 =k MADS3 =k MAE3 =k MAH3 =k MAC3 =1.5

[0125] The initial value of the fuzzy cluster center matrix is

[0126] The fuzzy clustering analysis method is adopted to determine the optimal value of the fuzzy C-means clustering matrix through iterative calculation, and the optimal value of the minimum, average and maximum fuzzy clustering center matrix of the i-th multi-energy system photovoltaic power generation system output active power, electric vehicle charging and discharging active power, energy storage device charging and discharging active power, electric load power, thermal load power and cooling load power is determined.

[0127] For the i-th multi-energy system, the optimal value of the fuzzy C-means clustering matrix is:

[0128]

[0129] The optimal value of the minimum, average and maximum fuzzy clustering center matrix of the output active power of the photovoltaic power generation system, the charging and discharging active power of electric vehicles, the charging and discharging active power of energy storage devices, the electric load power, the thermal load power and the cooling load power of the i-th multi-energy system is:

[0130]

[0131] Where P CPVi1 , P CPVi2 , P CPVi3 are the optimal values ​​of the fuzzy clustering center matrix of the minimum, average and maximum output active power of the photovoltaic power generation system of the i-th multi-energy system, P CEVi1 , P CEVi2 , P CEVi3 are the optimal values ​​of the fuzzy clustering center matrix of the minimum, average, and maximum charging and discharging power of electric vehicles in the i-th multi-energy system, P CDSi1 , P CDSi2 , P CDSi3 are the optimal values ​​of the fuzzy clustering center matrix of the minimum, average, and maximum charging and discharging power of the energy storage device of the i-th multi-energy system, P CEi1 , P CEi2 , P CEi3 are the optimal values ​​of the fuzzy clustering center matrix of the minimum, average and maximum electric load power of the i-th multi-energy system, P CHi1 , P CHi2 , P CHi3 are the optimal values ​​of the minimum, average, and maximum fuzzy clustering center matrices of the thermal load power of the i-th multi-energy system, P CCi1 , P CCi2 , P CCi3 They are the optimal values ​​of the fuzzy clustering center matrix of the minimum, average and maximum cooling load power of the i-th multi-energy system.

[0132] The iterative calculation of the optimal fuzzy clustering matrix and the optimal fuzzy clustering center matrix has the following specific steps:

[0133] S1 sets the fuzzy coefficient The error value for determining the end of the iterative calculation is set to ε = 0.001.

[0134] S2 uses a random function to randomly generate random numbers in [0,1] to initialize the fuzzy clustering matrix U (0) .

[0135] S3 sets the number of iterations t=1.

[0136] S4 calculates the fuzzy clustering matrix U in the tth iteration (t) The element value of The iterative update formula is:

[0137]

[0138] Among them, d() is the distance function.

[0139] S5 calculates the fuzzy cluster center matrix C in the tth iteration (t) The element value of the minimum, average and maximum fuzzy cluster center matrix The iterative update formulas are:

[0140]

[0141] Where i=1,2,...,c, j=1,2,...,m.

[0142] S6 Then the iterative calculation ends, otherwise, set t=t+1 and go to step S4.

[0143] S103: According to the operating characteristics of all the data matrices and the preset constraints, a multi-level energy flow collaborative optimization control model is constructed, and according to the preset Byzantine fault-tolerant consensus algorithm, the multi-energy collaborative optimization operation plan is determined to control the multi-energy system group to achieve multi-energy collaborative optimization operation.

[0144] The energy trading and optimization capabilities of blockchain in multi-energy systems are increasingly highly valued. Blockchain is a distributed ledger shared by participants that can securely store digital transactions without the need for a centralized transaction agent. Transaction or operation control data in multi-energy systems are aggregated into blocks, which are linked to each other through encryption methods to form an immutable information chain. Traditionally, blockchain technology relies on "miners" to verify new blocks issued by participants by solving common complex algorithms that ensure tamper-proof systems. When smart contracts are added to the blockchain, Ethernet technology is used, which can deploy decentralized algorithms. Smart contracts are part of the executable code, shared by each node that defines immutable rules and run directly in the blockchain. Transaction or operation control data in multi-energy systems is stored in a specific block in the chain, and subsequent logic is triggered by the defined rules to write data in the rest of the chain, replacing the need for a centralized trusted entity to save the algorithm logic and facilitating the rapid deployment of innovative community disaster recovery solutions. Compared with traditional centralized trading energy solutions, blockchain technology represents a reliable energy trading mechanism.

[0145] According to the operation characteristics and preset constraints, a multi-level energy flow collaborative optimization control model is constructed. The maximum distributed photovoltaic power generation efficiency within the multi-energy system is determined based on the multi-level energy flow collaborative optimization control model. The multi-energy collaborative optimization operation is determined by combining the maximum distributed photovoltaic power generation efficiency within the multi-energy system and the preset Byzantine fault-tolerant consensus algorithm. The details are as follows:

[0146] Construction of a multi-level energy flow collaborative optimization control model, objective function: maximization of distributed photovoltaic power generation efficiency within the multi-energy system:

[0147]

[0148] where e PV is the power generation efficiency of the distributed photovoltaic power generation system within the i-th multi-energy system, P PVit is the active power output of the photovoltaic power generation system of the i-th multi-energy system in time period t, T XPVi , T APVi , T DPVi are the number of small, medium and large power generation periods of the ith multi-energy system photovoltaic power generation system, P RPVi is the installed capacity of the distributed photovoltaic power generation system within the i-th multi-energy system, N M is the number of multi-energy systems.

[0149] The constraints are as follows:

[0150] (1) Constraints on the active power output of photovoltaic power generation systems

[0151] The output active power of the distributed photovoltaic power generation system of the i-th multi-energy system is required to be less than its maximum value allowed under normal sunshine, shadow, and deflection conditions, and greater than its minimum value allowed under normal sunshine, shadow, and deflection conditions:

[0152]

[0153]

[0154]

[0155] Where P PVit is the active power output of the photovoltaic power generation system of the i-th multi-energy system in time period t, P PVit are the maximum and minimum values ​​of the active power output of the ith multi-energy system photovoltaic power generation system under normal conditions and time period t, P YPVit are the maximum and minimum values ​​of the active power output of the ith multi-energy photovoltaic power generation system under shadow conditions in period t, P APVit are respectively the maximum and minimum allowed values ​​of the active power output by the ith multi-energy system photovoltaic power generation system under the deflection condition in time period t.

[0156] (2) Constraints on the reactive power output of photovoltaic power generation systems

[0157] The output reactive power requirement of the i-th multi-energy system distributed photovoltaic power generation system is less than its maximum value allowed under normal sunshine, shadow, and deflection conditions, and greater than its minimum value allowed under normal sunshine, shadow, and deflection conditions:

[0158]

[0159]

[0160]

[0161] Where Q PVit is the reactive power output of the photovoltaic power generation system of the i-th multi-energy system in time period t, Q PVit are the maximum and minimum values ​​allowed for reactive power output by the ith multi-energy system photovoltaic power generation system under normal conditions during time period t, Q YPVit are the maximum and minimum values ​​allowed for the reactive power output of the ith multi-energy photovoltaic power generation system under shadow conditions during period t, QAPVit are respectively the maximum and minimum values ​​allowed for the reactive power output of the ith multi-energy system photovoltaic power generation system in time period t under the deflection condition.

[0162] (3) Constraints on the active power of electric vehicle charging and discharging

[0163] The charging and discharging active power requirement of electric vehicles in the i-th multi-energy system is less than its maximum allowable value and greater than its minimum allowable value:

[0164]

[0165] Where P EVit , P EVit are the actual value, maximum allowable value and minimum value of the charging and discharging active power of electric vehicles in the i-th multi-energy system in time period t, respectively.

[0166] (4) Constraints on reactive power of electric vehicle charging and discharging

[0167] The reactive power requirement for charging and discharging electric vehicles in the i-th multi-energy system is less than its maximum allowable value and greater than its minimum allowable value:

[0168]

[0169] Where Q EVit , Q EVit are the actual value, maximum allowable value and minimum value of the charging and discharging active power of electric vehicles in the i-th multi-energy system in time period t, respectively.

[0170] (5) Constraints on the active power of energy storage devices for charging and discharging

[0171] The charging and discharging active power requirement of the energy storage device of the i-th multi-energy system is less than its maximum allowable value and greater than its minimum allowable value:

[0172]

[0173] Where P DSit , P DSit are respectively the actual value, maximum allowable value and minimum value of the charging and discharging active power of the energy storage device of the i-th multi-energy system in time period t.

[0174] (6) Constraints on reactive power of energy storage device charging and discharging

[0175] The charging and discharging reactive power requirement of the energy storage device of the i-th multi-energy system is less than its maximum allowable value and greater than its minimum allowable value:

[0176]

[0177] Where Q DSit , Q DSit are respectively the actual value, maximum allowable value and minimum value of the charging and discharging active power of the energy storage device of the i-th multi-energy system in time period t.

[0178] (7) Voltage constraints of the multi-energy system and the main grid connection point

[0179] The voltage of the i-th multi-energy system connected to the main grid is required to be less than its maximum allowable value and greater than its minimum allowable value:

[0180]

[0181] Where V Mit , V Mit are the actual value, maximum allowable value and minimum value of the voltage at the connection point between the i-th multi-energy system and the main grid, respectively.

[0182] (8) Constraints on active power exchange between multi-energy systems and the main grid

[0183] The probability requirement for the active power injected into the main grid by the i-th multi-energy system is less than its maximum allowable value and greater than its minimum allowable value:

[0184]

[0185] in p M-D are the maximum and minimum values ​​of the probability of active power injected into the main grid by the i-th multi-energy system. M-D , P PVit , P EVi , P DSi , P Ei , P Hi , P Ci are the active power exchanged between the i-th multi-energy system and the main grid in time period t, the active power of electric vehicle charging and discharging, the active power of electric vehicle charging, the active power of energy storage device charging, the active power of electric load, the active power of heat load and the active power of cold load. EVit is the charging state variable of the electric vehicle. When charging, k EVit =1, when power is supplied to the grid EVit =-1. k DSit is the charging state variable of the energy storage device. When charging, k DSit =1, when power is supplied to the grid DSit=-1, Pr() means to find the probability value of the function in the brackets.

[0186] (9) Constraints on historical, real-time and predicted data of photovoltaic power generation in multi-energy systems

[0187] The output active power requirement of the photovoltaic power generation system of the i-th multi-energy system in period t is not greater than its predicted value, and greater than the average value of its historical records, real-time operation and future predicted data:

[0188]

[0189] Where P CPVi1t , P CPVi2t , P CPVi3t The i-th multi-energy system photovoltaic power generation system outputs active power in the low power generation period t, the medium power generation period, and the high power generation period, respectively. PVit k is the limiting factor for the photovoltaic power generation system, 0.5≤k PVit ≤1.

[0190] (10) Constraints on historical, real-time and predicted data of electric vehicle charging and discharging power in multi-energy systems

[0191] The charging and discharging active power requirement of the electric vehicle in the i-th multi-energy system during period t is no greater than its predicted value and greater than the average value of its historical records, real-time operation and future predicted data:

[0192]

[0193] Where P CEVi1t , P CEVi2t , P CEVi3t The i-th multi-energy system electric vehicle outputs active power in the small charging and discharging power period t, the medium charging and discharging power period, and the large charging and discharging power period, respectively. PVit k is the limiting factor for charging and discharging of electric vehicles, 0.5≤k EVit ≤1.

[0194] (11) Constraints on historical, real-time and predicted data of charging and discharging power of energy storage devices in multi-energy systems

[0195] The charging and discharging active power requirement of the energy storage device of the i-th multi-energy system in period t is not greater than its predicted value, and is greater than the average value of its historical records, real-time operation and future predicted data:

[0196]

[0197] Where P CDSi1t , P CDSi2t , PCDSi3t The energy storage device of the i-th multi-energy system outputs active power in the small charging and discharging power period t, outputs active power in the medium charging and discharging power period, and outputs active power in the large power generation period, respectively. PVit k is the limiting factor for charging and discharging of energy storage devices, 0.5≤k DSit ≤1.

[0198] (12) Constraints on active power of cooling, heating and electric loads in multi-energy systems

[0199] The active power requirement of the cooling, heating and electric loads of the i-th multi-energy system is not greater than its predicted value, and is greater than the average value of its historical records, real-time operation and future predicted data:

[0200]

[0201]

[0202]

[0203] Where P CCi1t , P CCi2t , P CCi3t are the electric cooling active power of the i-th multi-energy system in the small, medium and large cooling load period t, k Cit is the limiting factor for cooling load, 0.5≤k Cit ≤1.P CHi1t , P CHi2t , P CHi3t are the electric cooling active power of the i-th multi-energy system in the small, medium and large cooling load period t, k Hit is the limiting factor for cooling load, 0.5≤k Cit ≤1.P CEi1t , P CEi2t , P CEi3t are the electric cooling active power of the i-th multi-energy system in the small, medium and large cooling load period t, k PVit is the limiting factor for cooling load, 0.5≤k Eit ≤1.

[0204] (13) Energy balance relationship between cooling, heating and electricity “source” and “load” in multi-energy system

[0205] The cooling, heating and electricity “source” and “load” of the i-th multi-energy system should satisfy the following energy balance relationship:

[0206] k Cit P Cit +Q CTriit +Q CIit +Q CSit =Q Cit

[0207] k Hit P Hit +Q HTriit +Q CSit =Q Hit

[0208] P M-Git +P PVit +P ETriit -k EVit P EVit -k DSit P DSit =P Eit +P Hit +P Cit

[0209] Where Q Cit , Q CTriit , Q CIit , Q CSit are the cooling load demand of the i-th multi-energy system in time period t, the cooling output of the natural gas combined cooling, heating and power unit, the cooling output of the water storage or ice storage unit, and the cooling output of the ground source / gas source / water source heat pump unit, Q Hit , Q HTriit , Q HSit are the heat load demand of the i-th multi-energy system in time period t, the heat output of the natural gas combined cooling, heating and power unit, and the heat output of the ground source / gas source / water source heat pump unit, P M-Git , P PVit , P ETriit are the active power exchanged between the i-th multi-energy system and the main grid in time period t, the active power output by the photovoltaic power generation system, and the active power output by the natural gas combined heating and cooling unit, k Cit , k Hit are the cooling and heating efficiencies of the electric cooling and electric heating units of the i-th multi-energy system in time period t, respectively.

[0210] In the optimization, the output active power P of the distributed photovoltaic power generation system within the i-th multi-energy system is PVi 、Electric vehicle charging and discharging active power P EVi 、Energy storage device charging and discharging active power P DSi , natural gas combined cooling, heating and power unit output power active power, natural gas combined cooling, heating and power unit output cooling capacity Q CTriit 、The heat output of the natural gas combined cooling, heating and power unit Q HTriit , Ground source / air source / water source heat pump unit output cooling capacity Q CSit , ground source / gas source / water source heat pump unit output heat Q HSit , water storage or ice storage unit output cooling capacity Q CIit , controllable electrical load active power P AEit, Controllable thermal load active power P AHit , Controllable cooling load active power P ACit is the control variable, and the node voltage, branch power loss and node injected reactive power are the state variables.

[0211] In the blockchain, block nodes, optimization nodes, control nodes and status nodes are set. Distributed power supply nodes, electric vehicle charging and discharging nodes, energy storage device charging and discharging nodes, natural gas combined cooling, heating and power unit nodes, ground source / gas source / water source heat pump unit nodes, water storage or ice storage unit nodes, controllable electric load nodes, controllable heat load nodes, and controllable cold load nodes are authenticated by real name and become block nodes according to the different needs of control and status areas. They can be divided into "source" block nodes and "load" block nodes. The optimization node is determined by random selection, the control node is determined by optimization, and the real-time status and future situation of the status node are evaluated by simulation calculation.

[0212] The blockchain "source" and "load" block nodes are randomly selected, and the random selection method is used to determine the N nodes in the t period. DGit Power block nodes, N HSit cold source block nodes, N CSit heat source block nodes, N Dit "Load" block nodes, N Oit optimization nodes, N Ctrlit control nodes and N Sit Assume that in time period t, the power source, cooling source, heat source, and load block nodes are selected as k DGOit , k COit , k HOit , k DOit times, then to ensure the Byzantine fault-tolerant consensus requirement, the probability that each "source" and "load" block node is optimized more than half of the time is:

[0213]

[0214] Where N SDit is the number of randomly selected “source” and “load” block nodes in period t, N SDit =N DGit +N Cit +N Hit +N Dit , k SDOit is the number of times the “source” and “load” block nodes are optimized in period t, k SDOit =k DGOit +k COit +k HOit +k DOit .

[0215] Using the following formula, we can calculate and get the optimized number of nodes in the power source, cold source, heat source, and load block:

[0216]

[0217]

[0218]

[0219]

[0220] The blockchain control node is randomly selected. Assume that in period t, the control node is selected k in one optimization. CtrlOit times, then to ensure the Byzantine fault-tolerant consensus requirement, the number of control nodes must meet the following formula:

[0221]

[0222] The blockchain state node is randomly selected. Assume that in period t, the state node is selected k in one optimization. SOit times, then to ensure the Byzantine fault-tolerant consensus requirement, the number of state nodes must meet the following formula:

[0223]

[0224] In the randomly selected N Oit In the optimization nodes, the optimization is performed according to the above objective function and constraints. According to the requirements and rules of the Byzantine fault-tolerant consensus, the decision variables optimized by the blockchain are transmitted as transaction data in all multi-energy systems. According to the requirements and rules of the Byzantine fault-tolerant consensus, the transaction data, control data, status data, etc. are all in N Oit The data is stored in an optimized node and verified according to the requirements and rules of the Byzantine fault-tolerant consensus.

[0225] The energy flow collaborative optimization control method proposed in the present invention realizes the collaborative optimization operation of the photovoltaic-vehicle-storage multi-energy system group. Its expected goal is to maximize the utilization rate of new energy, power generation efficiency, power generation equipment utilization rate, and annual utilization hours of power generation equipment in the photovoltaic-vehicle-storage multi-energy system, and increase the power generation within the daily, monthly, annual, and multi-year operation cycles. This market-oriented multi-level and multi-type energy flow collaborative optimization control method simultaneously reflects the randomness of changes in sunshine intensity, sunshine shadows, and sunshine deflection angles over many years, provides theoretical guidance for the configuration of power capacity, power generation output prediction, and operation scheduling of multi-energy systems, and provides necessary technical support for distributed new energy power generation and smart grid scheduling and operation.

[0226] See also Figure 2 Another embodiment of the present invention provides an energy flow collaborative optimization control device, comprising:

[0227] The construction module 11 is used to construct the corresponding data matrix in the multi-energy system data.

[0228] The acquisition module 12 is used to acquire the corresponding operation characteristics of the data matrix using a fuzzy clustering analysis algorithm.

[0229] The determination module 13 is used to combine the operation characteristics with a preset Byzantine fault-tolerant consensus algorithm to achieve multi-energy coordinated optimization operation.

[0230] For the specific definition of the energy flow collaborative optimization control device, please refer to the definition of the energy flow collaborative optimization control method above, which will not be repeated here. Each module in the above-mentioned energy flow collaborative optimization control device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0231] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for collaborative optimization control of energy flow, characterized in that: include: According to the energy data of the multi-energy system group, a data matrix corresponding to each energy data is constructed, wherein the energy data includes photovoltaic power generation data, electric vehicle charging and discharging data, energy storage device charging and discharging data, and load data, and the data matrix includes a historical data matrix, a real-time data matrix, and a predicted data matrix; Using a fuzzy cluster analysis algorithm to analyze each of the data matrices to obtain the operating characteristics of each of the data matrices; According to the operation characteristics of all the data matrices and the preset constraints, a multi-level energy flow collaborative optimization control model is constructed, and according to the preset Byzantine fault-tolerant consensus algorithm, the multi-energy collaborative optimization operation plan is determined to control the multi-energy system group to achieve multi-energy collaborative optimization operation; The step of constructing a multi-level energy flow collaborative optimization control model according to the operating characteristics of all the data matrices and the preset constraints includes: Taking the maximization of distributed photovoltaic power generation efficiency within the multi-energy system as the objective function and combining with preset constraints, a multi-level energy flow collaborative optimization control model is constructed. The preset constraints include the first constraint of the photovoltaic power generation power of the multi-energy system, the second constraint of the charging and discharging power of the electric vehicle of the multi-energy system, the third constraint of the charging and discharging power of the energy storage device of the multi-energy system, and the fourth constraint of the power of the cooling, heating and electric loads of the multi-energy system; wherein, The first constraint condition is that the active power output by the photovoltaic power generation system is not greater than the predicted data of the photovoltaic power generation system power and greater than the average data of the photovoltaic power generation system power, and the average data of the photovoltaic power generation system power is the average value of the sum of the historical data, real-time data and predicted data of the photovoltaic power generation system power; The second constraint condition is that the active power of the electric vehicle charging and discharging is not greater than the predicted data of the electric vehicle charging and discharging power and is greater than the average data of the electric vehicle charging and discharging power, and the average data of the electric vehicle charging and discharging power is the average value of the sum of the historical data, real-time data and predicted data of the electric vehicle charging and discharging power; The third constraint condition is that the active power of the energy storage device charged and discharged is not greater than the predicted data of the energy storage device charge and discharge power and is greater than the average data of the energy storage device charge and discharge power, and the average data of the energy storage device charge and discharge power is the average value of the sum of the historical data, real-time data and predicted data of the energy storage device charge and discharge power; The fourth constraint condition is that the active power of the cold, hot and electric load is not greater than the predicted data of the cold, hot and electric load power and greater than the average data of the cold, hot and electric load power, and the average data of the cold, hot and electric load power is the average value of the sum of the historical data, real-time data and predicted data of the cold, hot and electric load power; Determining the multi-energy coordinated optimization operation plan is specifically: Determining the maximized distributed photovoltaic power generation efficiency within the multi-energy system according to the multi-level energy flow collaborative optimization control model; The multi-energy collaborative optimization operation plan is determined in combination with the maximized distributed photovoltaic power generation efficiency within the multi-energy system and the preset Byzantine fault-tolerant consensus algorithm.

2. The energy flow collaborative optimization control method according to claim 1 is characterized in that: The step of obtaining the operation characteristics of each of the data matrices is specifically as follows: Determine the fuzzy cluster center matrix of the data matrix according to the fuzzy cluster analysis algorithm, wherein the fuzzy cluster center matrix includes a minimum fuzzy cluster center matrix, an average fuzzy cluster center matrix and a maximum fuzzy cluster center matrix; The operating characteristics of the fuzzy clustering center matrix are determined by iterative calculation, wherein the operating characteristics include the optimal value of the active power output by each system in the multi-energy system, and the optimal value includes the optimal value of the minimum fuzzy clustering center matrix, the optimal value of the average fuzzy clustering center matrix, and the optimal value of the maximum fuzzy clustering center matrix.

3. An energy flow collaborative optimization control device, characterized in that: include: A construction module, for constructing a data matrix corresponding to each energy data of the multi-energy system group, wherein the energy data includes photovoltaic power generation data, electric vehicle charging and discharging data, energy storage device charging and discharging data, and load data, and the data matrix includes a historical data matrix, a real-time data matrix, and a predicted data matrix; An acquisition module, used for analyzing each of the data matrices using a fuzzy clustering analysis algorithm to acquire the operating characteristics of each of the data matrices; A determination module is used to construct a multi-level energy flow collaborative optimization control model according to the operation characteristics of all the data matrices and preset constraints, and determine the multi-energy collaborative optimization operation plan according to a preset Byzantine fault-tolerant consensus algorithm to control the multi-energy system group to achieve multi-energy collaborative optimization operation; The step of constructing a multi-level energy flow collaborative optimization control model according to the operating characteristics of all the data matrices and the preset constraints includes: Taking the maximization of distributed photovoltaic power generation efficiency within the multi-energy system as the objective function and combining with preset constraints, a multi-level energy flow collaborative optimization control model is constructed. The preset constraints include the first constraint of the photovoltaic power generation power of the multi-energy system, the second constraint of the charging and discharging power of the electric vehicle of the multi-energy system, the third constraint of the charging and discharging power of the energy storage device of the multi-energy system, and the fourth constraint of the power of the cooling, heating and electric loads of the multi-energy system; wherein, The first constraint condition is that the active power output by the photovoltaic power generation system is not greater than the predicted data of the photovoltaic power generation system power and greater than the average data of the photovoltaic power generation system power, and the average data of the photovoltaic power generation system power is the average value of the sum of the historical data, real-time data and predicted data of the photovoltaic power generation system power; The second constraint condition is that the active power of the electric vehicle charging and discharging is not greater than the predicted data of the electric vehicle charging and discharging power and is greater than the average data of the electric vehicle charging and discharging power, and the average data of the electric vehicle charging and discharging power is the average value of the sum of the historical data, real-time data and predicted data of the electric vehicle charging and discharging power; The third constraint condition is that the active power of the energy storage device charged and discharged is not greater than the predicted data of the energy storage device charge and discharge power and is greater than the average data of the energy storage device charge and discharge power, and the average data of the energy storage device charge and discharge power is the average value of the sum of the historical data, real-time data and predicted data of the energy storage device charge and discharge power; The fourth constraint condition is that the active power of the cold, hot and electric load is not greater than the predicted data of the cold, hot and electric load power and greater than the average data of the cold, hot and electric load power, and the average data of the cold, hot and electric load power is the average value of the sum of the historical data, real-time data and predicted data of the cold, hot and electric load power; The determining module is further used for: Determining the maximized distributed photovoltaic power generation efficiency within the multi-energy system according to the multi-level energy flow collaborative optimization control model; The multi-energy collaborative optimization operation plan is determined in combination with the maximized distributed photovoltaic power generation efficiency within the multi-energy system and the preset Byzantine fault-tolerant consensus algorithm.

4. The energy flow collaborative optimization control device according to claim 3 is characterized in that: The acquisition module is further used for: Determine the fuzzy cluster center matrix of the data matrix according to the fuzzy cluster analysis algorithm, wherein the fuzzy cluster center matrix includes a minimum fuzzy cluster center matrix, an average fuzzy cluster center matrix and a maximum fuzzy cluster center matrix; The operating characteristics of the fuzzy clustering center matrix are determined by iterative calculation, wherein the operating characteristics include the optimal value of the active power output by each system in the multi-energy system, and the optimal value includes the optimal value of the minimum fuzzy clustering center matrix, the optimal value of the average fuzzy clustering center matrix, and the optimal value of the maximum fuzzy clustering center matrix.