Virtual power plant scheduling optimization method based on TSSP and CVaR
Through the TSSP and CVaR method, a scheduling model of virtual power plants is constructed, which solves the problems of market price, renewable resource customers and unexpected events in virtual power plants decision-making, and achieves more effective scheduling strategy optimization and maximization of benefits.
Patent Information
- Application Number
- CN202411294987.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2024-11-08
AI Technical Summary
The lack of uncertainty in the prior art considers market prices, renewable resource customers and unexpected events, resulting in risks and uncertainties in the decision-making process of virtual power plants and lack of effective comprehensive decision-making methods.
Using TSSP and CVaR methods, by obtaining historical operation data, the first and second phase models are constructed, the returns changes of virtual power plants under different market prices and risk scenarios are simulated, and the scheduling simulation model is constructed based on the conditional risk value, and the scheduling strategy is optimized. To maximize total returns.
It effectively reduces the risks in virtual power plant decision-making, provides a comprehensive decision-making solution that considers market prices, renewable resource customers and unexpected events, improves the optimization effect of scheduling strategies, and ensures the stability and maximum returns of virtual power plants.
Smart Images

Figure CN118920480A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a scheduling optimization method and device for a virtual power plant based on TSSP and CVaR, a computer-readable storage medium, and a virtual power plant control system. Background Art
[0002] Virtual power plants (VPPs) integrate and control different energy resources such as distributed generation (DG), renewable energy generation, battery energy storage systems (BESS), and controllable loads into a coordinated power sector. As an agent in the retail market, VPPs aggregate the capacity of many distributed energy resources (DER) and configure them through operations in order to participate in the electricity market or provide system support services. By participating in the smart structured electricity market, VPPs can benefit from demand response (DR) or dynamic pricing programs to change energy demand conditions, contribute to backup supply, and reduce peak hours. However, the uncertainty of market prices, the demand of renewable resource customers, and the uncertainty based on unexpected events bring risks to the decision-making problem of VPPs, which needs further research. To address the risks in the decision-making process, recent studies provide valuable information to decision makers by applying different risk measurement tools. Summary of the invention
[0003] The main purpose of this application is to provide a scheduling optimization method, device, computer-readable storage medium and virtual power plant control system for a virtual power plant based on TSSP and CVaR, so as to at least solve the problem in the prior art of lack of a comprehensive decision-making method that considers the uncertainty of market prices, renewable resource customers and unexpected events.
[0004] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a scheduling optimization method for a virtual power plant based on TSSP and CVaR is provided, including: obtaining historical operation data of the virtual power plant, the historical operation data including at least a first uncertainty factor and a second uncertainty factor, the first uncertainty factor including DA market price, RT market price, equipment operation cost and backup service cost, the second uncertainty factor including the response backup cost under risk scenarios corresponding to different events; constructing a first-stage model by the TSSP method according to the first uncertainty factor, and constructing a second-stage model by the TSSP method according to the second uncertainty factor, the first-stage model is used to simulate the changing trend of the income of the virtual power plant with the first uncertainty factor, and the second-stage model is used to simulate the changing trend of the income of the virtual power plant with the second uncertainty factor under risk scenarios corresponding to different events; constructing a scheduling simulation model according to the first-stage model, the second-stage model and the conditional risk value, and the scheduling simulation model is used to simulate the virtual power plant The total revenue under different dispatching strategies, the different dispatching strategies at least include the adjustment of the first uncertainty factor and the second uncertainty factor; construct a first constraint group, a second constraint group and a third constraint group, the first constraint group includes the constraint conditions of the first stage model, the first constraint group includes the node power balance constraint of the virtual power plant, the user demand response constraint of the DR provider, the up / down backup constraint of the DR provider and the main grid power exchange and backup service constraint, the second constraint group includes the constraint conditions of the second stage model, the second constraint group includes the node power balance constraint of the virtual power plant, the risk measurement constraint of the event and the demand side backup service deployment constraint, the third constraint group is used to constrain the variable influence relationship between the first stage model and the second stage model; under the restrictions of the first constraint group, the second constraint group and the third constraint group, the dispatching simulation model is solved with the maximum total revenue as the objective function to obtain the target dispatching parameters, and the operation of the virtual power plant is controlled according to the target dispatching parameters.
[0005] Optionally, constructing a first-stage model according to the first uncertain factor by using the TSSP method includes: determining a first electric energy, a second electric energy, a first unit price, a third electric energy, a second unit price, a first cost, a second cost, a third cost, a first variable, a second variable, a fourth cost, a first power, a first capacity, a first coefficient, a first reserve, a second reserve, a third unit price, a fourth unit price, a third reserve, a fourth reserve, a fifth unit price, a sixth unit price, a second capacity, a third capacity, a seventh unit price, an eighth unit price, a fourth capacity, a fifth capacity, a ninth unit price and a tenth unit price according to the first uncertain factor, the first electric energy is the electric energy sold by the virtual power plant through the main power grid, the second electric energy is the electric energy purchased by the virtual power plant through the main power grid, the first unit price is the DA market price a day ago, the third electric energy is the electricity consumption in response to user demand, the second unit price is the RT market price of the virtual power plant in response to user demand, the first cost is the operating cost of the DG unit, the second cost is the startup cost of the DG unit, the third cost is the shutdown cost of the DG unit, and the first variable The amount and the second variable are binary variables of the start / stop state of the DG unit, the fourth cost is the operating cost of the energy storage BESS, the first power is the operating power of the energy storage BESS, the first capacity is the capacity of the energy storage BESS, the first coefficient is the discharge leakage coefficient of the energy storage BESS, the first reserve and the second reserve are respectively the up / down reserve provided by the DG unit, the third unit price and the fourth unit price are respectively the prices of the up / down reserve service provided by the DG unit, the third reserve and the fourth reserve are respectively the up / down reserve provided by demand response, the fifth unit price and the sixth unit price are respectively the prices of the up / down reserve service provided by demand response, the second capacity and the third capacity are respectively the capacity purchased from the market for up / down reserve, the seventh unit price and the eighth unit price are respectively the prices of the capacity purchased from the market for up / down reserve, the fourth capacity and the fifth capacity are respectively the capacity sold to the market for up / down reserve, and the ninth unit price and the tenth unit price are respectively the prices of the capacity sold to the market for up / down reserve;A first target formula is constructed according to the first electric energy, the second electric energy and the first unit price, a second target formula is constructed according to the third electric energy and the second unit price, a third target formula is constructed according to the first cost, the second cost, the third cost, the first variable and the second variable, a fourth target formula is constructed according to the fourth cost, the first power, the first capacity and the first coefficient, a fifth target formula is constructed according to the first reserve, the second reserve, the third unit price and the fourth unit price, a sixth target formula is constructed according to the third reserve, the fourth reserve, the fifth unit price and the sixth unit price, and a sixth target formula is constructed according to the second capacity, the third capacity, the seventh unit price and the eighth coefficient. The seventh target formula is constructed according to the fourth capacity, the fifth capacity, the ninth unit price and the tenth unit price, and the eighth target formula is constructed according to the fourth capacity, the fifth capacity, the ninth unit price and the tenth unit price. The first stage model is obtained by combining the first target formula, the second target formula, the third target formula, the fourth target formula, the fifth target formula, the sixth target formula, the seventh target formula and the eighth target formula. The first target formula is used to simulate the first target income with the first electric energy, the second electric energy and the first unit price. The first target income is the income from the energy transaction between the virtual power plant and the main power grid. The second target formula is used to simulate the second target income with the third electric energy and the second unit price. The second target income is the income from the virtual power plant selling energy to customers. The third target formula is used to simulate the first target expenditure with the first cost, the second cost, the third cost, the first variable and the second variable. The first target expenditure is the total cost of the DG unit in the virtual power plant. The fourth target formula is used to simulate the second target expenditure with the fourth cost, the first power, the first capacity and the first coefficient. The second target expenditure is the total cost of the energy storage BESS. The fifth target formula is used to simulate the third target expenditure with the first reserve, the second reserve, the third unit price and the fourth unit price. The third target expenditure is the reserve cost of the power generation side, the sixth target formula is used to simulate the change trend of the fourth target expenditure with the third reserve, the fourth reserve, the fifth unit price, and the sixth unit price, the fourth target expenditure is the reserve cost of the demand side, the seventh target formula is used to simulate the change trend of the fifth target expenditure with the second capacity, the third capacity, the seventh unit price, and the eighth unit price, the fifth target expenditure is the reserve cost of the main power grid providing reserve, the eighth target formula is used to simulate the change trend of the third target income with the fourth capacity, the fifth capacity, the ninth unit price, and the tenth unit price, the third target income is the reserve income of the main power grid providing reserve. ;
[0006] Optionally, a first target formula is constructed according to the first electric energy, the second electric energy and the first unit price, a second target formula is constructed according to the third electric energy and the second unit price, a third target formula is constructed according to the first cost, the second cost, the third cost, the first variable and the second variable, a fourth target formula is constructed according to the fourth cost, the first power, the first capacity and the first coefficient, a fifth target formula is constructed according to the first reserve, the second reserve, the third unit price and the fourth unit price, a sixth target formula is constructed according to the third reserve, the fourth reserve, the fifth unit price and the sixth unit price, a seventh target formula is constructed according to the second capacity, the third capacity, the seventh unit price and the eighth unit price, an eighth target formula is constructed according to the fourth capacity, the fifth capacity, the ninth unit price and the tenth unit price, and the first stage model is obtained by combining the first target formula, the second target formula, the third target formula, the fourth target formula, the fifth target formula, the sixth target formula, the seventh target formula and the eighth target formula, including: constructing the first target formula according to the first electric energy, the second electric energy and the first unit price: Among them, C1 is the first target income, is the first electric energy, is the second electric energy, The second target formula is constructed based on the third electric energy and the second unit price: Among them, C2 is the second target income, is the third electric energy, is the second unit price, N J is the number of users; constructing the third target formula according to the first cost, the second cost, the third cost, the first variable and the second variable: Among them, C3 is the first target expenditure, For the first cost, N G is the number of DG units, SUC g,t For the second cost, SDC g,t is the third cost, y g,t is the first variable, z g,t is the second variable; and constructs the fourth target formula according to the fourth cost, the first power, the first capacity and the first coefficient: Among them, C4 is the second target expenditure, For the fourth cost, is the first power, is the first capacity, N K is the number of energy storage BESS, is the first coefficient; and constructs the fifth target formula according to the first reserve, the second reserve, the third unit price and the fourth unit price: Among them, C5 is the third target expenditure, For the first backup, For the second backup, is the third unit price, is the fourth unit price; and constructs the sixth target formula according to the third backup, the fourth backup, the fifth unit price and the sixth unit price: Among them, C6 is the fourth target expenditure, For the third standby, For the fourth standby, is the fifth unit price, is the sixth unit price; and constructs the seventh target formula according to the second capacity, the third capacity, the seventh unit price and the eighth unit price: Among them, C7 is the fifth target expenditure, For the second capacity, is the third capacity, is the seventh unit price, is the eighth unit price; and constructs the eighth target formula according to the fourth capacity, the fifth capacity, the ninth unit price and the tenth unit price: Wherein, C8 is the third target income, is the fourth capacity, is the fifth capacity, is the ninth unit price, is the tenth unit price; the first stage model is obtained by combining the first target formula, the second target formula, the third target formula, the fourth target formula, the fifth target formula, the sixth target formula, the seventh target formula and the eighth target formula: in, The benefits of the virtual power plant.
[0007] Optionally, constructing a second-stage model according to the second uncertain factor by the TSSP method, including: determining a first difference, a second difference, a first price adjustment, a second price adjustment, an eleventh unit price, a fifth reserve, a sixth reserve, a twelfth unit price, a seventh reserve, an eighth reserve, a second power and a fifth cost according to the second uncertain factor, the first difference being the difference in electric energy sold by the virtual power plant to the main power grid determined by the TSSP method, the second difference being the difference in electric energy purchased by the virtual power plant from the main power grid determined by the TSSP method, the first price adjustment and the second price adjustment being the above / down adjust the DA market price, the eleventh unit price is the price of deploying the reserve of the DG unit, the fifth reserve and the sixth reserve are the upper / lower reserves for the deployment of the DG unit determined by the TSSP method, the twelfth unit price is the RT market price for deploying DR reserve, the seventh reserve and the eighth reserve are the upper / lower reserves required by the user, the second power is the power of the user's load shedding, and the fifth cost is the penalty cost of the load loss of the virtual power plant; construct a ninth target formula based on the first difference, the second difference, the first price adjustment and the second price adjustment, and The eleventh unit price, the fifth reserve and the sixth reserve construct the tenth target formula, the eleventh target formula is constructed according to the twelfth unit price, the seventh reserve and the eighth reserve, the twelfth target formula is constructed according to the second power and the fifth cost, and the second stage model is obtained by combining the ninth target formula, the tenth target formula, the eleventh target formula and the twelfth target formula. The ninth target formula is used to simulate the changing trend of the fourth target income with the first difference, the second difference, the first price adjustment and the second price adjustment. The fourth target income is the income from the virtual power plant exchanging energy with the main power grid. The tenth target formula is used to simulate the changing trend of the sixth target expenditure with the eleventh unit price, the fifth reserve and the sixth reserve. The sixth target expenditure is the reserve cost of deploying reserves on the power generation side. The eleventh target formula is used to simulate the changing trend of the seventh target expenditure with the twelfth unit price, the seventh reserve and the eighth reserve. The seventh target expenditure is the reserve cost of deploying reserves on the demand side. The twelfth target formula is used to simulate the changing trend of the eighth target expenditure with the second power and the fifth cost. The eighth target expenditure is the penalty cost of load reduction caused by the event.
[0008] Optionally, a ninth target formula is constructed according to the first difference, the second difference, the first price adjustment, and the second price adjustment; a tenth target formula is constructed according to the eleventh unit price, the fifth standby, and the sixth standby; an eleventh target formula is constructed according to the twelfth unit price, the seventh standby, and the eighth standby; a twelfth target formula is constructed according to the second power and the fifth cost; and the ninth target formula, the tenth target formula, the eleventh target formula, and the twelfth target formula are combined to obtain the second stage model, including: constructing the ninth target formula according to the first difference, the second difference, the first price adjustment, and the second price adjustment: Wherein, C9 is the fourth target income, ρ s is the probability of scenario S occurring, is the first difference, is the second difference, For the first price adjustment, The second price adjustment is performed; the tenth target formula is constructed according to the eleventh unit price, the fifth reserve and the sixth reserve: Among them, C 10 For the sixth objective, is the eleventh unit price, For the fifth standby, is the sixth reserve; constructing the eleventh target formula according to the twelfth unit price, the seventh reserve and the eighth reserve: Among them, C 11 For the seventh objective, is the twelfth unit price, For the seventh standby, is the eighth standby; constructing the twelfth target formula according to the second power and the fifth cost: Among them, C 12 For the eighth objective, For the second power, VOLL j,t is the fifth cost; the ninth target formula, the tenth target formula, the eleventh target formula and the twelfth target formula are combined to obtain the second stage model: in, It is the profit of the virtual power plant under the risk scenarios corresponding to the different events.
[0009] Optionally, constructing the first constraint group, the second constraint group and the third constraint group includes: constructing a node balance constraint of the virtual power plant corresponding to the first stage model to obtain a first target constraint: in, is the output power of the DG unit, is the power of wind power, is the demand response power, p (n ) ,t is the bus power, N B is the number of buses; construct the user demand response constraint of the DR provider corresponding to the first stage model, and obtain the second target constraint: in, is the initial value of user demand response, E j,t,h is the fluctuation value of user demand response, is the initial value of the RT market price provided to the user; constructs the user up / down standby constraint of the DR provider corresponding to the first stage model, and obtains the third target constraint: in, are binary variables indicating the user's participation in up / down reserve demand response status, are the up / down ramp rates of demand response, T s is the backup delivery time; construct the main grid power exchange constraint corresponding to the first stage model to obtain the fourth objective constraint: in, and is the maximum value of electric energy purchased or sold from the main grid, σ t is a binary variable of the transaction status; constructing the backup service constraint of the main power grid corresponding to the first stage model, and obtaining the fifth target constraint: in, and is the minimum value of electric energy purchased or sold from the main power grid; the first objective constraint, the second objective constraint, the third objective constraint, the fourth objective constraint and the fifth objective constraint are combined to obtain the first constraint group; the node balance constraint of the virtual power plant corresponding to the second stage model is constructed to obtain the sixth objective constraint: Construct the risk measurement constraint corresponding to the second stage model and obtain the seventh objective constraint: Among them, η s is the risk value, ξ is the preset variable; the reserve deployment constraint of the demand side reserve corresponding to the second stage model is constructed to obtain the eighth target constraint: in, is the minimum load reduction; the sixth target constraint, the seventh target constraint, and the eighth target constraint are combined to obtain the second constraint group; the planned output power of the DG unit and the actual power generation and the deployed reserve are coupled to construct the ninth target constraint: The actual deployed power and reserve on the demand side are coupled with the dispatching strategy to construct the tenth objective constraint: The third constraint group is obtained by combining the ninth objective constraint and the tenth objective constraint.
[0010] Optionally, before solving the scheduling simulation model with the maximum total revenue as the objective function, the method further includes: constructing the objective function: Among them, β is the risk parameter, and CVaR satisfies
[0011] According to another aspect of the present application, a scheduling optimization device for a virtual power plant based on TSSP and CVaR is provided, the device comprising: an acquisition unit, used to acquire historical operation data of the virtual power plant, the historical operation data including at least a first uncertainty factor and a second uncertainty factor, the first uncertainty factor including DA market price, RT market price, equipment operation cost and backup service cost, the second uncertainty factor including the response backup cost under risk scenarios corresponding to different events; a first construction unit, used to construct a first-stage model by the TSSP method according to the first uncertainty factor, and to construct a second-stage model by the TSSP method according to the second uncertainty factor, the first-stage model being used to simulate the change trend of the income of the virtual power plant with the first uncertainty factor, and the second-stage model being used to simulate the change trend of the income of the virtual power plant with the second uncertainty factor under risk scenarios corresponding to different events; a second construction unit, used to construct a scheduling simulation model according to the first-stage model, the second-stage model and the conditional risk value, the scheduling simulation model being used to simulate the virtual The total revenue of the power plant under different dispatching strategies, the different dispatching strategies at least include the adjustment of the first uncertainty factor and the second uncertainty factor; a third construction unit, used to construct a first constraint group, a second constraint group and a third constraint group, the first constraint group includes the constraint conditions of the first-stage model, the first constraint group includes the node power balance constraint of the virtual power plant, the user demand response constraint of the DR provider, the up / down backup constraint of the DR provider and the main power grid power exchange and backup service constraint, the second constraint group includes the constraint conditions of the second-stage model, the second constraint group includes the node power balance constraint of the virtual power plant, the risk measurement constraint of the event and the demand-side backup service deployment constraint, and the third constraint group is used to constrain the variable influence relationship between the first-stage model and the second-stage model; a first calculation unit, used to solve the dispatching simulation model with the maximum total revenue as the objective function under the constraints of the first constraint group, the second constraint group and the third constraint group, obtain the target dispatching parameters, and control the operation of the virtual power plant according to the target dispatching parameters.
[0012] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the methods described.
[0013] According to another aspect of the present application, a virtual power plant control system is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the described methods.
[0014] Applying the technical solution of the present application, in the above-mentioned scheduling optimization method of the virtual power plant based on TSSP and CVaR, first, the historical operation data of the virtual power plant is obtained, and the above-mentioned historical operation data at least includes a first uncertainty factor and a second uncertainty factor, and the above-mentioned first uncertainty factor includes DA market price, RT market price, equipment operation cost and backup service cost, and the above-mentioned second uncertainty factor includes the response backup cost under the risk scenarios corresponding to different events; then, a first-stage model is constructed by the TSSP method according to the above-mentioned first uncertainty factor, and a second-stage model is constructed by the TSSP method according to the above-mentioned second uncertainty factor. The above-mentioned first-stage model is used to simulate the changing trend of the income of the above-mentioned virtual power plant with the above-mentioned first uncertainty factor, and the above-mentioned second-stage model is used to simulate the changing trend of the income of the above-mentioned virtual power plant with the above-mentioned second uncertainty factor under the risk scenarios corresponding to the above-mentioned different events; thereafter, a scheduling simulation model is constructed according to the above-mentioned first-stage model, the above-mentioned second-stage model and the conditional risk value, and the above-mentioned scheduling simulation model is used to simulate the above-mentioned virtual power plant under different scheduling The total benefit under the strategy, the above different scheduling strategies at least include the adjustment of the above first uncertainty factor and the above second uncertainty factor; then, construct the first constraint group, the second constraint group and the third constraint group, the above first constraint group includes the constraint conditions of the above first-stage model, the above first constraint group includes the node power balance constraint of the above virtual power plant, the user demand response constraint of the DR provider, the up / down backup constraint of the above DR provider and the main power grid power exchange and backup service constraint, the above second constraint group includes the constraint conditions of the above second-stage model, the above second constraint group includes the node power balance constraint of the above virtual power plant, the risk measurement constraint of the above event and the demand-side backup service deployment constraint, and the above third constraint group is used to constrain the variable influence relationship between the above first-stage model and the above second-stage model; finally, under the restrictions of the above first constraint group, the above second constraint group and the above third constraint group, the above scheduling simulation model is solved with the maximum total benefit as the objective function to obtain the target scheduling parameters, and the operation of the above virtual power plant is controlled according to the above target scheduling parameters. This application, taking into account the participation of demand-side resources in backup supply, establishes a first-stage model to simulate the changing trends of the regulation and revenue of the virtual power plant under normal operation, and then constructs a second-stage model to simulate the changing trends of the regulation and revenue of the virtual power plant under various risk aversion behaviors, and then determines the constraints corresponding to each model and the constraints between the first-stage model and the second-stage model to obtain an overall optimization model. By solving the model, the regulation plan can be obtained, which solves the problem in the prior art of lack of a comprehensive decision-making method that considers the uncertainty of market prices, renewable resource customers and unexpected events. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1A hardware structure block diagram of a mobile terminal according to a scheduling optimization method for a virtual power plant based on TSSP and CVaR provided in an embodiment of the present application is shown;
[0016] Figure 2 A flow chart of a scheduling optimization method for a virtual power plant based on TSSP and CVaR provided according to an embodiment of the present application is shown;
[0017] Figure 3 A structural block diagram of a scheduling optimization device for a virtual power plant based on TSSP and CVaR provided according to an embodiment of the present application is shown.
[0018] The above drawings include the following reference numerals:
[0019] 102, processor; 104, memory; 106, transmission device; 108, input and output devices. DETAILED DESCRIPTION
[0020] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0021] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0023] As introduced in the background technology, in order to address the problem that the prior art lacks a comprehensive decision-making method that considers the uncertainty of market prices, renewable resource customers and unexpected events, the embodiments of the present application provide a scheduling optimization method, device, computer-readable storage medium, processor and virtual power plant control system for a virtual power plant based on TSSP and CVaR.
[0024] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0025] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 1 is a hardware structure block diagram of a mobile terminal of a scheduling optimization method for a virtual power plant based on TSSP and CVaR according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0026] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the display method of device information in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific examples of the network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0027] In this embodiment, a scheduling optimization method for a virtual power plant based on TSSP and CVaR is provided, which runs on a mobile terminal, a computer terminal or a similar computing device. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0028] Figure 2 is a flow chart of a scheduling optimization method for a virtual power plant based on TSSP and CVaR according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:
[0029] Step S201, obtaining historical operation data of the virtual power plant, the historical operation data at least including a first uncertainty factor and a second uncertainty factor, the first uncertainty factor including DA market price, RT market price, equipment operation cost and standby service cost, the second uncertainty factor including the response standby cost under risk scenarios corresponding to different events;
[0030] Specifically, this application considers scheduling from two aspects. One is the VPP energy aspect, thereby determining the relevant uncertainties of energy clearing and clearing revenues, and obtaining the above-mentioned first uncertainty factor. On the other hand, it considers from the perspective of emergencies, thereby considering the uncertainty factor of backup energy under different time scenarios, and obtaining the above-mentioned second uncertainty factor.
[0031] Step S202, constructing a first-stage model by the TSSP method according to the first uncertainty factor, and constructing a second-stage model by the TSSP method according to the second uncertainty factor, the first-stage model is used to simulate the changing trend of the income of the virtual power plant with the first uncertainty factor, and the second-stage model is used to simulate the changing trend of the income of the virtual power plant with the second uncertainty factor under the risk scenarios corresponding to the different events;
[0032] Specifically, based on two-stage optimization, the TSSP method constructs two-stage models respectively, constructs the best scheduling model of the first stage, that is, the first-stage model, and constructs the real-time operation model of the VPP to obtain the second-stage model.
[0033] Step S203, constructing a scheduling simulation model according to the first-stage model, the second-stage model and the conditional risk value, wherein the scheduling simulation model is used to simulate the total revenue of the virtual power plant under different scheduling strategies, wherein the different scheduling strategies at least include adjustments to the first uncertainty factor and the second uncertainty factor;
[0034] Specifically, the above-mentioned first-stage model and the above-mentioned second-stage model are associated, and CVaR, that is, the above-mentioned conditional value at risk, is introduced to obtain the above-mentioned scheduling simulation model.
[0035] Step S204, constructing a first constraint group, a second constraint group and a third constraint group, wherein the first constraint group includes the constraint conditions of the first-stage model, the first constraint group includes the node power balance constraint of the virtual power plant, the user demand response constraint of the DR provider, the up / down backup constraint of the DR provider and the main grid power exchange and backup service constraint, the second constraint group includes the constraint conditions of the second-stage model, the second constraint group includes the node power balance constraint of the virtual power plant, the risk measurement constraint of the event and the demand-side backup service deployment constraint, and the third constraint group is used to constrain the variable influence relationship between the first-stage model and the second-stage model;
[0036] Specifically, for the first-stage model, the node power balance constraints of the virtual power plant, the user demand response constraints of the DR provider, the up / down backup constraints of the DR provider, and the main grid power exchange and backup service constraints are constructed to obtain the first constraint group. For the second-stage model, the node power balance constraints of the virtual power plant, the risk measurement constraints of the above-mentioned events, and the demand-side backup service deployment constraints are constructed to obtain the second constraint group. Then, the constraints on the parameter association between the first-stage model and the second-stage model are constructed to obtain the third constraint group.
[0037] Step S205, under the constraints of the above-mentioned first constraint group, the above-mentioned second constraint group and the above-mentioned third constraint group, solve the above-mentioned scheduling simulation model with the above-mentioned total profit maximization as the objective function, obtain the target scheduling parameters, and control the operation of the above-mentioned virtual power plant according to the above-mentioned target scheduling parameters.
[0038] Specifically, the profit maximization of the above-mentioned scheduling simulation model is taken as the objective function, and the above-mentioned scheduling simulation model is solved under the above-mentioned constraints to obtain different input parameters of the first-stage model and the second-stage model, that is, the above-mentioned target scheduling parameters are obtained, and the clearing and entry of the above-mentioned virtual power plant are completed according to the above-mentioned target scheduling parameters.
[0039] Through this embodiment, first, the historical operation data of the virtual power plant is obtained, and the above historical operation data includes at least a first uncertainty factor and a second uncertainty factor. The above first uncertainty factor includes DA market price, RT market price, equipment operation cost and backup service cost, and the above second uncertainty factor includes the response backup cost under the risk scenarios corresponding to different events; then, a first-stage model is constructed by the TSSP method according to the above first uncertainty factor, and a second-stage model is constructed by the TSSP method according to the above second uncertainty factor. The above first-stage model is used to simulate the changing trend of the income of the above virtual power plant with the above first uncertainty factor, and the above second-stage model is used to simulate the changing trend of the income of the above virtual power plant with the above second uncertainty factor under the risk scenarios corresponding to the above different events; then, a scheduling simulation model is constructed according to the above first-stage model, the above second-stage model and the conditional risk value, and the above scheduling simulation model is used to simulate the total income of the above virtual power plant under different scheduling strategies. The strategy at least includes the adjustment of the above-mentioned first uncertainty factor and the above-mentioned second uncertainty factor; then, construct the first constraint group, the second constraint group and the third constraint group, the above-mentioned first constraint group includes the constraint conditions of the above-mentioned first-stage model, the above-mentioned first constraint group includes the node power balance constraint of the above-mentioned virtual power plant, the user demand response constraint of the DR provider, the up / down backup constraint of the above-mentioned DR provider and the main power grid power exchange and backup service constraint, the above-mentioned second constraint group includes the constraint conditions of the above-mentioned second-stage model, the above-mentioned second constraint group includes the node power balance constraint of the above-mentioned virtual power plant, the risk measurement constraint of the above-mentioned event and the demand-side backup service deployment constraint, and the above-mentioned third constraint group is used to constrain the variable influence relationship between the above-mentioned first-stage model and the above-mentioned second-stage model; finally, under the restrictions of the above-mentioned first constraint group, the above-mentioned second constraint group and the above-mentioned third constraint group, the above-mentioned scheduling simulation model is solved with the above-mentioned total benefit maximization as the objective function to obtain the target scheduling parameters, and the operation of the above-mentioned virtual power plant is controlled according to the above-mentioned target scheduling parameters. This application, taking into account the participation of demand-side resources in backup supply, establishes a first-stage model to simulate the changing trends of the regulation and revenue of the virtual power plant under normal operation, and then constructs a second-stage model to simulate the changing trends of the regulation and revenue of the virtual power plant under various risk aversion behaviors, and then determines the constraints corresponding to each model and the constraints between the first-stage model and the second-stage model to obtain an overall optimization model. By solving the model, the regulation plan can be obtained, which solves the problem in the prior art of lack of a comprehensive decision-making method that considers the uncertainty of market prices, renewable resource customers and unexpected events.
[0040] In order to construct the first-stage model, in an optional implementation, the step S202 includes:
[0041] Step S2021, according to the above-mentioned first uncertain factor, determine the first electric energy, the second electric energy, the first unit price, the third electric energy, the second unit price, the first cost, the second cost, the third cost, the first variable, the second variable, the fourth cost, the first power, the first capacity, the first coefficient, the first reserve, the second reserve, the third unit price, the fourth unit price, the third reserve, the fourth reserve, the fifth unit price, the sixth unit price, the second capacity, the third capacity, the seventh unit price, the eighth unit price, the fourth capacity, the fifth capacity, the ninth unit price and the tenth unit price, the above-mentioned first electric energy is the electric energy sold by the above-mentioned virtual power plant through the above-mentioned main power grid, the above-mentioned second electric energy is the electric energy purchased by the above-mentioned virtual power plant through the above-mentioned main power grid, the above-mentioned first unit price is the above-mentioned DA market price a few days ago, the above-mentioned third electric energy is the electric energy consumption in response to user demand, the above-mentioned second unit price is the above-mentioned RT market price in response to user demand by the above-mentioned virtual power plant, the above-mentioned first cost is the operating cost of the DG unit, the above-mentioned second cost is the startup cost of the above-mentioned DG unit, the above-mentioned third cost is the shutdown cost of the above-mentioned DG unit, the above-mentioned first variable and the above-mentioned second variable are the above-mentioned DG unit a binary variable of the start / stop state of the group, the fourth cost is the operating cost of the energy storage BESS, the first power is the operating power of the energy storage BESS, the first capacity is the capacity of the energy storage BESS, the first coefficient is the discharge leakage coefficient of the energy storage BESS, the first reserve and the second reserve are respectively the up / down reserve provided by the DG unit, the third unit price and the fourth unit price are respectively the price of the up / down reserve service provided by the DG unit, the third reserve and the fourth reserve are respectively the up / down reserve provided by the demand response, the fifth unit price and the sixth unit price are respectively the price of the up / down reserve service provided by the demand response, the second capacity and the third capacity are respectively the capacity purchased from the market for up / down reserve, the seventh unit price and the eighth unit price are respectively the price of the above capacity purchased from the market for up / down reserve, the fourth capacity and the fifth capacity are respectively the capacity sold to the market for up / down reserve, and the ninth unit price and the tenth unit price are respectively the price of the above capacity sold to the market for up / down reserve;
[0042] Specifically, the electric energy sold by the virtual power plant through the main power grid is determined according to the first uncertainty factor. The first electric energy is obtained, and the electric energy purchased by the virtual power plant through the main power grid is The above-mentioned second electric energy is obtained, and the above-mentioned DA market price is Get the first unit price mentioned above; the power consumption of the user demand response The above third electric energy is obtained, and the above RT market price of the virtual power plant responding to user demand is obtained. The second unit price is obtained; the operating cost of the DG unit The above first cost, the startup cost of the DG unit SUC g,t, we get the second cost mentioned above, the shutdown cost SDC of the DG unit g,t , the third cost is obtained, the binary variable y of the start / stop state of the DG unit is g,t and z g,t , get the above first variable and the above second variable; the operating cost of energy storage BESS The fourth cost above is obtained, the operating power of the energy storage BESS Get the first power and the capacity of the energy storage BESS The above first capacity, discharge leakage coefficient of BESS is obtained Get the first coefficient mentioned above; the upper / lower reserve provided by the DG unit and Get the price of the above first reserve and the above second reserve, the up / down reserve service provided by the DG unit and The third unit price and the fourth unit price are obtained, and the upper / lower reserve provided by demand response is and Get the price of the third reserve and the fourth reserve, and the up / down reserve service provided by the demand response and Obtain the fifth unit price and the sixth unit price, and purchase the capacity for upper / lower backup from the market and Get the second capacity and the third capacity, and buy the capacity for upper / lower backup from the market at a price and Obtain the seventh unit price and the eighth unit price, and sell the upper / lower spare capacity to the market and The fourth capacity and the fifth capacity are obtained, and the price of the upper / lower spare capacity is sold to the market. and The ninth unit price mentioned above and the tenth unit price mentioned above.
[0043] Step S2022, constructing a first target formula according to the first electric energy, the second electric energy and the first unit price, constructing a second target formula according to the third electric energy and the second unit price, constructing a third target formula according to the first cost, the second cost, the third cost, the first variable and the second variable, constructing a fourth target formula according to the fourth cost, the first power, the first capacity and the first coefficient, constructing a fifth target formula according to the first reserve, the second reserve, the third unit price and the fourth unit price, constructing a sixth target formula according to the third reserve, the fourth reserve, the fifth unit price and the sixth unit price, and constructing a sixth target formula according to the second capacity, the third capacity, the seventh unit price and the seventh unit price. The seventh target formula is constructed according to the fourth capacity, the fifth capacity, the ninth unit price and the tenth unit price. The eighth target formula is constructed according to the fourth capacity, the fifth capacity, the ninth unit price and the tenth unit price. The first stage model is obtained by combining the first target formula, the second target formula, the third target formula, the fourth target formula, the fifth target formula, the sixth target formula, the seventh target formula and the eighth target formula. The first target formula is used to simulate the changing trend of the first target income with the first electric energy, the second electric energy and the first unit price. The first target income is the income from the energy transaction between the virtual power plant and the main power grid. The second target formula is used to simulate the changing trend of the second target income with the third electric energy and the first unit price. The second target income is the income from the virtual power plant selling energy to customers. The third target formula is used to simulate the first target expenditure with the change trend of the first cost, the second cost, the third cost, the first variable and the second variable. The first target expenditure is the total cost of the DG unit in the virtual power plant. The fourth target formula is used to simulate the change trend of the second target expenditure with the fourth cost, the first power, the first capacity and the first coefficient. The second target expenditure is the total cost of the energy storage BESS. The fifth target formula is used to simulate the third target expenditure with the change of the first reserve, the second reserve, the third unit price and the fourth unit price. The above-mentioned third target expenditure is the standby cost on the power generation side. The above-mentioned sixth target formula is used to simulate the changing trend of the fourth target expenditure with the above-mentioned third reserve, the above-mentioned fourth reserve, the above-mentioned fifth unit price and the above-mentioned sixth unit price. The above-mentioned fourth target expenditure is the standby cost on the demand side. The above-mentioned seventh target formula is used to simulate the changing trend of the fifth target expenditure with the above-mentioned second capacity, the above-mentioned third capacity, the above-mentioned seventh unit price and the above-mentioned eighth unit price. The above-mentioned fifth target expenditure is the standby cost of providing standby for the above-mentioned main power grid. The above-mentioned eighth target formula is used to simulate the changing trend of the third target income with the above-mentioned fourth capacity, the above-mentioned fifth capacity, the above-mentioned ninth unit price and the above-mentioned tenth unit price. The above-mentioned third target income is the standby income of providing standby for the above-mentioned main power grid.
[0044] Specifically, each of the above-mentioned first uncertain factors and their correlation with the impact on the revenue of the virtual power plant are constructed respectively to obtain the corresponding formula.
[0045] In order to construct the above formulas of the first stage model, in an optional implementation, the above step S2022 includes:
[0046] Step S20221, constructing the first target formula according to the first electric energy, the second electric energy and the first unit price:
[0047]
[0048] Among them, C1 is the first target income mentioned above, is the first electric energy mentioned above, is the second electric energy mentioned above, This is the first unit price mentioned above.
[0049] Step S20222: construct the second target formula according to the third electric energy and the second unit price:
[0050]
[0051] Among them, C2 is the second target income mentioned above, is the third electric energy mentioned above, is the second unit price mentioned above, N J is the number of users;
[0052] Step S20223, constructing the third target formula according to the first cost, the second cost, the third cost, the first variable and the second variable:
[0053]
[0054] Among them, C3 is the first target expenditure mentioned above, is the first cost mentioned above, N G is the number of the above DG units, SUC g,t For the second cost mentioned above, SDC g,t is the third cost mentioned above, y g,t is the first variable mentioned above, z g,t is the second variable mentioned above;
[0055] Step S20224: construct the fourth target formula according to the fourth cost, the first power, the first capacity and the first coefficient:
[0056]
[0057] Among them, C4 is the second target expenditure mentioned above, For the fourth cost mentioned above, is the first power mentioned above, is the first capacity mentioned above, N K is the number of the above energy storage BESS, is the first coefficient mentioned above;
[0058] Step S20225, constructing the fifth target formula according to the first backup, the second backup, the third unit price and the fourth unit price:
[0059]
[0060] Among them, C5 is the third target expenditure mentioned above, For the first backup mentioned above, For the second backup mentioned above, is the third unit price mentioned above, is the fourth unit price mentioned above;
[0061] Step S20226, constructing the sixth target formula according to the third backup, the fourth backup, the fifth unit price and the sixth unit price:
[0062]
[0063] Among them, C6 is the fourth target expenditure mentioned above, For the third backup mentioned above, For the fourth backup mentioned above, For the fifth unit price mentioned above, is the sixth unit price mentioned above;
[0064] Step S20227, constructing the seventh target formula according to the second capacity, the third capacity, the seventh unit price and the eighth unit price:
[0065]
[0066] Among them, C7 is the fifth target expenditure mentioned above, is the second capacity mentioned above, For the third capacity mentioned above, For the seventh unit price mentioned above, The eighth unit price mentioned above;
[0067] Step S20228, constructing the eighth target formula according to the fourth capacity, the fifth capacity, the ninth unit price and the tenth unit price:
[0068]
[0069] Among them, C8 is the third target income mentioned above, For the fourth capacity mentioned above, For the fifth capacity mentioned above, For the ninth unit price mentioned above, The tenth unit price mentioned above;
[0070] Step S20229, combining the first target formula, the second target formula, the third target formula, the fourth target formula, the fifth target formula, the sixth target formula, the seventh target formula and the eighth target formula to obtain the first stage model:
[0071]
[0072] in, The benefits of the above virtual electric field.
[0073] In the above embodiment, the present application constructs corresponding formulas for the energy transaction income between the VPP and the main grid in the day-ahead market DA, the income from selling energy to customers, the startup and shutdown costs of the DG units and their operating costs, the operating costs of the BESS, which specifically depend on their life cycle costs, the reserve costs allocated on the generation side and the demand side, the cost of the main grid providing reserve and the income from providing reserve to the main grid, and determines the net profit of the final first-stage model as the above-mentioned first uncertain factor changes.
[0074] In order to construct the second-stage model, in an optional implementation, the step S202 further includes:
[0075] Step S2023, determining the first difference, the second difference, the first price adjustment, the second price adjustment, the eleventh unit price, the fifth reserve, the sixth reserve, the twelfth unit price, the seventh reserve, the eighth reserve, the second power and the fifth cost according to the second uncertainty factor, the first difference is the difference of the electric energy sold by the virtual power plant to the main grid determined by the TSSP method, the second difference is the difference of the electric energy purchased by the virtual power plant from the main grid determined by the TSSP method, the first price adjustment and the second price adjustment are for adjusting the DA market price up / down, the eleventh unit price is the price of the reserve for deploying the DG unit, the fifth reserve and the sixth reserve are the upper / lower reserve for deploying the DG unit determined by the TSSP method, the twelfth unit price is the RT market price for deploying DR reserve, the seventh reserve and the eighth reserve are the upper / lower reserve for user demand, the second power is the power of user load shedding, and the fifth cost is the penalty cost for load loss of the virtual power plant;
[0076] Specifically, the difference in electric energy sold by the virtual power plant to the main power grid is determined according to the second uncertainty factor. The first difference is obtained, and the difference in electric energy purchased by the virtual power plant from the main power grid is Get the second difference and adjust the DA market price up / down and The above-mentioned first price adjustment and the above-mentioned second price adjustment are obtained, and the price of deploying the above-mentioned DG unit as a standby is Get the above eleventh unit price, the upper / lower standby of the deployment of DG units and Get the above fifth backup and the above sixth backup, and deploy the above RT market price of DR backup Get the above twelfth unit price, the upper / lower reserve required by the user combine The seventh reserve and the eighth reserve are obtained, and the power of the user's load shedding is Get the above second power, the penalty cost of load loss of the virtual power plant VOLL j,t , and obtain the fifth cost mentioned above.
[0077] Step S2024, constructing a ninth target formula according to the first difference, the second difference, the first price adjustment and the second price adjustment, constructing a tenth target formula according to the eleventh unit price, the fifth reserve and the sixth reserve, constructing an eleventh target formula according to the twelfth unit price, the seventh reserve and the eighth reserve, constructing a twelfth target formula according to the second power and the fifth cost, and jointly constructing the ninth target formula, the tenth target formula, the eleventh target formula and the twelfth target formula to obtain the second stage model, and the ninth target formula is used to simulate the fourth target income with the first difference, the second difference, the first price adjustment and the second price The above-mentioned fourth target income is the income from exchanging energy between the above-mentioned virtual power plant and the above-mentioned main power grid. The above-mentioned tenth target formula is used to simulate the sixth target expenditure with the above-mentioned eleventh unit price, the above-mentioned fifth reserve and the above-mentioned sixth reserve. The above-mentioned sixth target expenditure is the reserve cost of deploying reserves on the power generation side. The above-mentioned eleventh target formula is used to simulate the seventh target expenditure with the above-mentioned twelfth unit price, the above-mentioned seventh reserve and the above-mentioned eighth reserve. The above-mentioned seventh target expenditure is the reserve cost of deploying reserves on the demand side. The above-mentioned twelfth target formula is used to simulate the eighth target expenditure with the above-mentioned second power and the above-mentioned fifth cost. The above-mentioned eighth target expenditure is the penalty cost of load reduction caused by the above-mentioned events.
[0078] Specifically, corresponding formulas are constructed according to the correlation between each of the above-mentioned second uncertain factors and the additional expenditure cost of the above-mentioned virtual power plant, and then the above-mentioned second-stage model is constructed.
[0079] In order to construct the above formulas of the second-stage models, in an optional implementation, the above step S2024 includes:
[0080] Step S20241, constructing the ninth target formula according to the first difference, the second difference, the first price adjustment and the second price adjustment:
[0081]
[0082] Among them, C9 is the fourth target income mentioned above, ρ s is the probability of scenario S occurring, is the first difference mentioned above, is the second difference mentioned above, For the first price adjustment above, For the second price adjustment mentioned above;
[0083] Step S20242, constructing the tenth target formula according to the eleventh unit price, the fifth alternative and the sixth alternative:
[0084]
[0085] Among them, C 10 For the sixth objective above, For the eleventh unit price above, For the fifth reserve mentioned above, For the sixth reserve mentioned above;
[0086] Step S20243, constructing the eleventh target formula according to the twelfth unit price, the seventh alternative and the eighth alternative:
[0087]
[0088] Among them, C 11 For the seventh objective above, is the twelfth unit price mentioned above, For the seventh reserve mentioned above, For the eighth reserve mentioned above;
[0089] Step S20244: construct the twelfth target formula according to the second power and the fifth cost:
[0090]
[0091] Among them, C 12 For the eighth objective above, For the second power mentioned above, VOLL j,t For the fifth cost mentioned above;
[0092] Step S20245, combining the ninth target formula, the tenth target formula, the eleventh target formula and the twelfth target formula to obtain the second stage model:
[0093]
[0094] in, It is the income of the above virtual power plant under the risk scenarios corresponding to the above different events.
[0095] In the above embodiment, the present application constructs corresponding formulas for the income obtained from exchanging electricity with the main power grid, the cost of deploying backup on the power generation side and the demand side, and the penalty cost of involuntary load reduction, and determines the net profit of the final second-stage model as the above-mentioned second uncertain factor changes.
[0096] In order to ensure the normal operation of the virtual power plant, in an optional implementation, the step S204 includes:
[0097] Step S20401, construct the node balance constraint of the virtual power plant corresponding to the first stage model, and obtain the first target constraint:
[0098]
[0099] in, is the output power of the above DG unit, is the power of wind power, is the demand response power, p (n),t is the bus power, N B is the number of buses;
[0100] Specifically, the power balance between supply and demand at the VPP node n is represented by the above constraints respectively.
[0101] Step S20402: construct the user demand response constraint of the DR provider corresponding to the first-stage model to obtain the second target constraint:
[0102]
[0103] in, is the initial value of user demand response, E j,t,h is the fluctuation value of user demand response, The initial value of the above RT market price to users;
[0104] Specifically, the load loss LR value of a customer participating in the DR program depends on the customer's demand elasticity and electricity price. When customer j participates in the DR program, its demand can be calculated as above.
[0105] Step S20403, construct the user up / down standby constraint of the DR provider corresponding to the first-stage model, and obtain the third target constraint:
[0106]
[0107] in, are binary variables indicating the user's participation in up / down reserve demand response status, are the up / down ramp rates of demand response, T s For alternate delivery times;
[0108] Specifically, the up and down backup provided by the DR provider is subject to the above constraints.
[0109] Step S20404, construct the main grid power exchange constraint corresponding to the first stage model to obtain the fourth target constraint:
[0110]
[0111] in, and is the maximum value of electric energy purchased or sold from the main grid, σ t is a binary variable of transaction status;
[0112] Specifically, the surplus / shortage power of the VPP should be traded with the main grid as the scheduled power of the DA market. The transaction power limit between the VPP and the main grid is as above.
[0113] Step S20405, construct the backup service constraint of the main power grid corresponding to the first stage model to obtain the fifth target constraint:
[0114]
[0115] in, and The minimum value of electric energy purchased or sold from the above main power grid;
[0116] Specifically, the VPP can sell (purchase) backup capacity from the backup market. The limits of uplink and downlink backup capacity sold to the backup market and the limits of uplink and downlink service backup capacity purchased from the market are as shown above.
[0117] Step S20406, combining the first objective constraint, the second objective constraint, the third objective constraint, the fourth objective constraint and the fifth objective constraint to obtain the first constraint group;
[0118] The node balance constraints of the virtual power plant corresponding to the second-stage model are constructed to obtain the sixth objective constraint:
[0119]
[0120] Specifically, the power balance at node n in the decision stage is as shown above.
[0121] Step S20407, construct the risk measurement constraint corresponding to the second stage model, and obtain the seventh target constraint:
[0122]
[0123] Among them, η s is the risk value, ξ is the preset variable;
[0124] Specifically, the risk measure is considered based on the expected profit of each scenario, as shown above, and the variables are preset to be non-negative.
[0125] Step S20408, construct the standby deployment constraint of the demand-side standby corresponding to the second-stage model, and obtain the eighth target constraint:
[0126]
[0127] in, is the minimum load reduction;
[0128] Specifically, the above constraints are used to restrict users from reducing and increasing consumption at the same time.
[0129] Step S20409, combining the sixth target constraint, the seventh target constraint, and the eighth target constraint to obtain the second constraint group;
[0130] Step S20410, construct the planned output power of the above DG units and the actual power generation and the deployed reserve to couple and construct the ninth objective constraint:
[0131]
[0132] Specifically, the decision-making in the first stage is combined with the realization of the stochastic process. The above formula couples the planned output power of DG with the actual generation and deployed reserve.
[0133] Step S20411, the actual deployed power and deployed reserve on the demand side are coupled with the above scheduling strategy to construct the tenth objective constraint:
[0134]
[0135] Specifically, the decisions in the first stage are combined with the realization of the stochastic process. The above equation couples the decisions related to demand-side resources with their actual power and deployed reserves.
[0136] Step S20412, combining the ninth target constraint and the tenth target constraint to obtain the third constraint group.
[0137] In order to determine the objective function of the above model, in an optional implementation, the above step S205 includes:
[0138] Step S2051, construct the above objective function:
[0139]
[0140] Among them, β is the risk parameter, and CVaR satisfies
[0141] Specifically, the goal of a VPP is to maximize expected profit, which is composed of the profit associated with the first and second stage decisions and the riskiness measured by CVaR. CVaR is multiplied by the risk aversion parameter β to show the relationship between the profit and risk of the VPP operator. It should be noted that CVaR approximately represents the expected profit of a specific scenario that produces the lowest profit, which can be calculated as:
[0142] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0143] The embodiment of the present application also provides a scheduling optimization device for a virtual power plant based on TSSP and CVaR. It should be noted that the scheduling optimization device for a virtual power plant based on TSSP and CVaR in the embodiment of the present application can be used to execute the scheduling optimization method for a virtual power plant based on TSSP and CVaR provided in the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and those that have been described will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0144] The following introduces the scheduling optimization device of the virtual power plant based on TSSP and CVaR provided in the embodiment of the present application.
[0145] Figure 3 is a structural block diagram of a scheduling optimization device for a virtual power plant based on TSSP and CVaR according to an embodiment of the present application. Figure 3 As shown, the device comprises:
[0146] The acquisition unit 10 is used to acquire historical operation data of the virtual power plant, wherein the historical operation data at least includes a first uncertainty factor and a second uncertainty factor, wherein the first uncertainty factor includes a DA market price, an RT market price, an equipment operation cost, and a backup service cost, and the second uncertainty factor includes a response backup cost under risk scenarios corresponding to different events;
[0147] Specifically, this application considers scheduling from two aspects. One is the VPP energy aspect, thereby determining the relevant uncertainties of energy clearing and clearing revenues, and obtaining the above-mentioned first uncertainty factor. On the other hand, it considers from the perspective of emergencies, thereby considering the uncertainty factor of backup energy under different time scenarios, and obtaining the above-mentioned second uncertainty factor.
[0148] The first construction unit 20 is used to construct a first-stage model by the TSSP method according to the first uncertainty factor, and to construct a second-stage model by the TSSP method according to the second uncertainty factor, wherein the first-stage model is used to simulate the changing trend of the revenue of the virtual power plant with the first uncertainty factor, and the second-stage model is used to simulate the changing trend of the revenue of the virtual power plant with the second uncertainty factor under the risk scenarios corresponding to the different events;
[0149] Specifically, based on two-stage optimization, the TSSP method constructs two-stage models respectively, constructs the best scheduling model of the first stage, that is, the first-stage model, and constructs the real-time operation model of the VPP to obtain the second-stage model.
[0150] A second construction unit 30 is used to construct a scheduling simulation model according to the first-stage model, the second-stage model and the conditional risk value, wherein the scheduling simulation model is used to simulate the total revenue of the virtual power plant under different scheduling strategies, wherein the different scheduling strategies at least include adjustments to the first uncertainty factor and the second uncertainty factor;
[0151] Specifically, the above-mentioned first-stage model and the above-mentioned second-stage model are associated, and CVaR, that is, the above-mentioned conditional value at risk, is introduced to obtain the above-mentioned scheduling simulation model.
[0152] The third construction unit 40 is used to construct a first constraint group, a second constraint group and a third constraint group, wherein the first constraint group includes the constraint conditions of the first-stage model, the first constraint group includes the node power balance constraint of the virtual power plant, the user demand response constraint of the DR provider, the up / down backup constraint of the DR provider and the main grid power exchange and backup service constraint, the second constraint group includes the constraint conditions of the second-stage model, the second constraint group includes the node power balance constraint of the virtual power plant, the risk measurement constraint of the event and the demand-side backup service deployment constraint, and the third constraint group is used to constrain the variable influence relationship between the first-stage model and the second-stage model;
[0153] Specifically, for the first-stage model, the node power balance constraints of the virtual power plant, the user demand response constraints of the DR provider, the up / down backup constraints of the DR provider, and the main grid power exchange and backup service constraints are constructed to obtain the first constraint group. For the second-stage model, the node power balance constraints of the virtual power plant, the risk measurement constraints of the above-mentioned events, and the demand-side backup service deployment constraints are constructed to obtain the second constraint group. Then, the constraints on the parameter association between the first-stage model and the second-stage model are constructed to obtain the third constraint group.
[0154] The first calculation unit 50 is used to solve the above-mentioned scheduling simulation model with the above-mentioned total profit maximization as the objective function under the constraints of the above-mentioned first constraint group, the above-mentioned second constraint group and the above-mentioned third constraint group, obtain target scheduling parameters, and control the operation of the above-mentioned virtual power plant according to the above-mentioned target scheduling parameters.
[0155] Specifically, the profit maximization of the above-mentioned scheduling simulation model is taken as the objective function, and the above-mentioned scheduling simulation model is solved under the above-mentioned constraints to obtain different input parameters of the first-stage model and the second-stage model, that is, the above-mentioned target scheduling parameters are obtained, and the clearing and entry of the above-mentioned virtual power plant are completed according to the above-mentioned target scheduling parameters.
[0156] Through this embodiment, the acquisition unit acquires the historical operation data of the virtual power plant, and the above historical operation data includes at least the first uncertainty factor and the second uncertainty factor. The above first uncertainty factor includes the DA market price, the RT market price, the equipment operation cost and the backup service cost, and the above second uncertainty factor includes the response backup cost under the risk scenarios corresponding to different events; the first construction unit constructs a first-stage model through the TSSP method according to the above first uncertainty factor, and constructs a second-stage model through the TSSP method according to the above second uncertainty factor. The above first-stage model is used to simulate the change trend of the income of the above virtual power plant with the above first uncertainty factor, and the above second-stage model is used to simulate the change trend of the income of the above virtual power plant with the above second uncertainty factor under the risk scenarios corresponding to the above different events; the second construction unit constructs a scheduling simulation model according to the above first-stage model, the above second-stage model and the conditional risk value, and the above scheduling simulation model is used to simulate the total income of the above virtual power plant under different scheduling strategies. The strategy at least includes the adjustment of the above-mentioned first uncertainty factor and the above-mentioned second uncertainty factor; the third construction unit constructs the first constraint group, the second constraint group and the third constraint group, the above-mentioned first constraint group includes the constraint conditions of the above-mentioned first-stage model, the above-mentioned first constraint group includes the node power balance constraint of the above-mentioned virtual power plant, the user demand response constraint of the DR provider, the up / down backup constraint of the above-mentioned DR provider and the main power grid power exchange and backup service constraint, the above-mentioned second constraint group includes the constraint conditions of the above-mentioned second-stage model, the above-mentioned second constraint group includes the node power balance constraint of the above-mentioned virtual power plant, the risk measurement constraint of the above-mentioned event and the demand-side backup service deployment constraint, and the above-mentioned third constraint group is used to constrain the variable influence relationship between the above-mentioned first-stage model and the above-mentioned second-stage model; the first calculation unit solves the above-mentioned scheduling simulation model with the above-mentioned total benefit maximization as the objective function under the constraints of the above-mentioned first constraint group, the above-mentioned second constraint group and the above-mentioned third constraint group, obtains the target scheduling parameters, and controls the operation of the above-mentioned virtual power plant according to the above-mentioned target scheduling parameters. This application, taking into account the participation of demand-side resources in backup supply, establishes a first-stage model to simulate the changing trends of the regulation and revenue of the virtual power plant under normal operation, and then constructs a second-stage model to simulate the changing trends of the regulation and revenue of the virtual power plant under various risk aversion behaviors, and then determines the constraints corresponding to each model and the constraints between the first-stage model and the second-stage model to obtain an overall optimization model. By solving the model, the regulation plan can be obtained, which solves the problem in the prior art of lack of a comprehensive decision-making method that considers the uncertainty of market prices, renewable resource customers and unexpected events.
[0157] The above-mentioned virtual power plant scheduling optimization device based on TSSP and CVaR includes a processor and a memory, and the above-mentioned acquisition unit, the first construction unit, the second construction unit, the third construction unit and the first calculation unit are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions. The above-mentioned modules are all located in the same processor; or, the above-mentioned modules are located in different processors in the form of any combination.
[0158] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0159] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the scheduling optimization method of the virtual power plant based on TSSP and CVaR.
[0160] An embodiment of the present invention provides a processor, which is used to run a program, wherein the program executes the scheduling optimization method of the virtual power plant based on TSSP and CVaR when running.
[0161] An embodiment of the present invention provides a virtual power plant control system, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps of a scheduling optimization method for a virtual power plant based at least on TSSP and CVaR.
[0162] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program of initializing the scheduling optimization method steps of a virtual power plant based at least on TSSP and CVaR.
[0163] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0164] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0165] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0166] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0167] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0168] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0169] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0170] The scheduling optimization method of a virtual power plant based on TSSP and CVaR of the present application first obtains historical operation data of the virtual power plant, the historical operation data at least includes a first uncertainty factor and a second uncertainty factor, the first uncertainty factor includes DA market price, RT market price, equipment operation cost and backup service cost, the second uncertainty factor includes the response backup cost under risk scenarios corresponding to different events; then, a first-stage model is constructed by the TSSP method according to the first uncertainty factor, and a second-stage model is constructed by the TSSP method according to the second uncertainty factor, the first-stage model is used to simulate the changing trend of the income of the virtual power plant with the first uncertainty factor, and the second-stage model is used to simulate the changing trend of the income of the virtual power plant with the second uncertainty factor under risk scenarios corresponding to different events; then, a scheduling simulation model is constructed according to the first-stage model, the second-stage model and the conditional risk value, and the scheduling simulation model is used to simulate the total cost of the virtual power plant under different scheduling strategies. Benefit, the above-mentioned different dispatching strategies at least include the adjustment of the above-mentioned first uncertainty factor and the above-mentioned second uncertainty factor; then, construct the first constraint group, the second constraint group and the third constraint group, the above-mentioned first constraint group includes the constraint conditions of the above-mentioned first-stage model, the above-mentioned first constraint group includes the node power balance constraint of the above-mentioned virtual power plant, the user demand response constraint of the DR provider, the up / down backup constraint of the above-mentioned DR provider and the main power grid power exchange and backup service constraint, the above-mentioned second constraint group includes the constraint conditions of the above-mentioned second-stage model, the above-mentioned second constraint group includes the node power balance constraint of the above-mentioned virtual power plant, the risk measurement constraint of the above-mentioned event and the demand-side backup service deployment constraint, and the above-mentioned third constraint group is used to constrain the variable influence relationship between the above-mentioned first-stage model and the above-mentioned second-stage model; finally, under the restrictions of the above-mentioned first constraint group, the above-mentioned second constraint group and the above-mentioned third constraint group, the above-mentioned dispatching simulation model is solved with the above-mentioned total benefit maximization as the objective function to obtain the target dispatching parameters, and the operation of the above-mentioned virtual power plant is controlled according to the above-mentioned target dispatching parameters. This application, taking into account the participation of demand-side resources in backup supply, establishes a first-stage model to simulate the changing trends of the regulation and revenue of the virtual power plant under normal operation, and then constructs a second-stage model to simulate the changing trends of the regulation and revenue of the virtual power plant under various risk aversion behaviors, and then determines the constraints corresponding to each model and the constraints between the first-stage model and the second-stage model to obtain an overall optimization model. By solving the model, the regulation plan can be obtained, which solves the problem in the prior art of lack of a comprehensive decision-making method that considers the uncertainty of market prices, renewable resource customers and unexpected events.
[0171] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A scheduling optimization method for a virtual power plant based on TSSP and CVaR, characterized in that: include: Acquire historical operation data of the virtual power plant, wherein the historical operation data includes at least a first uncertainty factor and a second uncertainty factor, wherein the first uncertainty factor includes a DA market price, an RT market price, equipment operation costs, and standby service costs, and the second uncertainty factor includes standby costs for response under risk scenarios corresponding to different events; A first-stage model is constructed by the TSSP method according to the first uncertainty factor, and a second-stage model is constructed by the TSSP method according to the second uncertainty factor, wherein the first-stage model is used to simulate the changing trend of the revenue of the virtual power plant with the first uncertainty factor, and the second-stage model is used to simulate the changing trend of the revenue of the virtual power plant with the second uncertainty factor under the risk scenarios corresponding to different events; Constructing a scheduling simulation model according to the first-stage model, the second-stage model and the conditional risk value, wherein the scheduling simulation model is used to simulate the total revenue of the virtual power plant under different scheduling strategies, and different scheduling strategies at least include adjustments to the first uncertainty factor and the second uncertainty factor; Constructing a first constraint group, a second constraint group and a third constraint group, wherein the first constraint group includes the constraint conditions of the first-stage model, the first constraint group includes the node power balance constraint of the virtual power plant, the user demand response constraint of the DR provider, the up / down backup constraint of the DR provider and the main grid power exchange and backup service constraint, the second constraint group includes the constraint conditions of the second-stage model, the second constraint group includes the node power balance constraint of the virtual power plant, the risk measurement constraint of the event and the demand-side backup service deployment constraint, and the third constraint group is used to constrain the variable influence relationship between the first-stage model and the second-stage model; Under the constraints of the first constraint group, the second constraint group and the third constraint group, the scheduling simulation model is solved with the maximum total revenue as the objective function to obtain target scheduling parameters, and the operation of the virtual power plant is controlled according to the target scheduling parameters.
2. The method according to claim 1, characterized in that: The first-stage model is constructed based on the first uncertainty factor by using the TSSP method, including: The first electric energy, the second electric energy, the first unit price, the third electric energy, the second unit price, the first cost, the second cost, the third cost, the first variable, the second variable, the fourth cost, the first power, the first capacity, the first coefficient, the first reserve, the second reserve, the third unit price, the fourth unit price, the third reserve, the fourth reserve, the fifth unit price, the sixth unit price, the second capacity, the third capacity, the seventh unit price, the eighth unit price, the fourth capacity, the fifth capacity, the ninth unit price and the tenth unit price are determined according to the first uncertain factor. The first electric energy is the electric energy sold by the virtual power plant through the main power grid, the second electric energy is the electric energy purchased by the virtual power plant through the main power grid, the first unit price is the DA market price a few days ago, the third electric energy is the electricity consumption in response to user demand, the second unit price is the RT market price of the virtual power plant in response to user demand, the first cost is the operating cost of the DG unit, the second cost is the startup cost of the DG unit, the third cost is the shutdown cost of the DG unit, the first variable and the second variable are the startup / shutdown costs of the DG unit a binary variable of a stopped state, the fourth cost is the operating cost of the energy storage BESS, the first power is the operating power of the energy storage BESS, the first capacity is the capacity of the energy storage BESS, the first coefficient is the discharge leakage coefficient of the energy storage BESS, the first reserve and the second reserve are respectively the up / down reserve provided by the DG unit, the third unit price and the fourth unit price are respectively the prices of the up / down reserve service provided by the DG unit, the third reserve and the fourth reserve are respectively the up / down reserve provided by the demand response, the fifth unit price and the sixth unit price are respectively the prices of the up / down reserve service provided by the demand response, the second capacity and the third capacity are respectively the capacity purchased from the market for up / down reserve, the seventh unit price and the eighth unit price are respectively the prices of the capacity purchased from the market for up / down reserve, the fourth capacity and the fifth capacity are respectively the capacity sold to the market for up / down reserve, and the ninth unit price and the tenth unit price are respectively the prices of the capacity sold to the market for up / down reserve;A first target formula is constructed according to the first electric energy, the second electric energy and the first unit price, a second target formula is constructed according to the third electric energy and the second unit price, a third target formula is constructed according to the first cost, the second cost, the third cost, the first variable and the second variable, a fourth target formula is constructed according to the fourth cost, the first power, the first capacity and the first coefficient, a fifth target formula is constructed according to the first reserve, the second reserve, the third unit price and the fourth unit price, a sixth target formula is constructed according to the third reserve, the fourth reserve, the fifth unit price and the sixth unit price, and a sixth target formula is constructed according to the second capacity, the third capacity, the seventh unit price and the eighth coefficient. The seventh target formula is constructed according to the fourth capacity, the fifth capacity, the ninth unit price and the tenth unit price, and the eighth target formula is constructed according to the fourth capacity, the fifth capacity, the ninth unit price and the tenth unit price. The first stage model is obtained by combining the first target formula, the second target formula, the third target formula, the fourth target formula, the fifth target formula, the sixth target formula, the seventh target formula and the eighth target formula. The first target formula is used to simulate the first target income with the first electric energy, the second electric energy and the first unit price. The first target income is the income from the energy transaction between the virtual power plant and the main power grid. The second target formula is used to simulate the second target income with the third electric energy and the second unit price. The second target income is the income from the virtual power plant selling energy to customers. The third target formula is used to simulate the first target expenditure with the first cost, the second cost, the third cost, the first variable and the second variable. The first target expenditure is the total cost of the DG unit in the virtual power plant. The fourth target formula is used to simulate the second target expenditure with the fourth cost, the first power, the first capacity and the first coefficient. The second target expenditure is the total cost of the energy storage BESS. The fifth target formula is used to simulate the third target expenditure with the first reserve, the second reserve, the third unit price and the fourth unit price. The third target expenditure is the reserve cost of the power generation side, the sixth target formula is used to simulate the change trend of the fourth target expenditure with the third reserve, the fourth reserve, the fifth unit price, and the sixth unit price, the fourth target expenditure is the reserve cost of the demand side, the seventh target formula is used to simulate the change trend of the fifth target expenditure with the second capacity, the third capacity, the seventh unit price, and the eighth unit price, the fifth target expenditure is the reserve cost of the main power grid providing reserve, the eighth target formula is used to simulate the change trend of the third target income with the fourth capacity, the fifth capacity, the ninth unit price, and the tenth unit price, the third target income is the reserve income of the main power grid providing reserve. ; 3. The method according to claim 2, characterized in that A first target formula is constructed according to the first electric energy, the second electric energy and the first unit price, a second target formula is constructed according to the third electric energy and the second unit price, a third target formula is constructed according to the first cost, the second cost, the third cost, the first variable and the second variable, a fourth target formula is constructed according to the fourth cost, the first power, the first capacity and the first coefficient, a fifth target formula is constructed according to the first reserve, the second reserve, the third unit price and the fourth unit price, a sixth target formula is constructed according to the third reserve, the fourth reserve, the fifth unit price and the sixth unit price, a seventh target formula is constructed according to the second capacity, the third capacity, the seventh unit price and the eighth unit price, an eighth target formula is constructed according to the fourth capacity, the fifth capacity, the ninth unit price and the tenth unit price, and the first stage model is obtained by combining the first target formula, the second target formula, the third target formula, the fourth target formula, the fifth target formula, the sixth target formula, the seventh target formula and the eighth target formula, including: The first target formula is constructed according to the first electric energy, the second electric energy and the first unit price: Among them, C1 is the first target income, is the first electric energy, is the second electric energy, is the first unit price; The second target formula is constructed according to the third electric energy and the second unit price: Among them, C2 is the second target income, is the third electric energy, is the second unit price, N J is the number of users; The third target formula is constructed according to the first cost, the second cost, the third cost, the first variable and the second variable: Among them, C3 is the first target expenditure, For the first cost, N G is the number of DG units, SUC g,t For the second cost, SDC g,t is the third cost, y g,t is the first variable, z g,t is the second variable; The fourth target formula is constructed according to the fourth cost, the first power, the first capacity and the first coefficient: Among them, C4 is the second target expenditure, For the fourth cost, is the first power, is the first capacity, N K is the number of energy storage BESS, is the first coefficient; and constructs the fifth target formula according to the first reserve, the second reserve, the third unit price and the fourth unit price: Among them, C5 is the third target expenditure, For the first backup, For the second backup, is the third unit price, is the fourth unit price; The sixth target formula is constructed according to the third backup, the fourth backup, the fifth unit price and the sixth unit price: Among them, C6 is the fourth target expenditure, For the third standby, For the fourth standby, is the fifth unit price, is the sixth unit price; The seventh target formula is constructed according to the second capacity, the third capacity, the seventh unit price and the eighth unit price: Among them, C7 is the fifth target expenditure, For the second capacity, is the third capacity, is the seventh unit price, is the eighth unit price; The eighth target formula is constructed according to the fourth capacity, the fifth capacity, the ninth unit price and the tenth unit price: Wherein, C8 is the third target income, is the fourth capacity, is the fifth capacity, is the ninth unit price, is the tenth unit price; The first stage model is obtained by combining the first target formula, the second target formula, the third target formula, the fourth target formula, the fifth target formula, the sixth target formula, the seventh target formula and the eighth target formula: P t h&dn =C1+C2-C3-C4-C5-C6-C7+C8; Among them, P t h&dn The benefits of the virtual power plant.
4. The method according to claim 2, characterized in that: The second-stage model is constructed according to the second uncertainty factor by using the TSSP method, including: Determine a first difference, a second difference, a first price adjustment, a second price adjustment, an eleventh unit price, a fifth reserve, a sixth reserve, a twelfth unit price, a seventh reserve, an eighth reserve, a second power and a fifth cost according to the second uncertainty factor, wherein the first difference is the difference of electric energy sold by the virtual power plant to the main grid determined by the TSSP method, the second difference is the difference of electric energy purchased by the virtual power plant from the main grid determined by the TSSP method, the first price adjustment and the second price adjustment are for adjusting the DA market price up / down, the eleventh unit price is the price of the reserve for deploying the DG unit, the fifth reserve and the sixth reserve are the upper / lower reserves for deploying the DG unit determined by the TSSP method, the twelfth unit price is the RT market price for deploying DR reserve, the seventh reserve and the eighth reserve are the upper / lower reserves required by users, the second power is the power of user load shedding, and the fifth cost is the penalty cost for load loss of the virtual power plant; A ninth target formula is constructed according to the first difference, the second difference, the first price adjustment and the second price adjustment; a tenth target formula is constructed according to the eleventh unit price, the fifth reserve and the sixth reserve; an eleventh target formula is constructed according to the twelfth unit price, the seventh reserve and the eighth reserve; a twelfth target formula is constructed according to the second power and the fifth cost; the ninth target formula, the tenth target formula, the eleventh target formula and the twelfth target formula are combined to obtain the second stage model; the ninth target formula is used to simulate the fourth target income as the first difference, the second difference, the first price adjustment and the second price adjustment change. The fourth target income is the income from exchanging energy between the virtual power plant and the main power grid. The tenth target formula is used to simulate the sixth target expenditure with the changing trend of the eleventh unit price, the fifth reserve and the sixth reserve. The sixth target expenditure is the reserve cost of deploying reserves on the power generation side. The eleventh target formula is used to simulate the seventh target expenditure with the changing trend of the twelfth unit price, the seventh reserve and the eighth reserve. The seventh target expenditure is the reserve cost of deploying reserves on the demand side. The twelfth target formula is used to simulate the eighth target expenditure with the changing trend of the second power and the fifth cost. The eighth target expenditure is the penalty cost of load reduction caused by the event.
5. The method according to claim 4, characterized in that A ninth target formula is constructed according to the first difference, the second difference, the first price adjustment, and the second price adjustment; a tenth target formula is constructed according to the eleventh unit price, the fifth standby, and the sixth standby; an eleventh target formula is constructed according to the twelfth unit price, the seventh standby, and the eighth standby; a twelfth target formula is constructed according to the second power and the fifth cost; and the ninth target formula, the tenth target formula, the eleventh target formula, and the twelfth target formula are combined to obtain the second stage model, including: The ninth target formula is constructed according to the first difference, the second difference, the first price adjustment and the second price adjustment: Wherein, C9 is the fourth target income, ρ s is the probability of scenario S occurring, is the first difference, is the second difference, For the first price adjustment, for the second price adjustment; The tenth target formula is constructed according to the eleventh unit price, the fifth reserve and the sixth reserve: Among them, C 10 For the sixth objective, is the eleventh unit price, For the fifth standby, for said sixth standby; The eleventh target formula is constructed according to the twelfth unit price, the seventh reserve and the eighth reserve: Among them, C 11 For the seventh objective, is the twelfth unit price, For the seventh standby, For said eighth standby; The twelfth target formula is constructed according to the second power and the fifth cost: Among them, C 12 For the eighth objective, For the second power, VOLL j,t for said fifth cost; The second stage model is obtained by combining the ninth target formula, the tenth target formula, the eleventh target formula and the twelfth target formula: EP t w&c =C9-C 10 -C 11 -C 12 ; Among them, EP t w&c It is the profit of the virtual power plant under the risk scenarios corresponding to the different events.
6. The method according to claim 2, characterized in that Constructing the first constraint group, the second constraint group and the third constraint group includes: The node balance constraint of the virtual power plant corresponding to the first stage model is constructed to obtain the first target constraint: in, is the output power of the DG unit, is the power of wind power, is the demand response power, p (n),t is the bus power, N B is the number of buses; The user demand response constraint of the DR provider corresponding to the first stage model is constructed to obtain the second target constraint: in, is the initial value of user demand response, E j,t,h is the fluctuation value of user demand response, The initial value of the RT market price stated to the user; The user up / down standby constraint of the DR provider corresponding to the first stage model is constructed to obtain the third target constraint: in, are binary variables indicating the user's participation in up / down reserve demand response status, are the up / down ramp rates of demand response, T s For alternate delivery times; The main grid power exchange constraint corresponding to the first stage model is constructed to obtain the fourth objective constraint: in, and is the maximum value of electric energy purchased or sold from the main grid, σ t is a binary variable of transaction status; The backup service constraint of the main power grid corresponding to the first stage model is constructed to obtain the fifth target constraint: in, and is the minimum value of electric energy purchased or sold from the main power grid; The first objective constraint, the second objective constraint, the third objective constraint, the fourth objective constraint and the fifth objective constraint are combined to obtain the first constraint group; The node balance constraint of the virtual power plant corresponding to the second stage model is constructed to obtain the sixth objective constraint: Construct the risk measurement constraint corresponding to the second stage model and obtain the seventh objective constraint: or s ≥0 Among them, η s is the risk value, ξ is the preset variable; The standby deployment constraints of the demand-side standby corresponding to the second-stage model are constructed to obtain the eighth target constraint: in, is the minimum load reduction; Combining the sixth objective constraint, the seventh objective constraint, and the eighth objective constraint to obtain the second constraint group; The planned output power of the DG unit is constructed, and the actual power generation and deployed reserve are coupled to construct the ninth objective constraint: The actual deployed power and reserve on the demand side are coupled with the dispatching strategy to construct the tenth objective constraint: The third constraint group is obtained by combining the ninth objective constraint and the tenth objective constraint.
7. The method according to claim 1, characterized in that Before solving the scheduling simulation model with the maximum total benefit as the objective function, the method further includes: Construct the objective function: Cmax; Among them, β is the risk parameter, and CVaR satisfies 8. A virtual power plant scheduling optimization method based on TSSP and CVaR, characterized in that: The device comprises: An acquisition unit, configured to acquire historical operation data of a virtual power plant, wherein the historical operation data includes at least a first uncertainty factor and a second uncertainty factor, wherein the first uncertainty factor includes a DA market price, an RT market price, an equipment operation cost, and a backup service cost, and the second uncertainty factor includes a response backup cost under risk scenarios corresponding to different events; A first construction unit is used to construct a first-stage model by using the TSSP method according to the first uncertainty factor, and to construct a second-stage model by using the TSSP method according to the second uncertainty factor, wherein the first-stage model is used to simulate the changing trend of the revenue of the virtual power plant with the first uncertainty factor, and the second-stage model is used to simulate the changing trend of the revenue of the virtual power plant with the second uncertainty factor under the risk scenarios corresponding to different events; A second construction unit is used to construct a scheduling simulation model according to the first stage model, the second stage model and the conditional risk value, wherein the scheduling simulation model is used to simulate the total revenue of the virtual power plant under different scheduling strategies, and the different scheduling strategies at least include adjustments to the first uncertainty factor and the second uncertainty factor; a third construction unit, configured to construct a first constraint group, a second constraint group, and a third constraint group, wherein the first constraint group includes the constraint conditions of the first-stage model, the first constraint group includes the node power balance constraint of the virtual power plant, the user demand response constraint of the DR provider, the up / down backup constraint of the DR provider, and the main grid power exchange and backup service constraint, the second constraint group includes the constraint conditions of the second-stage model, the second constraint group includes the node power balance constraint of the virtual power plant, the risk measurement constraint of the event, and the demand-side backup service deployment constraint, and the third constraint group is used to constrain the variable influence relationship between the first-stage model and the second-stage model; The first calculation unit is used to solve the scheduling simulation model with the maximum total revenue as the objective function under the constraints of the first constraint group, the second constraint group and the third constraint group, obtain target scheduling parameters, and control the operation of the virtual power plant according to the target scheduling parameters.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.
10. A virtual power plant control system, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of claims 1 to 7.
Citation Information
Cited By
Virtual power plant optimal scheduling method and device oriented to power system regulation capability improvement
CN120999793A
Virtual power plant optimal dispatch method and device for power system regulation capacity improvement
CN120999793B
