Compensation regulation and control method and device for maximizing primary frequency modulation capacity

By building a target numerical model and optimizing subsidy allocation using genetic algorithms and particle swarm algorithms, the problem of poor incentive effect caused by the chaos in subsidy allocation between aggregators and users was solved, and the primary frequency modulation capacity and total revenue were maximized.

CN119029926AActive Publication Date: 2024-11-26SHENZHEN POWER SUPPLY BUREAU
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411111182.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-11-26
Estimated Expiration
2044-08-13

AI Technical Summary

Technical Problem

In the prior art, due to the confusion of subsidy distribution between aggregators and users, power grid companies find it difficult to predict the correlation between subsidies and grid frequency modulation capacity, and thus the incentive effect is poor.

Method used

By obtaining historical frequency modulation response data, a target numerical model is constructed, and the objective function is solved using genetic algorithms and particle swarm algorithms to determine the ratio of the first target subsidy and the second target subsidy, and the subsidy allocation ratio is optimized to maximize the frequency modulation capacity at one time.

Benefits of technology

It effectively solved the problem of poor incentive effect of power grid companies caused by the chaos in subsidy distribution between aggregators and users, and improved the frequency modulation capacity and total revenue of power grids.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119029926A_ABST
    Figure CN119029926A_ABST
Patent Text Reader

Abstract

The invention provides a subsidy regulation and control method and device for maximizing primary frequency modulation capacity. The method comprises the following steps: acquiring historical frequency modulation response data; constructing a target numerical model according to the historical frequency modulation response data, wherein the target numerical model is used for simulating a change trend of the target income and the target frequency modulation capacity along with a ratio corresponding to the first target subsidy and the second target subsidy; constructing a target function according to the target numerical model, wherein the target function obtains the maximum value of the target income and the maximum value of the target frequency modulation capacity; and solving the target function through a genetic algorithm and a particle swarm algorithm to obtain a first target ratio and a second target ratio, calculating a third target ratio according to the first target ratio and the second target ratio, and determining the third target ratio as a ratio of the first target subsidy and the second target subsidy. The method solves the problem that in the prior art, due to the fact that subsidy distribution between an aggregator and a user is disordered, the excitation effect of a power grid company on primary frequency modulation is poor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data communication technology, and in particular to a subsidy regulation method, device, computer-readable storage medium and power grid system for maximizing primary frequency regulation capacity. Background Art

[0002] With the construction of the Internet of Vehicles with interconnected charging facilities and the corresponding operation and maintenance service network platform, as well as the investment of electric vehicle operators in services, electric vehicles have entered a period of steady growth, which means that in the future more and more electric vehicles will be connected to the power grid and interact with the power grid. On the one hand, electric vehicles are a flexible power load that will obtain electricity from the power grid at different times and places. On the other hand, they are also a distributed and mobile energy storage resource. Since most electric vehicles spend a lot of time parked at their residences during the day, they have great potential to participate in the primary frequency regulation of the power system through vehicle-grid interaction technology.

[0003] In the prior art, power grid companies generally incentivize charging station aggregators and electric vehicle users to participate in primary frequency regulation by issuing subsidies. However, due to the different subsidy allocation ratios between different aggregators and users, the incentive effects on the participation enthusiasm of aggregators and users are different, which makes it difficult for power grid companies to predict the relationship between subsidies and power grid frequency regulation capacity and adjust subsidy strategies. Summary of the invention

[0004] The main purpose of this application is to provide a subsidy regulation method, device, computer-readable storage medium and power grid system for maximizing primary frequency regulation capacity, so as to at least solve the problem in the prior art that the grid company's incentive effect on primary frequency regulation is poor due to the confusion in subsidy allocation between aggregators and users.

[0005] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a subsidy regulation method for maximizing primary frequency regulation capacity is provided, including: obtaining historical frequency regulation response data, the historical frequency regulation response data including first cost data, second cost data and target frequency regulation capacity corresponding to different ratios of a first target subsidy and a second target subsidy, the first target subsidy being a subsidy from a power grid company to an aggregator for participating in primary frequency regulation, the second target subsidy being a subsidy from an aggregator to a user for participating in primary frequency regulation, the first cost data including relevant costs for the user to participate in the primary frequency regulation, the second cost data including relevant costs for the aggregator to perform primary frequency regulation, and the target frequency regulation capacity being the total frequency regulation capacity increased by the user participating in primary frequency regulation; constructing a target numerical model based on the historical frequency regulation response data, the target numerical model The model is used to simulate the changing trend of the target revenue and the target frequency regulation capacity with the ratio corresponding to the first target subsidy and the second target subsidy, the target revenue is the sum of the revenues of the aggregator and the user; construct an objective function according to the target numerical model, the objective function is to maximize the target revenue and the target frequency regulation capacity; solve the objective function by a genetic algorithm to obtain a first target ratio, solve the objective function by a particle swarm algorithm to obtain a second target ratio, calculate a third target ratio according to the first target ratio and the second target ratio, determine the third target ratio as the ratio of the first target subsidy to the second target subsidy, and the first target ratio, the second target ratio and the third target ratio are the ratios of the first target subsidy to the second target subsidy.

[0006] Optionally, constructing a target numerical model according to the historical frequency modulation response data includes: determining the difference between the first target subsidy and the second target subsidy as a third target subsidy, and determining the corresponding ratio of the third target subsidy to the second target subsidy as an allocation ratio; fitting the allocation ratio and the first cost data to obtain a first objective function, the first objective function being used to characterize the changing trend of the first cost data with the allocation ratio; fitting the allocation ratio and the second cost data to obtain a second objective function, the second objective function being used to characterize the changing trend of the second cost data with the allocation ratio; fitting the allocation ratio and the first target subsidy to obtain a third objective function, the third objective function being used to characterize the changing trend of the first target subsidy with the allocation ratio; The fourth objective function is fitted, and the fourth objective function is used to characterize the changing trend of the target frequency modulation capacity with the allocation ratio; a first objective formula, a second objective formula and a third objective formula are constructed, the first objective formula is used to calculate the first benefit according to the third target subsidy and the second cost data, the second objective formula is used to calculate the second benefit according to the second target subsidy and the first cost data, and the third objective formula is used to calculate the target benefit according to the first benefit and the second benefit, the first benefit is the net benefit of the aggregator participating in a frequency modulation, and the second benefit is the net benefit of the user participating in a frequency modulation; the first objective function, the second objective function, the third objective function, the fourth objective function, the first objective formula, the second objective formula and the third objective formula are jointly established to obtain the target numerical model.

[0007] Optionally, fitting the first cost data and obtaining a first objective function includes: determining a target number according to the historical frequency modulation response data, the target number being the total number of the users participating in a frequency modulation; fitting the fifth objective function according to the allocation ratio and the target number, the fifth objective function being used to characterize a changing trend of the target number with the allocation ratio; determining user travel costs, travel impact costs and user charging costs according to the first cost data; and fitting the sixth objective function according to the target number and the user travel cost, the target number and the travel impact cost, and the target number and the user charging cost, respectively. number, a seventh objective function and an eighth objective function, the sixth objective function is used to characterize the changing trend of the user travel cost with the target number, the seventh objective function is used to characterize the changing trend of the travel impact cost with the target number, and the eighth objective function is used to characterize the changing trend of the user charging cost with the target number; construct a fourth objective formula, the fourth objective formula is used to calculate the first cost data according to the user travel cost, the travel impact cost and the user charging cost; the first objective function is obtained by fitting according to the fifth objective function, the sixth objective function, the seventh objective function, the eighth objective function and the fourth objective formula.

[0008] Optionally, a second objective function is obtained by fitting the allocation ratio and the second cost data, including: determining the charging service cost and the charging electricity price cost according to the second cost data; fitting a ninth objective function and a tenth objective function according to the target quantity and the charging service cost and the target quantity and the charging electricity price cost respectively, the ninth objective function is used to characterize the changing trend of the charging service cost with the target quantity, and the tenth objective function is used to characterize the changing trend of the charging electricity price cost with the target quantity; constructing a fifth objective formula, the fifth objective formula is used to calculate the second cost data according to the charging service cost and the charging electricity price cost; fitting the first objective function according to the fifth objective function, the ninth objective function, the tenth objective function and the fifth objective formula.

[0009] Optionally, fitting the third objective function according to the allocation ratio and the first target subsidy includes: fitting the eleventh objective function according to the target quantity and the first target subsidy, the eleventh objective function is used to characterize the changing trend of the first target subsidy with the target quantity; fitting the third objective function according to the fifth objective function and the eleventh objective function. Optionally, fitting the fourth objective function according to the allocation ratio and the target frequency modulation capacity includes: fitting the twelfth objective function according to the target quantity and the target frequency modulation capacity, the twelfth objective function is used to characterize the changing trend of the target frequency modulation capacity with the target quantity; fitting the fourth objective function according to the fifth objective function and the twelfth objective function.

[0010] Optionally, after constructing the objective function according to the target numerical model, the method also includes: determining that the second target subsidy and the third target subsidy are both not zero as a first constraint condition of the objective function; determining that the target frequency modulation capacity is greater than or equal to a first threshold as a second constraint condition of the objective function; and determining that the first target subsidy is greater than or equal to a second threshold as a third constraint condition of the objective function.

[0011] According to another aspect of the present application, a subsidy control device for maximizing primary frequency regulation capacity is provided, the device comprising: an acquisition unit, used to acquire historical frequency regulation response data, the historical frequency regulation response data comprising first cost data, second cost data and target frequency regulation capacity corresponding to different ratios of a first target subsidy and a second target subsidy, the first target subsidy being a subsidy from a power grid company to an aggregator for participating in primary frequency regulation, the second target subsidy being a subsidy from an aggregator to a user for participating in primary frequency regulation, the first cost data comprising relevant costs for the user to participate in the primary frequency regulation, the second cost data comprising relevant costs for the aggregator to perform primary frequency regulation, and the target frequency regulation capacity being the total frequency regulation capacity increased by the user participating in primary frequency regulation; a first construction unit, used to construct a target numerical model according to the historical frequency regulation response data, the target numerical model being used to construct a target numerical model; for simulating the changing trend of the target revenue and the target frequency regulation capacity with the ratio corresponding to the first target subsidy and the second target subsidy, the target revenue being the sum of the revenues of the aggregator and the user; a second construction unit being used to construct an objective function according to the target numerical model, the objective function being the maximum value of the target revenue and the maximum value of the target frequency regulation capacity; a calculation unit being used to solve the objective function by a genetic algorithm to obtain a first target ratio, solve the objective function by a particle swarm algorithm to obtain a second target ratio, calculate a third target ratio according to the first target ratio and the second target ratio, determine the third target ratio as the ratio of the first target subsidy to the second target subsidy, and the first target ratio, the second target ratio and the third target ratio are the ratios of the first target subsidy to the second target subsidy.

[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 power grid 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 subsidy control method for maximizing the primary frequency regulation capacity, first, historical frequency regulation response data is obtained, the historical frequency regulation response data includes the first cost data, the second cost data and the target frequency regulation capacity corresponding to different ratios of the first target subsidy and the second target subsidy, the first target subsidy is the subsidy of the power grid company to the aggregator participating in the primary frequency regulation, the second target subsidy is the subsidy of the aggregator to the user participating in the primary frequency regulation, the first cost data includes the relevant cost of the user participating in the primary frequency regulation, the second cost data includes the relevant cost of the aggregator parameter primary frequency regulation, and the target frequency regulation capacity is the total frequency regulation capacity increased by the user participating in the primary frequency regulation; then, a target numerical model is constructed according to the historical frequency regulation response data, and the target numerical model is used to simulate the target The change trend of the revenue and the target frequency regulation capacity with the ratio corresponding to the first target subsidy and the second target subsidy, the target revenue is the sum of the revenues of the aggregator and the user; then, constructing an objective function according to the target numerical model, the objective function is to maximize the target revenue and the target frequency regulation capacity; finally, solving the objective function by genetic algorithm to obtain the first target ratio, solving the objective function by particle swarm algorithm to obtain the second target ratio, calculating the third target ratio according to the first target ratio and the second target ratio, determining the third target ratio as the ratio of the first target subsidy to the second target subsidy, the first target ratio, the second target ratio and the third target ratio are the ratios of the first target subsidy to the second target subsidy. This application is based on the historical data of users and aggregators participating in primary frequency regulation, and constructs a numerical model to simulate the impact of different proportions of grid company subsidies occupied by users and aggregators participating in primary frequency regulation on primary frequency regulation capacity and total revenue. Based on the above numerical model, based on the impact of revenue on the enthusiasm of users and aggregators and the effect of primary frequency regulation, the maximum total revenue and the maximum target frequency regulation capacity are determined as objective functions to solve the numerical model, and the subsidy ratio between the aggregator and the user is obtained. This method solves the problem in the prior art that the grid company's incentive effect on primary frequency regulation is poor due to the chaotic distribution of subsidies between aggregators and users. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A hardware structure block diagram of a mobile terminal according to a subsidy control method for maximizing primary frequency modulation capacity provided in an embodiment of the present application is shown;

[0016] Figure 2 A schematic flow chart of a subsidy control method for maximizing primary frequency modulation capacity provided in accordance with an embodiment of the present application is shown;

[0017] Figure 3A structural block diagram of a subsidy control device for maximizing primary frequency regulation capacity 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 the prior art, different aggregators and users have different subsidy allocation ratios, and different incentive effects on the participation enthusiasm of aggregators and users, which makes it difficult for power grid companies to predict the relationship between subsidies and power grid frequency regulation capacity and adjust subsidy strategies. In order to solve the problem in the prior art that the grid company’s incentive effect on primary frequency regulation is poor due to the chaotic subsidy allocation between aggregators and users, the embodiments of the present application provide a subsidy regulation method, device, computer-readable storage medium and power grid system for maximizing primary frequency regulation capacity.

[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 subsidy control method for maximizing primary frequency modulation capacity 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 are 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 subsidy regulation method for maximizing primary frequency modulation capacity running on a mobile terminal, a computer terminal or a similar computing device is provided. 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 a 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 FIG. 1 is a flow chart of a subsidy control method for maximizing primary frequency modulation capacity according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:

[0029] Step S201, obtaining historical frequency modulation response data, the historical frequency modulation response data including the first cost data, the second cost data and the target frequency modulation capacity corresponding to different ratios of the first target subsidy and the second target subsidy, the first target subsidy is the subsidy of the power grid company to the aggregator for participating in the primary frequency modulation, the second target subsidy is the subsidy of the aggregator to the user for participating in the primary frequency modulation, the first cost data includes the relevant cost of the user participating in the primary frequency modulation, the second cost data includes the relevant cost of the aggregator for the primary frequency modulation, and the target frequency modulation capacity is the total frequency modulation capacity increased by the user participating in the primary frequency modulation;

[0030] Specifically, in order to explore the impact of the distribution ratio of subsidies issued by power grid companies to aggregators and users on frequency modulation, this application is set up to extract data based on the historical records of past aggregators and users participating in frequency modulation, obtain the subsidies issued by the power grid company, and obtain the above-mentioned first target subsidy, obtain the subsidies allocated to users by the aggregator, and obtain the above-mentioned second target subsidy, and then determine the distribution ratio k based on the first target subsidy and the second target subsidy, and then extract the corresponding cost of the aggregator participating in a frequency modulation under different k values ​​to obtain the above-mentioned second cost data, and the corresponding cost of the user participating in a frequency modulation to obtain the above-mentioned first cost data, as well as the corresponding target frequency modulation capacity.

[0031] Step S202, constructing a target numerical model according to the historical frequency modulation response data, wherein the target numerical model is used to simulate the changing trend of the target revenue and the target frequency modulation capacity as a function of the ratio of the first target subsidy to the second target subsidy, wherein the target revenue is the sum of the revenues of the aggregator and the user;

[0032] Specifically, based on the above-mentioned allocation ratio k, the aggregator's profit is calculated according to the above-mentioned first target subsidy and the above-mentioned second cost data corresponding to the aggregator, and the user's profit is calculated according to the above-mentioned second target subsidy and the above-mentioned first cost data corresponding to the user, and the target profit is determined according to the aggregator's profit and the user's profit. According to the change of the target profit with the k value in the historical data, an expression for characterizing the change trend is obtained. Further, it can be understood that when the total profit is higher, the enthusiasm of the aggregator and the user to participate in the primary frequency regulation is higher, the more users participate, the more electric vehicles are, and the capacity available for the power grid to perform primary frequency regulation is larger. Then, based on the historical data, the relationship between the target profit and the target frequency regulation capacity is determined by fitting, and the corresponding expression is obtained, which can be immediately used to obtain the above-mentioned target numerical model.

[0033] Step S203, constructing an objective function according to the target numerical model, wherein the objective function is to maximize the target benefit and the target frequency regulation capacity;

[0034] Specifically, it is easy to understand that the correlation between the above-mentioned target frequency regulation capacity and the above-mentioned target revenue is a monotonic positive correlation. Therefore, when the above-mentioned target revenue reaches the maximum value, the above-mentioned target frequency regulation capacity also reaches the maximum value. Therefore, in order to maximize the incentive effect of the grid company's subsidy issuance, the present application sets the objective function of the above-mentioned target numerical model to achieve the maximum value of the above-mentioned target revenue and the above-mentioned target frequency regulation capacity. Let the target revenue be C1, and the target frequency regulation capacity be C2, that is, the objective function is maxC1, maxC2.

[0035] Step S204, solving the objective function through a genetic algorithm to obtain a first target ratio, solving the objective function through a particle swarm algorithm to obtain a second target ratio, calculating a third target ratio based on the first target ratio and the second target ratio, determining the third target ratio as the ratio of the first target subsidy to the second target subsidy, and the first target ratio, the second target ratio and the third target ratio are the ratios of the first target subsidy to the second target subsidy.

[0036] Specifically, on the basis of determining the optimization problem of the above-mentioned objective function, the corresponding optimal solution, i.e., the above-mentioned first target ratio and the above-mentioned second target ratio, is obtained by respectively solving them through genetic algorithm and particle swarm algorithm, and then the above-mentioned first target ratio and the above-mentioned second target ratio are weightedly calculated according to preset weights to obtain the final optimal solution, i.e., the above-mentioned third target ratio.

[0037] Among them, the steps of solving the problem through genetic algorithm include: initializing the population based on each k value to obtain the initial population, calculating the fitness of individuals in the population according to the objective function, determining a certain number of individuals with the highest fitness as parent individuals, using them for crossover and mutation operations to generate a new population, selecting optimized individuals according to fitness to replace the population, further iterating until the termination condition is met (the objective function converges or the maximum number of iterations is reached), and then determining the k value corresponding to the maximum fitness value as the above-mentioned first target ratio.

[0038] Among them, the steps of solving the problem through the particle swarm algorithm include: randomly generating a certain number of examples according to the k value, initializing the position and speed, calculating the fitness according to the position of each particle, that is, the value of k, for each particle, taking the current position as the individual optimal position, updating it according to the fitness value, selecting the example with the best fitness in the particle swarm as the global optimal position, updating the particle speed and position according to the individual optimal position and the global optimal position, further iterating until the termination condition is met (the objective function converges or the maximum number of iterations is reached), and finally obtaining the optimal solution, and obtaining the above-mentioned second target ratio.

[0039] Through this embodiment, first, historical frequency modulation response data is obtained, the above historical frequency modulation response data includes the first cost data, the second cost data and the target frequency modulation capacity corresponding to different ratios of the first target subsidy and the second target subsidy, the above first target subsidy is the subsidy of the power grid company to the aggregator participating in the primary frequency modulation, the above second target subsidy is the subsidy of the aggregator to the user participating in the primary frequency modulation, the above first cost data includes the relevant cost of the user participating in the primary frequency modulation, the above second cost data includes the relevant cost of the aggregator parameter primary frequency modulation, and the above target frequency modulation capacity is the total frequency modulation capacity increased by the user participating in the primary frequency modulation; then, a target numerical model is constructed according to the above historical frequency modulation response data, and the above target numerical model is used to simulate the target revenue and the above target frequency modulation capacity with the change of the frequency modulation capacity. The changing trend of the ratio corresponding to the above-mentioned first target subsidy and the above-mentioned second target subsidy, the above-mentioned target benefit is the sum of the benefits of the above-mentioned aggregator and the above-mentioned user; then, constructing an objective function according to the above-mentioned target numerical model, the above-mentioned objective function is to maximize the above-mentioned target benefit and to maximize the above-mentioned target frequency modulation capacity; finally, solving the above-mentioned objective function through a genetic algorithm to obtain a first target ratio, solving the above-mentioned objective function through a particle swarm algorithm to obtain a second target ratio, calculating the third target ratio according to the above-mentioned first target ratio and the above-mentioned second target ratio, determining the above-mentioned third target ratio as the ratio of the above-mentioned first target subsidy and the second target subsidy, the above-mentioned first target ratio, the above-mentioned second target ratio and the above-mentioned third target ratio are the ratios of the above-mentioned first target subsidy and the above-mentioned second target subsidy. This application is based on the historical data of users and aggregators participating in primary frequency regulation, and constructs a numerical model to simulate the impact of different proportions of grid company subsidies occupied by users and aggregators participating in primary frequency regulation on primary frequency regulation capacity and total revenue. Based on the above numerical model, based on the impact of revenue on the enthusiasm of users and aggregators and the effect of primary frequency regulation, the maximum total revenue and the maximum target frequency regulation capacity are determined as objective functions to solve the numerical model, and the subsidy ratio between the aggregator and the user is obtained. This method solves the problem in the prior art that the grid company's incentive effect on primary frequency regulation is poor due to the chaotic distribution of subsidies between aggregators and users.

[0040] In order to construct the above target numerical model, in an optional implementation, the above step S202 includes:

[0041] Step S2021, determining the difference between the first target subsidy and the second target subsidy as the third target subsidy, and determining the corresponding ratio of the third target subsidy to the second target subsidy as the allocation ratio;

[0042] Specifically, the difference between the first target subsidy and the second target subsidy is calculated to obtain the third target subsidy, which is the portion of the grid company's subsidy that is occupied by the aggregator. The corresponding ratio of the third target subsidy to the second target subsidy is the k value.

[0043] Step S2022, obtaining a first objective function by fitting the allocation ratio and the first cost data, wherein the first objective function is used to characterize a variation trend of the first cost data with respect to the allocation ratio;

[0044] In the specific implementation, according to the above-mentioned target numerical model, the independent variable in the historical data is determined to be the above-mentioned k value, and the dependent variable is the target revenue and the target frequency modulation capacity. However, directly fitting the above-mentioned data based on the historical data will cause the modeling accuracy of the model to not meet the use requirements due to the large number of variables involved and the complex relationships.

[0045] Specifically, the fitting relationship is decomposed according to the calculation method of the above-mentioned target benefit. First, the allocation ratio k and the cost of the user participating in a frequency modulation are fitted according to the historical data to obtain the corresponding expression, thereby obtaining the above-mentioned first objective function.

[0046] It is understandable that the cost for users to participate in a frequency modulation is mainly the cost converted from the impact of parking their electric vehicles on charging piles on their travel.

[0047] Step S2023, obtaining a second objective function by fitting the allocation ratio and the second cost data, wherein the second objective function is used to characterize a variation trend of the second cost data with respect to the allocation ratio;

[0048] Specifically, the fitting relationship is decomposed according to the calculation method of the above-mentioned target benefit, and the allocation ratio k and the cost of the aggregator participating in a frequency modulation are fitted according to historical data to obtain the corresponding expression, thereby obtaining the above-mentioned second objective function.

[0049] It is understandable that the cost for aggregators to participate in primary frequency regulation is mainly the deviation between the adjustment of electricity prices and the electricity sales price of the power grid, which leads to an increase in the service cost per unit of electricity.

[0050] Step S2024, obtaining a third objective function by fitting the allocation ratio and the first target subsidy, wherein the third objective function is used to characterize a changing trend of the first target subsidy with respect to the allocation ratio;

[0051] Specifically, the fitting relationship is decomposed according to the calculation method of the above-mentioned target benefit, and the allocation ratio k is fitted with the total subsidy issued by the aggregator and the user participating in the primary frequency regulation power grid according to the historical data to obtain the corresponding expression and obtain the above-mentioned third objective function.

[0052] Step S2025, obtaining a fourth objective function by fitting the allocation ratio and the target frequency modulation capacity, wherein the fourth objective function is used to characterize a variation trend of the target frequency modulation capacity with the allocation ratio;

[0053] Specifically, the fitting relationship is decomposed according to the calculation method of the above-mentioned target benefit, and the allocation ratio k and the target frequency modulation capacity are fitted according to historical data to obtain the above-mentioned fourth objective function.

[0054] Step S2026, constructing a first target formula, a second target formula and a third target formula, wherein the first target formula is used to calculate a first benefit according to the third target subsidy and the second cost data, the second target formula is used to calculate a second benefit according to the second target subsidy and the first cost data, and the third target formula is used to calculate the target benefit according to the first benefit and the second benefit, the first benefit is the net benefit of the aggregator participating in a frequency modulation, and the second benefit is the net benefit of the user participating in a frequency modulation;

[0055] Specifically, the first target formula is to calculate the difference between the third target subsidy and the second cost data, the second target formula is to calculate the difference between the second target subsidy and the first cost data, and the third target formula is to calculate the sum of the first benefit and the second benefit.

[0056] Step S2027, the first objective function, the second objective function, the third objective function, the fourth objective function, the first objective formula, the second objective formula and the third objective formula are combined to obtain the target numerical model.

[0057] Specifically, the first objective function, the second objective function, the third objective function, the fourth objective function, the first objective formula, the second objective formula and the third objective formula are combined to obtain the target numerical model.

[0058] In order to obtain the first objective function, in an optional implementation, the step S2022 includes:

[0059] Step S20221, determining a target number according to the historical frequency modulation response data, where the target number is the total number of users participating in a frequency modulation;

[0060] In the specific implementation, according to the above-mentioned first objective function, the independent variable is determined to be the above-mentioned k value, and the dependent variable is determined to be the above-mentioned first cost data. However, directly fitting the above-mentioned data based on historical data will cause the modeling accuracy of the model to not meet the use requirements due to the large number of variables involved and the complex relationships.

[0061] It is easy to understand that the above target ratio will affect the user's enthusiasm for participating in a frequency modulation, and further affect the cost of the user's participation in a frequency modulation. In this application, the number of users participating in a frequency modulation corresponding to different k values ​​is first determined based on the above historical frequency modulation response data.

[0062] Step S20222, performing fitting according to the allocation ratio and the target quantity to obtain a fifth objective function, wherein the fifth objective function is used to characterize a variation trend of the target quantity with respect to the allocation ratio;

[0063] Specifically, based on the above historical frequency modulation response data, the relationship between the k value and the above target number is fitted. It is easy to understand that the above target number is negatively correlated with the above k value. The larger the ratio, the smaller the allocation proportion of the user, and the fewer the number of users participating in a frequency modulation. In addition, the proportions may be different for users participating in a frequency modulation in different time periods. Therefore, it is necessary to introduce the influence of the time period when fitting.

[0064] Step S20223, determining the user travel cost, travel impact cost and user charging cost according to the first cost data;

[0065] Specifically, based on the above-mentioned historical frequency modulation response data, the user's cost data is decomposed. The present application determines that the cost of a user's participation in a frequency modulation is mainly calculated by the impact of the user's parking of the electric vehicle on the charging pile on the user's travel, that is, the above-mentioned user travel cost. In addition, since the electric vehicle is parked at the charging pile, the user needs to adopt other means of travel, which in turn generates the above-mentioned travel impact cost. In addition, the user's travel charging amount decreases during the parking period, and the saved cost is set to the above-mentioned user charging cost, which takes a negative value.

[0066] Step S20224, respectively fitting the target number and the user travel cost, the target number and the travel impact cost, and the target number and the user charging cost to obtain a sixth objective function, a seventh objective function, and an eighth objective function, wherein the sixth objective function is used to characterize the changing trend of the user travel cost with the target number, the seventh objective function is used to characterize the changing trend of the travel impact cost with the target number, and the eighth objective function is used to characterize the changing trend of the user charging cost with the target number;

[0067] Specifically, the relationship between the target number and the user travel cost is fitted based on the above-mentioned historical frequency modulation response data. It can be understood that the user travel cost is positively correlated with the number of users. As the number of users increases, the fitting coefficient approaches different values. Therefore, the above-mentioned correlation is fitted as a piecewise function. Similarly, the relationship between the above-mentioned travel impact cost and the user charging cost and the target number is fitted to obtain the above-mentioned sixth objective function, seventh objective function and eighth objective function.

[0068] Step S20225, constructing a fourth target formula, wherein the fourth target formula is used to calculate the first cost data according to the user travel cost, the travel impact cost and the user charging cost;

[0069] Specifically, the fourth objective formula is the sum of the user's travel cost, the travel impact cost and the user's charging cost.

[0070] Step S20226, fitting the first objective function according to the fifth objective function, the sixth objective function, the seventh objective function, the eighth objective function and the fourth objective formula.

[0071] Specifically, the fifth objective function, the sixth objective function, the seventh objective function, the eighth objective function and the fourth objective formula are jointly fitted, and the historical frequency modulation response data are substituted for fitting to obtain the first objective function.

[0072] In order to obtain the second objective function, in an optional implementation, the step S2023 includes:

[0073] Step S20231, determining the charging service cost and the charging electricity price cost according to the second cost data;

[0074] Specifically, based on the above-mentioned historical frequency regulation response data, the cost data of the aggregator is disassembled. This application determines that the cost of the aggregator participating in a frequency regulation mainly comes from the deviation between the electricity price during the time when the aggregator lowers the electricity price to guide users to charge and the electricity price before guidance. The above-mentioned charging service cost is the price of charging services provided by the aggregator, and the above-mentioned charging electricity price cost is the electricity price of the power grid company.

[0075] Step S20232, fitting the target quantity and the charging service cost and the target quantity and the charging electricity price cost to obtain a ninth objective function and a tenth objective function, respectively, wherein the ninth objective function is used to characterize the changing trend of the charging service cost with the target quantity, and the tenth objective function is used to characterize the changing trend of the charging electricity price cost with the target quantity;

[0076] Specifically, the relationship between the target quantity and the charging service cost is fitted based on the above-mentioned historical frequency modulation response data. It can be understood that the user travel cost is negatively correlated with the number of users. To ensure accuracy, different electricity prices in different time periods are fitted separately. Similarly, the relationship between the above-mentioned charging electricity price cost and the target quantity is fitted to obtain the above-mentioned ninth and tenth objective functions.

[0077] In one embodiment of the present application, in the above-mentioned segmented fitting process, when fitting is performed based on different electricity prices in different time periods, the corresponding electricity prices will also affect the above-mentioned target quantity, and then a correction coefficient is set to further correct the fitting result.

[0078] Step S20233, constructing a fifth target formula, wherein the fifth target formula is used to calculate the second cost data according to the charging service cost and the charging electricity price cost;

[0079] Specifically, the fifth target formula is the difference between the charging electricity price cost and the charging service cost.

[0080] Step S20234, fitting the fifth objective function, the ninth objective function, the tenth objective function and the fifth objective formula to obtain the first objective function.

[0081] Specifically, the fifth objective function, the ninth objective function, the tenth objective function and the fifth objective formula are jointly fitted, and the historical frequency modulation response data are substituted into the fitting to obtain the second objective function.

[0082] In order to obtain the third objective function, in an optional implementation, the step S2024 includes:

[0083] Step S20241, fitting the target quantity and the first target subsidy to obtain an eleventh target function, where the eleventh target function is used to characterize the changing trend of the first target subsidy with the target quantity;

[0084] Specifically, the eleventh objective function is obtained by fitting the target quantity and the first target subsidy based on the above-mentioned historical frequency regulation response data. It can be understood that in order to promote users to participate in primary frequency regulation, the first target subsidy is positively correlated with the above-mentioned number of users, and its specific fitting coefficient depends on the incentive strategy of the power grid company.

[0085] Step S20242, fitting the fifth objective function and the eleventh objective function to obtain the third objective function.

[0086] Specifically, the fifth objective function and the eleventh objective function are jointly fitted, and the historical frequency modulation response data are substituted into the fitting to obtain the third objective function.

[0087] In order to obtain the fourth objective function, in an optional implementation, the step S2025 includes:

[0088] Step S20251, fitting the target quantity and the target frequency modulation capacity to obtain a twelfth objective function, wherein the twelfth objective function is used to characterize a variation trend of the target frequency modulation capacity with respect to the target quantity;

[0089] Specifically, the target number and the target frequency modulation capacity are fitted based on the historical frequency modulation response data to obtain the twelfth objective function. It can be understood that the target frequency modulation capacity is positively correlated with the number of users, and the specific fitting coefficient depends on the vehicle type and performance.

[0090] Step S20252: fitting the fifth objective function and the twelfth objective function to obtain the fourth objective function.

[0091] Specifically, the fifth objective function and the twelfth objective function are jointly fitted, and the historical frequency modulation response data are substituted into the fitting to obtain the fourth objective function.

[0092] In order to ensure the effectiveness of the optimal solution, in an optional implementation, after constructing the objective function according to the above target numerical model, the above method further includes:

[0093] Step S301, determining that both the second target subsidy and the third target subsidy are not zero as a first constraint condition of the objective function;

[0094] Specifically, the present application sets the above-mentioned first constraint condition for the above-mentioned target numerical model to ensure that the above-mentioned second target subsidy and the above-mentioned third target subsidy are not zero, that is, the subsidies received by users and aggregators are not 0. If one of them is 0, it can be understood that the variable parameter relationship of the above-mentioned target numerical model is meaningless.

[0095] Step S302, determining that the target frequency modulation capacity is greater than or equal to a first threshold as a second constraint condition of the objective function;

[0096] Specifically, the present application sets the second constraint condition for the target numerical model to ensure that the target frequency modulation capacity after excitation is greater than a certain value. If the target frequency modulation capacity is less than the second threshold, the excitation strategy is considered to be impractical.

[0097] Step S303: determining that the first target subsidy is greater than or equal to a second threshold as a third constraint condition of the objective function.

[0098] Specifically, similarly, the first target subsidy issued by the power grid company is greater than or equal to the second threshold, which is determined as the third constraint condition of the objective function. When the first target subsidy is small, it is believed that the effect of promoting the enthusiasm of aggregators and users is small.

[0099] 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.

[0100] The embodiment of the present application also provides a subsidy control device for maximizing the primary frequency modulation capacity. It should be noted that the subsidy control device for maximizing the primary frequency modulation capacity of the embodiment of the present application can be used to execute the subsidy control method for maximizing the primary frequency modulation capacity provided by 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 explained 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.

[0101] The following introduces the subsidy control device for maximizing the primary frequency regulation capacity provided in the embodiment of the present application.

[0102] Figure 3 : is a structural block diagram of a subsidy control device for maximizing primary frequency modulation capacity according to an embodiment of the present application. Figure 3 As shown, the device comprises:

[0103] The acquisition unit 10 is used to acquire historical frequency modulation response data, wherein the historical frequency modulation response data includes the first cost data, the second cost data and the target frequency modulation capacity corresponding to different ratios of the first target subsidy and the second target subsidy, wherein the first target subsidy is a subsidy from the power grid company to the aggregator for participating in the primary frequency modulation, the second target subsidy is a subsidy from the aggregator to the user for participating in the primary frequency modulation, the first cost data includes the relevant cost of the user participating in the primary frequency modulation, the second cost data includes the relevant cost of the aggregator for the primary frequency modulation, and the target frequency modulation capacity is the total frequency modulation capacity increased by the user participating in the primary frequency modulation;

[0104] Specifically, in order to explore the impact of the distribution ratio of subsidies issued by power grid companies to aggregators and users on frequency modulation, this application is set up to extract data based on the historical records of past aggregators and users participating in frequency modulation, obtain the subsidies issued by the power grid company, and obtain the above-mentioned first target subsidy, obtain the subsidies allocated to users by the aggregator, and obtain the above-mentioned second target subsidy, and then determine the distribution ratio k based on the first target subsidy and the second target subsidy, and then extract the corresponding cost of the aggregator participating in a frequency modulation under different k values ​​to obtain the above-mentioned second cost data, and the corresponding cost of the user participating in a frequency modulation to obtain the above-mentioned first cost data, as well as the corresponding target frequency modulation capacity.

[0105] A first construction unit 20 is used to construct a target numerical model according to the historical frequency modulation response data, wherein the target numerical model is used to simulate the change trend of the target revenue and the target frequency modulation capacity as a function of the ratio corresponding to the first target subsidy and the second target subsidy, wherein the target revenue is the sum of the revenues of the aggregator and the user;

[0106] Specifically, based on the above-mentioned allocation ratio k, the aggregator's profit is calculated according to the above-mentioned first target subsidy and the above-mentioned second cost data corresponding to the aggregator, and the user's profit is calculated according to the above-mentioned second target subsidy and the above-mentioned first cost data corresponding to the user, and the target profit is determined according to the aggregator's profit and the user's profit. According to the change of the target profit with the k value in the historical data, an expression for characterizing the change trend is obtained. Further, it can be understood that when the total profit is higher, the enthusiasm of the aggregator and the user to participate in the primary frequency regulation is higher, the more users participate, the more electric vehicles are, and the capacity available for the power grid to perform primary frequency regulation is larger. Then, based on the historical data, the relationship between the target profit and the target frequency regulation capacity is determined by fitting, and the corresponding expression is obtained, which can be immediately used to obtain the above-mentioned target numerical model.

[0107] A second construction unit 30 is used to construct an objective function according to the target numerical model, wherein the objective function is to maximize the target benefit and the target frequency regulation capacity;

[0108] Specifically, it is easy to understand that the correlation between the above-mentioned target frequency regulation capacity and the above-mentioned target revenue is a monotonic positive correlation. Therefore, when the above-mentioned target revenue reaches the maximum value, the above-mentioned target frequency regulation capacity also reaches the maximum value. Therefore, in order to maximize the incentive effect of the grid company's subsidy issuance, the present application sets the objective function of the above-mentioned target numerical model to achieve the maximum value of the above-mentioned target revenue and the above-mentioned target frequency regulation capacity. Let the target revenue be C1, and the target frequency regulation capacity be C2, that is, the objective function is maxC1, maxC2.

[0109] The calculation unit 40 is used to solve the above-mentioned objective function through a genetic algorithm to obtain a first target ratio, solve the above-mentioned objective function through a particle swarm algorithm to obtain a second target ratio, calculate the third target ratio according to the above-mentioned first target ratio and the above-mentioned second target ratio, determine the above-mentioned third target ratio as the ratio of the above-mentioned first target subsidy and the second target subsidy, and the above-mentioned first target ratio, the above-mentioned second target ratio and the above-mentioned third target ratio are the ratios of the above-mentioned first target subsidy and the above-mentioned second target subsidy.

[0110] Specifically, on the basis of determining the optimization problem of the above-mentioned objective function, the corresponding optimal solution, i.e., the above-mentioned first target ratio and the above-mentioned second target ratio, is obtained by respectively solving them through genetic algorithm and particle swarm algorithm, and then the above-mentioned first target ratio and the above-mentioned second target ratio are weightedly calculated according to preset weights to obtain the final optimal solution, i.e., the above-mentioned third target ratio.

[0111] Among them, the steps of solving the problem through genetic algorithm include: initializing the population based on each k value to obtain the initial population, calculating the fitness of individuals in the population according to the objective function, determining a certain number of individuals with the highest fitness as parent individuals, using them for crossover and mutation operations to generate a new population, selecting optimized individuals according to fitness to replace the population, further iterating until the termination condition is met (the objective function converges or the maximum number of iterations is reached), and then determining the k value corresponding to the maximum fitness value as the above-mentioned first target ratio.

[0112] Among them, the steps of solving the problem through the particle swarm algorithm include: randomly generating a certain number of examples according to the k value, initializing the position and speed, calculating the fitness according to the position of each particle, that is, the value of k, for each particle, taking the current position as the individual optimal position, updating it according to the fitness value, selecting the example with the best fitness in the particle swarm as the global optimal position, updating the particle speed and position according to the individual optimal position and the global optimal position, further iterating until the termination condition is met (the objective function converges or the maximum number of iterations is reached), and finally obtaining the optimal solution, and obtaining the above-mentioned second target ratio.

[0113] Through this embodiment, the acquisition unit acquires historical frequency modulation response data, the above-mentioned historical frequency modulation response data includes the first cost data, the second cost data and the target frequency modulation capacity corresponding to different ratios of the first target subsidy and the second target subsidy, the above-mentioned first target subsidy is the subsidy of the power grid company to the aggregator participating in the primary frequency modulation, the above-mentioned second target subsidy is the subsidy of the aggregator to the user participating in the primary frequency modulation, the above-mentioned first cost data includes the relevant cost of the above-mentioned user participating in the above-mentioned primary frequency modulation, the above-mentioned second cost data includes the relevant cost of the above-mentioned aggregator parameter primary frequency modulation, and the above-mentioned target frequency modulation capacity is the total frequency modulation capacity increased by the above-mentioned user participating in the primary frequency modulation; the first construction unit constructs a target numerical model according to the above-mentioned historical frequency modulation response data, and the above-mentioned target numerical model is used to simulate the target revenue and the above-mentioned target frequency modulation capacity with the change of the changing trend of the ratio corresponding to the above-mentioned first target subsidy and the above-mentioned second target subsidy, the above-mentioned target benefit is the sum of the benefits of the above-mentioned aggregator and the above-mentioned user; the second construction unit constructs an objective function according to the above-mentioned target numerical model, and the above-mentioned objective function is to achieve the maximum value of the above-mentioned target benefit and the maximum value of the above-mentioned target frequency modulation capacity; the calculation unit solves the above-mentioned objective function through a genetic algorithm to obtain a first target ratio, solves the above-mentioned objective function through a particle swarm algorithm to obtain a second target ratio, calculates a third target ratio according to the above-mentioned first target ratio and the above-mentioned second target ratio, and determines the above-mentioned third target ratio as the ratio of the above-mentioned first target subsidy and the second target subsidy, and the above-mentioned first target ratio, the above-mentioned second target ratio and the above-mentioned third target ratio are the ratios of the above-mentioned first target subsidy and the above-mentioned second target subsidy. This application is based on the historical data of users and aggregators participating in primary frequency regulation, and constructs a numerical model to simulate the impact of different proportions of grid company subsidies occupied by users and aggregators participating in primary frequency regulation on primary frequency regulation capacity and total revenue. Based on the above numerical model, based on the impact of revenue on the enthusiasm of users and aggregators and the effect of primary frequency regulation, the maximum total revenue and the maximum target frequency regulation capacity are determined as objective functions to solve the numerical model, and the subsidy ratio between the aggregator and the user is obtained. This method solves the problem in the prior art that the grid company's incentive effect on primary frequency regulation is poor due to the chaotic distribution of subsidies between aggregators and users.

[0114] In order to construct the above target numerical model, in an optional implementation, the above first construction unit includes:

[0115] A first determination module is used to determine the difference between the first target subsidy and the second target subsidy as a third target subsidy, and determine the corresponding ratio of the third target subsidy to the second target subsidy as an allocation ratio;

[0116] Specifically, the difference between the first target subsidy and the second target subsidy is calculated to obtain the third target subsidy, which is the portion of the grid company's subsidy that is occupied by the aggregator. The corresponding ratio of the third target subsidy to the second target subsidy is the k value.

[0117] A first fitting module, used for fitting the first cost data and the allocation ratio to obtain a first objective function, wherein the first objective function is used for representing a variation trend of the first cost data with the allocation ratio;

[0118] In the specific implementation, according to the above-mentioned target numerical model, the independent variable in the historical data is determined to be the above-mentioned k value, and the dependent variable is the target revenue and the target frequency modulation capacity. However, directly fitting the above-mentioned data based on the historical data will cause the modeling accuracy of the model to not meet the use requirements due to the large number of variables involved and the complex relationships.

[0119] Specifically, the fitting relationship is decomposed according to the calculation method of the above-mentioned target benefit. First, the allocation ratio k and the cost of the user participating in a frequency modulation are fitted according to the historical data to obtain the corresponding expression, thereby obtaining the above-mentioned first objective function.

[0120] It is understandable that the cost for users to participate in a frequency modulation is mainly the cost converted from the impact of parking their electric vehicles on charging piles on their travel.

[0121] A second fitting module, used for fitting the second cost data according to the allocation ratio to obtain a second objective function, wherein the second objective function is used to characterize a variation trend of the second cost data with the allocation ratio;

[0122] Specifically, the fitting relationship is decomposed according to the calculation method of the above-mentioned target benefit, and the allocation ratio k and the cost of the aggregator participating in a frequency modulation are fitted according to historical data to obtain the corresponding expression, thereby obtaining the above-mentioned second objective function.

[0123] It is understandable that the cost for aggregators to participate in primary frequency regulation is mainly the deviation between the adjustment of electricity prices and the electricity sales price of the power grid, which leads to an increase in the service cost per unit of electricity.

[0124] A third fitting module, used for fitting according to the allocation ratio and the first target subsidy to obtain a third objective function, wherein the third objective function is used to characterize a changing trend of the first target subsidy with the allocation ratio;

[0125] Specifically, the fitting relationship is decomposed according to the calculation method of the above-mentioned target benefit, and the allocation ratio k is fitted with the total subsidy issued by the aggregator and the user participating in the primary frequency regulation power grid according to the historical data to obtain the corresponding expression and obtain the above-mentioned third objective function.

[0126] a fourth fitting module, configured to obtain a fourth objective function by fitting the allocation ratio and the target frequency modulation capacity, wherein the fourth objective function is configured to characterize a variation trend of the target frequency modulation capacity with the allocation ratio;

[0127] Specifically, the fitting relationship is decomposed according to the calculation method of the above-mentioned target benefit, and the allocation ratio k and the target frequency modulation capacity are fitted according to historical data to obtain the above-mentioned fourth objective function.

[0128] A construction module, used to construct a first target formula, a second target formula and a third target formula, wherein the first target formula is used to calculate a first benefit according to the third target subsidy and the second cost data, the second target formula is used to calculate a second benefit according to the second target subsidy and the first cost data, and the third target formula is used to calculate the target benefit according to the first benefit and the second benefit, wherein the first benefit is the net benefit of the aggregator participating in a frequency modulation, and the second benefit is the net benefit of the user participating in a frequency modulation;

[0129] Specifically, the first target formula is to calculate the difference between the third target subsidy and the second cost data, the second target formula is to calculate the difference between the second target subsidy and the first cost data, and the third target formula is to calculate the sum of the first benefit and the second benefit.

[0130] The fifth fitting module is used to jointly integrate the first objective function, the second objective function, the third objective function, the fourth objective function, the first objective formula, the second objective formula and the third objective formula to obtain the target numerical model.

[0131] Specifically, the first objective function, the second objective function, the third objective function, the fourth objective function, the first objective formula, the second objective formula and the third objective formula are combined to obtain the target numerical model.

[0132] In order to obtain the first objective function, in an optional implementation, the first fitting module includes:

[0133] A first determination submodule is used to determine a target number according to the historical frequency modulation response data, where the target number is the total number of users participating in a frequency modulation;

[0134] In the specific implementation, according to the above-mentioned first objective function, the independent variable is determined to be the above-mentioned k value, and the dependent variable is determined to be the above-mentioned first cost data. However, directly fitting the above-mentioned data based on historical data will cause the modeling accuracy of the model to not meet the use requirements due to the large number of variables involved and the complex relationships.

[0135] It is easy to understand that the above target ratio will affect the user's enthusiasm for participating in a frequency modulation, and further affect the cost of the user's participation in a frequency modulation. In this application, the number of users participating in a frequency modulation corresponding to different k values ​​is first determined based on the above historical frequency modulation response data.

[0136] A first fitting submodule is used to obtain a fifth objective function by fitting the allocation ratio and the target quantity, wherein the fifth objective function is used to characterize a variation trend of the target quantity with the allocation ratio;

[0137] Specifically, based on the above historical frequency modulation response data, the relationship between the k value and the above target number is fitted. It is easy to understand that the above target number is negatively correlated with the above k value. The larger the ratio, the smaller the allocation proportion of the user, and the fewer the number of users participating in a frequency modulation. In addition, the proportions may be different for users participating in a frequency modulation in different time periods. Therefore, it is necessary to introduce the influence of the time period when fitting.

[0138] A second determination submodule is used to determine the user's travel cost, travel impact cost and user charging cost according to the first cost data;

[0139] Specifically, based on the above-mentioned historical frequency modulation response data, the user's cost data is decomposed. The present application determines that the cost of a user's participation in a frequency modulation is mainly calculated by the impact of the user's parking of the electric vehicle on the charging pile on the user's travel, that is, the above-mentioned user travel cost. In addition, since the electric vehicle is parked at the charging pile, the user needs to adopt other means of travel, which in turn generates the above-mentioned travel impact cost. In addition, the user's travel charging amount decreases during the parking period, and the saved cost is set to the above-mentioned user charging cost, which takes a negative value.

[0140] A second fitting submodule is used to fit the target number and the user travel cost, the target number and the travel impact cost, and the target number and the user charging cost to obtain a sixth objective function, a seventh objective function, and an eighth objective function, respectively. The sixth objective function is used to characterize the changing trend of the user travel cost with the target number, the seventh objective function is used to characterize the changing trend of the travel impact cost with the target number, and the eighth objective function is used to characterize the changing trend of the user charging cost with the target number;

[0141] Specifically, the relationship between the target number and the user travel cost is fitted based on the above-mentioned historical frequency modulation response data. It can be understood that the user travel cost is positively correlated with the number of users. As the number of users increases, the fitting coefficient approaches different values. Therefore, the above-mentioned correlation is fitted as a piecewise function. Similarly, the relationship between the above-mentioned travel impact cost and the user charging cost and the target number is fitted to obtain the above-mentioned sixth objective function, seventh objective function and eighth objective function.

[0142] A first construction submodule is used to construct a fourth target formula, where the fourth target formula is used to calculate the first cost data according to the user travel cost, the travel impact cost and the user charging cost;

[0143] Specifically, the fourth objective formula is the sum of the user's travel cost, the travel impact cost and the user's charging cost.

[0144] The third fitting submodule is used to obtain the first objective function by fitting according to the fifth objective function, the sixth objective function, the seventh objective function, the eighth objective function and the fourth objective formula.

[0145] Specifically, the fifth objective function, the sixth objective function, the seventh objective function, the eighth objective function and the fourth objective formula are jointly fitted, and the historical frequency modulation response data are substituted for fitting to obtain the first objective function.

[0146] In order to obtain the second objective function, in an optional implementation, the second fitting module includes:

[0147] A third determination submodule is used to determine the charging service cost and the charging electricity price cost according to the second cost data;

[0148] Specifically, based on the above-mentioned historical frequency regulation response data, the cost data of the aggregator is disassembled. This application determines that the cost of the aggregator participating in a frequency regulation mainly comes from the deviation between the electricity price during the time when the aggregator lowers the electricity price to guide users to charge and the electricity price before guidance. The above-mentioned charging service cost is the price of charging services provided by the aggregator, and the above-mentioned charging electricity price cost is the electricity price of the power grid company.

[0149] a fourth fitting submodule, for fitting the target quantity and the charging service cost and the target quantity and the charging electricity price cost to obtain a ninth objective function and a tenth objective function, respectively, wherein the ninth objective function is used to characterize the changing trend of the charging service cost with the target quantity, and the tenth objective function is used to characterize the changing trend of the charging electricity price cost with the target quantity;

[0150] Specifically, the relationship between the target quantity and the charging service cost is fitted based on the above-mentioned historical frequency modulation response data. It can be understood that the user travel cost is negatively correlated with the number of users. To ensure accuracy, different electricity prices in different time periods are fitted separately. Similarly, the relationship between the above-mentioned charging electricity price cost and the target quantity is fitted to obtain the above-mentioned ninth and tenth objective functions.

[0151] In one embodiment of the present application, in the above-mentioned segmented fitting process, when fitting is performed based on different electricity prices in different time periods, the corresponding electricity prices will also affect the above-mentioned target quantity, and then a correction coefficient is set to further correct the fitting result.

[0152] A second construction submodule is used to construct a fifth target formula, where the fifth target formula is used to calculate the second cost data according to the charging service cost and the charging electricity price cost;

[0153] Specifically, the fifth target formula is the difference between the charging electricity price cost and the charging service cost.

[0154] The fifth fitting submodule is used to obtain the first objective function by fitting the fifth objective function, the ninth objective function, the tenth objective function and the fifth objective formula.

[0155] Specifically, the fifth objective function, the ninth objective function, the tenth objective function and the fifth objective formula are jointly fitted, and the historical frequency modulation response data are substituted into the fitting to obtain the second objective function.

[0156] In order to obtain the third objective function, in an optional implementation, the third fitting module includes:

[0157] a sixth fitting submodule, configured to obtain an eleventh objective function by fitting the target quantity and the first target subsidy, wherein the eleventh objective function is configured to characterize a changing trend of the first target subsidy with respect to the target quantity;

[0158] Specifically, the eleventh objective function is obtained by fitting the target quantity and the first target subsidy based on the above-mentioned historical frequency regulation response data. It can be understood that in order to promote users to participate in primary frequency regulation, the first target subsidy is positively correlated with the above-mentioned number of users, and its specific fitting coefficient depends on the incentive strategy of the power grid company.

[0159] The seventh fitting submodule is used to obtain the third objective function by fitting the fifth objective function and the eleventh objective function.

[0160] Specifically, the fifth objective function and the eleventh objective function are jointly fitted, and the historical frequency modulation response data are substituted into the fitting to obtain the third objective function.

[0161] In order to obtain the fourth objective function, in an optional implementation, the fourth fitting module includes:

[0162] an eighth fitting submodule, configured to obtain a twelfth objective function by fitting the target quantity and the target frequency modulation capacity, wherein the twelfth objective function is used to characterize a variation trend of the target frequency modulation capacity with the target quantity;

[0163] Specifically, the target number and the target frequency modulation capacity are fitted based on the historical frequency modulation response data to obtain the twelfth objective function. It can be understood that the target frequency modulation capacity is positively correlated with the number of users, and the specific fitting coefficient depends on the vehicle type and performance.

[0164] The ninth fitting submodule is used to obtain the fourth objective function by fitting the fifth objective function and the twelfth objective function.

[0165] Specifically, the fifth objective function and the twelfth objective function are jointly fitted, and the historical frequency modulation response data are substituted into the fitting to obtain the fourth objective function.

[0166] In order to ensure the effectiveness of the optimal solution, in an optional implementation manner, the above device further includes:

[0167] A first determining unit is used to determine, after constructing the objective function according to the objective numerical model, that both the second objective subsidy and the third objective subsidy are not zero as a first constraint condition of the objective function;

[0168] Specifically, the present application sets the above-mentioned first constraint condition for the above-mentioned target numerical model to ensure that the above-mentioned second target subsidy and the above-mentioned third target subsidy are not zero, that is, the subsidies received by users and aggregators are not 0. If one of them is 0, it can be understood that the variable parameter relationship of the above-mentioned target numerical model is meaningless.

[0169] A second determining unit, configured to determine that the target frequency modulation capacity is greater than or equal to a first threshold as a second constraint condition of the objective function;

[0170] Specifically, the present application sets the second constraint condition for the target numerical model to ensure that the target frequency modulation capacity after excitation is greater than a certain value. If the target frequency modulation capacity is less than the second threshold, the excitation strategy is considered to be impractical.

[0171] The third determining unit is used to determine that the first target subsidy is greater than or equal to the second threshold as the third constraint condition of the objective function.

[0172] Specifically, similarly, the first target subsidy issued by the power grid company is greater than or equal to the second threshold, which is determined as the third constraint condition of the objective function. When the first target subsidy is small, it is believed that the effect of promoting the enthusiasm of aggregators and users is small.

[0173] The subsidy control device for maximizing the primary frequency modulation capacity includes a processor and a memory. The acquisition unit, the first unit, etc. are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions. The modules are all located in the same processor; or, the modules are located in different processors in any combination.

[0174] The processor includes a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the effect of the subsidy on increasing the primary frequency modulation capacity can be increased by adjusting the kernel parameters.

[0175] 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.

[0176] 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 subsidy control method for maximizing the primary frequency modulation capacity.

[0177] Specifically, subsidy regulation methods to maximize primary frequency regulation capacity include:

[0178] Step S201, obtaining historical frequency modulation response data, the historical frequency modulation response data including the first cost data, the second cost data and the target frequency modulation capacity corresponding to different ratios of the first target subsidy and the second target subsidy, the first target subsidy is the subsidy of the power grid company to the aggregator for participating in the primary frequency modulation, the second target subsidy is the subsidy of the aggregator to the user for participating in the primary frequency modulation, the first cost data includes the relevant cost of the user participating in the primary frequency modulation, the second cost data includes the relevant cost of the aggregator for the primary frequency modulation, and the target frequency modulation capacity is the total frequency modulation capacity increased by the user participating in the primary frequency modulation;

[0179] Step S202, constructing a target numerical model according to the historical frequency modulation response data, wherein the target numerical model is used to simulate the changing trend of the target revenue and the target frequency modulation capacity as a function of the ratio of the first target subsidy to the second target subsidy, wherein the target revenue is the sum of the revenues of the aggregator and the user;

[0180] Step S203, constructing an objective function according to the target numerical model, wherein the objective function is to maximize the target benefit and the target frequency regulation capacity;

[0181] Step S204, solving the objective function through a genetic algorithm to obtain a first target ratio, solving the objective function through a particle swarm algorithm to obtain a second target ratio, calculating a third target ratio based on the first target ratio and the second target ratio, determining the third target ratio as the ratio of the first target subsidy to the second target subsidy, and the first target ratio, the second target ratio and the third target ratio are the ratios of the first target subsidy to the second target subsidy.

[0182] An embodiment of the present invention provides a processor, which is used to run a program, wherein the subsidy control method for maximizing the primary frequency modulation capacity is executed when the program is running.

[0183] Specifically, subsidy regulation methods to maximize primary frequency regulation capacity include:

[0184] Step S201, obtaining historical frequency modulation response data, the historical frequency modulation response data including the first cost data, the second cost data and the target frequency modulation capacity corresponding to different ratios of the first target subsidy and the second target subsidy, the first target subsidy is the subsidy of the power grid company to the aggregator for participating in the primary frequency modulation, the second target subsidy is the subsidy of the aggregator to the user for participating in the primary frequency modulation, the first cost data includes the relevant cost of the user participating in the primary frequency modulation, the second cost data includes the relevant cost of the aggregator for the primary frequency modulation, and the target frequency modulation capacity is the total frequency modulation capacity increased by the user participating in the primary frequency modulation;

[0185] Step S202, constructing a target numerical model according to the historical frequency modulation response data, wherein the target numerical model is used to simulate the changing trend of the target revenue and the target frequency modulation capacity as a function of the ratio of the first target subsidy to the second target subsidy, wherein the target revenue is the sum of the revenues of the aggregator and the user;

[0186] Step S203, constructing an objective function according to the target numerical model, wherein the objective function is to maximize the target benefit and the target frequency regulation capacity;

[0187] Step S204, solving the objective function through a genetic algorithm to obtain a first target ratio, solving the objective function through a particle swarm algorithm to obtain a second target ratio, calculating a third target ratio based on the first target ratio and the second target ratio, determining the third target ratio as the ratio of the first target subsidy to the second target subsidy, and the first target ratio, the second target ratio and the third target ratio are the ratios of the first target subsidy to the second target subsidy.

[0188] An embodiment of the present invention provides a power grid system, the power grid system includes a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, at least the following steps are implemented:

[0189] Step S201, obtaining historical frequency modulation response data, the historical frequency modulation response data including the first cost data, the second cost data and the target frequency modulation capacity corresponding to different ratios of the first target subsidy and the second target subsidy, the first target subsidy is the subsidy of the power grid company to the aggregator for participating in the primary frequency modulation, the second target subsidy is the subsidy of the aggregator to the user for participating in the primary frequency modulation, the first cost data includes the relevant cost of the user participating in the primary frequency modulation, the second cost data includes the relevant cost of the aggregator for the primary frequency modulation, and the target frequency modulation capacity is the total frequency modulation capacity increased by the user participating in the primary frequency modulation;

[0190] Step S202, constructing a target numerical model according to the historical frequency modulation response data, wherein the target numerical model is used to simulate the changing trend of the target revenue and the target frequency modulation capacity as a function of the ratio of the first target subsidy to the second target subsidy, wherein the target revenue is the sum of the revenues of the aggregator and the user;

[0191] Step S203, constructing an objective function according to the target numerical model, wherein the objective function is to maximize the target benefit and the target frequency regulation capacity;

[0192] Step S204, solving the objective function through a genetic algorithm to obtain a first target ratio, solving the objective function through a particle swarm algorithm to obtain a second target ratio, calculating a third target ratio based on the first target ratio and the second target ratio, determining the third target ratio as the ratio of the first target subsidy to the second target subsidy, and the first target ratio, the second target ratio and the third target ratio are the ratios of the first target subsidy to the second target subsidy.

[0193] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:

[0194] Step S201, obtaining historical frequency modulation response data, the historical frequency modulation response data including the first cost data, the second cost data and the target frequency modulation capacity corresponding to different ratios of the first target subsidy and the second target subsidy, the first target subsidy is the subsidy of the power grid company to the aggregator for participating in the primary frequency modulation, the second target subsidy is the subsidy of the aggregator to the user for participating in the primary frequency modulation, the first cost data includes the relevant cost of the user participating in the primary frequency modulation, the second cost data includes the relevant cost of the aggregator for the primary frequency modulation, and the target frequency modulation capacity is the total frequency modulation capacity increased by the user participating in the primary frequency modulation;

[0195] Step S202, constructing a target numerical model according to the historical frequency modulation response data, wherein the target numerical model is used to simulate the changing trend of the target revenue and the target frequency modulation capacity as a function of the ratio of the first target subsidy to the second target subsidy, wherein the target revenue is the sum of the revenues of the aggregator and the user;

[0196] Step S203, constructing an objective function according to the target numerical model, wherein the objective function is to maximize the target benefit and the target frequency regulation capacity;

[0197] Step S204, solving the objective function through a genetic algorithm to obtain a first target ratio, solving the objective function through a particle swarm algorithm to obtain a second target ratio, calculating a third target ratio based on the first target ratio and the second target ratio, determining the third target ratio as the ratio of the first target subsidy to the second target subsidy, and the first target ratio, the second target ratio and the third target ratio are the ratios of the first target subsidy to the second target subsidy.

[0198] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0199] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0200] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0201] 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.

[0202] 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. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0203] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0204] 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.

[0205] 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 tapes, 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.

[0206] 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.

[0207] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:

[0208] 1) The subsidy control method for maximizing the primary frequency regulation capacity of the present application, first, obtain historical frequency regulation response data, the above-mentioned historical frequency regulation response data includes the first cost data, the second cost data and the target frequency regulation capacity corresponding to different ratios of the first target subsidy and the second target subsidy, the above-mentioned first target subsidy is the subsidy of the power grid company to the aggregator participating in the primary frequency regulation, the above-mentioned second target subsidy is the subsidy of the aggregator to the user participating in the primary frequency regulation, the above-mentioned first cost data includes the relevant cost of the above-mentioned user participating in the above-mentioned primary frequency regulation, the above-mentioned second cost data includes the relevant cost of the above-mentioned aggregator parameter primary frequency regulation, and the above-mentioned target frequency regulation capacity is the total frequency regulation capacity increased by the above-mentioned user participating in the primary frequency regulation; then, a target numerical model is constructed according to the above-mentioned historical frequency regulation response data, and the above-mentioned target numerical model is used to simulate the target income and the upper limit. The target frequency regulation capacity changes with the ratio of the first target subsidy to the second target subsidy, and the target revenue is the sum of the revenues of the aggregator and the user; then, an objective function is constructed according to the target numerical model, and the objective function is the maximum value of the target revenue and the maximum value of the target frequency regulation capacity; finally, the objective function is solved by a genetic algorithm to obtain a first target ratio, and the objective function is solved by a particle swarm algorithm to obtain a second target ratio, and a third target ratio is calculated according to the first target ratio and the second target ratio, and the third target ratio is determined as the ratio of the first target subsidy to the second target subsidy, and the first target ratio, the second target ratio and the third target ratio are the ratios of the first target subsidy to the second target subsidy. This application is based on the historical data of users and aggregators participating in primary frequency regulation, and constructs a numerical model to simulate the impact of different proportions of grid company subsidies occupied by users and aggregators participating in primary frequency regulation on primary frequency regulation capacity and total revenue. Based on the above numerical model, based on the impact of revenue on the enthusiasm of users and aggregators and the effect of primary frequency regulation, the maximum total revenue and the maximum target frequency regulation capacity are determined as objective functions to solve the numerical model, and the subsidy ratio between the aggregator and the user is obtained. This method solves the problem in the prior art that the grid company's incentive effect on primary frequency regulation is poor due to the chaotic distribution of subsidies between aggregators and users.

[0209] 2) The subsidy control device for maximizing the primary frequency regulation capacity of the present application, the acquisition unit acquires historical frequency regulation response data, the above-mentioned historical frequency regulation response data includes the first cost data, the second cost data and the target frequency regulation capacity corresponding to different ratios of the first target subsidy and the second target subsidy, the above-mentioned first target subsidy is the subsidy of the power grid company to the aggregator participating in the primary frequency regulation, the above-mentioned second target subsidy is the subsidy of the aggregator to the user participating in the primary frequency regulation, the above-mentioned first cost data includes the relevant cost of the above-mentioned user participating in the above-mentioned primary frequency regulation, the above-mentioned second cost data includes the relevant cost of the above-mentioned aggregator parameter primary frequency regulation, and the above-mentioned target frequency regulation capacity is the total frequency regulation capacity increased by the above-mentioned user participating in the primary frequency regulation; the first construction unit constructs a target numerical model according to the above-mentioned historical frequency regulation response data, and the above-mentioned target numerical model is used to simulate the target income and the upper limit. the target frequency modulation capacity changes with the ratio corresponding to the first target subsidy and the second target subsidy, the target benefit is the sum of the benefits of the aggregator and the user; the second construction unit constructs an objective function according to the target numerical model, the objective function is the maximum value of the target benefit and the maximum value of the target frequency modulation capacity; the calculation unit solves the objective function through a genetic algorithm to obtain a first target ratio, solves the objective function through a particle swarm algorithm to obtain a second target ratio, calculates a third target ratio according to the first target ratio and the second target ratio, determines the third target ratio as the ratio of the first target subsidy to the second target subsidy, and the first target ratio, the second target ratio and the third target ratio are the ratios of the first target subsidy to the second target subsidy. This application is based on the historical data of users and aggregators participating in primary frequency regulation, and constructs a numerical model to simulate the impact of different proportions of grid company subsidies occupied by users and aggregators participating in primary frequency regulation on primary frequency regulation capacity and total revenue. Based on the above numerical model, based on the impact of revenue on the enthusiasm of users and aggregators and the effect of primary frequency regulation, the maximum total revenue and the maximum target frequency regulation capacity are determined as objective functions to solve the numerical model, and the subsidy ratio between the aggregator and the user is obtained. This method solves the problem in the prior art that the grid company's incentive effect on primary frequency regulation is poor due to the chaotic distribution of subsidies between aggregators and users.

[0210] 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 subsidy control method for maximizing primary frequency regulation capacity, characterized in that: include: Acquire historical frequency modulation response data, the historical frequency modulation response data including first cost data, second cost data and target frequency modulation capacity corresponding to different ratios of the first target subsidy and the second target subsidy, the first target subsidy being the subsidy of the power grid company to the aggregator for participating in the primary frequency modulation, the second target subsidy being the subsidy of the aggregator to the user for participating in the primary frequency modulation, the first cost data including the relevant cost of the user participating in the primary frequency modulation, the second cost data including the relevant cost of the aggregator for the primary frequency modulation, and the target frequency modulation capacity being the total frequency modulation capacity increased by the user participating in the primary frequency modulation; constructing a target numerical model according to the historical frequency modulation response data, wherein the target numerical model is used to simulate the changing trend of the target revenue and the target frequency modulation capacity as a function of the ratio corresponding to the first target subsidy and the second target subsidy, wherein the target revenue is the sum of the revenues of the aggregator and the user; Constructing an objective function according to the target numerical model, wherein the objective function is to maximize the target benefit and the target frequency regulation capacity; The objective function is solved by a genetic algorithm to obtain a first target ratio, the objective function is solved by a particle swarm algorithm to obtain a second target ratio, a third target ratio is calculated based on the first target ratio and the second target ratio, the third target ratio is determined as the ratio of the first target subsidy to the second target subsidy, and the first target ratio, the second target ratio and the third target ratio are the ratios of the first target subsidy to the second target subsidy.

2. The method according to claim 1, characterized in that Constructing a target numerical model according to the historical frequency modulation response data includes: Determine the difference between the first target subsidy and the second target subsidy as the third target subsidy, and determine the corresponding ratio of the third target subsidy to the second target subsidy as the allocation ratio; A first objective function is obtained by fitting the allocation ratio and the first cost data, where the first objective function is used to characterize a change trend of the first cost data with respect to the allocation ratio; A second objective function is obtained by fitting the allocation ratio and the second cost data, where the second objective function is used to characterize a variation trend of the second cost data with the allocation ratio; A third objective function is obtained by fitting according to the allocation ratio and the first target subsidy, wherein the third objective function is used to characterize a changing trend of the first target subsidy with the allocation ratio; A fourth objective function is obtained by fitting according to the allocation ratio and the target frequency modulation capacity, wherein the fourth objective function is used to characterize a variation trend of the target frequency modulation capacity with the allocation ratio; Constructing a first target formula, a second target formula and a third target formula, wherein the first target formula is used to calculate a first benefit according to the third target subsidy and the second cost data, the second target formula is used to calculate a second benefit according to the second target subsidy and the first cost data, and the third target formula is used to calculate the target benefit according to the first benefit and the second benefit, wherein the first benefit is the net benefit of the aggregator participating in a frequency modulation, and the second benefit is the net benefit of the user participating in a frequency modulation; The first objective function, the second objective function, the third objective function, the fourth objective function, the first objective formula, the second objective formula and the third objective formula are combined to obtain the target numerical model.

3. The method according to claim 2, characterized in that The first objective function is obtained by fitting the allocation ratio and the first cost data, including: Determine a target number according to the historical frequency modulation response data, wherein the target number is the total number of the users participating in a frequency modulation; A fifth objective function is obtained by fitting the allocation ratio and the target quantity, wherein the fifth objective function is used to characterize a variation trend of the target quantity with the allocation ratio; Determine the user's travel cost, travel impact cost and user's charging cost according to the first cost data; A sixth objective function, a seventh objective function and an eighth objective function are respectively fitted according to the target number and the user travel cost, the target number and the travel impact cost, and the target number and the user charging cost, wherein the sixth objective function is used to characterize the changing trend of the user travel cost with the target number, the seventh objective function is used to characterize the changing trend of the travel impact cost with the target number, and the eighth objective function is used to characterize the changing trend of the user charging cost with the target number; Constructing a fourth target formula, wherein the fourth target formula is used to calculate the first cost data according to the user travel cost, the travel impact cost and the user charging cost; The first objective function is obtained by fitting according to the fifth objective function, the sixth objective function, the seventh objective function, the eighth objective function and the fourth objective formula.

4. The method according to claim 3, characterized in that The second objective function is obtained by fitting the allocation ratio and the second cost data, including: Determine the charging service cost and the charging electricity price cost according to the second cost data; A ninth objective function and a tenth objective function are obtained by fitting the target quantity and the charging service cost and the target quantity and the charging electricity price cost, respectively, wherein the ninth objective function is used to characterize the changing trend of the charging service cost with the target quantity, and the tenth objective function is used to characterize the changing trend of the charging electricity price cost with the target quantity; constructing a fifth target formula, wherein the fifth target formula is used to calculate the second cost data according to the charging service cost and the charging electricity price cost; The first objective function is obtained by fitting according to the fifth objective function, the ninth objective function, the tenth objective function and the fifth objective formula.

5. The method according to claim 3, characterized in that: A third objective function is obtained by fitting according to the allocation ratio and the first target subsidy, including: An eleventh objective function is obtained by fitting the target quantity and the first target subsidy, where the eleventh objective function is used to characterize a changing trend of the first target subsidy with the target quantity; The third objective function is obtained by fitting the fifth objective function and the eleventh objective function.

6. The method according to claim 3, characterized in that A fourth objective function is obtained by fitting according to the allocation ratio and the target frequency modulation capacity, including: A twelfth objective function is obtained by fitting according to the target quantity and the target frequency modulation capacity, wherein the twelfth objective function is used to characterize a variation trend of the target frequency modulation capacity with the target quantity; The fourth objective function is obtained by fitting the fifth objective function and the twelfth objective function.

7. The method according to claim 2, characterized in that After constructing the objective function according to the objective numerical model, the method further comprises: Determining that both the second target subsidy and the third target subsidy are not zero as a first constraint condition of the objective function; Determining that the target frequency modulation capacity is greater than or equal to a first threshold as a second constraint condition of the objective function; Determining that the first target subsidy is greater than or equal to a second threshold is a third constraint condition of the objective function.

8. A subsidy modulation control device for maximizing primary frequency modulation capacity, characterized in that: The device comprises: an acquisition unit, configured to acquire historical frequency modulation response data, wherein the historical frequency modulation response data includes first cost data, second cost data, and target frequency modulation capacity corresponding to different ratios of a first target subsidy and a second target subsidy, wherein the first target subsidy is a subsidy from a power grid company to an aggregator for participating in a primary frequency modulation, and the second target subsidy is a subsidy from an aggregator to a user for participating in a primary frequency modulation, the first cost data includes relevant costs of the user participating in the primary frequency modulation, the second cost data includes relevant costs of the aggregator for a primary frequency modulation, and the target frequency modulation capacity is a total frequency modulation capacity increased by the user participating in a primary frequency modulation; a first construction unit, configured to construct a target numerical model according to the historical frequency modulation response data, wherein the target numerical model is used to simulate a change trend of a target revenue and a target frequency modulation capacity as a function of a ratio corresponding to the first target subsidy and the second target subsidy, wherein the target revenue is the sum of the revenues of the aggregator and the user; A second construction unit is used to construct an objective function according to the target numerical model, wherein the objective function is to maximize the target benefit and the target frequency regulation capacity; a calculation unit, configured to solve the objective function by a genetic algorithm to obtain a first target ratio, solve the objective function by a particle swarm algorithm to obtain a second target ratio, calculate a third target ratio according to the first target ratio and the second target ratio, determine the third target ratio as the ratio of the first target subsidy to the second target subsidy, and the first target ratio, the second target ratio and the third target ratio are the ratios of the first target subsidy to the second target subsidy.

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 power grid 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

Patent Citations

  • Power demand response incentive subsidy measuring and calculating method and device based on master-slave game

    CN113902294A

  • Virtual power plant scheduling method based on shared energy storage

    CN115498705A

  • Cooperative regulation and control method and device for third-party energy storage and electronic equipment

    CN116451930A

  • Control method and device of photovoltaic inverter

    CN118316126A