Method for determining behavior strategy of load in novel electric power system market
By simulating load behavior strategies in the new power system market through deep reinforcement learning and DQN algorithms, it solves the problem of difficulty in evaluating the green collaborative behavior of multiple loads with existing technology, and achieves accurate assessment and optimization of load behavior in the new power system market.
Patent Information
- Application Number
- CN202411000738.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-10-15
AI Technical Summary
Existing power market simulation research mainly focuses on a single link or process, ignoring the complexity of the power market as an overall system and the interdependence between various links, making it difficult to accurately evaluate the green collaborative behavior of multiple loads in the power market.
The deep reinforcement learning method is used to construct the bidding strategy model of the load, and the DQN algorithm is used to simulate the behavior strategy and quotation decision-making process of the load in the new power system market, and determine the optimal behavior strategy of the load to achieve the optimal performance in each market state. Quotation.
By simulating the load quotation decision-making process in the complete new power system market, it can provide optimal strategies for load decision-making behavior, accurately evaluate the green collaborative behavior of multiple loads participating in the new power system market, and overcome the limitations of existing research.
Smart Images

Figure CN118780841A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electric power technology, and in particular to a method for determining a load behavior strategy in a new electric power system market. Background Art
[0002] As the construction of new power systems continues to accelerate, the regulation resources on the power supply side are difficult to support the system's safe, green, and economical operation needs. Moreover, with the deepening of power system reform, the load side has gradually become the focus of market construction. The participation, autonomy, and bargaining power of multiple loads have continued to increase. New forms of electricity consumption such as microgrids, power sales companies, and load aggregators have emerged in the market, and power loads are becoming increasingly diversified. Multiple loads such as industrial and commercial loads and power sales companies implement diverse green collaborative market behaviors in the market, which profoundly affects the consumption of new energy and the efficiency and stability of new power systems.
[0003] However, the construction of the national unified power market is still in its infancy, with insufficient data and experience, defects in the market mechanism, low participation of the load side in the market bidding, and unclear how its market behavior drives the development and evolution of the new power system, which brings challenges to the design of market operation mechanisms and rules. Considering the special stage of my country's power market development and the fact that previous research has mostly focused on the power generation side, it is particularly critical and important to conduct in-depth research and exploration on how multiple loads participate in the bidding transactions in the power market and analyze the green collaborative market behavior of multiple loads.
[0004] At present, the research on the green system market behavior on the load side mainly focuses on verifying the effectiveness and efficiency of different market mechanisms in actual operation. In terms of simulation modeling, the design of intelligent agents in multi-agent modeling simulation is the key. At present, the simulation of intelligent agent behavior mostly adopts multi-agent reinforcement learning (MARL) algorithm. However, most of the existing power market simulation research only focuses on a single link or process of power trading, ignoring the complexity of the power market as an overall system and the interdependence between various links, making it difficult to accurately evaluate the green collaborative behavior of multiple loads participating in the power market.
[0005] Therefore, a method to determine the behavior strategy of loads in the new power system market is needed to solve the above technical problems. Summary of the invention
[0006] To this end, the present invention provides a method for determining load behavior strategy in a new power system market to solve or at least alleviate the above problems.
[0007] According to one aspect of the present invention, there is provided a method for determining a load behavior strategy in a new power system market, which is executed in a computing device and includes: constructing a load bidding strategy model based on the load's kilowatt-hour efficiency, the bid-winning power, the demand response power, and the compensation coefficient when the load participates in the demand response to obtain compensation, with the goal of maximizing the load's benefit; based on the load bidding strategy model, using a deep reinforcement learning method, simulating the load's behavior strategy and bidding decision process in the new power system market to obtain a decision-making behavior simulation model of the load, wherein the bidding decision process is used to describe the process in which the load bids based on the behavior strategy in the current state of the new power system market to obtain rewards from the new power system market and transfer the new power system market from the current state to the next state; using a DQN algorithm, solving the decision-making behavior simulation model to determine the load's optimal behavior strategy, which is used to indicate the optimal bid of the load in each state of the new power system market.
[0008] Optionally, in the method for determining the behavior strategy of loads in the new power system market according to the present invention, the DQN algorithm includes an online network and a target network of the same structure; using the DQN algorithm, the decision behavior simulation model is solved to determine the optimal behavior strategy of the load, including: generating initial network parameters of the online network, synchronizing the initial network parameters to the target network, and generating exploration factors, discount factors, experience playback batches, experience pool capacity and network update intervals, and initializing the current state of the market environment; through the online network, an ε-greedy strategy is used to select the quotation of the load, and the quotation is executed in the market environment used to represent the new power system market to obtain a reward for the load, and the market environment is transferred from the current state to the next state, and the current state, quotation, reward, and next state are used as a The samples are saved in the experience pool; batches of experience playback samples are obtained from the experience pool and input into the online network to obtain the predicted value output by the online network and the target value output by the target network under the current state of the market environment, and the initial network parameters of the online network are adjusted by minimizing the loss function between the target value and the predicted value using the gradient descent method to obtain new network parameters of the online network; the environmental information and step value of the market environment are updated, and when the updated step value reaches the network update interval, the new network parameters of the online network are synchronized to the target network; the above steps are repeated until the updated step value reaches the predetermined step value, and the training ends to obtain the optimal quotation and corresponding reward of the load under each state of the market environment as the optimal behavior strategy of the load.
[0009] Optionally, in the method for determining the behavior strategy of a load in a new power system market according to the present invention, an ε-greedy strategy is adopted to select the bid of the load, including: defining an exploration factor ε, and generating a random number β, where ε∈[0,1], β∈[0,1]; if β<ε, then selecting a random bid within the bid interval as the bid of the load; if β≥ε, then determining the bid of the load according to the following formula:
[0010]
[0011] Among them, ε t represents the exploration factor at step t, ε start represents the initial exploration factor, ε end represents the exploration factor at the end of the simulation, and T is the total number of iterations.
[0012] Optionally, in the method for determining the behavior strategy of loads in the new power system market according to the present invention, after saving the current state, quotation, reward, and next state as a sample to the experience pool, it also includes: judging whether the amount of sample data in the experience pool reaches the experience pool capacity, and if so, clearing the sample data first written into the experience pool.
[0013] Optionally, in the method for determining the behavior strategy of the load in the new power system market according to the present invention, the behavior strategy and bidding decision process of the load in the new power system market are simulated, including: simulating the behavior strategy and bidding decision process of the load in the new power system market based on the Markov decision process.
[0014] Optionally, in the method for determining the behavior strategy of a load in a new power system market according to the present invention, the winning bid power of the load is related to the bid of the load and the actual demand power of the load; based on the load's kilowatt-hour efficiency, the winning bid power, the demand response power, and the compensation coefficient when the load participates in the demand response to obtain compensation, a load bidding strategy model is constructed with the goal of maximizing the load's profit, including: constructing a load profit maximization objective function based on the load's kilowatt-hour efficiency, the winning bid power, the demand response power, and the compensation coefficient when the load participates in the demand response to obtain compensation; constructing the load bidding strategy model based on the load profit maximization objective function and corresponding constraints.
[0015] Optionally, in the method for determining the behavior strategy of a load in a new power system market according to the present invention, the maximum benefit objective function of the load is:
[0016] max M Uj =(I Uj -λ)X Uj +δQ'Uj
[0017] The constraints are:
[0018]
[0019] Among them, M Uj Represents the benefit of load Uj; I Uj It represents the benefit of load Uj per kilowatt-hour, that is, the benefit that load Uj can obtain by purchasing unit electricity; The winning bid quantity of load Uj; Q′ Uj It represents the demand response electricity of load Uj; δ represents the compensation coefficient when the load participates in the demand response and obtains compensation; η represents the upper limit of the proportion of the demand response electricity reported by the load to the maximum electricity load.
[0020] Optionally, in the method for determining the behavior strategy of a load in a new power system market according to the present invention, the decision-making behavior simulation model of the load includes:
[0021]
[0022] a t =[d jt ]
[0023]
[0024] in, They represent the bid price of load Uj in the tth transaction and the lowest value of all load bids respectively; t represents the clearing price of the tth transaction; d jt represents the quotation coefficient of load Uj in the tth transaction; They respectively represent the winning bid power, actual demand power, and demand response power of load Uj in the tth transaction.
[0025] According to one aspect of the present invention, there is provided a computing device, comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be suitable for execution by the at least one processor, and the program instructions include instructions for executing the method for determining the behavior strategy of loads in a new power system market as described above.
[0026] According to one aspect of the present invention, a computer program product is provided, comprising a computer program / instruction, wherein the computer program / instruction implements the method as described above when executed by a processor.
[0027] According to one aspect of the present invention, a readable storage medium storing program instructions is provided. When the program instructions are read and executed by a computing device, the computing device executes the method for determining load behavior strategy in a new power system market as described above.
[0028] According to the technical solution of the present invention, a method for determining the behavior strategy of the load in the new power system market is provided, by constructing a bidding strategy model of the load, and using a deep reinforcement learning method to simulate the behavior strategy and quotation decision process of the load in the new power system market, so as to obtain a decision-making behavior simulation model of the load, and then using the DQN algorithm to solve the decision-making behavior simulation model to determine the optimal behavior strategy of the load, and the optimal behavior strategy of the load is used to indicate the optimal quotation of the load in various states of the new power system market. It can be seen that the present invention combines the deep reinforcement learning algorithm to simulate the quotation decision-making process of the load in the complete new power system market, which can provide the optimal behavior strategy for the load decision-making behavior, and then accurately evaluate the green collaborative behavior of multiple loads participating in the new power system market.
[0029] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to achieve the above and related purposes, the present invention describes certain illustrative aspects in conjunction with the following description and the accompanying drawings, which indicate various ways in which the principles disclosed in the present invention can be practiced, and all aspects and their equivalents are intended to fall within the scope of the claimed subject matter. By reading the following detailed description in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present disclosure will become more apparent. Throughout the present disclosure, the same reference numerals generally refer to the same parts or elements.
[0031] Figure 1 A schematic diagram of a multi-load behavior strategy determination system 100 provided according to an embodiment of the present invention is shown;
[0032] Figure 2 A schematic diagram of a computing device 200 provided according to an embodiment of the present invention is shown;
[0033] Figure 3 A flow chart of a method 300 for determining a load behavior strategy in a new power system market provided according to an embodiment of the present invention is shown;
[0034] Figure 4 A schematic diagram of a load quotation decision process according to an embodiment of the present invention is shown;
[0035] Figure 5 A schematic diagram of a power market operation simulation process according to an embodiment of the present invention is shown;
[0036] Figure 6 A schematic diagram of a process of solving a decision-making behavior simulation model using a DQN algorithm according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0037] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0038] Most of the existing power market simulation studies only focus on a single link or process of power trading, ignoring the complexity of the power market as a whole system and the interdependence between various links, making it difficult to accurately evaluate the green collaborative behavior of multiple loads participating in the power market.
[0039] In response to the above technical problems, an embodiment of the present invention proposes a method for determining the behavioral strategy of loads in the new power system market. Combined with the deep reinforcement learning algorithm, the bidding decision-making process of multiple loads in the complete new power system market is simulated, which can provide the optimal behavioral strategy for the load decision-making behavior, and further accurately evaluate the green collaborative behavior of multiple loads participating in the new power system market.
[0040] In addition, the embodiment of the present invention also designs a complete electricity market operation simulation process, covering processes such as medium- and long-term electricity transactions, spot transactions, ancillary services and demand response, etc., which overcomes the deficiency that most existing electricity market simulations only focus on a single link or process of electricity trading. It is closer to the actual operation of the electricity market, and by simulating the evolution of the new power system driven by multiple loads throughout the year, it can provide a simulation reference for the construction of new power systems and markets.
[0041] The method for determining the behavior strategy of a load in a new power system market provided by an embodiment of the present invention may be implemented in a multi-load behavior strategy determination system.
[0042] Figure 1 A schematic diagram of a multi-load behavior strategy determination system 100 provided according to an embodiment of the present invention is shown.
[0043] like Figure 1As shown, the multi-load behavior strategy determination system 100 includes a power generation side, a power grid, a load side, a new power system market, and a computing device. The power generation side can supply power to the load side through the power grid. Among them, the power generation forms on the power generation side mainly include wind power generation, thermal power generation, and photovoltaic power generation, among which wind power generation and photovoltaic power generation belong to new energy power generation. The load side has multiple loads, including small and medium-sized loads, large loads, and distributed parks formed by multiple loads. Among them, load aggregators formed by large loads or small and medium-sized loads can interact with power generators to trade electricity. For example, load aggregators can interact with new energy power generators to trade green electricity by purchasing green electricity certificates or signing direct power purchase agreements to promote the consumption of new energy.
[0044] The load side and the power generation side can trade through the new power system market. The new power system market includes the medium- and long-term power market, the power spot market, and the power auxiliary service market. Among them, the trading methods of the medium- and long-term power market include bilateral negotiation and centralized bidding. The trading methods of the power spot market and the power auxiliary service market are mainly centralized bidding.
[0045] It should be noted that the main feature of the new power system is that it is based on renewable energy power generation, and gradually replaces traditional thermal power generation with new energy such as wind power generation and photovoltaic power generation. The role of thermal power generation will be transformed into a flexible regulation resource, and together with energy storage, elastic load, etc., it will ensure the safe and stable operation of the system and realize the green and low-carbon transformation of energy. In the process of building a new power system, market-oriented development is a key issue. This means that the new power system is not only an engineering system, but also a composite system of engineering, economy, and society. Among them, the market plays an important driving role in matching power supply and demand.
[0046] In the dynamic evolution of the new power system, the green collaborative behavior of the multi-load participation market (new power system market) can be described as follows: First, the load aggregators formed by large loads or small and medium-sized loads in the market can interact with power generators to trade electricity. Specifically, the load aggregators interact with new energy power generators to trade green electricity by purchasing green electricity certificates or signing direct power purchase agreements to promote the consumption of new energy. Secondly, the load receives policy information and market price signals, and implements demand response strategies such as load transfer and power reduction in combination with market supply and demand conditions and its own load resource characteristics, which can not only reduce its own power generation costs but also provide strong support for the smooth operation of the power grid. In addition, the load side can participate in market transactions by aggregating distributed resources, forming distributed parks from multiple loads, etc., using solar and wind power to generate electricity independently, reducing dependence on the power grid, and feeding back excess electricity to the power grid, thereby further optimizing the allocation of power resources.
[0047] At the same time, the power generation side can carry out production, grid connection, dispatching and other behaviors according to the signed power contracts and the requirements of the management and dispatching entities, and timely adjust the power supply strategy according to the real-time supply and demand situation and external information. During the transaction process, the management entities such as the power trading center and the dispatching center organize market clearing, conduct power dispatching and transaction supervision, maintain market order, and conduct safety verification of power transactions. They dispatch the various constituent resources of the physical system to realize the transaction process on both sides of supply and demand in the form of power flow, form interactive results centered on power supply and demand matching, realize power production and consumption activities, and drive the continuous evolution and stable operation of the new power system.
[0048] In the multi-load behavior strategy determination system 100 of the present invention, the computing device can be used to determine the optimal behavior strategy of each load in the new power system market, so as to indicate the quotation of the load in each state of the new power system market (such as S0, S1...St and other states).
[0049] In an embodiment of the present invention, the computing device may be configured to execute the method 300 for determining the behavior strategy of a load in a new power system market. By executing the method 300 for determining the behavior strategy of a load in a new power system market, the optimal behavior strategy of each load in the new power system market can be determined. The method 300 for determining the behavior strategy of a load in a new power system market of the present invention will be described below.
[0050] A computing device 200 provided by an embodiment of the present invention is introduced below.
[0051] Figure 2 FIG. 2 shows a schematic diagram of a computing device 200 provided according to an embodiment of the present invention. Figure 2 As shown, in a basic configuration, the computing device 200 includes at least one processing unit 202 and a system memory 204. According to one aspect, depending on the configuration and type of the computing device, the processing unit 202 can be implemented as a processor. The system memory 204 includes, but is not limited to, volatile storage (e.g., random access memory), non-volatile storage (e.g., read-only memory), flash memory, or any combination of such memories. According to one aspect, the system memory 204 includes an operating system 205.
[0052] According to one aspect, operating system 205 is suitable for controlling the operation of computing device 200, for example. Furthermore, examples are practiced in conjunction with graphics libraries, other operating systems, or any other application programs, and are not limited to any particular application or system. Figure 2The basic configuration is shown in FIG. 2 by those components within the dashed lines. According to one aspect, the computing device 200 has additional features or functionality. For example, according to one aspect, the computing device 200 includes additional data storage devices (removable and / or non-removable), such as magnetic disks, optical disks, or tapes. Such additional storage Figure 2 2 is illustrated by a removable storage device 209 and a non-removable storage device 210.
[0053] As stated above, according to one aspect, a program module 203 is stored in the system memory 204. According to one aspect, the program module 203 may include one or more application programs, and the present invention does not limit the type of application program, for example, the application program may include: email and contact application programs, word processing application programs, spreadsheet application programs, database application programs, slide show application programs, drawing or computer-aided application programs, web browser application programs, etc.
[0054] In an embodiment of the present invention, the program module 203 includes a plurality of program instructions for executing the method 300 of the present invention for determining a load behavior strategy in a new power system market.
[0055] According to one aspect, the examples may be practiced on a circuit comprising discrete electronic components, a packaged or integrated electronic chip containing logic gates, a circuit utilizing a microprocessor, or a single chip containing electronic components or a microprocessor. Figure 2 Each or many components shown in can be integrated into a system on a chip (SOC) on a single integrated circuit to practice examples. According to one aspect, such a SOC device may include one or more processing units, a graphics unit, a communication unit, a system virtualization unit, and various application functions, all of which are integrated (or "burned") into a chip substrate as a single integrated circuit. When operated via SOC, the functions described in the present invention can be operated via a dedicated logic integrated with other components of the computing device 200 on a single integrated circuit (chip). Other technologies capable of performing logical operations (such as AND, OR, and NOT) can also be used to practice embodiments of the present invention, including but not limited to mechanical, optical, fluid, and quantum technologies. In addition, embodiments of the present invention can be practiced in a general-purpose computer or in any other circuit or system.
[0056] According to one aspect, the computing device 200 may also have one or more input devices 212, such as a keyboard, a mouse, a pen, a voice input device, a touch input device, etc. Output devices 214 may also be included, such as a display, a speaker, a printer, etc. The aforementioned devices are examples and other devices may also be used. The computing device 200 may include one or more communication connections 216 that allow communication with other computing devices 218. Examples of suitable communication connections 216 include, but are not limited to: RF transmitters, receivers and / or transceiver circuits; Universal Serial Bus (USB), parallel and / or serial ports.
[0057] The term computer-readable medium as used in the present invention includes computer storage media. Computer storage media may include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (e.g., computer-readable instructions, data structures, or program modules). System memory 204, removable storage device 209, and non-removable storage device 210 are all examples of computer storage media (i.e., memory storage). Computer storage media may include random access memory (RAM), read-only memory (ROM), electrically erasable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical storage, cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other products that can be used to store information and can be accessed by computing device 200. According to one aspect, any such computer storage medium may be part of computing device 200. Computer storage media do not include carrier waves or other propagated data signals.
[0058] According to one aspect, communication media is implemented by computer readable instructions, data structures, program modules, or other data in a modulated data signal (e.g., a carrier wave or other transport mechanism), and includes any information delivery media. According to one aspect, the term "modulated data signal" describes a signal that has one or more characteristics set or changed in a manner that encodes information in the signal. By way of example and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio frequency (RF), infrared, and other wireless media.
[0059] In an embodiment according to the present invention, the computing device 200 is configured to execute the method 300 for determining the behavior strategy of the load in the new power system market. The computing device 200 includes one or more processors and one or more readable storage media storing program instructions. When the program instructions are configured to be executed by one or more processors, the computing device executes the method 300 for determining the behavior strategy of the load in the new power system market in the embodiment of the present invention.
[0060] In some embodiments, the computing device 200 executing the method 300 for determining a load behavior strategy in a new power system market in an embodiment of the present invention may be a terminal or a server.
[0061] The method 300 for determining a load behavior strategy in a new power system market in an embodiment of the present invention is described in detail below.
[0062] Figure 3 FIG. 3 is a flow chart showing a method 300 for determining a load behavior strategy in a new power system market according to an embodiment of the present invention. Figure 3 As shown, the method 300 for determining load behavior strategy in a new power system market includes the following steps 310-340.
[0063] Step 310, the computing device 200 can build a bidding strategy model (i.e., a quotation model) for the load based on the load's kilowatt-hour efficiency, the load's winning bid electricity, the load's demand response electricity, and the compensation coefficient when the load participates in demand response to obtain compensation, with the goal of maximizing the load's profit.
[0064] Step 320, the computing device 200 can use the deep reinforcement learning method (DRL) based on the load bidding strategy model to simulate the load behavior strategy and bidding decision process in the new power system market to obtain a load decision behavior simulation model.
[0065] Figure 4 FIG. 2 shows a schematic diagram of a load bidding decision process according to an embodiment of the present invention. Figure 4 As shown, in an embodiment of the present invention, the load bidding decision process is used to describe the process in which the load bids (At) based on the behavioral strategy under the current state (St) of the new power system market (environment) to obtain rewards (Rt) from the new power system market and transfer the new power system market from the current state (St) to the next state (St+1).
[0066] In an embodiment of the present invention, in step 320, a deep reinforcement learning method can be used to simulate the behavior strategy and bidding decision process of the load in the new power system market based on the Markov Decision Process (MDP) to obtain a decision-making behavior simulation model of the load.
[0067] It should be noted that deep reinforcement learning methods are widely used to solve the problem of system evolution equilibrium in the power market. In deep reinforcement learning, Markov decision process (MDP) is used as a theoretical framework to provide a mathematical description for learning problems. In the Markov decision process (MDP), it can be described that the agent (such as load) observes the current state of the environment (such as the new power system market environment) at each time step, and selects an action (such as quotation) to execute according to a certain strategy. Then the environment feeds back a reward value to the agent, and the environment transfers to the next state, so as to finally find an optimal strategy to maximize the long-term cumulative reward (revenue).
[0068] Step 330 , the computing device 200 may use the DQN algorithm (a deep reinforcement learning algorithm) to solve the decision-making behavior simulation model to determine the optimal behavior strategy of the load.
[0069] In an embodiment of the present invention, the optimal behavior strategy of the load may be used to indicate the optimal bid of the load in various states of the new power system market.
[0070] It should be noted that common deep reinforcement learning algorithms include DQN, DDPG, PPO, TRPO, A3C, SAC, etc. The DQN algorithm can combine Q-Learning and deep learning.
[0071] In some embodiments, large loads mainly purchase electricity from the wholesale electricity market, first conduct monthly transactions, and then declare in the day-ahead market and the real-time market based on the deviation between the monthly contract decomposed electricity and the actual demand electricity, so as to achieve real-time electricity balance. When participating in electricity market transactions, large loads declare the demand electricity and the willing price. Since the winning bid electricity of large loads is greatly affected by the bid and the actual load demand, the bid of large loads can be modeled. Assuming that the declared electricity is based on the actual demand electricity and the willing price is a fixed value, the bid of large loads can be determined based on the benchmark price of large loads and the bid coefficient of large loads, that is, the bid of large loads can be expressed as:
[0072] B Uj (d j ) = d j C Uj (1)
[0073] In the formula, B Uj For large load U j C Uj For large load U j The base price of j is the quotation factor for large loads; where d min ≤d j ≤dmax , when d j =1, large loads are quoted according to the benchmark price.
[0074] Aggregate loads participate in electricity wholesale market transactions in the same order of monthly transactions, day-ahead transactions, and real-time transactions. They are treated as ordinary electricity loads when trading in the electricity wholesale market, and the quotation of aggregate loads can be determined based on the benchmark price of aggregate loads and the quotation coefficient of aggregate loads. The quotation of aggregate loads is shown in formula (5). The actual demand and demand response quantity at the time of declaring electricity quantity can be obtained by summarizing the electricity quantity of the agent.
[0075] B Ok (e k )=e k C Ok (2)
[0076] In the formula, B Ok is the polymerization load O k C Ok is the polymerization load O k The base price of k is the quotation coefficient of aggregate load; where e min ≤e k ≤e max , when e k =1, the aggregated load is quoted according to the benchmark price.
[0077] According to the above embodiment, assuming that the upper limit of the demand response power allowed by the multi-load is a fixed proportion of the maximum power load, the following load bidding strategy model (i.e., the green collaborative bidding strategy model for the load to participate in the new power system market) can be constructed:
[0078] maxM Uj =(I Uj -λ)X Uj +δQ' Uj (3)
[0079]
[0080] It can be understood that the load bidding strategy model includes the load profit maximization objective function and corresponding constraints. The load profit maximization objective function is shown in the above formula (3), and the constraints are shown in the above formula (4).
[0081] In the above formula, M Uj Represents the benefit of load Uj; I Uj It represents the electricity benefit (electricity output) of load Uj, that is, the benefit that load Uj can obtain by purchasing unit electricity; The bid quantity of load Uj; Q′ UjIt represents the demand response electricity of load Uj; δ represents the compensation coefficient when the load participates in the demand response and obtains compensation; η represents the upper limit of the proportion of the demand response electricity reported by the load to the maximum electricity load.
[0082] It can be understood that in the above embodiment, in step 310, the computing device 200 can build a bidding strategy model for the load based on the load's kilowatt-hour benefit (i.e., the benefit that the load can obtain by purchasing unit electricity), the load's winning bid power (i.e., the actual executable power, the actual purchased power), the load's demand response power, and the compensation coefficient when the load participates in the demand response to obtain compensation, with the goal of maximizing the load's profit.
[0083] Furthermore, the computing device 200 can construct a load profit maximization objective function based on the load's kilowatt-hour efficiency, the load's winning bid power, the load's demand response power, and the compensation coefficient when the load participates in demand response to obtain compensation, with the goal of maximizing the load's profit; and construct a load bidding strategy model based on the load profit maximization objective function and corresponding constraints.
[0084] Furthermore, it should be understood that the winning bid quantity of the load is related to the bid of the load and the actual demand quantity of the load. The load can declare the quantity based on the actual demand quantity. Specifically, the bid of the load can be determined based on the base price of the load and the bid coefficient of the load. The winning bid quantity of the load is determined based on the bid of the load and the actual demand quantity of the load.
[0085] In some embodiments, for any transaction step length t, the load decision behavior simulation model established in step 320 can be expressed as shown in the following equations (5)-(7).
[0086]
[0087] a t =[d jt ] (6)
[0088]
[0089] in, They represent the bid price of load Uj in the tth transaction and the lowest value of all load bids respectively; t represents the clearing price of the tth transaction; d jt It represents the quotation coefficient of load Uj in the tth transaction. For the convenience of research, points can be evenly selected within the value set of the quotation coefficient and the quotation coefficient can be represented as a discrete value. They respectively represent the winning bid power, actual demand power, and demand response power of load Uj in the tth transaction.
[0090] It should be noted that, since the agent (load) is trained in the whole process of monthly trading, day-ahead trading and real-time trading, and the winning electricity volume of monthly trading is much larger than the winning electricity volume of day-ahead trading and real-time trading, in the above embodiment, the instant reward r t It is defined as the revenue calculated by formula (6) divided by the actual power demand of the load in the tth transaction, that is, the reward is expressed as a reward per unit of declarable power for unified training.
[0091] Based on the above content, we can get the MDP quadruple {s t ,a t ,r t ,s t+1}, used for deep neural network learning and network parameter updating.
[0092] In addition, in some embodiments, in order to facilitate subsequent scheme comparison, a green behavior evaluation index on the market load side can also be constructed to systematically evaluate and analyze the simulation results of the experiment. The green behavior evaluation index on the load side includes, for example, the average purchase price of electricity on the load side, the benefits of the load side participating in demand response, and the utilization rate of new energy, as follows.
[0093] (1) The average electricity purchase price on the load side. The average electricity purchase price on the load side can reflect the electricity purchase cost of the load to a certain extent, as shown in formula (8):
[0094]
[0095] (2) Benefits of load-side participation in demand response. By participating in demand response, the load side can effectively optimize the allocation of power resources, promote the consumption of renewable energy, and improve energy utilization efficiency, as shown in formula (9):
[0096]
[0097] (3) New energy utilization rate can reflect the degree of absorption of new energy power generation by the new power system driven by the green coordinated behavior of multiple loads, as shown in formula (10):
[0098]
[0099] in, Considering the electricity transaction, ancillary services and demand response process in period t, the new energy generator G ri The actual amount of network power; is the new energy generator G in period t ri Real-time maximum power generation; N Gr is the number of new energy power generators.
[0100] In the embodiment of the present invention, the transaction process of the new power system market mainly includes medium- and long-term transactions (monthly transactions) and spot transactions (day-ahead transactions, real-time transactions). The connection between medium- and long-term transactions and spot transactions adopts a decentralized market model, which is mainly based on the physical execution of medium- and long-term contracts. Part of the spot market electricity (deviation electricity) participates. The power generation and consumption parties determine the power generation and consumption curves themselves in the day-ahead stage, and adjust the deviation electricity through day-ahead and real-time balancing transactions. The market clearing method adopts a centralized bidding method.
[0101] Figure 5 FIG. 2 shows a schematic diagram of a power market operation simulation process according to an embodiment of the present invention. Figure 5 As shown in the figure, the simulation process of the power market (new power system market) is as follows:
[0102] First, input the initial data and conduct monthly centralized bidding transactions. Power generators and loads declare based on their monthly estimated power generation and power consumption, respectively. In addition, based on the load decision-making behavior simulation model established above, the deep reinforcement learning algorithm (DQN algorithm) can be used to solve and determine the optimal behavior strategy of the load. The management entity (such as the power trading center, the dispatching center) is responsible for collecting all declared information and performing unified clearing processing. After the transaction is completed, the transaction results will be recorded in detail in the contract, and the relevant market environment information and the neural network parameters corresponding to each load entity will be updated to adapt to the dynamic changes in the market.
[0103] Secondly, the physical execution of medium- and long-term contracts is the main focus, and the spot market deviation electricity is involved. Intelligent decision-making is carried out through the deep reinforcement learning algorithm (DQN algorithm) to determine the optimal behavior strategy of the load. After the transaction is completed, the contract information and the neural network parameters corresponding to the relevant load entities are updated to adapt to the dynamic changes of the market.
[0104] In addition, the transaction scale can be further refined to conduct real-time spot transactions. First, the expected power generation and expected demand are still broken down into hours. Then, the daily electricity of the day-ahead contract and the monthly contract are broken down into hours to determine the real-time expected power generation and consumption of both parties. The real-time expected power generation and consumption are declared, and the deep reinforcement learning algorithm is used to obtain the quotation. After the transaction is completed, the contract information and neural network parameters are updated.
[0105] In addition, considering the real-time output fluctuations of the units and loads, the actual output and actual load at a certain point in time are determined, and the smaller value of the two is taken as the actual executable power of the contract, that is, the actual power purchase of the load. The executable power of all contracts broken down to a certain point in time is compared with the actual power demand at that point in time. If there is an imbalance between supply and demand, the thermal power generators and multiple loads will perform auxiliary services and demand response behaviors, and the loads will be given priority to perform real-time balancing behaviors to maintain the real-time balance of supply and demand.
[0106] Figure 6 The schematic diagram of the process of solving the decision-making behavior simulation model by using the DQN algorithm according to an embodiment of the present invention is shown. The DQN algorithm includes an online network (evaluation network) and a target network of the same structure.
[0107] like Figure 6 As shown, the specific process of solving the decision-making behavior simulation model using the DQN algorithm includes the following steps F1 to F5.
[0108] Step F1, generate the initial network parameters w of the online network, synchronize (copy) the initial network parameters to the target network, generate the exploration factor ε, discount factor γ, experience replay batch k, experience pool capacity Z and network update interval N, and initialize the current state s of the market environment.
[0109] Step F2: Through the online network, the ε-greedy strategy is used to select the load quotation a (action selection), and the quotation a is executed (action execution) in the market environment (used to represent the new power system market) to obtain the load reward r, and the market environment is transferred from the current state to the next state s'. Subsequently, the current state s, quotation a, reward r, and next state s' (i.e. [s, a, r, s']) can be saved as a sample to the experience pool for experience playback.
[0110] Step F3 (experience replay process), obtain experience replay batch k samples (batch sampling) from the experience pool and input them into the online network to obtain the predicted value of the online network output and the target value of the target network output under the current state of the market environment, and then use the gradient descent method (gradient of w) to minimize the loss function between the target value and the predicted value to adjust (update) the initial network parameters of the online network to obtain new network parameters of the online network.
[0111] Step F4, update the environmental information of the market environment and the step value (the step value plus 1, ie, step+1), and when the updated step value reaches the network update interval N, synchronize (copy) the new network parameters of the online network to the target network.
[0112] Repeat the above steps F2 to F4 until the updated step value reaches the predetermined step value, and the training ends to obtain the optimal quotation and corresponding reward of the load in each state of the market environment as the optimal behavior strategy of the load. Here, in one embodiment, the predetermined step value can be 8759. It can be understood that when the updated step value step=8759, it means that the simulation cycle of one year ends.
[0113] It should be noted that, in the process of repeatedly executing the above steps F2 to F4, the quotation selection can be continuously optimized to maximize the benefit of the load (the sum of the rewards).
[0114] According to an embodiment of the present invention, the DQN algorithm is used to simulate and solve the decision-making behavior simulation model. DQN uses a deep neural network as a function approximator, which can effectively solve the problem of low efficiency in lookup table storage and updating when Q-learning faces a high-dimensional state space. In addition, the DQN algorithm introduces an experience replay mechanism, which breaks the correlation between data through random sampling of historical data for training, thereby improving the stability and efficiency of learning. In addition, the DQN algorithm also uses target network technology to reduce the fluctuation of the target value through fixed-period updates, further enhancing the stability and convergence speed of the algorithm. The decision-making behavior process of each subject under the DQN algorithm is as follows: Figure 5 shown.
[0115] In some embodiments, in step F2, the specific method of selecting the load quotation using the ε-greedy strategy is as follows: define an exploration factor ε, and generate a random number β, where ε∈[0,1], β∈[0,1]. If the random number β<ε, then select a random quotation within the quotation interval as the load quotation.
[0116] If the random number β ≥ ε, the load price is determined according to the following formula:
[0117]
[0118] Among them, ε t represents the exploration factor at step t, ε start represents the initial exploration factor, ε end represents the exploration factor at the end of the simulation, and T is the total number of iterations.
[0119] In some embodiments, after the current state, quotation, reward, and next state (i.e., [s, a, r, s']) are saved as a sample in the experience pool, it is also possible to determine whether the amount of sample data in the experience pool reaches the experience pool capacity Z. If it reaches the experience pool capacity Z, the sample data first written into the experience pool will be cleared.
[0120] In some embodiments, in step F3, for the current state s of the market environment, the predicted value output by the online network is Q(s,a;w), the reward for executing the quotation a is r, the market environment migrates from the current state s to the next state s', and the target value output by the target network is Q(s',a;w'). Select k samples from the experience pool. When there are less than k samples, all samples in the experience pool can be taken out. The loss function can be expressed as:
[0121]
[0122] Next, find the gradient of w and finally update w:
[0123]
[0124] According to the method 300 for determining the behavior strategy of a load in a new power system market of the present invention, a bidding strategy model of the load is constructed, and a deep reinforcement learning method is used to simulate the behavior strategy and bidding decision process of the load in the new power system market to obtain a decision-making behavior simulation model of the load, and then the DQN algorithm is used to solve the decision-making behavior simulation model to determine the optimal behavior strategy of the load, and the optimal behavior strategy of the load is used to indicate the optimal quotation of the load in various states of the new power system market. It can be seen that the present invention combines the deep reinforcement learning algorithm to simulate the bidding decision-making process of the load in the complete new power system market, and can provide the optimal behavior strategy for the load decision-making behavior, and then can accurately evaluate the green collaborative behavior of multiple loads participating in the new power system market.
[0125] By way of example and not limitation, readable media include readable storage media and communication media. Readable storage media stores information such as computer readable instructions, data structures, program modules or other data. Communication media generally embody computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and include any information transfer medium. Any combination of the above is also included within the scope of readable media.
[0126] In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the examples of the present invention. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to implement the content of the present invention described herein, and the above description of specific languages is for the purpose of disclosing the best mode of the present invention.
[0127] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0128] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof.
[0129] Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in the devices described in the embodiments, or alternatively may be located in one or more devices different from the devices in the examples. The modules in the foregoing examples may be combined into one module or may be divided into a plurality of submodules.
[0130] Unless otherwise specified, the use of ordinal numbers "first", "second", "third", etc. to describe common objects merely indicates that different instances of similar objects are involved and is not intended to imply that the objects so described must have a given order in time, space, order or in any other manner.
Claims
1. A method for determining a load behavior strategy in a new power system market, executed in a computing device, comprising: Based on the load's kilowatt-hour benefit, the winning bid power, the demand response power, and the compensation coefficient when the load participates in the demand response and obtains compensation, a load bidding strategy model is constructed with the goal of maximizing the load's benefits. Based on the bidding strategy model of the load, the behavior strategy and bidding decision process of the load in the new power system market are simulated by using a deep reinforcement learning method to obtain a decision-making behavior simulation model of the load, wherein the bidding decision process is used to describe the process in which the load bids based on the behavior strategy in the current state of the new power system market to obtain rewards from the new power system market and transfer the new power system market from the current state to the next state; The decision behavior simulation model is solved by using the DQN algorithm to determine the optimal behavior strategy of the load, and the optimal behavior strategy of the load is used to indicate the optimal quotation of the load in various states of the new power system market.
2. The method of claim 1, wherein: The DQN algorithm includes an online network and a target network of the same structure; The decision-making behavior simulation model is solved using the DQN algorithm to determine the optimal behavior strategy of the load, including: Generate initial network parameters of the online network, synchronize the initial network parameters to the target network, generate exploration factor, discount factor, experience playback batch, experience pool capacity and network update interval, and initialize the current state of the market environment; Through the online network, an ε-greedy strategy is adopted to select a bid of a load, and the bid is executed in a market environment used to represent a new power system market to obtain a reward for the load, and the market environment is transferred from a current state to a next state, and the current state, bid, reward, and next state are saved as a sample in an experience pool; Acquire a batch of experience playback samples from the experience pool and input them into the online network to obtain a predicted value output by the online network and a target value output by the target network under the current state of the market environment, and use a gradient descent method to adjust the initial network parameters of the online network by minimizing a loss function between the target value and the predicted value to obtain new network parameters of the online network; Updating the environment information and the step value of the market environment, and when the updated step value reaches the network update interval, synchronizing the new network parameters of the online network to the target network; The above steps are repeated until the updated step value reaches the predetermined step value, and the training is terminated to obtain the optimal quotation and corresponding reward of the load in each state of the market environment as the optimal behavior strategy of the load.
3. The method of claim 2, wherein: The ε-greedy strategy is used to select the bids for the load, including: Define the exploration factor ε and generate a random number β, where ε∈[0,1], β∈[0,1]; If β<ε, a random bid is selected within the bid interval as the bid for the load; If β ≥ ε, the price quoted for the load is determined according to the following formula: Among them, ε t represents the exploration factor at step t, ε start represents the initial exploration factor, ε end represents the exploration factor at the end of the simulation, and T is the total number of iterations.
4. The method according to claim 2 or 3, wherein: After the current state, quotation, reward, and next state are saved as a sample in the experience pool, the following steps are also included: It is determined whether the amount of sample data in the experience pool reaches the capacity of the experience pool. If yes, the sample data first written into the experience pool is cleared.
5. The method according to any one of claims 1 to 4, wherein: The behavior strategy and bidding decision process of the load in the new power system market are simulated, including: Based on the Markov decision process, the behavior strategy and bidding decision process of the load in the new power system market are simulated.
6. The method according to any one of claims 1 to 5, wherein: The winning bid amount of the load is related to the bid amount of the load and the actual amount of power required by the load; Based on the load's kilowatt-hour benefit, the winning bid power, the demand response power, and the compensation coefficient when the load participates in the demand response and obtains compensation, the load bidding strategy model is constructed with the goal of maximizing the load's benefits, including: Based on the load's kilowatt-hour benefit, the bid-winning electricity, the demand response electricity, and the compensation coefficient when the load participates in the demand response to obtain compensation, the load's profit maximization objective function is constructed; A bidding strategy model for the load is constructed based on the maximum revenue objective function of the load and corresponding constraints.
7. The method of claim 6, wherein: The maximum benefit objective function of the load is: maxM Uj =(I Uj -λ)X Uj +δQ' Uj The constraints are: Among them, MUj represents the income of load Uj; IUj represents the electricity benefit of load Uj, that is, the benefit that load Uj can obtain by purchasing unit electricity; The winning bid electricity quantity of load Uj; Q′Uj represents the demand response electricity quantity of load Uj; δ represents the compensation coefficient when the load participates in the demand response and obtains compensation; η represents the upper limit of the proportion of the demand response electricity quantity declared by the load to the maximum electricity load.
8. The method according to any one of claims 1 to 7, wherein: The load decision behavior simulation model includes: a t =[d jt ] in, They represent the bid price of load Uj in the tth transaction and the lowest value of all load bids respectively; t represents the clearing price of the tth transaction; d jt represents the quotation coefficient of load Uj in the tth transaction; They respectively represent the winning bid power, actual demand power, and demand response power of load Uj in the tth transaction.
9. A computing device comprising: at least one processor; and A memory storing program instructions, wherein the program instructions are configured to be processed by the at least one processor, and the program instructions include instructions for processing the method according to any one of claims 1 to 8.
10. A readable storage medium storing program instructions, which, when read and processed by a computing device, enables the computing device to process the method according to any one of claims 1 to 8.
Citation Information
Cited By
Power system transaction simulation method based on multi-agent proxy
CN119962389A
