An uncertainty-aware management and control method for smart grid based on interval prediction
By adopting a distributed architecture of cloud services and fog computing in smart grids, combined with the LSTM method for prediction, the problem of uncertainty management in smart grids is solved, energy efficiency is improved, and equal power management is achieved.
Patent Information
- Application Number
- CN202211096606.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-08
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-09-08
AI Technical Summary
It is difficult for existing technologies to effectively predict and manage uncertainties in smart grids, resulting in low energy efficiency and inability to effectively resist uncertainty problems in power grids.
A two-layer distributed architecture based on cloud services and fog computing is used, combined with the LSTM method, to locally predict the uncertainty of photovoltaic output power, small wind turbine output power and load demand, and provide each consumer with a multi-agent prediction interval. demand range', and the next time interval is obtained by the dispatchable generator on its own to maximize social welfare.
It improves the energy efficiency of smart grids, achieves effective management of uncertainty factors, ensures the equal rights of consumers and generators in power management, and provides a flexible, reliable and secure energy management system.
Smart Images

Figure CN116111599B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of smart grids, and in particular relates to a smart grid uncertainty perception management and control method based on interval prediction. Background Art
[0002] Due to environmental, financial and other issues, the bidirectional management of power supply and demand is an important issue for power grids around the world. Smart grids use advanced system controllers, data communications, networks and computing equipment technologies to easily alleviate this problem. However, the full potential of the power grid in energy management has not yet been realized. In fact, smart grids have the ability to further develop automation systems, tap into the potential links between power generation and transmission to different types of consumers, and achieve higher levels of energy efficiency. Demand response planning is key to providing a more energy-efficient power system and more appropriate power services. Demand response is defined as an incentive designed to make electricity consumers aware of changes in electricity prices. For example, when the maximum output power of renewable energy power plants, such as wind turbines (WT) and photovoltaic power generation (PV), is sufficient, customers can be encouraged to use more electricity during that time period by reducing the power consumption of the store.
[0003] Demand response management programs can also include various incentives for consumers who demand electricity during peak hours or when grid reliability is at risk. Motivations and incentives are intended to attract consumers to schedule the grid and their own electricity needs in a more adequate manner. The purpose of this invention is to establish a fair energy market to guarantee equal rights for all participants in demand response programs. We intend to establish a trust-based short-term energy market demand response program with voluntary load demands and dispatchable generators as individual market participants, and use LSTM interval prediction technology to perceive and manage various uncertainties in the smart grid and optimize them. Both trading parties have the same proportion and rights to apply their needs in a fair market. As a system infrastructure, there are also some basic requirements for deploying this energy management mechanism. Some of them are listed below: security and privacy, avoiding monopoly, accuracy, quality of service, uncertainty awareness, flexibility, scalability, and applicability. In order to have a secure, reliable, flexible, and automated smart grid energy management system, implementing a multi-agent system is a sufficient choice. Traditional energy management problems are solved using centralized optimization methods such as heuristic algorithms, while recent research is about introducing distributed methods. We can divide the algorithms used in the field of multi-agent based energy management into three main categories: 1) Primitive-dual Lagrangian based methods; 2) Common multiplier alternating direction method based schemes; 3) Consensus based average methods. The first two categories are characterized by flexible methods and complex computational processes that can solve a very wide range of problems, while the third category is ultrafast and lightweight computational processes with a low coverage area.
[0004] Edge computing or fog computing is a distributed architecture with a small number of nodes close to the user, short local storage space, and weak processor strength. Due to the small distance between the user and the fog node, data communication will be high-speed and cheap. Fog computing can be the best choice for multi-agent computing, wireless sensor / actuator networks, and automation. In addition, existing researchers use consensus-based algorithms to introduce a distributed algorithm that takes transmission losses into account. For example, a three-layer multi-agent architecture for energy management of residential and industrial needs, a multi-agent structure for solving energy management problems, but ignores the important role of predicting the future state of uncertain sources in the system.
[0005] Uncertainty is an inevitable part of smart grids. Existing technologies predict uncertainty in both short-term and long-term scenarios. For power markets with a short-term vision, short-term plans are more efficient. There are many papers that use artificial neural networks to achieve this goal. There are other commonly used prediction methods, such as quantile regression and hybrid neural networks, but they all have low energy efficiency levels for smart grids and cannot predict smart grid uncertainty well. Summary of the invention
[0006] The technical problem to be solved by the present invention is to provide a smart grid uncertainty perception management and control method based on interval prediction to improve the energy efficiency level of the smart grid and resist the uncertainty problem of the smart grid.
[0007] The technical solution of the present invention is:
[0008] A smart grid uncertainty perception management and control method based on interval prediction, the method comprising:
[0009] Step 1: Based on the two-layer distributed architecture of cloud services and fog computing, the existing components of each layer have clear task allocation for uncertainty-aware energy management of the power system;
[0010] Step 2: Use the LSTM method to locally predict the uncertainty of photovoltaic output power, small wind turbine output power and load demand;
[0011] Step 3: Use multi-agent forecast intervals to obtain a “demand range” for each consumer, and dispatchable generators themselves obtain the next time interval to achieve maximum social welfare.
[0012] The two-layer distributed architecture based on cloud service and fog computing described in step 1 includes: A fog layer and B cloud layer;
[0013] The functions realized by the A fog layer include:
[0014] Pricing: Dispatched consumers assign themselves energy values at this level using a quadratic utility function based on the needs that must be run and controlled; assuming the pricing approach is trust-based, dispatchable generation units define their quadratic cost functions based on local generation costs, based on the necessity of electricity to load demand and the actual generation costs of the power plant;
[0015] Estimating demand and generation: forecasting demand based on the recorded amount of energy consumed in the past by each consumer, generation units with output, WT and PV, and forecasting generation in the next time interval based on past precedents;
[0016] Updating price status: The agent updates the status using a consensus protocol after exchanging status with anonymous neighbors before starting each time interval;
[0017] Short-term data storage: A short database is provided for the fog layer, enabling local units to save short-term data locally and use it; this storage of each agent saves the state of the exchange in each time interval; in addition, it is also necessary to record the last few time intervals from the random time unit as the input of the prediction system of the time series model;
[0018] Fulfill obligations: After reaching an agreement, the units shall fulfill their obligations according to the power generation and consumption status achieved, otherwise, expenditure penalties or other types of rule penalties shall be imposed under the supervision of the cloud layer.
[0019] B Cloud features include:
[0020] Long-term data storage and analysis: Real-time data is saved in each agent’s database for further analysis; the training process is deployed in an offline manner to update the prediction model;
[0021] Power mismatch calculation: To meet the public demand, the power mismatch is 0, which is the main responsibility of each grid in the power system; to achieve this goal, in each iteration, in the public cloud, the power mismatch parameter is supervised by the grid owner; with the prediction range of the output power of small wind turbines; the state calculation of load demand is based on the prediction interval of photovoltaics; the above data is collected by this cloud service in an anonymous way to protect the privacy of each unit; after calculating the total power mismatch, this quantity is multiplied by a coefficient as a penalty factor and passed to the leader; the leader is randomly completed by the service in the public cloud;
[0022] Isolation and enforcement: The public cloud is responsible for observing the proper performance of the agents; if any misbehavior or complaints arise in the system, the service department or authority follows up and fixes the failure; if an agent does not respond correctly, it should be isolated from other agents and the community election should be repeated for its neighbors.
[0023] The greatest social benefits are:
[0024]
[0025] The total social welfare refers to the maximum amount of the total welfare of power generation units and the total welfare of consumers.
[0026] In order to solve the maximization problem, the following equations between generation and consumption are considered, as well as the constraints of the acceptable range of generators and consumers, as the initial conditions of formula (1), as follows:
[0027]
[0028] Schedulable P Gen The total power generation of the non-dispatchable units is equal to the total load demand P each time Load The non-dispatchable units include photovoltaic P PV and small turbine units P WT ;
[0029] Demand-side welfare: The load demand welfare level shows the amount of surplus obtained by the consumer and is defined as the difference between the utility value earned by the customer and the amount spent on electricity and the market price λt as listed below
[0030]
[0031] The customer's utility function U j,t In the above formula, two characteristics are followed: the marginal benefit of the function is non-increasing and non-negative, and the output for 0 load demand should be 0; it is also assumed that this function is quadratic. Considering the properties and assumptions, the final formula of the customer function is as follows:
[0032]
[0033] The method to maximize social welfare is: According to formula 1-4, simplify the statement of the problem and get the following formula:
[0034]
[0035]
[0036]
[0037]
[0038]
[0039] That is, social welfare is maximized by minimizing formula (7).
[0040] Solutions to social welfare include:
[0041] Using a first-level consensus protocol, the maximum social welfare is obtained when the total load demand is equal to the total generation and the total power generation; the market price is equal to the cost value of the consumer and the utility value of the generator; the consensus variable is defined as the marginal cost of the dispatchable generation and consumption units, as follows:
[0042]
[0043]
[0044] For the proposed social welfare problem, the general form of the consensus variable of the ith subject is i Written as:
[0045] Λ i =2A i ×P i +B i i∈V G ∪V D (10)
[0046] where agents are considered to be dispatchable loads and generators;
[0047] The update rules of the consensus algorithm are as follows to obtain consensus among agents:
[0048]
[0049] The consensus price of all agents is obtained when the total load demand meets the total generation; the former condition is satisfied using (11), while the latter condition power balance is achieved by adding a penalty factor constructed from power mismatch as a leading agent, as shown below:
[0050]
[0051] After updating the marginal cost, the new states of the production and consumption units are updated as follows:
[0052]
[0053]
[0054] In order for the power imbalance to converge to zero in the smart grid, the power mismatch considering PV and WT as renewable power plants is calculated as follows:
[0055]
[0056] After each update, the power limits in terms of consumption and generation should be checked:
[0057]
[0058]
[0059] Locally predicting the uncertainty of PV output power, small wind turbine output power and load demand using the LSTM method means: predicting load demand, PV and WT output power from the recorded time series; that is, predicting the future state of each random source from a series of sample points in continuous time by calculating how the previous samples affect the current sample; this modeling process is completed by the LSTM method, which is a sequence-based method with a memory unit to save useful information from the past.
[0060] Beneficial effects of the present invention:
[0061] The present invention is based on a multi-agent deep learning algorithm, where agents are defined as voluntary consumers and dispatchable generators. Each consumer can voluntarily set a price for its electricity demand in each time interval of operation, ensuring equal rights of consumers and generators in power management; in addition, the method of distributed deep learning uncertainty analysis is applied to calculate the local prediction interval of sources with random properties in the system, such as loads, small wind turbines and rooftop photovoltaics; using the prediction range of load demand and random power generation output, a power consumption / power generation range is provided for each agent, called the "demand range"; fog computing deployment is used for fast calculation and reasonable pricing is provided for local; cloud services are used as virtual applications as efficient databases and computing units.
[0062] The present invention is based on the uncertainty-aware energy management of the multi-agent smart grid based on the cloud-fog architecture. It uses the LSTM method and takes the predicted sample data of load, PV and WT as the uncertainty source of the system to construct the optimal prediction interval to combat the uncertainty factors of the smart grid.
[0063] In the cloud-fog architecture of the present invention, the fog layer performs pricing, estimates demand and capacity, updates price status, and performs short-term data storage, while the cloud layer performs long-term data storage and analysis, power mismatch calculation, leader and neighborhood election, isolation and law enforcement, and regulatory and legal updates and other related services, making smart grid energy management more feasible, fast, flexible, secure, and reliable.
[0064] The present invention improves the energy efficiency level of the smart grid and resists the uncertainty problem of the smart grid. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 It is a schematic diagram of the process of the present invention. DETAILED DESCRIPTION
[0066] The present invention comprises:
[0067] Step 1. A novel two-layer distributed architecture based on cloud services and fog computing is introduced for uncertainty-aware energy management of power systems, with clear task assignments for existing components at each layer.
[0068] This paper proposes a cloud-fog architecture as the infrastructure of the multi-agent system as a flexible and scalable structure. The responsibilities of each layer are explained as follows:
[0069] A fog layer:
[0070] The fog layer is a distributed architecture with small nodes close to the users, short local storage space and weak processor strength. Since the distance between the users and the fog nodes is small, data communication will be high-speed and cheap. Fog computing can be the best choice for multi-agent computing, wireless sensor / actuator networks and automation. The responsibilities of the fog layer of the present invention are as follows.
[0071] Pricing: Dispatchy consumers assign themselves energy values at this level using a quadratic utility function based on the demand they must operate and control. The pricing approach is assumed to be trust-based, based on the necessity of electricity to the load demand and the actual generation cost of the power plant. Dispatchy generation units also define their quadratic cost function based on their local generation cost.
[0072] Estimating demand and generation: The demand of each consumer can be predicted based on the recorded amount of energy consumed in the past. The generation units in this paper have outputs, WT and PV, and their generation in the next time interval can be predicted based on their past precedents. The present invention uses LSTM for prediction.
[0073] Updating Price State: Agents update their state using a consensus protocol after exchanging their state with anonymous neighbors before starting each time interval. The neighborhood is randomly determined by the cloud layer in each time interval. This state is measured twice: 1) a randomly generated upper bound and lower bound of the load demand (maximum generation of PV used by the owner), 2) a randomly generated lower bound and upper bound of the load demand (minimum generation of PV used by the owner). The final result for each agent based on the update is the range of load demand or generation power that the agent should be prepared for.
[0074] Short-term data storage: A short database is provided for the fog layer, enabling local units to save their short-term data locally and use them in a very fast way. This storage of each agent can save the state of the exchange in each time interval. In addition, the last few time intervals from the random time unit need to be recorded as the input of the prediction system of the time series model. Therefore, these short-term records, such as one day or one week, are saved locally in the short database of the fog layer. All records and data will be saved in the cloud database for long-term analysis.
[0075] Fulfill obligations: After reaching an agreement, the unit shall fulfill its obligations according to the achieved power generation and consumption status. Otherwise, expenditure penalties or other types of rule penalties shall be imposed under the supervision of the cloud layer.
[0076] B Cloud layer:
[0077] Cloud computing is defined by Microsoft Azure as "Put simply, cloud computing is computing services delivered over the Internet ("the cloud") - including servers, storage, databases, networks, software, analytics, and intelligence - to provide faster innovation, flexible resources, and economies of scale." For an efficient multi-agent infrastructure, cloud computing is a viable option. The various services provided by cloud computing can facilitate operations at an appropriate speed and reasonable cost. There are three different ways to deploy cloud computing: 1) Private cloud, used by a single user / organization in a secure and exclusive manner; 2) Public cloud operated by the cloud owner or a third party, more general application scope, wider users, and less privacy; and 3) Hybrid cloud, which is a combination of the other two approaches.
[0078] In the invention, we propose a hybrid cloud to protect the data privacy of sensitive information and at the same time have an integrated system with the following features.
[0079] Long-term data storage and analysis: Real-time data can be saved in a larger database at each agent for further analysis. One of the important analyses is prediction. This paper proposes an LSTM approach for prediction systems. The training process can be deployed frequently in an offline manner to update the prediction model. Cloud services provide enough computing power and large databases with little investment in on-site assets.
[0080] Power mismatch calculation: It is the main responsibility of each grid in the power system to have a power mismatch of 0 to meet the public demand. To achieve this, in each iteration, in the public cloud, the power mismatch parameter is supervised by the grid owner. The cloud has a forecast range for the output power of small wind turbines. In addition, the state calculation of the load demand is based on the forecast interval of photovoltaics. The above data is collected by the cloud service in an anonymous manner to protect the privacy of each unit. After calculating the total power mismatch, this quantity is multiplied by a coefficient as its penalty factor and passed to the leader. The leader is randomly completed by the service in the public cloud.
[0081] Isolation and Enforcement: The public cloud is responsible for observing the proper performance of the agents. If any misbehavior or complaints are raised in the system, the service or authorities should follow up and fix the failure. If an agent does not respond properly, it should be isolated from other agents and the community election should be repeated for its neighbors.
[0082] Furthermore, hackers, lawbreakers, and agents who are unreliable about their responsibilities should be punished or penalized by the relevant laws. Updating of regulations and laws: Every smart and integrated system needs to be updated. The agent should be able to reliably update the system's software, services, and repair them when needed. This duty is performed by a public cloud. Moreover, various laws and protocols should be managed and enforced by this cloud and updated and broadcasted to existing participants to protect the system from malicious parties and lawbreakers. Considering the responsibilities of each layer, the flowchart of the proposed multi-agent based energy management framework is shown in Figure 1 shown.
[0083] Step 2. A new architecture is proposed to locally predict the uncertainty of photovoltaic output power, small wind turbine output power and load demand using the LSTM method.
[0084] The purpose of the LSTM-based forecasting system is to predict load demand, PV and WT output power from the recorded time series. In other words, the future state of each random source is predicted from a series of sample points in continuous time by calculating how the previous samples affect the current sample. This modeling process is done by the LSTM method, which is a sequence-based method with a memory unit to save useful information from the past.
[0085] Step 3: Use the multi-agent forecast interval to obtain a "demand range" for each consumer, and the dispatchable generators themselves obtain the next time interval to achieve the maximum social welfare. This range helps the power system resist unplanned uncertainties with a predefined probability.
[0086] Optimization goal:
[0087] The main purpose of the present invention is to improve the social welfare of power generation units and consumers who voluntarily participate in the demand response program. The maximum social welfare at a specific time is formulated as follows:
[0088]
[0089] The total social welfare refers to the maximum amount of the total welfare of power generation units and the total welfare of consumers. t is the maximum social welfare at time interval t, W i,G ,W j,D is the welfare function of the ith dispatchable generator and the load demand at the jth time interval t, is the power generation capacity of the ith dispatchable generator and the jth load demand in time interval t.
[0090] The total power generation should be equal to the sum of all consumed power at each operation to satisfy the power balance. In addition, each unit, whether it is power generation or consumption, should operate within its nominal range. Therefore, in order to solve the maximization problem, we should simultaneously consider the following equations between power generation and consumption, as well as the constraints on the acceptable range of generators and consumers, as the initial conditions of (1), as follows:
[0091]
[0092]
[0093]
[0094] As shown above, P can be scheduled Gen and non-dispatchable units (PV P in this paper) PV and small turbine units P WT The total power generation of the units (considered as undispatched units) is equal to the total load demand P each time Load , is the minimum and maximum generating capacity of the ith dispatchable generator at time interval t.
[0095] Demand-side welfare: The load demand welfare level shows the amount of surplus obtained by the consumer and is defined as the difference between the utility value earned by the customer and the amount spent on electricity and the market price λt as listed below
[0096]
[0097] The customer's utility function U j,t In the above formula, two main characteristics should be observed: the marginal benefit of the function is non-increasing and non-negative, and the output for 0 load demand should be 0. t is the market price at time interval t, W j,D is the load demand at the jth time interval t, U j,t is the utility function of user j in time interval t, is the jth load demand in time interval t, V D An index collection.
[0098] In addition to the above properties, we also assume that this function is quadratic. Taking into account the properties and assumptions, the final formula of the customer function is as follows:
[0099]
[0100] where b j,t ,w j,t The utility function parameter of the jth dispatchable user, U j,t is the utility function of user j in time interval t, is the jth load demand in time interval t, V D The index collection.
[0101] Optimization problem:
[0102] According to the equations explained above, we can simplify the statement of the problem and briefly summarize it into the following formula:
[0103]
[0104] Among them C j,t is the cost function of dispatchable generator i, is the power generation of the ith dispatchable generator in time interval t, α i,t , β i,t and γ i,t is the cost function parameter of the i-th dispatchable generator.
[0105]
[0106]
[0107]
[0108]
[0109] That is, by minimizing (7) to maximize social welfare (1). j,t is the cost function of dispatchable generator i, U j,t is the utility function of user j in time interval t, is the power generation of the ith dispatchable generator and the jth load demand in time interval t, The minimum and maximum generating capacity of the ith dispatchable generator at time interval t.
[0110] Algorithms for solving social welfare problems:
[0111] The present invention adopts a first-level consensus protocol, and the maximum social welfare can be obtained when the total load demand is equal to the total power generation and the total power generation. The market price is equal to the cost value of the consumer and the utility value of the generator. The consensus variable is defined as the marginal cost of the dispatchable power generation and consumption units (agents), where is the marginal price of generation agent i and load demand agent i, is the power generation capacity of the i-th dispatchable generator and the j-th load demand.
[0112] as follows:
[0113]
[0114]
[0115] For the proposed social welfare problem, the general form of the consensus variable of the ith subject is i can be written as:
[0116] Λ i =2A i ×P i +B i i∈V G ∪V D (10)
[0117] where agents are considered as dispatchable loads and generators, A and B are agent parameters, and V D ,V G is the load demand, the vertex set of the graph
[0118] The update rules of the consensus algorithm are as follows to obtain consensus among agents:
[0119]
[0120] When the total load demand meets the total power generation, the consensus price of all agents should be i , d ij is the weighting matrix. The former condition is satisfied using (11), while the latter condition (power balance) should be achieved by adding a penalty factor constructed from power mismatch as a leading proxy, as follows:
[0121] where d ij is the weighting matrix, ε is the minimum positive value, ΔP is the power mismatch parameter, V D ,V G , V leader Vertex sets for load demands, graphs, and leads.
[0122] After updating the marginal cost, the new states of the production and consumption units are updated as follows:
[0123]
[0124]
[0125] in is the marginal price of the i-th generation agent and the j-th load demand agent, The power generation of the i-th dispatchable generator and the j-th load demand, β i is the cost function parameter of the ith dispatchable generator, w j is the utility function parameter of the jth schedulable user.
[0126] In order for the power imbalance to converge to zero in the smart grid, the power mismatch considering PV and WT as renewable power plants is calculated as follows:
[0127]
[0128] in is the jth load demand, is the generating capacity of the ith dispatchable generator, is the output power of the i-th PV and WT
[0129] After each update, the power limits in terms of consumption and generation should be checked:
[0130]
[0131]
[0132] Where k is the iteration index, is the minimum and maximum generating capacity of the ith dispatchable generator, The power generation of the i-th dispatchable generator and the j-th load demand.
Claims
1. A smart grid uncertainty perception management and control method based on interval prediction, characterized by: The method comprises: Step 1: Establish a two-layer distributed architecture based on cloud services and fog computing, aiming at uncertainty-aware energy management of the power system, and establish clear task allocation for existing components at each layer; The two-layer distributed architecture based on cloud service and fog computing includes: A fog layer and B cloud layer; The functions realized by the A fog layer include: Pricing: Dispatched consumers assign themselves energy values at this level using a quadratic utility function based on their must-run and controllable needs; the pricing approach is trust-based, with dispatchable generation units defining their quadratic cost functions based on local generation costs, based on the necessity of electricity to load demand and the actual generation costs of the power plant; Estimating demand and generation: forecasting demand based on the recorded amount of energy consumed in the past by each consumer, generation units with output, WT and PV, and forecasting generation in the next time interval based on past precedents; Updating price status: The agent updates the status using a consensus protocol after exchanging status with anonymous neighbors before starting each time interval; Short-term data storage: A short database is provided for the fog layer, so that local units can save short-term data locally and use it; the storage of each agent saves the state of the exchange in each time interval; in addition, the last few time intervals from the random time unit need to be recorded as the input of the prediction system of the time series model; Fulfill obligations: After reaching an agreement, the units shall fulfill their obligations according to the power generation and consumption status achieved, otherwise, expenditure penalties or other types of rule penalties shall be imposed under the supervision of the cloud layer; B cloud layer functions include: Long-term data storage and analysis: Real-time data is saved in each agent’s database for further analysis; the training process is deployed in an offline manner to update the prediction model; Power mismatch calculation: To meet the public demand, it is the responsibility of each grid in the power system to have a power mismatch of 0; to achieve this goal, in each iteration, the power mismatch parameter is supervised by the grid owner in the public cloud; with the prediction range of the output power of small wind turbines; the state calculation of load demand is based on the prediction interval of photovoltaics; the above data is collected by the cloud service in an anonymous manner to protect the privacy of each unit; after calculating the total power mismatch, this quantity is multiplied by a coefficient as a penalty factor and passed to the leader; the leader is randomly completed by the service in the public cloud; Isolation and enforcement: The public cloud is responsible for observing the proper performance of the agents; if any misbehavior or complaints are raised in the system, the service department or authorities follow up and fix the failure; if an agent does not respond correctly, it should be isolated from other agents and the community election should be repeated for its neighbors; Local prediction of PV output power, small wind turbine output power and load demand uncertainty using LSTM method refers to: predicting load demand, PV and WT output power from recorded time series; that is, predicting the future state of each random source from a series of sample points in continuous time by calculating how previous samples affect the current sample; this modeling process is completed by LSTM method, which is a sequence-based method with a memory unit to save useful information from the past; Step 2: Based on the collected relevant data information, the LSTM method is used to locally predict the uncertainty of photovoltaic output power, small wind turbine output power and load demand; Step 3: Use multi-agent forecast intervals to obtain the demand range for each consumer, and the dispatchable generators themselves obtain the next time interval to achieve the maximum social welfare.
2. The uncertainty perception management and control method of a smart grid based on interval prediction according to claim 1 is characterized in that: The greatest social benefits are: The total social welfare refers to the maximum amount of the total welfare of power generation units and the total welfare of consumers; SW t is the maximum social welfare at time interval t, W i,G ,W j,D is the welfare function of the ith dispatchable generator and the load demand of the jth generator in time interval t, V D ,V G For load demand is the power generation of the i-th dispatchable generator and the load demand of the j-th motor in time slot t.
3. The uncertainty perception management and control method of a smart grid based on interval prediction according to claim 2 is characterized in that: In order to solve the maximization problem, the following equations between generation and consumption are considered, as well as the constraints of the acceptable range of generators and consumers, as the initial conditions of formula (1), as follows: Schedulable P Gen The total power generation of the non-dispatchable units is equal to the total load demand P each time Load ; The non-dispatchable units include photovoltaic P PV and small turbine units P WT ;P Load is the total load demand; is the minimum and maximum generating capacity of the ith dispatchable generator at time interval t; Demand-side welfare: The load demand welfare level shows the amount of surplus obtained by the consumer, which is defined as the price difference λt between the utility value earned by the customer and the market price for electricity as follows: The customer's utility function U j,t In the above formula, two characteristics are observed: the marginal benefit of the function is non-increasing and non-negative, and the output for 0 load demand should be 0; it is also assumed that this function is a quadratic form. Considering the properties and assumptions, W j,D is the load demand at the jth time interval t, U j,t is the utility function of user j in time interval t, is the load demand of the jth motor in time interval t, V D is the index collection; the final formula of the customer function is as follows: b j,t ,w j,t Utility function parameters of the jth schedulable user.
4. The uncertainty perception management and control method of a smart grid based on interval prediction according to claim 3 is characterized in that: The method to maximize social welfare is: Based on formulas (1)-(4), simplify the problem statement and obtain the following formula: C j,t is the cost function of dispatchable generator j, is the power generation of the jth dispatchable generator in time interval t, α i,t , β i,t and γ i,t is the cost function parameter of the i-th dispatchable generator; That is, social welfare is maximized by minimizing formula (7); U j,t is the utility function of user j in time interval t.
5. The uncertainty perception management and control method of a smart grid based on interval prediction according to claim 4 is characterized in that: Solutions to social welfare include: Using a first-level consensus protocol, the maximum social welfare is achieved when the total load demand is equal to the total power generation and the total power consumption; the market price is equal to the cost value of the consumer and the utility value of the generator; the consensus variable is defined as the marginal cost of the dispatchable power generation and consumption units, as follows: is the marginal price of generation agent i and load demand agent i, is the power generation of the i-th dispatchable generator and the load demand of the j-th dispatchable generator; for the proposed social welfare problem, the general form of the consensus variable of the i-th subject is i Written as: Λ i =2A i ×P i +B i i∈V G ∪V D (10) Where P i are dispatchable loads and generators; A and B are proxy parameters; The update rules of the consensus algorithm are as follows to obtain consensus among agents: When the total load demand meets the total power generation, the consensus price of all agents is obtained; d ij For Add The weight matrix; the former condition is satisfied using (11), while the latter condition power balance is achieved by adding a penalty factor constructed from power mismatch as a leading agent, as shown below: ε is the minimum positive value, ΔP is the power mismatch parameter, V leader is the vertex set of the graph and the leader; After updating the marginal cost, the new states of the production and consumption units are updated as follows: is the marginal price of the i-th generation agent and the j-th load demand agent, β i is the cost function parameter of the ith dispatchable generator, w i is the utility function parameter of the i-th dispatchable user; In order for the power imbalance to converge to zero in the smart grid, the power mismatch considering PV and WT as renewable power plants is calculated as follows: After each update, the power limits in terms of consumption and generation should be checked: is the jth load demand, is the output power of the i-th PV and WT, k is the iteration index, is the minimum and maximum generating capacity of the ith dispatchable generator, The power generation of the i-th dispatchable generator and the j-th load demand.
