Method for united clearing of electric energy and frequency modulation auxiliary service market with participation of energy storage

By proposing a joint clearing method for electric energy and frequency modulation auxiliary service market in the new power system, using frequency modulation capacity constraints and energy storage constraints, the problem of insufficient power balance and frequency modulation capabilities in the power system is solved, and the effectiveness of energy storage SOC and the stability of the power system are realized.

CN120198160AActive Publication Date: 2025-06-24BEIJING QU CREATIVE TECH CO LTD

Patent Information

Application Number
CN202510678524.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-26
Publication Date
2025-06-24
Estimated Expiration
2045-05-26

AI Technical Summary

Technical Problem

The uncertainty on the power generation side and demand side in the new power system has increased, resulting in difficulty in balancing power, insufficient frequency regulation capacity, and increased costs, which affects the safe operation of the system.

Method used

A joint cleaning method for electric energy and frequency modulation auxiliary service market is proposed. By obtaining the system operation data of the target power grid and unit load data, the model objective function and model constraints are constructed, including frequency modulation capacity constraints and energy storage constraints, the joint cleaning model of electric energy and frequency modulation auxiliary service market is generated, and the capacity safety verification is carried out until the target cleaning result is passed.

Benefits of technology

This method can take into account the impact of the output plan of the electricity energy market and the auxiliary service action on the energy storage SOC, ensure the effectiveness of the energy storage SOC, and enable the energy storage to have sufficient SOC during the bid period of the electricity energy market and the auxiliary service market to provide corresponding services, while preventing the impact on the stability of the power system and improving the feasibility of the output results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120198160A_ABST
    Figure CN120198160A_ABST
Patent Text Reader

Abstract

The invention provides an energy storage participation electric energy and frequency modulation auxiliary service market joint clearing method. The method comprises the steps that system operation data and unit load data are acquired; constructing a model objective function and a model constraint; constructing an electric energy and frequency modulation auxiliary service market joint clearing model based on the model objective function and the model constraint; performing capacity safety check on the electric energy and frequency modulation auxiliary service market combined clearing model, and adjusting the combined clearing model based on a check result to generate an adjusted combined clearing model; and repeating the steps until the verification is passed, and outputting clearing results of the electric energy market and the frequency modulation auxiliary service market. The frequency modulation capacity constraint and the energy storage constraint are added into the combined clearing model, the influence of the output plan of the electric energy market and the frequency modulation auxiliary service action on the energy storage SOC can be considered, the execution effectiveness of the energy storage SOC is ensured, meanwhile, the influence on the stability of the power system can be prevented through capacity safety checking, and the feasibility of the output result is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of power systems, and in particular to a method for jointly clearing energy storage in the electricity energy and frequency regulation ancillary service markets. Background Art

[0002] Under the background of the construction of the new power system in China, new types of entities such as wind and solar new energy, electric vehicles, distributed energy, and demand response are connected to the grid on a large scale. Compared with traditional power systems, the uncertainty on the power generation side and the demand side in current technologies is increasing continuously, which in turn affects the power balance and complicates the operation of the power system. For example, as the frequency and amplitude of the fluctuations and uncertainties of the net load gradually increase, the burden of system frequency regulation will be aggravated. Frequent invocation of frequency regulation capabilities will lead to insufficient frequency regulation energy and increased frequency regulation costs, thus affecting the system's ability to meet the safety operation standards. New energy storage technologies represented by electrochemical energy storage have the advantages of short construction period, fast response speed, high regulation accuracy, etc. In addition to playing the role of "peak shaving and valley filling", energy storage can also provide various ancillary services such as frequency regulation, standby, and ramping, and the functions and values in relevant foreign application fields have been verified by practice. It is an ideal regulation means for power systems. Under this background, actively promoting the participation of flexible resources such as energy storage in the ancillary service market and enhancing the regulation ability of the system are of great significance for ensuring the construction of the new power system in China. Summary of the Invention

[0003] The present disclosure aims to solve at least one of the technical problems in the related technologies to some extent.

[0004] To this end, an object of the present disclosure is to propose a method for jointly clearing electricity energy and frequency regulation ancillary service markets.

[0005] A second object of the present disclosure is to propose a device for jointly clearing electricity energy and frequency regulation ancillary service markets.

[0006] A third object of the present disclosure is to propose an electronic device.

[0007] A fourth object of the present disclosure is to propose a non-transitory computer-readable storage medium.

[0008] A fifth object of the present disclosure is to propose a computer program product.

[0009] To achieve the above object, an embodiment of the first aspect of the present disclosure provides a method for jointly clearing the electricity energy and frequency regulation ancillary service market, including: obtaining the system operation data and unit load data of the target power grid, where the system operation data at least includes the frequency regulation mileage coefficient of the generating unit and the frequency regulation mileage coefficient of the energy storage trading unit; constructing the model objective function and model constraints of the target power grid based on the system operation data and the unit load data, where the model constraints at least include the frequency regulation capacity constraint and the energy storage constraint; constructing the joint clearing model of the electricity energy and frequency regulation ancillary service market of the target power grid based on the model objective function and the model constraints; performing capacity safety verification on the clearing result of the joint clearing model of the electricity energy and frequency regulation ancillary service market, and in response to the clearing result not passing the capacity safety verification, adjusting the joint clearing model of the electricity energy and frequency regulation ancillary service market to generate an adjusted joint clearing model of the electricity energy and frequency regulation ancillary service market; repeating the above steps of performing capacity safety verification on the joint clearing model of the electricity energy and frequency regulation ancillary service market and its subsequent steps until the capacity safety verification passes, and outputting the target clearing result.

[0010] According to an embodiment of the present disclosure, the model objective function is: where h is the clearing result, N is the total number of generating units, T is the total number of time periods, is the electricity energy power of generating unit i at time period t, is the operating cost of generating unit i at time period t, ES is the total number of energy storage trading units, and are the charging and discharging powers of the energy storage trading unit at time period t respectively, is the frequency regulation power of generating unit i at time period t, is the frequency regulation capacity quotation of generating unit i, is the frequency regulation mileage quotation of generating unit i, is the frequency regulation mileage coefficient of generating unit i, is the frequency regulation opportunity cost quotation of unit i, is the frequency regulation power of the energy storage trading unit at time period t, is the frequency regulation capacity quotation of the energy storage trading unit, is the frequency regulation mileage quotation of the energy storage trading unit, is the frequency regulation mileage coefficient of the energy storage trading unit, is the frequency regulation opportunity cost quotation of the energy storage trading unit.

[0011] According to an embodiment of the present disclosure, the capacity security check of the clearing result of the combined clearing model for electric energy and frequency regulation ancillary service market includes: obtaining branch power flow constraints, section power flow constraints, and transferability constraints for frequency regulation capacity invocation; determining branch power flow output data, outage power flow output data, and transferability data for frequency regulation capacity invocation based on the clearing result; and determining that the clearing result passes the capacity security check in response to the branch power flow output data being within the branch power flow constraints, the outage power flow output data being within the section power flow constraints, and the transferability data for frequency regulation capacity invocation being within the transferability constraints for frequency regulation capacity invocation.

[0012] According to an embodiment of the present disclosure, constructing the transferability constraints for frequency regulation capacity invocation includes: for any branch of the target power grid, constructing branch power flow correction constraints and section power flow correction constraints for the branch after the successful bid frequency regulation capacity of the unit and energy storage power station is invoked; and constructing the transferability constraints for frequency regulation capacity invocation based on the branch power flow correction constraints and the section power flow correction constraints.

[0013] According to an embodiment of the present disclosure, constructing the frequency regulation capacity constraints includes: obtaining frequency regulation capacity data, frequency regulation declared capacity, and winning bid capacity ratio of the target power grid; constructing minimum frequency regulation capacity constraints based on the frequency regulation capacity data, frequency regulation declared capacity upper limit constraints based on the frequency regulation declared capacity, and energy storage frequency regulation winning bid capacity upper limit constraints based on the winning bid capacity ratio; and constructing the frequency regulation capacity constraints based on the minimum frequency regulation capacity constraints, the frequency regulation declared capacity upper limit constraints, and the energy storage frequency regulation winning bid capacity upper limit constraints.

[0014] According to an embodiment of the present disclosure, constructing the energy storage constraints includes: obtaining energy storage charge and discharge power data, electric energy charge / discharge and frequency regulation action data, energy storage operation day start data, energy storage operation day end data, and energy storage charge and discharge cycle number data of the target power grid; constructing energy storage charge and discharge power constraints based on the energy storage charge and discharge power data of the target power grid, energy storage state of charge and charge / discharge constraints based on the electric energy charge / discharge and frequency regulation action data, energy storage operation day start and end state of charge constraints based on the energy storage operation day start data and the energy storage operation day end data, and energy storage charge and discharge cycle number constraints based on the energy storage charge and discharge cycle number data; and constructing the energy storage constraints based on the energy storage charge and discharge power constraints, the energy storage state of charge and charge / discharge constraints, the energy storage operation day start and end state of charge constraints, and the energy storage charge and discharge cycle number constraints.

[0015] According to an embodiment of the present disclosure, constructing the state of charge and charge-discharge constraints of the energy storage based on the charge-discharge and frequency regulation operation data of the stored electrical energy includes: constructing the upward frequency regulation magnification factor and the downward frequency regulation magnification factor of the energy storage trading unit in each period; calculating the state of charge value based on the upward frequency regulation magnification factor and the downward frequency regulation magnification factor; and constructing the state of charge and charge-discharge constraints of the energy storage based on the state of charge value.

[0016] To achieve the above object, an embodiment of the second aspect of the present disclosure provides a combined clearing device for electrical energy and frequency regulation ancillary service market, including: an acquisition module, configured to acquire the system operation data and unit load data of a target power grid, where the system operation data at least includes the frequency regulation mileage coefficient of a generator set and the frequency regulation mileage coefficient of an energy storage trading unit; a generation module, configured to construct a model objective function and model constraints of the target power grid based on the system operation data and the unit load data, where the model constraints at least include frequency regulation capacity constraints and energy storage constraints; a establishment module, configured to construct a combined clearing model for the electrical energy and frequency regulation ancillary service market of the target power grid based on the model objective function and the model constraints; a verification module, configured to perform capacity safety verification on the clearing result of the combined clearing model for the electrical energy and frequency regulation ancillary service market, and in response to the clearing result failing to pass the capacity safety verification, adjust the combined clearing model for the electrical energy and frequency regulation ancillary service market to generate an adjusted combined clearing model for the electrical energy and frequency regulation ancillary service market; and an output module, configured to repeat the above steps of performing capacity safety verification on the combined clearing model for the electrical energy and frequency regulation ancillary service market and subsequent steps until the capacity safety verification passes, and output a target clearing result.

[0017] To achieve the above object, an embodiment of the third aspect of the present disclosure provides an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; where the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to implement the combined clearing method for the electrical energy and frequency regulation ancillary service market as described in the embodiment of the first aspect of the present disclosure.

[0018] To achieve the above object, an embodiment of the fourth aspect of the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to implement the combined clearing method for the electrical energy and frequency regulation ancillary service market as described in the embodiment of the first aspect of the present disclosure.

[0019] To achieve the above object, an embodiment of the fifth aspect of the present disclosure provides a computer program product, including a computer program, where the computer program is used to implement the combined clearing method for the electrical energy and frequency regulation ancillary service market as described in the embodiment of the first aspect of the present disclosure when executed by a processor.

[0020] Therefore, compared with the joint clearing model of electric energy and frequency regulation ancillary service market in the current technology, the target electric energy and frequency regulation ancillary service market joint clearing model generated in the embodiments of the present disclosure adds frequency regulation capacity constraints and energy storage constraints, which can take into account the impact of the output plan of the electric energy market and the operation of the frequency regulation ancillary service on the SOC of the energy storage, ensure the effectiveness of the execution of the energy storage SOC, enable the energy storage to have sufficient SOC during the winning bid period in the electric energy market and the ancillary service market to provide corresponding services, and at the same time, through capacity safety verification, it can prevent the impact on the stability of the power system and improve the feasibility of the output results. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 is a schematic diagram of a method for jointly clearing the electric energy and frequency regulation ancillary service market according to an embodiment of the present disclosure; Figure 2 is a schematic diagram of another method for jointly clearing the electric energy and frequency regulation ancillary service market according to an embodiment of the present disclosure; Figure 3 is a schematic diagram of another method for jointly clearing the electric energy and frequency regulation ancillary service market according to an embodiment of the present disclosure; Figure 4 is a schematic diagram of another method for jointly clearing the electric energy and frequency regulation ancillary service market according to an embodiment of the present disclosure; Figure 5 is a schematic diagram of a device for jointly clearing the electric energy and frequency regulation ancillary service market according to an embodiment of the present disclosure; Figure 6 is a schematic diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0022] The embodiments of the present disclosure will be described in detail below. The examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the present disclosure, but should not be construed as limiting the present disclosure.

[0023] In the technical solution of the present disclosure, the acquisition, storage, use, processing, etc. of data all comply with the relevant regulations of relevant laws and regulations.

[0024] It should be noted that in the embodiments of the present application, some industry-existing solutions such as certain software, components, models, etc. may be mentioned. They should be regarded as exemplary. The purpose is only to illustrate the feasibility in the implementation of the technical solution of the present application, but it does not mean that the applicant has already or necessarily used this solution.

[0025] Figure 1It is a schematic diagram of a combined clearing method for electric energy and frequency regulation ancillary service market in an embodiment of the present disclosure. As Figure 1 shown, the combined clearing method for electric energy and frequency regulation ancillary service market includes the following steps: S101, obtaining the system operation data and unit load data of the target power grid, where the system operation data at least includes the frequency regulation mileage coefficient of the generator set and the frequency regulation mileage coefficient of the energy storage trading unit.

[0026] The combined clearing method for electric energy and frequency regulation ancillary service market in the embodiment of the present application can be applied to the scenario where energy storage participates in ancillary services in the power market. The execution subject of the combined clearing of electric energy and frequency regulation ancillary service market in the embodiment of the present application can be the combined clearing device for electric energy and frequency regulation ancillary service market in the embodiment of the present application, and the combined clearing device for electric energy and frequency regulation ancillary service market can be set on an electronic device.

[0027] It should be noted that the frequency regulation mileage coefficient is an important parameter in the power system for evaluating the provision of Automatic Generation Control (AGC) services, especially frequency regulation services, by generator sets or energy storage systems. It reflects the frequency regulation mileage that the device can provide under unit capacity, that is, the total adjustment amount (accumulated power change) that the device performs to maintain the power grid frequency stable within a certain period of time.

[0028] In the embodiment of the present disclosure, the frequency regulation mileage coefficient of the generator set can calculate the frequency regulation mileage corresponding to the unit capacity of the generator set according to historical mileage data. The frequency regulation mileage coefficient of the energy storage trading unit can calculate the frequency regulation mileage corresponding to the unit capacity of the energy storage trading unit according to historical mileage data. The quotation based on the mileage coefficient can optimize the overall frequency regulation mileage cost of the system and ensure the safe and reasonable invocation of the frequency regulation mileage.

[0029] In the embodiment of the present disclosure, the system operation data of the target power grid can include various types in addition to the frequency regulation mileage coefficient of the generator set and the frequency regulation mileage coefficient of the energy storage trading unit, and can be specifically defined according to actual design needs, and no limitation is made here. For example, the system operation data of the target power grid can include power generation data, load data, transmission network data, market transaction data, environmental monitoring data, etc.

[0030] The unit load data of the target power grid can include various types, and can be specifically set according to actual design needs, and no limitation is made here. For example, the unit load data can include basic information of the generator set, real-time operation parameters, dispatching and planning data, performance indicators, and maintenance and status information, etc.

[0031] In the embodiment of the present disclosure, the method for obtaining the system operation data and unit load data of the target power grid can be various, and no limitation is made here.

[0032] Optionally, it can be obtained through the power grid dispatching center or the operating agency.

[0033] Optionally, it can also be obtained through the power market trading platform.

[0034] Optionally, it can also be obtained through a third-party data service provider.

[0035] Optionally, it can also be obtained through numerical simulation and emulation.

[0036] S102. Construct the model objective function and model constraints of the target power grid based on the system operation data and unit load data, where the model constraints at least include the frequency regulation capacity constraint and the energy storage constraint.

[0037] In the embodiment of the present disclosure, the model objective function can be set according to actual design requirements and is not limited herein.

[0038] In a possible implementation manner, on the basis of meeting conditions such as power and energy balance and power grid security constraints, the total operating cost of electric energy and the total frequency regulation cost of the generating units are minimized as the objective, where the total operating cost of electric energy includes the operating cost of the units and the charging and discharging operating cost of the energy storage, and the total frequency regulation cost includes the capacity cost, mileage cost, and opportunity cost of the frequency regulation resources. By summing up for each time period and unit respectively, the electric energy output, frequency regulation capacity, etc. data of the generating units and energy storage for the next day are determined.

[0039] The objective function of the joint clearing model of the day-ahead electric energy-frequency regulation ancillary service market including energy storage participation is as follows:

[0040] In the formula, h is the clearing result, N represents the total number of generating units; T represents the total number of time periods considered, where there is one time period every 15 minutes in day D, and 96 time periods are considered; represents the electric energy power of generating unit i in time period t; represents the operating cost of generating unit i in time period t; ES represents the total number of energy storage trading units; , respectively represent the charging and discharging power of energy storage es in time period t; is the frequency regulation power of generating unit i in time period t, is the frequency regulation capacity bid of generating unit i, is the frequency regulation mileage bid of generating unit i, is the frequency regulation mileage coefficient of generating unit i (the frequency regulation mileage corresponding to the unit capacity of unit i is calculated based on historical mileage data), is the frequency regulation opportunity cost bid of unit i; is the frequency regulation power of the energy storage ES at time period t, is the frequency regulation capacity quotation of the energy storage ES, is the frequency regulation mileage quotation of the energy storage ES, is the frequency regulation mileage coefficient of the energy storage ES (the frequency regulation mileage corresponding to the unit capacity of the energy storage ES is calculated based on historical mileage data), is the frequency regulation opportunity cost quotation of the energy storage ES. In the embodiments of the present disclosure, the frequency regulation mileage coefficient of the generator set and the energy storage is used for the frequency regulation mileage quotation.

[0041] The joint clearing model of the electric energy and frequency regulation ancillary service market in the embodiments of the present disclosure may include various model constraints, which are not limited herein. Compared with the joint clearing model of the electric energy and frequency regulation ancillary service market in the current technology, the joint clearing model of the electric energy and frequency regulation ancillary service market in the present disclosure adds frequency regulation capacity constraints and energy storage constraints. Thus, compared with the joint clearing model of the electric energy and frequency regulation ancillary service market in the current technology, the prediction model in the present disclosure can take into account the influence of the output plan of the electric energy market and the actions of the frequency regulation ancillary service on the state of charge (SOC) of the energy storage, ensure the effectiveness of the execution of the energy storage SOC, and enable the energy storage to have sufficient SOC during the winning bid period in the electric energy market and the ancillary service market to provide corresponding services.

[0042] S103. Construct a joint clearing model of the electric energy and frequency regulation ancillary service market for the target power grid based on the model objective function and model constraints.

[0043] S104. Perform capacity safety verification on the clearing result of the joint clearing model of the electric energy and frequency regulation ancillary service market. In response to the clearing result not passing the capacity safety verification, adjust the joint clearing model of the electric energy and frequency regulation ancillary service market to generate an adjusted joint clearing model of the electric energy and frequency regulation ancillary service market.

[0044] In the embodiments of the present disclosure, since the clearing result of the frequency regulation market needs to meet requirements such as power system stability constraints to avoid power flow congestion in the transmission branches or sections of the system. Therefore, it is necessary to perform capacity safety verification on the joint clearing result on the basis of the electric energy - frequency regulation ancillary service joint clearing to determine whether the clearing result output by the joint clearing model of the electric energy and frequency regulation ancillary service market will cause power flow over - limits in the lines and sections.

[0045] In the embodiments of the present disclosure, the capacity safety verification can be performed according to the verification conditions, which are designed in advance and can be changed according to the actual grid demand or power system parameters. For example, the verification conditions can be set or changed according to the branch power flow limit conditions, and can also be set or changed according to the limit conditions of the key sections, etc.

[0046] When the combined clearing model of electric energy and frequency regulation ancillary service market fails the capacity security check, it can be considered that the results output by the combined clearing model of electric energy and frequency regulation ancillary service market will affect the stability of the power system, and there is a risk of power flow congestion in the system transmission branch or section. Therefore, it is necessary to adjust the combined clearing model of electric energy and frequency regulation ancillary service market. This can ensure the feasibility of the output results of the combined clearing model of electric energy and frequency regulation ancillary service market.

[0047] S105. Repeat the above steps of performing capacity security check on the combined clearing model of electric energy and frequency regulation ancillary service market and its subsequent steps until the capacity security check passes, and output the target clearing result.

[0048] It should be noted that the target combined clearing model of electric energy and frequency regulation ancillary service market in this embodiment of the present disclosure can output various data, which are not limited here. Specifically, the model can be changed according to actual design needs. For example, the combined clearing model of electric energy and frequency regulation ancillary service market can output clearing bids, etc.

[0049] In this embodiment of the present disclosure, first, obtain the system operation data and unit load data of the target power grid, and then construct the model objective function and model constraints of the target power grid based on the system operation data and unit load data. Among them, the model constraints at least include frequency regulation capacity constraints and energy storage constraints. Then, construct the combined clearing model of electric energy and frequency regulation ancillary service market of the target power grid based on the model objective function and model constraints. After that, perform a capacity security check on the combined clearing model of electric energy and frequency regulation ancillary service market. In response to the combined clearing model of electric energy and frequency regulation ancillary service market failing the capacity security check, adjust the combined clearing model of electric energy and frequency regulation ancillary service market to generate an adjusted combined clearing model of electric energy and frequency regulation ancillary service market. Finally, repeat the above steps of performing capacity security check on the combined clearing model of electric energy and frequency regulation ancillary service market and its subsequent steps until the capacity security check passes, and output the target combined clearing model of electric energy and frequency regulation ancillary service market. Thus, compared with the combined clearing model of electric energy and frequency regulation ancillary service market in the current technology, the target combined clearing model of electric energy and frequency regulation ancillary service market generated in this embodiment of the present disclosure adds frequency regulation capacity constraints and energy storage constraints, which can take into account the impact of the output plan of the electric energy market and the operation of frequency regulation ancillary services on the SOC of the energy storage, ensure the effectiveness of the execution of the energy storage SOC, enable the energy storage to have sufficient SOC during the winning bid period in the electric energy market and ancillary service market to provide corresponding services, and at the same time, through the capacity security check, it can prevent affecting the stability of the power system and improve the feasibility of the output results.

[0050] In addition to the frequency regulation capacity constraints and energy storage constraints, the model constraints in the above embodiments can also include various types, which are not limited here. For example, it can include multiple or all of the constraints (1)-(9): (1) System load balance constraint. For each time period t, the load balance constraint is described as:

[0051] Wherein, represents the planned power of tie line j in time period t (positive for power input and negative for power output), NT represents the total number of tie lines, represents the system load in time period t.

[0052] (2) System positive reserve capacity constraint. It is necessary to ensure that the total on-line capacity per day meets the minimum reserve capacity of the system. This constraint can be described as:

[0053] Wherein, is the start-stop status of unit i in time period t, is the maximum electrical energy output of unit i in time period t, is the system positive reserve capacity requirement in time period t.

[0054] (3) System negative reserve capacity constraint. The system negative reserve capacity constraint can be described as:

[0055] Wherein, is the minimum electrical energy output of unit i in time period t; is the system negative reserve capacity requirement in time period t.

[0056] (4) System spinning reserve constraint. The sum of the upward regulation capabilities and the sum of the downward regulation capabilities of the unit outputs in each time period need to meet the actual operation's upward and downward spinning reserve requirements.

[0057]

[0058]

[0059] Wherein, is the maximum upward ramp rate of unit i, and is the maximum downward ramp rate of unit i; and are the upward and downward spinning reserve requirements in time period t, respectively.

[0060] (5) Unit output upper and lower limit constraints. The output of the unit should be within its maximum / minimum output range, and its constraint conditions can be described as:

[0061] Wherein, and respectively represent the maximum and minimum technical output of unit i in period t.

[0062] (6) Unit ramp rate constraint. When a unit ramps up or down, the ramp rate requirement should be met. The constraint can be described as:

[0063]

[0064] In the formula, is the maximum up-ramp rate of unit i, is the maximum down-ramp rate of unit i.

[0065] (7) Minimum continuous on / off time constraint of unit. Due to the physical properties and actual operation requirements of thermal power units, thermal power units are required to meet the minimum continuous on / off time. The constraint can be described as:

[0066]

[0067] In the formula, and are the minimum continuous operation time and minimum continuous shutdown time of the unit; and are the time that unit i has been continuously in operation and the time that unit i has been continuously shut down at time t in period t, which can be represented by the state variable as follows: ,

[0068] (8) Maximum start / stop times constraint of unit. First, define the switching variable for start and stop. Define to represent whether unit i switches to the shutdown state at time t in period t, and it satisfies the following conditions:

[0069] (9) Output constraint of new energy power station. The constraint is described as follows:

[0070] In the formula, E is the set of new energy power stations, is the predicted output of new energy power station i at time t in period t. That is, the day-ahead market output of the new energy power station should be less than the predicted value of the output of the new energy power station.

[0071] In the above embodiments, for the clearing result of the combined clearing model of electric energy and frequency regulation ancillary service market, capacity safety verification can also be carried out through Figure 2 for further explanation. The method includes: S201. Obtain the branch power flow constraint, section power flow constraint, and transferability constraint for the frequency regulation capacity call.

[0072] In the embodiments of the present disclosure, to construct the branch power flow constraint, for any branch of the target power grid, first obtain the power flow transmission limit value of the branch, the generator output power transfer distribution factor, the generator output power transfer distribution factor, the generator output power transfer distribution factor, the number of nodes, the generator output power transfer distribution factor, the bus load value, and the forward and reverse power flow relaxation variables of the branch. Then, based on the power flow transmission limit value, the generator output power transfer distribution factor, the generator output power transfer distribution factor, the generator output power transfer distribution factor, the number of nodes, the generator output power transfer distribution factor, the bus load value, and the forward and reverse power flow relaxation variables, construct the branch power flow constraint after the successful bid for the frequency regulation capacity of the unit and the energy storage power station is called.

[0073] In a possible implementation manner, consider the power flow constraint of the main branch, which can be described as:

[0074] Where, and are respectively the power flow transmission limits of branch l; is the generator output power transfer distribution factor of the node where unit i is located to branch l; is the generator output power transfer distribution factor of the node where tie line j is located to branch l; represents the generator output power transfer distribution factor of the node where the independent energy storage es is located to line l; K is the number of nodes in the system; is the generator output power transfer distribution factor of node k to branch l; is the bus load value of node k at time t. and are respectively the forward and reverse power flow relaxation variables of branch l.

[0075] In the embodiments of the present disclosure, to construct the section power flow constraint, for any key section of the target power grid, first obtain the power flow transmission limit of the key section, the generator output power transfer distribution factor, the generator output power transfer distribution factor, the generator output power transfer distribution factor, the generator output power transfer distribution factor, and the forward and reverse power flow relaxation variables. Then, based on the power flow transmission limit, the generator output power transfer distribution factor, the generator output power transfer distribution factor, the generator output power transfer distribution factor, the generator output power transfer distribution factor, and the forward and reverse power flow relaxation variables, construct the section power flow constraint of the key section.

[0076] In a possible implementation manner, considering the power flow constraint of the critical section, this constraint can be described as:

[0077] In the formula, and respectively represent the power flow transfer limits of section s; represents the generator output power transfer distribution factor of the node where unit i is located with respect to section sec; represents the generator output power transfer distribution factor of the node where the independent energy storage es is located with respect to section sec; represents the generator output power transfer distribution factor of the node where tie line j is located with respect to section sec; represents the generator output power transfer distribution factor of node k with respect to section sec. and respectively represent the positive and negative power flow relaxation variables of section sec.

[0078] In the embodiments of the present disclosure, to construct the frequency modulation capacity call transferability constraint, first, for any branch of the target power grid, construct the branch power flow correction constraint and section power flow correction constraint after the successful bid for frequency modulation capacity call of the unit and the energy storage power station, and then construct the frequency modulation capacity call transferability constraint based on the branch power flow correction constraint and the section power flow correction constraint.

[0079] In a possible implementation manner, considering the system power flow constraints after the successful bid for frequency modulation capacity call of the unit and the energy storage power station, including branch power flow constraints and section power flow constraints, they can be respectively described as:

[0080]

[0081] In the actual frequency modulation capacity call verification process, it is mainly divided into two categories: one is to perform overall frequency modulation capacity call verification, that is, verify the successful bid for frequency modulation capacity of all units and energy storage, to ensure that the overall clearing result does not cause power flow over-limit of lines and sections. The other is to perform individual frequency modulation capacity call verification, that is, select high-sensitivity units and energy storage within the nodes with larger transfer distribution factors for safety verification of frequency modulation capacity, to ensure that the clearing results of the corresponding units and energy storage do not cause power flow over-limit of lines and sections.

[0082] S202. Determine the branch power flow output data, breaker power flow output data, and frequency modulation capacity call transferability data based on the clearing result.

[0083] S203. When the branch power flow output data is within the branch power flow constraint range, the section power flow output data is within the section power flow constraint range, and the frequency regulation capacity call transferability data is within the frequency regulation capacity call transferability constraint range, it is determined that the clearing result passes the capacity security check.

[0084] In the embodiments of the present disclosure, first, the branch power flow constraint, the section power flow constraint, and the frequency regulation capacity call transferability constraint are obtained. Then, based on the joint clearing model of electric energy and frequency regulation ancillary service market, the branch power flow output data, the section power flow output data, and the frequency regulation capacity call transferability data are determined. Finally, when the branch power flow output data is within the branch power flow constraint range, the section power flow output data is within the section power flow constraint range, and the frequency regulation capacity call transferability data is within the frequency regulation capacity call transferability constraint range, it is determined that the clearing result passes the capacity security check. By comprehensively considering the branch power flow, the section power flow, and the frequency regulation capacity call, it is ensured that the joint clearing model of electric energy and frequency regulation ancillary service market can not only meet various physical and technical constraint conditions, but also achieve efficient resource allocation and optimal scheduling. This not only improves the security and stability of the power grid, but also enhances the adaptability and robustness of the system, providing strong support for the intelligent management of the power grid.

[0085] In the above embodiments, to construct the frequency regulation capacity constraint, it can also be through Figure 3 For further explanation, the method includes: S301. Obtain the frequency regulation capacity data, the frequency regulation declared capacity, and the winning bid capacity ratio of the target power grid.

[0086] It should be noted that the method for obtaining the frequency regulation capacity data, the frequency regulation declared capacity, and the winning bid capacity ratio of the target power grid can refer to the steps of obtaining the system operation data and the unit load data of the target power grid in the above embodiments, which will not be elaborated here.

[0087] S302. Based on the frequency regulation capacity data, construct the minimum frequency regulation capacity constraint, based on the frequency regulation declared capacity, construct the upper limit constraint of the frequency regulation declared capacity, and based on the winning bid capacity ratio, construct the upper limit constraint of the energy storage frequency regulation winning bid capacity.

[0088] In the embodiments of the present disclosure, the minimum frequency regulation capacity constraint can be established as shown in the following formula based on the frequency regulation capacity data:

[0089] In the formula, is the winning bid frequency regulation capacity of unit i at time t, is the winning bid frequency regulation capacity of energy storage es at time t, is the frequency regulation capacity demand of the system at time t.

[0090] In the embodiments of the present disclosure, the upper limit constraint of the frequency modulation declaration capacity is constructed based on the frequency modulation declaration capacity, and can be established as shown in the following formula: ,

[0091] In the formula, and are the frequency modulation market declaration capacities of unit i and energy storage es respectively; and are the rated capacities of unit i and energy storage es respectively, and are the upper limits of the ratios of the frequency modulation declaration capacities of unit i and energy storage es to the rated capacities respectively.

[0092] In the embodiments of the present disclosure, the upper limit constraint of the frequency modulation winning bid capacity of the energy storage is constructed based on the winning bid capacity ratio, and can be established as shown in the following formula:

[0093] In the formula, is the winning bid frequency modulation capacity of the energy storage es at time t, is the upper limit of the ratio of the total winning bid capacity of the energy storage to the system frequency modulation.

[0094] S303. Based on the minimum frequency modulation capacity constraint, the upper limit constraint of the frequency modulation declaration capacity, and the upper limit constraint of the frequency modulation winning bid capacity of the energy storage, the frequency modulation capacity constraint is constructed.

[0095] In the embodiments of the present disclosure, first, the frequency modulation capacity data, the frequency modulation declaration capacity, and the winning bid capacity ratio of the target power grid are obtained. Then, the minimum frequency modulation capacity constraint is constructed based on the frequency modulation capacity data, the upper limit constraint of the frequency modulation declaration capacity is constructed based on the frequency modulation declaration capacity, and the upper limit constraint of the frequency modulation winning bid capacity of the energy storage is constructed based on the winning bid capacity ratio. Finally, the frequency modulation capacity constraint is constructed based on the minimum frequency modulation capacity constraint, the upper limit constraint of the frequency modulation declaration capacity, and the upper limit constraint of the frequency modulation winning bid capacity of the energy storage. By constructing a multi-level and multi-dimensional frequency modulation capacity constraint system, it is ensured that the power grid can not only meet the basic requirements of frequency regulation, but also achieve the optimal in terms of resource utilization efficiency, market competition fairness, system flexibility, etc., improving the security and stability of the output results of the joint clearing model of the electric energy and frequency modulation ancillary service market, and promoting the healthy development and technological progress of the power market.

[0096] In the above embodiments, to construct the energy storage constraint, it can also be further explained through Figure 4 The method includes: S401. Obtain the charge-discharge power data of the energy storage in the target power grid, the charge-discharge of electric energy and the frequency modulation action data, the start data of the energy storage operation day, the end data of the energy storage operation day, and the charge-discharge cycle times data of the energy storage.

[0097] In the embodiments of the present disclosure, the method for obtaining the energy storage charge-discharge power data, the electrical energy charge-discharge and frequency regulation action data, the start data of the energy storage operation day, the end data of the energy storage operation day, and the energy storage charge-discharge cycle count data of the target power grid may refer to the steps of obtaining the system operation data and the unit load data of the target power grid in the above embodiments, which will not be elaborated here.

[0098] S402. Based on the energy storage charge-discharge power data of the target power grid, construct the energy storage charge-discharge power constraint, and based on the electrical energy charge-discharge and frequency regulation action data, construct the state of charge and charge-discharge constraint of the energy storage, and based on the start data of the energy storage operation day and the end data of the energy storage operation day, construct the start and end state of charge constraints of the energy storage operation day, and based on the energy storage charge-discharge cycle count data, construct the energy storage charge-discharge cycle count constraint.

[0099] In the embodiments of the present disclosure, the construction of the energy storage charge-discharge power constraint can be established as shown in the following formula:

[0100]

[0101] ,

[0102]

[0103] In the formula, 、 respectively represent the upper and lower limits of the discharge power of the energy storage power station es at time t; 、 respectively represent the upper and lower limits of the charging power of the energy storage power station es at time t; 、 respectively represent the 0-1 variables of the charge-discharge state of the energy storage es at time t.

[0104] In a possible implementation manner, to construct the state of charge and charge-discharge constraint of the energy storage based on the energy storage electrical energy charge-discharge and frequency regulation action data, the upward frequency regulation magnification factor and the downward frequency regulation magnification factor of each time period of the energy storage trading unit can be constructed first, and then the state of charge value can be calculated based on the upward frequency regulation magnification factor and the downward frequency regulation magnification factor, and further the state of charge and charge-discharge constraint of the energy storage can be constructed.

[0105] In the embodiments of the present disclosure, the construction of the state of charge and charge-discharge constraint of the energy storage can be as follows:

[0106]

[0107] In the formula, is the state of charge (MWh) of the energy storage es at time period t, is the state of charge (MWh) of the energy storage es at time period t-1, 、 respectively represent the charging and discharging power of the energy storage trading unit at time period t; 、 respectively represent the upward and downward frequency modulation capacities of the energy storage es at time period t; is the charge-discharge efficiency of the energy storage es; 、 are respectively the magnification factors of the energy storage es participating in upward and downward frequency modulation at time period t; is the clearing time interval (usually 15 minutes in the real-time market), is 60 minutes. 、 respectively represent the upper and lower limits of the state of charge of the independent energy storage trading unit at the end of time period t.

[0108] It can be seen from the above formula that the state of charge of the energy storage at the end of any time period should be equal to the sum of the state of charge of the previous time period and the change in the state of charge caused by the charge-discharge and frequency modulation actions during this time period.

[0109] Among them, the magnification factors of the energy storage trading unit participating in upward and downward frequency modulation at time period t 、 vary with time period. Generally, according to the statistical data of historical frequency modulation, the influence of the frequency modulation actions in each time period on its state of charge is calculated respectively.

[0110] It should be noted that the frequency modulation magnification factors of each time period of the energy storage power station can be set according to the actual situation. The frequency modulation magnification factors of each time period of the energy storage power station can be manually set, or can be obtained through simulation according to the simulation model. Optionally, they can also be obtained through experiments.

[0111] For example, the examples of the frequency modulation magnification factors of each time period of the energy storage power station are shown in the following table.

[0112]

[0113] The constraints on the initial and end state of charge of the energy storage operation day are that the state of charge of the energy storage at the start time of this operation day is equal to the cleared value of the state of charge at the end time of its previous operation day. The state of charge of the energy storage at the end time of the operation day is equal to its declared expected value. The formula for constructing the constraints on the initial and end state of charge of the energy storage operation day is as follows: ,

[0114] In the formula, 、 respectively represent the state of charge of the energy storage ES at the start and end times of the current operation day; represents the state of charge of the energy storage ES at the end of the previous operation day; represents the expected value of the state of charge of the energy storage ES at the end of the current operation day declared.

[0115] In the embodiments of the present disclosure, the formula for constructing the energy storage charge and discharge cycle number constraint is as follows:

[0116] In the formula, and respectively represent the energy storage discharge power and charge power at time t; and respectively represent the energy storage discharge efficiency and charge efficiency; represents the rated capacity of the energy storage; represents the calculation period, currently set to 15 minutes; represents the maximum charge and discharge cycle number uniformly set by the dispatching agency.

[0117] S403. Based on the energy storage charge and discharge power constraint, the energy storage state of charge and charge and discharge constraint, the energy storage operation day start and end state of charge constraint, and the energy storage charge and discharge cycle number constraint, construct the energy storage constraint.

[0118] In the embodiments of the present disclosure, first obtain the energy storage charge and discharge power data, the electric energy charge and discharge and frequency modulation action data, the energy storage operation day start data, the energy storage operation day end data, and the energy storage charge and discharge cycle number data of the target power grid, and then construct the energy storage charge and discharge power constraint based on the energy storage charge and discharge power data of the target power grid, and construct the energy storage state of charge and charge and discharge constraint based on the electric energy charge and discharge and frequency modulation action data, and construct the energy storage operation day start and end state of charge constraint based on the energy storage operation day start data and the energy storage operation day end data, and construct the energy storage charge and discharge cycle number constraint based on the energy storage charge and discharge cycle number data. Finally, based on the energy storage charge and discharge power constraint, the energy storage state of charge and charge and discharge constraint, the energy storage operation day start and end state of charge constraint, and the energy storage charge and discharge cycle number constraint, construct the energy storage constraint. Thus, by constructing the energy storage constraint, compared with the joint clearing model of the electric energy and frequency modulation ancillary service market in the current technology, the model in this solution can take into account the influence of the output plan of the electric energy market and the frequency modulation ancillary service action on the SOC of the energy storage, ensure the effectiveness of the execution of the energy storage SOC, and enable the energy storage to have sufficient SOC during the winning bid period in the electric energy market and the ancillary service market to provide corresponding services.

[0119] Corresponding to the joint clearing method for electric energy and frequency regulation ancillary service market provided in the above several embodiments, an embodiment of the present disclosure further provides a joint clearing device for electric energy and frequency regulation ancillary service market. Since the joint clearing device for electric energy and frequency regulation ancillary service market provided in the embodiments of the present disclosure corresponds to the joint clearing method for electric energy and frequency regulation ancillary service market provided in the above several embodiments, the implementation manners of the above joint clearing method for electric energy and frequency regulation ancillary service market are also applicable to the joint clearing device for electric energy and frequency regulation ancillary service market provided in the embodiments of the present disclosure, and will not be described in detail in the following embodiments.

[0120] Figure 5 is a schematic diagram of a joint clearing device for electric energy and frequency regulation ancillary service market according to an embodiment of the present disclosure. As Figure 5 shown, the joint clearing device 500 for electric energy and frequency regulation ancillary service market includes: an acquisition module 510, a generation module 520, an establishment module 530, a verification module 540, and an output module 550.

[0121] The acquisition module 510 is configured to acquire the system operation data and unit load data of the target power grid.

[0122] The generation module 520 is configured to construct a model objective function and model constraints of the target power grid based on the system operation data and unit load data, where the model constraints at least include a frequency regulation capacity constraint and an energy storage constraint.

[0123] The establishment module 530 is configured to construct a joint clearing model for the electric energy and frequency regulation ancillary service market of the target power grid based on the model objective function and model constraints.

[0124] The verification module 540 is configured to perform a capacity safety verification on the joint clearing model for the electric energy and frequency regulation ancillary service market. In response to the joint clearing model for the electric energy and frequency regulation ancillary service market not passing the capacity safety verification, adjust the joint clearing model for the electric energy and frequency regulation ancillary service market to generate an adjusted joint clearing model for the electric energy and frequency regulation ancillary service market.

[0125] The output module 550 is configured to repeat the above capacity safety verification on the joint clearing model for the electric energy and frequency regulation ancillary service market and its subsequent steps until the capacity safety verification passes, and output the target joint clearing model for the electric energy and frequency regulation ancillary service market.

[0126] According to an embodiment of the present disclosure, a capacity security check is performed on the combined clearing model of electric energy and frequency regulation ancillary service market, including: obtaining branch power flow constraints, section power flow constraints, and transferability constraints for frequency regulation capacity calls; determining branch power flow output data, outage power flow output data, and transferability data for frequency regulation capacity calls based on the combined clearing model of electric energy and frequency regulation ancillary service market; and determining that the combined clearing model of electric energy and frequency regulation ancillary service market passes the capacity security check in response to the branch power flow output data satisfying the branch power flow constraints, the outage power flow output data satisfying the section power flow constraints, and the transferability data for frequency regulation capacity calls satisfying the transferability constraints for frequency regulation capacity calls.

[0127] According to an embodiment of the present disclosure, a branch power flow constraint is constructed, including: for any branch of the target power grid, obtaining the power flow transfer limit value of the branch, the generator output power transfer distribution factor, the generator output power transfer distribution factor, the generator output power transfer distribution factor, the number of nodes, the generator output power transfer distribution factor, the bus load value, and the forward and reverse power flow relaxation variables; and constructing a branch power flow constraint based on the power flow transfer limit value, the generator output power transfer distribution factor, the generator output power transfer distribution factor, the generator output power transfer distribution factor, the number of nodes, the generator output power transfer distribution factor, the bus load value, and the forward and reverse power flow relaxation variables after the successful bid frequency regulation capacity calls of the units and energy storage power stations.

[0128] According to an embodiment of the present disclosure, a section power flow constraint is constructed, including: for any key section of the target power grid, obtaining the power flow transfer limit of the key section, the generator output power transfer distribution factor, the generator output power transfer distribution factor, the generator output power transfer distribution factor, the generator output power transfer distribution factor, and the forward and reverse power flow relaxation variables; and constructing a section power flow constraint for the key section based on the power flow transfer limit, the generator output power transfer distribution factor, the generator output power transfer distribution factor, the generator output power transfer distribution factor, the generator output power transfer distribution factor, and the forward and reverse power flow relaxation variables.

[0129] According to an embodiment of the present disclosure, a transferability constraint for frequency regulation capacity calls is constructed, including: for any branch of the target power grid, constructing a branch power flow correction constraint and a section power flow correction constraint based on the successful bid frequency regulation capacity calls of the units and energy storage power stations; and constructing a transferability constraint for frequency regulation capacity calls based on the branch power flow correction constraint and the section power flow correction constraint.

[0130] According to an embodiment of the present disclosure, constructing a frequency modulation capacity constraint includes: obtaining the frequency modulation capacity data, the declared frequency modulation capacity, and the winning bid capacity ratio of the target power grid; constructing a minimum frequency modulation capacity constraint based on the frequency modulation capacity data, a declared frequency modulation capacity upper limit constraint based on the declared frequency modulation capacity, and a storage energy frequency modulation winning bid capacity upper limit constraint based on the winning bid capacity ratio; and constructing a frequency modulation capacity constraint based on the minimum frequency modulation capacity constraint, the declared frequency modulation capacity upper limit constraint, and the storage energy frequency modulation winning bid capacity upper limit constraint.

[0131] According to an embodiment of the present disclosure, constructing a storage energy constraint includes: obtaining the charge-discharge power data of the storage energy in the target power grid, the charge-discharge of electrical energy and frequency modulation action data, the start data of the storage energy operation day, the end data of the storage energy operation day, and the charge-discharge cycle times data of the storage energy; constructing a charge-discharge power constraint of the storage energy based on the charge-discharge power data of the storage energy in the target power grid, a state of charge and charge-discharge constraint of the storage energy based on the charge-discharge of electrical energy and frequency modulation action data, a start and end state of charge constraint of the storage energy operation day based on the start data and the end data of the storage energy operation day, and a charge-discharge cycle times constraint of the storage energy based on the charge-discharge cycle times data of the storage energy; and constructing a storage energy constraint based on the charge-discharge power constraint of the storage energy, the state of charge and charge-discharge constraint of the storage energy, the start and end state of charge constraint of the storage energy operation day, and the charge-discharge cycle times constraint of the storage energy.

[0132] Thus, compared with the joint clearing model of the electrical energy and frequency modulation ancillary service market in the current technology, the target electrical energy and frequency modulation ancillary service market joint clearing model generated in the embodiments of the present disclosure adds a frequency modulation capacity constraint and a storage energy constraint, which can take into account the impact of the output plan of the electrical energy market and the frequency modulation ancillary service action on the state of charge (SOC) of the storage energy, ensure the effectiveness of the execution of the SOC of the storage energy, enable the storage energy to have sufficient SOC during the winning bid period in the electrical energy market and the ancillary service market to provide corresponding services, and at the same time, through capacity safety verification, it can prevent the impact on the stability of the power system and improve the feasibility of the output result.

[0133] To implement the above embodiments, an electronic device 600 is further proposed in the embodiments of the present disclosure. Figure 6 It is a schematic diagram of an electronic device according to an embodiment of the present disclosure, as Figure 6 shown. The electronic device 600 includes: a processor 601 and a memory 602 communicatively connected to the processor. The memory 602 stores instructions executable by at least one processor. The instructions are executed by at least one processor 601 to implement the joint clearing method of the electrical energy and frequency modulation ancillary service market as in the embodiments of the present disclosure. Figures 1-4 embodiment.

[0134] To implement the above embodiments, a non-transitory computer-readable storage medium storing computer instructions is further proposed in the embodiments of the present disclosure, wherein the computer instructions are used to cause a computer to implement as in the present disclosure.Figures 1-4 Joint clearing method for electric energy and frequency regulation ancillary service market in embodiments

[0135] To implement the above embodiments, embodiments of the present disclosure also propose a computer program product, including a computer program, which when executed by a processor, implements the joint clearing method for electric energy and frequency regulation ancillary service market as in the embodiments of the present disclosure Figures 1-4 Joint clearing method for electric energy and frequency regulation ancillary service market in embodiments

[0136] It should be noted that personal information from users should be collected for legal and reasonable purposes and should not be shared or sold outside of these legal uses. In addition, such collection / sharing should be carried out after obtaining the informed consent of the users, including but not limited to notifying the users to read the user agreement / user notice before using the function and signing an agreement / authorization including authorizing relevant user information. In addition, any necessary steps should be taken to protect and safeguard access to such personal information data and ensure that others with access to the personal information data comply with their privacy policies and procedures

[0137] This application anticipates providing embodiments for users to selectively block the use or access of personal information data. That is, the present disclosure anticipates providing hardware and / or software to prevent or block access to such personal information data. Once the personal information data is no longer needed, the risk can be minimized by restricting data collection and deleting the data. In addition, when applicable, personal identifiers are removed from such personal information to protect the privacy of the users

[0138] In the description of the foregoing embodiments, the descriptions with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc., mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples

[0139] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" can explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "a plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined

[0140] Any process or method description represented in a flowchart or otherwise described herein can be understood to represent a module, segment, or portion of code including one or more executable instructions for implementing a customized logic function or process. The scope of the preferred embodiments of the present application includes additional implementations, where functions may be executed in a substantially simultaneous manner or in a reverse order according to the functions involved, rather than in the order shown or discussed, which should be understood by those skilled in the art to which the embodiments of the present application pertain.

[0141] The logic and / or steps represented in a flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing a logical function, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or in conjunction with these instruction execution systems, apparatuses, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that contains, stores, communicates, propagates, or transports a program for use by or in conjunction with an instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or otherwise processing as appropriate, and then stored in a computer memory.

[0142] It should be understood that various parts of the present application can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

[0143] Those of ordinary skill in the art can understand that all or part of the steps carried out in the methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.

[0144] In addition, in each of the embodiments of the present application, the functional units can be integrated in a processing module, or each unit can exist physically alone, or two or more units can be integrated in a module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module. When the above integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0145] The above-mentioned storage medium can be a read-only memory, a magnetic disk, an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present application. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present application.

Claims

1. A method for jointly clearing the electricity energy and frequency regulation ancillary service markets, characterized in that Including: Obtain the system operation data and unit load data of the target power grid, where the system operation data at least includes the frequency regulation mileage coefficient of the generator set and the frequency regulation mileage coefficient of the energy storage trading unit; Construct the model objective function and model constraints of the target power grid based on the system operation data and the unit load data, where the model constraints at least include frequency regulation capacity constraints and energy storage constraints; Construct the joint clearing model of the electric energy and frequency regulation ancillary service market of the target power grid based on the model objective function and the model constraints; Conduct capacity safety verification on the clearing result of the joint clearing model of the electric energy and frequency regulation ancillary service market. In response to the clearing result not passing the capacity safety verification, adjust the joint clearing model of the electric energy and frequency regulation ancillary service market to generate an adjusted joint clearing model of the electric energy and frequency regulation ancillary service market; Repeat the above steps of conducting capacity safety verification on the joint clearing model of the electric energy and frequency regulation ancillary service market and its subsequent steps until the capacity safety verification passes, and output the target clearing result.

2. The method according to claim 1, wherein The model objective function is: where h is the clearing result, N is the total number of generating units, T is the total number of time periods, is the electrical energy power of generating unit i in time period t, is the operating cost of generating unit i in time period t, ES is the total number of energy storage trading units, and are the charging and discharging powers of the energy storage trading unit in time period t respectively, is the frequency regulation power of generating unit i in time period t, is the frequency regulation capacity quotation of generating unit i, is the frequency regulation mileage quotation of generating unit i, is the frequency regulation mileage coefficient of generating unit i, is the frequency regulation opportunity cost quotation of unit i, is the frequency regulation power of the energy storage trading unit in time period t, is the frequency regulation capacity quotation of the energy storage trading unit, is the frequency regulation mileage quotation of the energy storage trading unit, is the frequency regulation mileage coefficient of the energy storage trading unit, is the frequency regulation opportunity cost quotation of the energy storage trading unit.

3. The method according to claim 1, wherein Constructing the frequency regulation capacity constraint includes: Obtain the frequency regulation capacity data, frequency regulation declaration capacity, and winning bid capacity ratio of the target power grid; Construct the minimum frequency regulation capacity constraint based on the frequency regulation capacity data, the upper limit constraint of the frequency regulation declaration capacity based on the frequency regulation declaration capacity, and the upper limit constraint of the energy storage frequency regulation winning bid capacity based on the winning bid capacity ratio; Construct the frequency regulation capacity constraint based on the minimum frequency regulation capacity constraint, the upper limit constraint of the frequency regulation declaration capacity, and the upper limit constraint of the energy storage frequency regulation winning bid capacity.

4. The method according to claim 1, wherein Constructing the energy storage constraint includes: Obtain the energy storage charge and discharge power data, electric energy charge and discharge and frequency regulation action data, energy storage operation day start data, energy storage operation day end data, and energy storage charge and discharge cycle times data of the target power grid; Construct the energy storage charge and discharge power constraint based on the energy storage charge and discharge power data of the target power grid, the energy storage state of charge and charge and discharge constraint based on the electric energy charge and discharge and frequency regulation action data, the energy storage operation day start and end state of charge constraint based on the energy storage operation day start data and the energy storage operation day end data, and the energy storage charge and discharge cycle times constraint based on the energy storage charge and discharge cycle times data; Construct the energy storage constraint based on the energy storage charge and discharge power constraint, the energy storage state of charge and charge and discharge constraint, the energy storage operation day start and end state of charge constraint, and the energy storage charge and discharge cycle times constraint.

5. The method according to claim 4, characterized in that The constructing the energy storage state of charge and charge and discharge constraint based on the electric energy charge and discharge and frequency regulation action data includes: Construct the upward frequency regulation magnification factor and downward frequency regulation magnification factor of the energy storage trading unit in each period; Calculate the state of charge value based on the upward frequency regulation magnification factor and the downward frequency regulation magnification factor; Construct the energy storage state of charge and charge and discharge constraint based on the influence of the electric energy charge and discharge and frequency regulation action on the state of charge.

6. The method according to claim 1, wherein The conducting capacity safety verification on the clearing result of the joint clearing model of the electric energy and frequency regulation ancillary service market includes: Obtain the branch power flow constraint, section power flow constraint, and the transferability constraint for frequency regulation capacity invocation; Determine the branch power flow output data, outage power flow output data, and the transferability data for frequency regulation capacity invocation based on the clearing result; In response to the branch power flow output data being within the branch power flow constraint range, the outage power flow output data being within the section power flow constraint range, and the transferability data for frequency regulation capacity invocation being within the transferability constraint range for frequency regulation capacity invocation, determine that the clearing result passes the capacity security check.

7. The method according to claim 6, characterized in that, Construct the transferability constraint for frequency regulation capacity invocation, including: For any branch of the target power grid, construct the branch power flow correction constraint and section power flow correction constraint after the awarded frequency regulation capacity of the units and energy storage power stations is invoked; Construct the transferability constraint for frequency regulation capacity invocation based on the branch power flow correction constraint and the section power flow correction constraint.

8. A combined clearing device for the electricity energy and frequency regulation ancillary service market, characterized in that Including: An acquisition module, configured to acquire the system operation data and unit load data of the target power grid, where the system operation data at least includes the frequency regulation mileage coefficient of the generator sets and the frequency regulation mileage coefficient of the energy storage trading unit; A generation module, configured to construct the model objective function and model constraints of the target power grid based on the system operation data and the unit load data, where the model constraints at least include the frequency regulation capacity constraint and the energy storage constraint; An establishment module, configured to construct the joint clearing model of the electric energy and frequency regulation ancillary service market of the target power grid based on the model objective function and the model constraints; A checking module, configured to perform a capacity security check on the clearing result of the joint clearing model of the electric energy and frequency regulation ancillary service market. In response to the clearing result not passing the capacity security check, adjust the joint clearing model of the electric energy and frequency regulation ancillary service market to generate an adjusted joint clearing model of the electric energy and frequency regulation ancillary service market; An output module, configured to repeat the above-mentioned capacity security check on the joint clearing model of the electric energy and frequency regulation ancillary service market and subsequent steps until the capacity security check passes, and output the target clearing result.

9. An electronic device, characterized in that, Including a memory and a processor; Wherein, the processor runs the program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the method according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by the processor, they are used to implement the method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Energy and auxiliary service joint optimization method considering frequency modulation mileage demand constraints

    CN112529312A

  • Market clearing and safety checking method considering flexible load

    CN115764873A

  • Safety checking method and device for clearing result of electric power spot market

    CN115965162A

  • Energy storage charging and discharging control method and system for calculating minimum capacity lease price

    CN116247699A

  • Energy storage participated frequency modulation auxiliary service market coordination clearing method

    CN118611096A

Cited By

  • Multi-service achievable capacity voucher causal settlement method and device and storage medium

    CN121280178A