Micro-grid multi-agent coordination control system fusing digital twinborn model

By adopting a combination of artificial intelligence model and digital twin model in the microgrid, the problem of insufficient prediction accuracy of clean energy power generation and load in the microgrid is solved, and more accurate prediction and optimized resource scheduling is achieved, ensuring that the microgrid is economic operation and environmental protection.

CN119051041APending Publication Date: 2024-11-29HEFEI YUANLI ZHONGHE ENERGY TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411176453.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The prediction accuracy of clean energy power generation and load in the microgrid is limited, resulting in a large deviation from the actual power generation, affecting the effectiveness of subsequent coordination control strategies.

Method used

Using artificial intelligence models to build prediction models, combining microgrid equipment operation data and meteorological data, building prediction models through recurrent neural networks and attention mechanisms, and using digital twin models to obtain optimal control decisions, optimize resource scheduling to achieve accurate prediction and control .

Benefits of technology

The accuracy of predicted power generation and load is improved, the deviation between the predicted results and actual power generation is reduced, the economic operation and environmental protection of the microgrid are realized, and the normal power supply to the user side is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119051041A_ABST
    Figure CN119051041A_ABST
Patent Text Reader

Abstract

The invention discloses a micro-grid multi-agent coordination control system fusing a digital twinborn model. The micro-grid multi-agent coordination control system comprises a data acquisition module, a digital twinborn module and a data processing module, relates to the technical field of micro-grid coordination control, and solves the technical problem that a large deviation exists between a prediction result and an actual power generation amount, so that a subsequent coordination control strategy is influenced. The prediction of the generating capacity and the load capacity of the clean energy is carried out by using the prediction model constructed by the artificial intelligence model, and the operation data and the meteorological data of the micro-grid equipment during operation are used as the input data, so that the actual weather condition and the actual operation state can be better fit, and the prediction efficiency is improved when the prediction model is trained. According to the method, the data volume in the database is trained and verified in a decreasing manner, and the training is stopped after the preset precision requirement is met, so that the training speed can be increased, and the precision of the prediction model can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of microgrid coordinated control, and specifically is a microgrid multi-agent coordinated control system integrating a digital twin model. Background Art

[0002] In terms of the current development situation, microgrids based on clean energy such as photovoltaic and wind power generation are widely used in real life. The application of microgrid systems not only reduces line losses and transmission costs, but also reduces the emission of power generation pollution. However, compared with traditional power grids, the stability and reliability of distributed power generation in microgrids are relatively complex, so the coordination and control capabilities are poor. It is difficult to meet the needs of future smart energy system operation and control.

[0003] At present, a large amount of calculation and prediction data is required in the power digital twin. When calculating the prediction data, most of them are determined by establishing a linear regression model to predict parameters such as power generation. However, the prediction parameters in the microgrid will be greatly affected by weather factors. Therefore, the prediction accuracy of power generation and load is limited, and it is difficult to accurately reflect the actual operating conditions of the power grid, resulting in a large deviation between the prediction results and the actual power generation, which affects the subsequent coordinated control strategy. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art; to this end, the present invention proposes a microgrid multi-agent coordinated control system integrating a digital twin model, which is used to solve the technical problem that there is a large deviation between the predicted result and the actual power generation, thereby affecting the subsequent coordinated control strategy. The present invention predicts the power generation and load of clean energy by using a prediction model constructed by an artificial intelligence model, and solves the above-mentioned problem by using the operating data and meteorological data of the microgrid equipment during operation as input data.

[0005] To achieve the above-mentioned object, a first aspect of the present invention provides a microgrid multi-agent coordinated control system integrating a digital twin model, comprising: a data acquisition module, a digital twin module, a data processing module and a control module;

[0006] The data acquisition module is used to collect the operation data and meteorological data of the microgrid during operation; and

[0007] Obtain connection relations and parameter data between several microgrid devices;

[0008] The digital twin module: establishes a digital twin model of the microgrid based on the connection relationship and parameter data between the microgrid devices;

[0009] The data processing module: based on inputting meteorological data and operation data into the prediction model, obtains the predicted power generation and predicted load; wherein the prediction model is established based on the artificial intelligence model; and,

[0010] Obtain optimal control decisions based on digital twin models, predicted power generation and predicted load;

[0011] The control module is used to send the optimal control decision to the source controller.

[0012] It should be noted that the parameter data includes necessary parameters such as physical model data, sensor data and status data of each microgrid device between several microgrids, and the above-mentioned predicted power generation is the predicted data of power generation of new energy such as photovoltaic and wind power.

[0013] Preferably, the digital twin model of the microgrid is constructed based on a "source-grid-load-storage" microgrid intelligent agent mathematical model.

[0014] Preferably, the prediction model is established based on an artificial intelligence model, including:

[0015] Extract the operation data, meteorological data and corresponding power generation and load of the microgrid during operation from the historical database; the operation data includes power generation data, power consumption data and environmental data, and the meteorological data includes average temperature, relative humidity, sunshine duration and average wind speed;

[0016] Construct a prediction model to be trained based on a recurrent neural network and introduce an attention mechanism;

[0017] Construct the basic data set from operation data, meteorological data, power generation and load;

[0018] The prediction model to be trained is trained using the basic data set, and a prediction model is obtained whose input is operation data and meteorological data, and whose output is predicted power generation and predicted load.

[0019] It should be noted that the ratios of the training set, the test set, and the supplementary practice set are obtained according to the training situation.

[0020] Preferably, the step of training the prediction model to be trained using the basic data set includes:

[0021] Step 1: Use a% of the data in the basic data set as the training set to train the prediction model to be trained; where a is a positive number;

[0022] Step 2: Use b% of the remaining data as a test set to test the trained prediction model and then obtain the test accuracy; where b is a positive number and a>b, the test accuracy index can be judged by indicators such as mean relative absolute error;

[0023] Step 3: Determine whether the test accuracy reaches the accuracy threshold; if yes, stop training; if not, continue training the prediction model using b% of the remaining data as the training set and jump to step 2.

[0024] It should be noted that the basic data set includes: training set, test set and supplementary practice set. The training set is used to train the prediction model to be trained, the test set is used to test the trained prediction model, and the supplementary practice set is used to retrain the trained prediction model but the prediction model that does not meet the requirements.

[0025] Preferably, obtaining the optimal control decision based on the digital twin model, predicted power generation and predicted load includes:

[0026] S1: Calculate the difference between the predicted power generation and the predicted load to obtain the supplementary load; determine whether the supplementary load is greater than 0; if yes, jump to S2; if no, transmit the predicted power generation and predicted load to the control energy storage module and the user end;

[0027] S2: Setting constraints Where, is the supplementary load, Q t is the power of the energy storage device at the current time, Q 2min is the minimum power of the energy storage device, Q 2max is the maximum capacity of the energy storage device, Q gen is the total power supply of fuel power generation equipment, Q buy is the amount of electricity purchased from the grid, Q sell is the amount of electricity sold to the grid, Q ESS is the charge and discharge amount of energy storage (positive for discharge, negative for charge);

[0028] S3: Set the winning population planning, temporary population size, number of iterations, number of population strategies, initial weight and optimization accuracy, and set the optimization goal;

[0029] S4: Generate several operation strategies for the population based on the supplementary load and MEA optimization algorithm, input the operation strategies into the digital twin model simulation operation, and obtain several simulation results; compare the fitness values ​​of several simulation results, and select the optimal operation strategy.

[0030] Preferably, the optimization objectives include:

[0031] Where N is the number of fuel power generation equipment, M is the number of pollutant types, i is the serial number of the current fuel power generation equipment, k is the serial number of the current pollutant, and c i,k is the unit treatment cost of fuel power generation equipment i when the pollutant type is k, α i,kis the emission ratio coefficient of fuel power generation equipment i when the type of pollutant emitted is k, P i is the power generation of fuel power generation equipment i; β i is the average consumption of fuel for power generation equipment i per unit time, t i is the power generation time of fuel power generation equipment i, d i is the cost of the fuel used by fuel power generation equipment i, c buy is the unit price of electricity purchased from the grid, c sell is the unit price of electricity sold to the power grid, f1 is the cost of treating pollutants, f2 is the cost of fuel power generation equipment, and f3 is the cost of purchasing electricity from the power grid.

[0032] It should be noted that the unit time in the above can be one day or one hour, f1 represents the environmental protection cost, f2 represents the fuel power generation cost, and f3 represents the power purchase cost of the power grid. The cost can be minimized by calculating the sum of f1, f2 and f3, that is, the minimum value of the adaptation value.

[0033] Compared with the prior art, the present invention has the following beneficial effects:

[0034] 1. In the present invention, the prediction of clean energy power generation and load is carried out by using a prediction model constructed by an artificial intelligence model, and the operating data and meteorological data of the microgrid equipment during operation are used as input data, which can be more in line with the actual weather conditions and operating status. Moreover, when training the prediction model, the amount of data in the database is used as the basic amount for training and verification in a decreasing manner, and the training is stopped after the preset accuracy requirement is reached. In this way, not only the training speed can be accelerated, but also the accuracy of the prediction model can be guaranteed, further reducing the problem of large deviation between the prediction result and the actual power generation.

[0035] 2. In the present invention, when obtaining the optimal control decision, In order to optimize the target, the minimum value of the sum of f1, f2, and f3 is selected from several operation strategies to obtain the minimum cost, so as to ensure that the microgrid can supply power to the user end normally, while keeping the use cost and maintenance cost of fuel resources to the lowest, thus optimizing resource scheduling and realizing economic operation and environmental protection of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1A connection diagram of a microgrid multi-agent coordinated control system integrating a digital twin model according to the present invention;

[0038] Figure 2 It is a flow chart of a microgrid multi-agent coordinated control system integrating a digital twin model according to the present invention;

[0039] Figure 3 This is a logic block diagram of using a basic data set to train a prediction model to be trained in the present invention. DETAILED DESCRIPTION

[0040] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than 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.

[0041] See also Figure 1-Figure 3 , the first aspect of the present invention provides a microgrid multi-agent coordinated control system integrating a digital twin model, comprising: a data acquisition module, a digital twin module, a data processing module and a control module connected in a progressive manner, and the output end of the data acquisition module is connected to the input end of the data processing module;

[0042] Data acquisition module: used to collect operating data and meteorological data of the microgrid during operation; and,

[0043] Obtain connection relations and parameter data between several microgrid devices;

[0044] Digital twin module: establishes a digital twin model of the microgrid based on the connection relationship and parameter data between microgrid devices;

[0045] Data processing module: based on inputting meteorological data and operation data into the prediction model, the predicted power generation of photovoltaic wind power and other new energy power generation equipment and the predicted load of the power supply area are obtained; wherein the prediction model is established based on the artificial intelligence model; and,

[0046] Obtain optimal control decisions based on digital twin models, predicted power generation and predicted load;

[0047] Control module: used to send the optimal control decision to the source controller.

[0048] Specifically, the connection protocols between microgrid devices include UDP, OCPP, and OpenADR, and the parameter data include physical model data, sensor data, and necessary parameters of status data of each microgrid device between several microgrids.

[0049] In this embodiment, when constructing a digital twin model, the digital twin model is constructed based on a microgrid intelligent agent mathematical model of "source-grid-load-storage".

[0050] In this embodiment, in order to improve the accuracy of predicted power generation and predicted load, the prediction model is established based on an artificial intelligence model, including:

[0051] Extract the operation data, meteorological data and corresponding power generation and load of the microgrid during operation from the historical database; the operation data includes power generation data, power consumption data and environmental data, and the meteorological data includes average temperature, relative humidity, sunshine duration and average wind speed;

[0052] Construct a prediction model to be trained based on a recurrent neural network and introduce an attention mechanism;

[0053] Construct the basic data set from operation data, meteorological data, actual power generation and actual load;

[0054] The prediction model to be trained is trained using the basic data set to obtain a prediction model whose input is operation data and meteorological data and whose output is predicted power generation and predicted load;

[0055] Furthermore, in order to improve the training speed while ensuring its accuracy, the prediction model to be trained is trained using the basic data set, including:

[0056] Step 1: Use 60% of the data in the basic data set as the training set to train the prediction model to be trained;

[0057] Step 2: Use 50% of the remaining data as a test set to test the trained prediction model and obtain the test accuracy; the test accuracy can be judged by indicators such as mean relative absolute error;

[0058] Step 3: Determine whether the test accuracy is lower than the accuracy threshold of 8%; if yes, stop training; if not, use 50% of the remaining data as the training set to train the prediction model and jump to step 2.

[0059] For example, there are 10,000 data in the basic data set. In the first training, 6,000 data are used as the training set to train the prediction model to be trained, and 50% of the remaining 4,000 data, i.e., 2,000 data, are used as the test set to test the trained prediction model. If the test accuracy is not reached, the second training will use 50% of the 2,000 data, i.e., 1,000 data, as the training set to train the training prediction model again.

[0060] Furthermore, obtaining the optimal control decision based on the digital twin model, predicted power generation and predicted load includes:

[0061] S1: Calculate the difference between the predicted power generation and the predicted load to obtain the supplementary load; determine whether the supplementary load is greater than 0; if yes, jump to S2; if no, transmit the predicted power generation to the control energy storage module and the user end;

[0062] S2: Setting constraints Where, is the supplementary load, Q t is the power of the energy storage device at the current time, Q 2min is the minimum power of the energy storage device, Q 2max is the maximum capacity of the energy storage device, Q gen is the total power supply of fuel power generation equipment, Q buy is the amount of electricity purchased from the grid, Q sell is the amount of electricity sold to the grid, Q ESS is the charge and discharge amount of energy storage (positive for discharge, negative for charge);

[0063] S3: Set the winning population planning, temporary population size, number of iterations, number of population strategies, initial weight and optimization accuracy, and set the optimization goal;

[0064] S4: Generate several operation strategies for the population based on the supplementary load and MEA optimization algorithm, input the operation strategies into the digital twin model simulation operation, and obtain several simulation results; compare the fitness values ​​of several simulation results, and select the optimal operation strategy.

[0065] For example, the predicted power generation is 1200kW, and the predicted load is 1500kW. The difference is 1500kW-1200kW=300kW, that is, the supplementary load Qb=300KW, which requires power supply through energy storage equipment or power generation through fuel-fired power generation equipment, and the winning population size is set to 18, the temporary population size is set to 24; the number of iterations is set to 3600 times; the number of population strategies is set to 6; the initial weight is set to 0.5; the optimization accuracy is set to 10 -5 .

[0066] In this embodiment, when the predicted power generation is much greater than the predicted load, the excess power can be stored in actual applications. At this time, the constraint condition needs to be met: 0≤Pc≤Pmax-Pd, where Pc is the power charged to the energy storage system, Pmax is the maximum power that can be stored in the energy storage system, and Pd is the power stored in the energy storage system; when the sum of the power generation of the fuel power generation equipment and the clean energy power generation equipment is also less than the load, the stored power can be used to supply power.

[0067] In another preferred embodiment, after the optimal operation strategy is applied to the microgrid, the corresponding data source is collected again and fed back to the digital twin model for further optimization to achieve continuous improvement.

[0068] In order to achieve the purpose of cost saving, the optimization target is composed of f1 and f2. f1 represents the environmental protection cost, and f2 represents the fuel power generation cost. By calculating the sum of f1 and f2, that is, the minimum value of the adaptation value, the cost can be minimized. Specifically:

[0069] Where N is the number of fuel power generation equipment, M is the number of pollutant types, i is the serial number of the current fuel power generation equipment, k is the serial number of the current pollutant, and c i,k is the unit treatment cost of fuel power generation equipment i when the pollutant type is k, α i,k is the emission ratio coefficient of fuel power generation equipment i when the type of pollutant emitted is k, P i is the power generation of fuel power generation equipment i; β i is the average consumption of fuel for power generation equipment i in one hour, t i is the power generation time of fuel power generation equipment i, d i is the cost of the fuel used by fuel power generation equipment i, c buy is the unit price of electricity purchased from the grid, c sell is the unit price of electricity sold to the power grid, f1 is the cost of treating pollutants, f2 is the cost of fuel power generation equipment, and f3 is the cost of purchasing electricity from the power grid.

[0070] Part of the data in the above formula is calculated by removing the dimension and taking its numerical value. The formula is a formula closest to the actual situation obtained by software simulation of a large amount of collected data; the preset parameters and preset thresholds in the formula are set by technical personnel in this field according to actual conditions or obtained through simulation of a large amount of data.

[0071] The working principle of the present invention is as follows: before performing multi-agent coordinated control, the connection relationship and parameter data between a number of microgrid devices are obtained, and a digital twin model of the microgrid is established based on the connection relationship and parameter data between the microgrid devices; and a prediction model is established based on the artificial intelligence model;

[0072] Collect the operating data and meteorological data of the microgrid during operation, obtain the connection relationship and parameter data between several microgrid devices, input the meteorological data and operating data into the prediction model to obtain the predicted power generation and predicted load; obtain the optimal control decision based on the digital twin model, predicted power generation and predicted load.

[0073] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. A microgrid multi-agent coordinated control system integrating a digital twin model, comprising: The data processing module and the data acquisition module and digital twin module connected thereto are characterized in that the data acquisition module is used to collect operating data and meteorological data of the microgrid during operation; and Obtain connection relations and parameter data between several microgrid devices; The digital twin module: establishes a digital twin model of the microgrid based on the connection relationship and parameter data between the microgrid devices; The data processing module: based on inputting meteorological data and operation data into the prediction model, obtains the predicted power generation and predicted load; wherein the prediction model is established based on the artificial intelligence model; and, Obtain optimal control decisions based on digital twin models, predicted power generation and predicted load.

2. According to a microgrid multi-agent coordinated control system integrating a digital twin model according to claim 1, it is characterized in that: The digital twin model of the microgrid is constructed based on the "source-grid-load-storage" microgrid intelligent agent mathematical model.

3. According to a microgrid multi-agent coordinated control system integrating a digital twin model according to claim 1, it is characterized in that: The prediction model is established based on an artificial intelligence model, including: Extract the operation data, meteorological data and corresponding actual power generation and actual load of the microgrid during operation from the historical database; the operation data includes power generation data, power consumption data and environmental data, and the meteorological data includes average temperature, relative humidity, sunshine duration and average wind speed; Construct a prediction model to be trained based on a recurrent neural network and introduce an attention mechanism; Construct the basic data set from operation data, meteorological data, actual power generation and actual load; The prediction model to be trained is trained using the basic data set to obtain a prediction model with operation data and meteorological data as input and power generation and load as output.

4. According to a microgrid multi-agent coordinated control system integrating a digital twin model according to claim 3, it is characterized in that: The method of training the prediction model to be trained by using the basic data set includes: Step 1: Use a% of the data in the basic data set as the training set to train the prediction model to be trained; where a is a positive number; Step 2: Use b% of the remaining data as a test set to test the trained prediction model and then obtain the test accuracy; where b is a positive number and a>b, the test accuracy index can be judged by the mean relative absolute error index; Step 3: Determine whether the test accuracy reaches the accuracy threshold; if yes, stop training; if not, use b% of the remaining data as the training set to train the prediction model and jump to step 2.

5. According to a microgrid multi-agent coordinated control system integrating a digital twin model according to claim 1, it is characterized in that: Obtain optimal control decisions based on digital twin models, predicted power generation and predicted load, including: S1: Calculate the difference between the predicted power generation and the predicted load to obtain the supplementary load; determine whether the supplementary load is greater than 0; if yes, jump to S2; if no, transmit the predicted power generation and predicted load to the control energy storage module and the user end; S2: Setting constraints Among them, Q 1b To supplement the load, Q t is the power of the energy storage device at the current time, Q 2min is the minimum power of the energy storage device, Q 2max is the maximum capacity of the energy storage device, Q gen is the total power supply of fuel power generation equipment, Q buy is the amount of electricity purchased from the grid, Q sell is the amount of electricity sold to the grid, Q ESS is the charge and discharge capacity of energy storage; S3: Set the winning population planning, temporary population size, number of iterations, number of population strategies, initial weight and optimization accuracy, and set the optimization goal; S4: Generate several operation strategies for the population based on the supplementary load and MEA optimization algorithm, input the operation strategies into the digital twin model simulation operation, and obtain several simulation results; compare the fitness values ​​of several simulation results, and select the optimal operation strategy.

6. According to claim 5, a microgrid multi-agent coordinated control system integrating a digital twin model is characterized in that: The optimization objectives include Where N is the number of fuel power generation equipment, M is the number of pollutant types, i is the serial number of the current fuel power generation equipment, k is the serial number of the current pollutant, and c i,k is the unit treatment cost of fuel power generation equipment i when the pollutant type is k, α i,k is the emission ratio coefficient of fuel power generation equipment i when the type of pollutant emitted is k, P i is the power generation of fuel power generation equipment i; β i is the average consumption of fuel for power generation equipment i in one hour, t i is the power generation time of fuel power generation equipment i, d i is the cost of the fuel used by fuel power generation equipment i, c buy is the unit price of electricity purchased from the grid, c sell is the unit price of electricity sold to the power grid, f1 is the cost of treating pollutants, f2 is the cost of fuel power generation equipment, and f3 is the cost of purchasing electricity from the power grid.

7. The microgrid multi-agent coordinated control system integrating a digital twin model according to claim 1 is characterized in that: The connection protocols between the microgrid devices include UDP, OCPP, and OpenADR.

Citation Information

Cited By

  • Intelligent Orchestration Systems for Energy and Power Management of Edge Networking Devices and Distributed Energy Entities

    US20230335998A1