UVPP and demand response double-layer joint optimization method integrated with differential incentive mechanism
By integrating the dual-layer joint optimization method of differentiated incentive mechanisms into UVPP, the problem of poor flexibility of the incentive mechanism is solved, accurate scheduling of UVPP and demand response is achieved, user electricity costs are reduced, and the peak and valley differences of the power grid are alleviated.
Patent Information
- Application Number
- CN202411044992.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-08-01
Smart Images

Figure CN118569450A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power system control optimization, and in particular to a UVPP and demand response double-layer joint optimization method integrating a differentiated incentive mechanism. Background Art
[0002] With the rapid development of urban economy, energy consumption has increased significantly, bringing huge challenges to the operation of urban power systems. This is mainly reflected in the widening peak-to-valley difference year by year. In particular, peak loads have led to high electricity prices, which has increased users' power supply costs and grid equipment investment costs, while also bringing greater challenges to the safe and stable operation of the power system.
[0003] Urban Virtual Power Plant (UVPP) can use advanced information and communication technology to gather various distributed resources including distributed renewable energy such as wind power / photovoltaic power, energy storage and other types of loads in urban areas. Through aggregation and optimized scheduling, it can achieve multiple benefits such as multi-energy complementarity, improve the utilization rate of new energy, and reduce user energy costs. UVPP encourages users to actively participate in its operation through demand response (DR) to support flexible optimization of UVPP. At present, in the application of UVPP demand response, most studies focus on price-based demand response, which guides users to interact with UVPP through prices and has achieved certain benefits, but there are still few studies on incentive demand response (IDR). IDR mainly includes: direct load control, load reduction, demand-side bidding, and emergency demand response, which is more conducive to alleviating the power supply pressure of UVPP, and the response resources are easier to obtain and the control flexibility is higher.
[0004] When implementing IDR, UVPP usually provides users with the same incentive rate. Most of them do not consider the diversity of users in reality, and the incentive effects are not the same. There is an urgent need for a more flexible incentive mechanism to provide differentiated incentive strategies for different users. Preliminary explorations have been conducted at home and abroad on the operating mechanism, decision optimization, and benefit evaluation of IDR. Existing studies have modeled and solved IDR based on the master-slave game model. However, since the solution method based on the master-slave game model depends on model design, all or most of the environmental information must be known, the algorithm is complex and the scalability and flexibility are not high. In addition, some studies have established a mixed integer load model under a complex electricity environment for uncertain factors such as user participation, which makes it difficult to effectively quantify and evaluate the response ability of residents. The model also considers the DR strategy based on time-of-use electricity prices and user agreements, and forms a smart home day-ahead optimization scheduling model with IDR participation in autonomous decision-making. However, the incentive design is still relatively simple and it is difficult to meet the needs of multiple uncertainties in actual applications, which leads to a large deviation between the UVPP and demand response double-layer joint optimization scheduling results and the actual scheduling results, and the accuracy is poor. Summary of the invention
[0005] In view of the above analysis, an embodiment of the present invention aims to provide a UVPP and demand response two-layer joint optimization method incorporating a differentiated incentive mechanism, so as to solve the problem of poor accuracy of UVPP and demand response two-layer joint optimization scheduling results caused by poor flexibility of the existing incentive mechanism.
[0006] The present invention discloses a dual-layer joint optimization method of UVPP and demand response incorporating a differentiated incentive mechanism, the method comprising: Construct a two-layer joint optimization framework of urban virtual power plants and demand response that incorporates a differentiated incentive mechanism; the two-layer joint optimization framework includes an upper-layer UVPP optimization operation model and a lower-layer IDR optimization model; in the upper-layer UVPP optimization operation model, an objective function is constructed with the goal of minimizing the operating cost within the optimization period, and constraint conditions are constructed with the power generation and power consumption balance constraints, energy storage operation constraints, and diesel generator operation constraints as constraints; in the lower-layer IDR optimization model, an objective function is constructed with the goal of maximizing the total profit of UVPP and users, and a differentiated incentive mechanism for different users is incorporated; the differentiated incentive mechanism that incorporates different users refers to setting corresponding incentive rates for each user in different time periods; UVPP obtains the historical data of each period in the N-1th trading day, and substitutes the historical data into the two-layer joint optimization framework; A two-layer joint optimization framework into which historical data is substituted is solved to obtain decision variables of the two-layer joint optimization framework, and the decision variables are used as the optimization scheduling results of UVPP on the Nth trading day.
[0007] On the basis of the above scheme, the present invention also makes the following improvements: Further, the two-layer joint optimization framework is substituted into the historical data to obtain the decision variables of the two-layer joint optimization framework, and the following is performed: Initialize the parameters of the NSGA-II algorithm and the system parameters; Encode the decision variables of the upper UVPP optimization operation model and initialize the first generation population of the upper UVPP optimization operation model; starting from the first generation population of the upper UVPP optimization operation model, sequentially perform non-dominated sorting and population update on the decision space formed by the decision variables of the individuals in each generation of subgroups and the target space formed by the upper target values of the individuals until the number of iterations is reached, and pass the individual decision variables corresponding to the optimal upper target value as the upper optimal decision variables into the lower IDR optimization model; According to the upper layer UVPP optimization operation model output of the upper layer optimal decision variables , adjust the user load reduction constraint; among them, For users under UVPP excitation exist Load reduction during the period The optimal value of The upper limit of load reduction equal , the upper limit of the total user load reduction Equal to all users sum; Encode the decision variables of the lower UVPP optimization operation model with different user incentive rates, and initialize the first generation population of the lower IDR optimization model; starting from the first generation population, reverse the encoding of individuals in each generation population in turn, select individuals that meet the user load reduction constraint, perform non-dominated sorting and population update on the decision space formed by the decision variables of the individuals selected in the current generation population and the target space formed by the lower target values of the individuals, until the number of iterations is reached, and pass the individual decision variables corresponding to the optimal lower target values as the lower optimal decision variables into the upper UVPP optimization operation model; The upper UVPP optimization operation model recalculates the decision variables according to the optimal decision variables of the lower layer. , and keep the decision variables Under the condition that the upper layer UVPP optimization operation model remains unchanged, secondary decision making is performed on the remaining decision variables in the upper layer UVPP optimization operation model to obtain the final upper layer optimal decision variables as the corresponding optimization scheduling results.
[0008] Furthermore, the power generation and power consumption balance constraint is expressed as: (1) (2) in, Indicates that the diesel generator is The power generation during the period, , Respectively represent photovoltaic and wind power The power generation during the period, Indicates that UVPP The amount of electricity purchased and sold from the wholesale electricity market during the period, , Respectively represent the storage The amount of charge and discharge during the time period; , Photovoltaic and wind power The power generated during the period; , Energy storage Charging power and discharging power in each time period; Indicates the time scale; Indicates that UVPP The actual power demand of users after participating in IDR in the time period, Indicates user exist The original power demand for the period, For users under UVPP excitation exist The load reduction during the period, The number of users.
[0009] Furthermore, the energy storage operation constraint is expressed as: (3) (4) In the formula, For energy storage The amount of electricity during the time period; , are the charging and discharging efficiency of energy storage respectively; , They represent the upper limit of charging power and the upper limit of discharging power of energy storage respectively; , Respectively represent the storage The charging state and discharging state of the time period are 0-1 variables. When it is 1, it means it is in charging state. When it is 1, it means it is in the discharge state; is the maximum charge.
[0010] Further, the diesel generator operation constraint is expressed as: (5) In the formula, Indicates the power generation capacity of the diesel generator, Indicates that the diesel generator is A binary variable for the start and stop status of the time period, Indicates opening, Indicates shutdown; , Respectively represent the diesel generator in Startup cost and downtime cost of the time period; , All are diesel generators A binary variable indicating the change in the running status of a period.
[0011] Furthermore, the objective function of the upper UVPP optimization operation model is expressed as: (6) In the formula, To optimize the operating costs during the life cycle, For UVPP The incentive cost provided to users during the time period, , , , They are diesel generators, wind power, photovoltaics, and energy storage. Cost of time slot; For UVPP The cost of purchasing and selling electricity during the time period; Indicates the optimization scheduling period.
[0012] Furthermore, UVPP The incentive cost provided to users by the time period It is expressed as: (7) In the formula, For UVPP Time slots provided to users incentive rate; Diesel generators in Cost of time slot It is expressed as: (8) in, , Respectively represent the diesel generator in The power generation cost and operating cost of each period are expressed as: (9) (10) In the formula, , , They respectively represent the quadratic power generation coefficient, linear power generation coefficient and constant power generation coefficient of the diesel generator.
[0013] Furthermore, photovoltaic Cost of time slot 、Wind power in Cost of time slot , respectively: (11) (12) In the formula, is the fixed contract price for photovoltaic power generation. Fixing contract prices for wind power; Energy storage The cost of a time period is expressed as: (13) in, The unit price of energy storage operation and maintenance cost; UVPP Cost of electricity purchase and sale during the period It is expressed as: (14) in, express The wholesale price of electricity during the time period.
[0014] Further, the objective function of the lower layer IDR optimization model is expressed as: (15) In the formula, represents UVPP and the total profit of the user, Represents UVPP's profit, Represents the user's profit; (16) in, For users exist The incentive rate for the time period; (17) The user load reduction constraint is expressed as: (18) (19) in, for The incentive elasticity coefficient of electricity demand in the time period, for The lower limit of the value of , For users The upper and lower limits of load reduction, , are the upper and lower limits of the total user load reduction, respectively; about The discomfort cost function It is expressed as: (20) (twenty one) in, For users The weight parameter, , are the quadratic term coefficient and the linear term coefficient of the discomfort cost function respectively.
[0015] Further, in the upper UVPP optimization operation model, , , , , All of them are historical data collected; , , , , , , , , , , are all decision variables.
[0016] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects: The dual-layer joint optimization method of UVPP and demand response with differentiated incentive mechanism provided in this embodiment establishes an incentive-based demand response mechanism that takes user differentiation into consideration, and establishes an IDR optimization model based on load characteristics, with the goal of maximizing the total profit of power users and UVPP. At the same time, the user load demand and the dynamic changes of spot market electricity prices are comprehensively considered, and the genetic algorithm is used to solve the UVPP operation and IDR optimization model, forming an IDR strategy for personalized incentives for different users, so as to obtain the dual-layer joint optimization scheduling result of UVPP and demand response. Finally, taking a UVPP in East China as an example, the effectiveness of the IDR strategy in the day-ahead spot market is verified.
[0017] In the present invention, the above-mentioned technical solutions can also be combined with each other to achieve more preferred combination solutions. Other features and advantages of the present invention will be described in the subsequent description, and some advantages can become obvious from the description, or can be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings are only used for the purpose of illustrating specific embodiments and are not to be considered as limiting the present invention. In the entire drawings, the same reference symbols represent the same components; Figure 1 A flow chart of a two-layer joint optimization method of an urban virtual power plant and demand response incorporating a differentiated incentive mechanism provided in an embodiment of the present invention; Figure 2 A schematic diagram of a joint optimization framework of UVPP and demand response dual-layer optimization incorporating a differentiated IDR mechanism provided in an embodiment of the present invention; Figure 3A diagram of a UVPP double-layer joint optimization framework provided by an embodiment of the present invention; Figure 4 A schematic diagram of an incentive-based demand response provided by an embodiment of the present invention; Figure 5 The UVPP double-layer joint optimization model solution process provided by the embodiment of the present invention; Figure 6 UVPP optimization results provided by the embodiment of the present invention ( ); Figure 7 UVPP optimization results provided by the embodiment of the present invention ( ); Figure 8 UVPP optimization results provided by the embodiment of the present invention ( ); Fig. 9 The load reduction amount and incentive rate provided by the embodiment of the present invention ( ); Fig.10 The load reduction amount and incentive rate provided by the embodiment of the present invention ( ); Fig.11 The load reduction amount and incentive rate provided by the embodiment of the present invention ( ). DETAILED DESCRIPTION
[0019] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.
[0020] A specific embodiment of the present invention discloses a dual-layer joint optimization method of UVPP and demand response incorporating a differentiated incentive mechanism, as shown in the flowchart. Figure 1 The specific introduction is as follows.
[0021] Step S1: Construct a two-layer joint optimization framework of urban virtual power plant and demand response that incorporates a differentiated incentive mechanism; the two-layer joint optimization framework includes an upper-layer UVPP optimization operation model and a lower-layer IDR optimization model; in the upper-layer UVPP optimization operation model, an objective function is constructed with the goal of minimizing the operating cost within the optimization period, and constraint conditions are constructed with the power generation and power consumption balance constraints, energy storage operation constraints, and diesel generator operation constraints as constraints; in the lower-layer IDR optimization model, an objective function is constructed with the goal of maximizing the total profit of UVPP and users, and a differentiated incentive mechanism for different users is incorporated; the differentiated incentive mechanism that incorporates different users refers to setting a corresponding incentive rate for each user in different time periods.
[0022] Step S2: UVPP obtains the historical data of each period in the N-1th trading day, and substitutes the historical data into the two-layer joint optimization framework; Step S3: Solve the two-layer joint optimization framework into which the historical data is substituted to obtain the decision variables of the two-layer joint optimization framework, and use the decision variables as the optimization scheduling results of UVPP on the Nth trading day.
[0023] Specifically, in step S1, a two-layer joint optimization framework of urban virtual power plant and demand response incorporating a differentiated incentive mechanism is constructed by performing the following operations.
[0024] First of all, it should be made clear that demand response is an effective measure to ensure the balance of system supply and demand and improve the level of safe and stable operation. Incorporating it into the operation control of UVPP will effectively improve the flexibility of UVPP in participating in system regulation and reduce the energy cost of users. In this regard, this embodiment proposes to integrate differentiated IDR strategies for different users into UVPP, and encourage different users to actively participate in the flexible response of UVPP by formulating time-varying incentive rates.
[0025] During the implementation of IDR, UVPP provides incentive strategies based on the system's flexible resource requirements, and users receive direct compensation for their peak-shaving capacity. The IDR strategy is formulated by the UVPP control center to flexibly call on flexible resources on the load side. In view of the diversity of users and the differences in attitudes of different users towards IDR, users' attitudes towards load interruption or transfer are likely to lead to changes in electricity consumption behavior, thereby affecting the load dispatch strategy in UVPP. In this regard, a two-layer joint optimization framework of urban virtual power plants and demand response that incorporates differentiated incentive mechanisms is constructed. The two-layer joint optimization framework includes an upper-layer UVPP optimization operation model and a lower-layer IDR optimization model.
[0026] The upper UVPP optimization operation model is used to determine the charging and discharging plan of distributed power sources and the trading plan for participating in the external spot market; the distributed power sources in UVPP include diesel generators (DG), photovoltaics (PV), wind power (WT), energy storage systems (ESS) and controllable loads; given that the installed capacity of UVPP participants is relatively small, they can participate in the spot market as price acceptors. Therefore, in the upper UVPP optimal operation model, the "source storage" resources such as diesel generators (DG), wind power (WT), photovoltaic power generation (PV), and energy storage systems (ES) are aggregated to participate in external power spot market transactions as power generators, and hourly operation strategies are formulated. When the internal distributed "source storage" resources cannot meet the user's load demand, UVPP purchases energy from the external market and can sell the surplus electricity, making full use of the internal energy storage "low storage and high generation" and load "peak avoidance and valley filling" to make profits. The UVPP operation strategy is formulated before the user's IDR strategy. The UVPP operation strategy is used to determine the market trading plan and the amount of electricity purchased and sold in different periods. Its day-ahead operation plan and electricity spot market trading plan mainly depend on the user's actual load demand and the market clearing price. Deviations in actual operation can be compensated by participating in the real-time market or adjusting the operation strategy in real time.
[0027] The lower-level IDR optimization model focuses on the impact of user satisfaction, comfort, and preferences when implementing the IDR strategy. The lower-level IDR optimization model is an incentive mechanism optimization model for users within UVPP. Users participate in the operation and scheduling of UVPP through IDR, and UVPP provides incentives to obtain better demand response resources, supporting their flexible participation in the multi-time scale regulation of the system while tracking the fluctuations in external market electricity prices for profit. The incentive mechanism must fully consider the user's willingness and the operating benefits of UVPP. If the incentive is too low, the user's interests cannot be guaranteed, and more DR resources will not be obtained; if the incentive is too high, the operating costs of UVPP will increase, so it is necessary to optimize and formulate the optimal IDR strategy. In addition, different users have different attitudes towards IDR, and differentiated strategies are needed to obtain support from different users. For this, the lower-level IDR optimization model for users will focus on how to determine the optimal incentive rate, taking into account the maximum benefits of UVPP itself and users, and obtaining the maximum DR resources to participate in the upper-level regulation.
[0028] The schematic diagram of the two-layer joint optimization framework of urban virtual power plant and demand response with differentiated incentive mechanism is shown in Figure 2 The UVPP two-layer joint optimization framework is shown in Figure 3 As shown in the figure. In the specific implementation process, UVPP day-ahead optimization uses 1 day as the cycle and 1 hour as the time granularity. According to the day-ahead market clearing price, the IDR strategy is implemented for internal users. According to the load requirements and preferences of different users, UVPP optimizes to determine the optimal incentive rate, and formulates the optimal scheduling plan for internal resources based on the acquired user load information and the day-ahead market clearing price.
[0029] In this embodiment, the objective function of the upper layer UVPP optimization operation model is constructed with the goal of minimizing the operation cost within the optimization period. Specifically, the objective function of the upper layer UVPP optimization operation model is expressed as: (1) In the formula, To optimize the operating costs during the life cycle, For UVPP The incentive cost provided to users during the time period, , , , They are diesel generators, wind power, photovoltaics, and energy storage. Cost of time slot; For UVPP The cost of purchasing and selling electricity during the time period; Indicates the optimization scheduling period.
[0030] In this embodiment, UVPP provides incentives for users to obtain response resources. The incentive cost provided to users by the time period It is expressed as: (2) In the formula, For UVPP Time slots provided to users The incentive rate, For users under UVPP excitation exist The load reduction during the period, is the number of users. In formula (2), , are all used as decision variables.
[0031] Diesel generators in Cost of time slot It is expressed as: (3) in, , Respectively represent the diesel generator in The power generation cost and operating cost of each period are expressed as: (4) (5) The operating constraints of the diesel generator are expressed as: (6) In the formula, , , They represent the secondary power generation coefficient, the primary power generation coefficient and the constant power generation coefficient of the diesel generator respectively; Indicates that the diesel generator is The amount of power generated during a period is affected by the power generation capacity. restrictions; Is the diesel generator in A binary variable for the start and stop status of the time period, Indicates opening, Indicates shutdown; , Respectively represent the diesel generator in Startup cost and downtime cost of the time period; , All are diesel generators A binary variable indicating the change in the running status of a period. and is the decision variable.
[0032] Distributed photovoltaic and wind power provide electricity to UVPP at a fixed contract price, and the electricity cost is used as the power generation cost; Cost of time slot 、Wind power in Cost of time slot Respectively expressed as: (7) (8) In the formula, For photovoltaic The power generation during the period, Fixed contract prices for PV; For wind power The power generated during the period; Fixed contract price for wind power. and is the decision variable.
[0033] Energy storage has the characteristics of continuous adjustment of charging and discharging power and rapid response. It can not only realize long-term "peak shaving and valley filling" and "low storage and high generation" arbitrage behavior, improve operation economy, but also quickly track the output of new energy, suppress power fluctuations, improve power quality, and promote distributed new energy consumption. Energy storage is connected to the system through a bidirectional inverter, and the energy storage operation constraints are expressed as: (9) (10) In the formula, For energy storage The amount of electricity during the time period; , Energy storage Charging power and discharging power in each time period; Indicates the time scale; , are the charging and discharging efficiency of energy storage respectively; , They represent the upper limit of charging power and the upper limit of discharging power of energy storage respectively; , Respectively represent the storage The charging state and discharging state of the time period are 0-1 variables. When it is 1, it means it is in charging state. When it is 1, it means it is in the discharging state, and only one charging and discharging state can be selected at the same time; is the maximum charge, and in order to extend the service life, the range is limited to 20%~80%. In formula (10), , , , is the decision variable.
[0034] Energy storage The cost of a time period is expressed as: (11) UVPP Cost of electricity purchase and sale during the period It is expressed as: (12) The power generation and power consumption balance constraints are expressed as: (13) (14) In formula (12), Indicates that UVPP The amount of electricity purchased and sold from the wholesale electricity market during the period, express To ensure that UVPP has energy balance at every moment, in formula (13), , Respectively represent photovoltaic and wind power The power generation during the period, , Respectively represent the storage The amount of charge and discharge during the time period; Indicates user exist The original power demand for the period, Indicates that UVPP The actual power demand of users after participating in IDR during the period. is the decision variable.
[0035] The lower-level IDR optimization model in this embodiment takes into account the differentiated incentive mechanism for users. IDR motivates users to participate in demand response by providing them with certain subsidies or electricity price discounts, thereby achieving effective scheduling of flexible load resources, shaving peak loads and filling valleys, and reducing users' electricity costs. Figure 4 Schematic diagram of incentive-based demand response. UVPP obtains a certain amount of demand response resources through the incentive mechanism, that is, a certain amount of load reduction, which can alleviate the pressure of power grid supply and demand balance. In addition, considering that IDR is mainly realized through the electricity retail market, the main participants in demand response are UVPP and users, and the benefits modeling will be carried out separately below.
[0036] The objective function of the lower-level IDR optimization model is constructed with the goal of maximizing the total profit of UVPP and users. In this embodiment, the optimization goal of the lower-level IDR optimization model is to determine the optimal incentive rate so as to obtain more DR resources under the premise of maximizing the interests of the UVPP operator itself and users. Therefore, the objective function of the lower-level IDR optimization model is expressed as: (15) In the formula, represents UVPP and the total profit of the user, Represents UVPP's profit, Represents the user's profit.
[0037] UVPP revenue model. In some specific periods, such as peak loads, emergencies and other special times, UVPP can reduce loads and purchase costs by providing incentives and discounts to users. In this regard, the revenue of UVPP electricity purchase costs minus the subsidies to users is shown in the following formula: (16) in, For users exist The reward for reducing unit load during the period, that is, the user incentive rate.
[0038] User benefit model. When users respond to UVPP incentives, load reduction mainly includes the following forms: increasing air conditioning temperature, reducing lighting brightness, etc., as shown below: (17) The user load reduction constraint is expressed as: (18) (19) in, for The incentive elasticity coefficient of electricity demand in a period is the ratio of the change in electricity demand to the change in the incentive rate. for The lower limit of the value of , For users The upper and lower limits of load reduction, , are the upper and lower limits of the total user load reduction, respectively. It should be emphasized that in this embodiment, , is a fixed value, , The solution is obtained based on the upper UVPP optimization operation model. For the determination method, please refer to the subsequent algorithm implementation process.
[0039] When users reduce load to obtain incentives, their comfort level will decrease, and the discomfort cost will increase with the increase in demand reduction, with an increasing trend. The discomfort cost function It is expressed as: (20) in, , are the quadratic term coefficient and the linear term coefficient of the discomfort cost function, respectively. They are positive values, and their values vary with users. Different users have differences in electrical equipment, initial demand, electricity preferences, etc., and the degree of discomfort is different under the same load reduction. and A larger value means more discomfort costs have to be paid; When it is 0, the discomfort cost is 0, and Increasing the fee growth rate will increase. When a user participates in IDR, his income can be divided into incentive compensation and discomfort cost, as shown in the following formula: (twenty one) in, For users The weight parameter indicates that the user Attitudes towards the rewards and discomfort costs of participating in demand response, A smaller value indicates that the user's requirements for electrical comfort are greater than the benefits, otherwise it means that the user attaches more importance to the returns obtained.
[0040] In the two-layer joint optimization framework of urban virtual power plant and demand response that incorporates differentiated incentive mechanisms and is constructed in this embodiment, the optimization problems of the upper-layer UVPP optimization operation model and the lower-layer IDR optimization model are characterized by nonlinearity and multiple constraints. The upper and lower-layer decision variables include integer variables (unit start and stop 0-1 variables) and continuous variables (energy storage output adjustment, electricity purchase and sales), which are mixed integer programming problems, and the upper and lower layers interact with each other, which significantly increases the difficulty of solving the problem. Conventional algorithms are difficult to cope with, and intelligent algorithms can be used. New artificial intelligence algorithms such as deep reinforcement learning are more suitable for real-time optimization scenarios of "discrete learning and online applications" under multiple random factors. In the embodiment, the optimization solution flow chart of the two-layer joint optimization framework of urban virtual power plant and demand response that incorporates differentiated incentive mechanisms is shown in the following figure. Figure 5 The specific process is described as follows: Step S31: Initialize the parameters of the NSGA-II algorithm and the system parameters.
[0041] Specifically, in this embodiment, the parameters of the NSGA-II algorithm include: crossover rate, mutation rate, number of iterations, etc. Initializing system parameters includes: inputting UVPP parameters, parameters of different distributed power sources such as DG, PV, WT, ESS, etc.; parameters such as different user elasticity coefficients, user willingness parameters, comfort parameters, etc.; obtaining external market environment and price boundary conditions.
[0042] Step S32: Encode the decision variables of the upper-level UVPP optimization operation model and initialize the first-generation population of the upper-level UVPP optimization operation model; starting from the first-generation population of the upper-level UVPP optimization operation model, sequentially perform non-dominated sorting and population update on the decision space formed by the decision variables of the individuals in each generation of subgroups and the target space formed by the upper-level target values of the individuals (i.e., the operating cost value within the optimization cycle) until the number of iterations is reached, and the decision variables of the individuals corresponding to the optimal upper-level target values are passed into the lower-level IDR optimization model as the upper-level optimal decision variables.
[0043] Specifically, each decision variable in the upper-level UVPP optimization operation model corresponds to a chromosome segment in an individual; according to the upper-level UVPP optimization operation model, the chromosomes of all individuals in the first-generation population are encoded to generate the first-generation subgroup; the chromosomes of each individual in the first-generation subgroup are decoded and the objective function is calculated to obtain the corresponding operating cost value within the optimization cycle.
[0044] Starting from the first generation, the decision space and target space of the individuals in the current generation subgroup are non-dominated sorted, and then the chromosomes are operated using roulette selection / multi-point crossover / multi-point mutation method, and the parent and child populations are merged to form a new generation of subgroups; the non-dominated sorting and population update operations are repeated until the number of iterations is reached, and the decision variables in the individuals corresponding to the optimal target value (i.e., the operating cost value within the optimization cycle) are output and passed to the lower-level IDR optimization model.
[0045] Step S33: According to the upper layer UVPP optimization operation model output of the upper layer optimal decision variables , adjust the user load reduction constraint; among which, For users under UVPP excitation exist Load reduction during the period The optimal value of The upper limit of load reduction equal , the upper limit of the total user load reduction Equal to all users sum; Step S34: Encode the decision variables of the lower UVPP optimization operation model with the incentive rates of different users, and initialize the first generation population of the lower IDR optimization model; starting from the first generation population, reverse encode the individuals in each generation population in turn, and select the individuals that meet the user load reduction constraint (that is, convert the reverse encoded Substituting into formula (17), we can get , if the calculated If equations (18) and (19) are satisfied, it means that the individual satisfies the user load reduction constraint. The decision space formed by the decision variables of the individuals selected in the current generation population and the target space formed by the lower target values of the individuals (i.e., UVPP and the total profit of the users) are non-dominated sorted and the population is updated until the number of iterations is reached. The decision variables of the individuals corresponding to the optimal lower target values (i.e., the incentive rates of different users) are passed as the lower optimal decision variables to the upper UVPP optimization operation model.
[0046] That is, in this step, the genetic algorithm operation is also adopted. First, the incentive rates of different users are randomly generated, that is, the initial population, to determine whether the user load changes are within the feasible domain. If not, regeneration is performed. If satisfied, the individual decoding link is entered to form different user incentive rates. At this time, it is determined whether the total user load reduction meets the demand. If not, the above operation is continued. If satisfied, the optimal incentive strategy is output after cyclic iteration, and is returned to the upper model to adjust some decision variables. Finally, the optimal decision variables are obtained while satisfying the upper and lower objective functions.
[0047] Step S35: The upper layer UVPP optimization operation model recalculates the decision variables according to the lower layer optimal decision variables (According to formula (17)), and keep the decision variables Under the condition that the upper layer UVPP optimization operation model remains unchanged, secondary decision making is performed on the remaining decision variables in the upper layer UVPP optimization operation model to obtain the final upper layer optimal decision variables as the corresponding optimization scheduling results.
[0048] The process of secondary decision-making is shown in step S32, which will not be described here. After reaching the number of iterations, the upper layer optimal decision variable is determined and no longer passed to the lower layer IDR optimization model.
[0049] In summary, the embodiment of the present invention shows great potential in alleviating urban power shortages or imbalances between supply and demand for urban virtual power plants (UVPPs). To this end, this embodiment establishes a two-layer joint optimization framework of UVPP and demand response that considers differentiated incentive mechanisms for users, including an upper-layer UVPP optimization operation model and a lower-layer incentive mechanism optimization model. The upper layer mainly determines the "source-storage" output plan and the transaction plan with the external market as the boundary conditions of the lower layer; the lower-layer incentive mechanism optimization model focuses on user satisfaction, comfort and preference. At the same time, in response to the problems of large peak-to-valley differences in urban power grids and high demand for flexible resources, this technical solution proposes that multiple types of users participate in UVPP operation and scheduling through differentiated incentive mechanisms, fully considering the diversity, satisfaction, comfort and preferences of users, in order to meet the different requirements and reactions of different users to load adjustment when participating in IDR, and formulate differentiated user incentive strategies, which can help UVPP operate at a lower cost, provide flexible response resources to alleviate the peak-to-valley differences of the system, and make the two-layer joint optimization scheduling results of UVPP and demand response consistent with the actual scheduling results.
[0050] The embodiment of the present invention establishes an incentive demand response mechanism that takes user differentiation into consideration, and establishes an IDR optimization model according to load characteristics, with the goal of maximizing the total profit of power users and UVPPs. Meanwhile, the user load demand and the dynamic changes of spot market electricity prices are comprehensively considered, and a genetic algorithm is used to solve the UVPP operation and IDR optimization model, thereby forming an IDR strategy for personalized incentives for different users.
[0051] The calculation example of the present invention takes a UVPP in East China as an example. The user load data randomly selects typical data of a certain month, and simulates the clearing price of the electricity spot market for analysis. Different users have different equipment, needs and preferences. In order to reflect the diversity of users, users with different discomfort parameters are selected as shown in Table 1, including user weighting factors, discomfort cost parameters, load reduction upper and lower limits and incentive rates. Among them, the user weighting factor is variable and is used to measure user differences. Table 2 gives the user demand elasticity in different time periods, which is divided into three categories: trough, mid-peak and peak.
[0052] Table 1 User related parameters
[0053] Table 2 Electricity elasticity at different times
[0054] Table 3 shows the operating parameters of the diesel generator and energy storage. The contract price between UVPP and wind power / photovoltaic is set to 0.45 yuan / kWh.
[0055] Table 3 Correlation coefficients between diesel generators and energy storage
[0056] The core issue of upper-level UVPP optimization is to develop the best operation strategy for distributed resources to reduce operating costs. Figure 6-Figure 8 The UVPP operation scheme is given when users participate in the regulation with different weighting factors. In view of the uncertainty of photovoltaic power generation, it is assumed that DG always keeps in operation, at least 25% of the full user load demand, to ensure the stability of UVPP power supply.
[0057] It can be seen that during low electricity price periods, such as 9:00~11:00 and 22:00~24:00 at night, UVPP's power demand is mainly met by purchasing electricity from the external market, which is more cost-effective than internal DG power generation; when the spot market price is high, such as 11:00~21:00, UVPP's main power supply comes from DG and new energy power generation, which can save UVPP expensive electricity purchase costs. Energy storage "low storage and high generation" according to the external market price can not only alleviate the power supply pressure of UVPP, but its "peak shaving and valley filling" effect can also reduce the fluctuation of external system supply and demand.
[0058] In addition, it was found that When the user's attitude towards IDR response is not positive, UVPP cannot obtain sufficient response resources, resulting in an increase in total load demand. At this time, energy storage increases discharge to meet demand, especially during the peak period of 19:00-21:00. In order to verify the economic benefits of the UVPP operation optimization model with differentiated incentive mechanism, two scenarios are established: Scenario 1 does not consider the differentiated incentive mechanism; Scenario 2 considers the differentiated incentive mechanism. The optimization results of different scenarios are compared and analyzed as shown in Table 4.
[0059] Table 4 Optimization results in different scenarios
[0060] As can be seen from Table 4, the power demand and operating cost of scenario 2 are better than those of scenario 1. The load demand of UVPP is reduced by 6.86%, 12.42% and 13.06% respectively, and the operating cost is reduced by 10.07%, 13.51% and 15.39% respectively, indicating that after integrating the incentive mechanism, UVPP can effectively reduce operating costs and encourage users to provide more flexible response resources. Although incentive costs will be incurred, the electricity cost reduced by the obtained flexible resources is significantly lower than the electricity purchase cost during peak hours in the external market, which verifies the necessity of integrating UVPP into differentiated incentive mechanisms.
[0061] Figure 9-11 Give different The optimal incentive rate and load reduction results under the value of . It can be seen that the trend of the incentive rate is the same as the spot market price. During the low electricity price period, UVPP provides users with a smaller incentive rate to guide users to reduce their load; during the high electricity price period, peak load is prone to cause supply and demand fluctuations. UVPP increases the incentive rate to users to encourage them to further reduce the peak load and alleviate the peak load pressure of the power grid. The user's load reduction is proportional to the incentive rate. A value of 0.1 indicates that users pay more attention to comfort, are not interested in incentive income, and have a lower load reduction; When , it indicates that users pay more attention to incentive income and are willing to cut more load to obtain incentive income; when When the user has reached the maximum load reduction, the incentive rate will no longer increase. Fig.10 and Fig.11 In the process, the excitation rate and load reduction change slightly or even do not change.
[0062] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0063] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A dual-layer joint optimization method of UVPP and demand response with differentiated incentive mechanism, characterized in that: The method comprises: Construct a two-layer joint optimization framework of urban virtual power plants and demand response that incorporates a differentiated incentive mechanism; the two-layer joint optimization framework includes an upper-layer UVPP optimization operation model and a lower-layer IDR optimization model; in the upper-layer UVPP optimization operation model, an objective function is constructed with the goal of minimizing the operating cost within the optimization period, and constraint conditions are constructed with the power generation and power consumption balance constraints, energy storage operation constraints, and diesel generator operation constraints as constraints; in the lower-layer IDR optimization model, an objective function is constructed with the goal of maximizing the total profit of UVPP and users, and a differentiated incentive mechanism for different users is incorporated; the differentiated incentive mechanism that incorporates different users refers to setting corresponding incentive rates for each user in different time periods; UVPP obtains the historical data of each period in the N-1th trading day, and substitutes the historical data into the two-layer joint optimization framework; A two-layer joint optimization framework into which historical data is substituted is solved to obtain decision variables of the two-layer joint optimization framework, and the decision variables are used as the optimization scheduling results of UVPP on the Nth trading day.
2. The UVPP and demand response dual-layer joint optimization method integrating the differentiated incentive mechanism according to claim 1 is characterized in that: The two-layer joint optimization framework is solved by substituting historical data to obtain the decision variables of the two-layer joint optimization framework, and then executing: Initialize the parameters of the NSGA-II algorithm and the system parameters; Encode the decision variables of the upper UVPP optimization operation model and initialize the first generation population of the upper UVPP optimization operation model; starting from the first generation population of the upper UVPP optimization operation model, sequentially perform non-dominated sorting and population update on the decision space formed by the decision variables of the individuals in each generation of subgroups and the target space formed by the upper target values of the individuals until the number of iterations is reached, and pass the individual decision variables corresponding to the optimal upper target value as the upper optimal decision variables into the lower IDR optimization model; According to the upper layer UVPP optimization operation model output of the upper layer optimal decision variables , adjust the user load reduction constraint; among which, For users under UVPP excitation exist Load reduction during the period The optimal value of The upper limit of load reduction equal , the upper limit of the total user load reduction Equal to all users sum; Encode the decision variables of the lower UVPP optimization operation model with different user incentive rates, and initialize the first generation population of the lower IDR optimization model; starting from the first generation population, reverse the encoding of individuals in each generation population in turn, select individuals that meet the user load reduction constraint, perform non-dominated sorting and population update on the decision space formed by the decision variables of the individuals selected in the current generation population and the target space formed by the lower target values of the individuals, until the number of iterations is reached, and pass the individual decision variables corresponding to the optimal lower target values as the lower optimal decision variables into the upper UVPP optimization operation model; The upper UVPP optimization operation model recalculates the decision variables according to the optimal decision variables of the lower layer. , and keep the decision variables Under the condition that the upper layer UVPP optimization operation model remains unchanged, secondary decision making is performed on the remaining decision variables in the upper layer UVPP optimization operation model to obtain the final upper layer optimal decision variables as the corresponding optimization scheduling results.
3. The UVPP and demand response dual-layer joint optimization method integrating differentiated incentive mechanism according to claim 2 is characterized in that: The power generation and power consumption balance constraint is expressed as: (1) (2) in, Indicates that the diesel generator is The power generation during the period, , Respectively represent photovoltaic and wind power The power generation during the period, Indicates that UVPP The amount of electricity purchased and sold from the wholesale electricity market during the period, , Respectively represent the storage The amount of charge and discharge during the time period; , Photovoltaic and wind power The power generated during the period; , Energy storage Charging power and discharging power in each time period; Indicates the time scale; Indicates that UVPP The actual power demand of users after participating in IDR in the time period, Indicates user exist The original power demand for the period, For users under UVPP excitation exist The load reduction during the period, The number of users.
4. The UVPP and demand response dual-layer joint optimization method integrating differentiated incentive mechanism according to claim 3 is characterized in that: The energy storage operation constraint is expressed as: (3) (4) In the formula, For energy storage The amount of electricity during the time period; , are the charging and discharging efficiency of energy storage respectively; , They represent the upper limit of charging power and the upper limit of discharging power of energy storage respectively; , Respectively represent the storage The charging state and discharging state of the time period are 0-1 variables. When it is 1, it means it is in charging state. When it is 1, it means it is in the discharge state; is the maximum charge.
5. The UVPP and demand response dual-layer joint optimization method integrating differentiated incentive mechanism according to claim 4 is characterized in that: The diesel generator operation constraints are expressed as: (5) In the formula, Indicates the power generation capacity of the diesel generator, Indicates that the diesel generator is A binary variable for the start and stop status of the time period, Indicates opening, Indicates shutdown; , Respectively represent the diesel generator in Startup cost and downtime cost of the time period; , All are diesel generators A binary variable indicating the change in the running status of a period.
6. The UVPP and demand response dual-layer joint optimization method integrating differentiated incentive mechanism according to claim 5 is characterized in that: The objective function of the upper UVPP optimization operation model is expressed as: (6) In the formula, To optimize the operating costs during the life cycle, For UVPP The incentive cost provided to users during the time period, , , , They are diesel generators, wind power, photovoltaics, and energy storage. Cost of time slot; For UVPP The cost of purchasing and selling electricity during the time period; Indicates the optimization scheduling period.
7. The UVPP and demand response dual-layer joint optimization method incorporating a differentiated incentive mechanism according to claim 6 is characterized in that: UVPP The incentive cost provided to users by the time period It is expressed as: (7) In the formula, For UVPP Time slots provided to users incentive rate; Diesel generators in Cost of time slot It is expressed as: (8) in, , Respectively represent the diesel generator in The power generation cost and operating cost of each period are expressed as: (9) (10) In the formula, , , They respectively represent the quadratic power generation coefficient, linear power generation coefficient and constant power generation coefficient of the diesel generator.
8. The UVPP and demand response dual-layer joint optimization method integrating differentiated incentive mechanism according to claim 7 is characterized in that: Photovoltaic Cost of time slot 、Wind power in Cost of time slot , respectively: (11) (12) In the formula, is the fixed contract price for photovoltaic power generation, Fixing contract prices for wind power; Energy storage The cost of a time period is expressed as: (13) in, The unit price of energy storage operation and maintenance cost; UVPP Cost of electricity purchase and sale during the period It is expressed as: (14) in, express The wholesale price of electricity during the time period.
9. The UVPP and demand response dual-layer joint optimization method incorporating a differentiated incentive mechanism according to claim 8 is characterized in that: The objective function of the lower-level IDR optimization model is expressed as: (15) In the formula, represents UVPP and the total profit of the user, Represents UVPP's profit, Represents the user's profit; (16) in, For users exist The incentive rate for the time period; (17) The user load reduction constraint is expressed as: (18) (19) in, for The incentive elasticity coefficient of electricity demand in the time period, for The lower limit of the value of , For users The upper and lower limits of load reduction, , are the upper and lower limits of the total user load reduction, respectively; about The discomfort cost function It is expressed as: (20) (21) in, For users The weight parameter, , are the quadratic term coefficient and the linear term coefficient of the discomfort cost function respectively.
10. The UVPP and demand response dual-layer joint optimization method integrating differentiated incentive mechanism according to claim 9 is characterized in that: In the upper UVPP optimization operation model, , , , , All of them are historical data collected; , , , , , , , , , , are all decision variables.
Citation Information
Patent Citations
Electric vehicle charging scheduling method based on active demand response
CN110503309A
Wind power consumption method based on demand response
CN114331035A
Demand response incentive decision optimization method based on efficiency loss ratio
CN114529323A
MPIES joint optimization scheduling device, method, equipment and medium
CN117634849A
The apparatus and method of optimization modeling for making smart portfolio in negawatt market
KR101739271B1
Cited By
Power system demand response optimization method based on game model
CN119496140A
Joint quantification method and system for flexibility of adjustable energy system in building
CN119671101A
Independent energy storage day-ahead market transaction decision optimization method and system
CN121660352A
Methods and Systems for Optimizing Day-ahead Market Trading Decisions for Independent Energy Storage
CN121660352B
