A method and system for clearing inter-provincial power market taking into account power supply demand

By adopting a two-layer optimization model in the inter-provincial power market clearance mechanism, the problem of increasing power transaction risks caused by the failure to fully consider the power supply guarantee problem in the existing technology is solved, and the efficiency and reliability of power transactions are achieved, and the operation efficiency of the power market and the reliability of power supply are improved.

CN119762106APending Publication Date: 2025-04-04STATE GRID JIANGSU ELECTRIC POWER CO LTD MARKETING SERVICE CENT +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411714254.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

When the existing inter-provincial power market clearing mechanism faces the imbalance of power supply and demand, it does not fully consider the power supply guarantee problem, resulting in an increase in the risk of power trading.

Method used

The double-layer optimization model is adopted, and the upper-layer optimization model is aimed at the minimum total operating cost of the system within the region, and a clearance model is built for the inter-provincial spot electricity energy market; the lower-layer optimization model is aimed at minimizing the active power loss of the power grid, taking into account the power supply requirements, and establishing constraints to optimize decision variables.

Benefits of technology

During the market clearance process, ensure that power transactions are not only efficient but also reliable, and improve the operating efficiency of the inter-provincial power market and the reliability and safety of power supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119762106A_ABST
    Figure CN119762106A_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for clearing the inter-provincial power market taking into account the demand for power supply guarantee, belonging to the technical field of power dispatching, and the method includes: calculating and obtaining the quotation curve of the power purchasing province participating in the inter-provincial power spot market based on the spot market operation data in the province; establishing a clearing model of the inter-provincial spot electric energy market as an upper optimization model, constructing an objective function with the minimum total cost of system operation in the region, and constructing constraints; establishing a lower optimization model to update the decision variables in the upper optimization, taking the minimization of active power loss of the power grid as the objective function, and establishing constraints taking into account the demand for power supply guarantee; solving the double-layer optimization model composed of the upper optimization model and the lower optimization model, obtaining a determined clearing result and outputting it. The present invention can be widely used in power system optimization dispatching and cross-regional power trading, which can not only effectively improve the efficiency of power resource utilization, but also ensure the reliability and safety of power supply.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of electric power dispatching, and relates to an inter-provincial electric power market clearing mechanism, and more specifically to an inter-provincial electric power market clearing method and system taking into account the demand for guaranteed power supply. Background Art

[0002] With the deepening of my country's power system reform, the construction and development of inter-provincial power markets have become an important means to promote the optimization of regional power resource allocation. However, with the continuous increase in the installed capacity of new energy, the operation of the power system faces more complex challenges. On the one hand, the randomness and volatility of new energy power generation increase the difficulty of balancing power supply and demand; on the other hand, inter-provincial power transactions need to meet the different power security needs of each province, especially the requirements for the reliability and stability of power supply during important periods or special circumstances.

[0003] In this context, it is particularly important to establish a market clearing mechanism that can effectively promote the optimal allocation of inter-provincial power resources and ensure the security of power supply. Traditional power market clearing models often only focus on the optimal allocation of electricity, while ignoring the problem of power supply security, especially in the case of tight power supply and demand, these problems may be more prominent. Therefore, how to fully ensure the reliability and security of power supply during the market clearing process so that the power grid can meet the high-quality power demand of power users under various operating conditions is one of the problems that need to be solved urgently. Summary of the invention

[0004] In order to solve the deficiencies in the prior art, the present invention provides an inter-provincial electricity market clearing method and system taking into account the demand for power supply guarantee, which solves the problem of increased power trading risks caused by the existing inter-provincial trading market clearing mechanism not fully considering the power supply guarantee issue when facing an imbalance in power supply and demand.

[0005] The present invention adopts the following technical solution.

[0006] A first aspect of the present invention provides an inter-provincial power market clearing method taking into account power supply guarantee requirements, comprising the following steps:

[0007] Based on the provincial spot market operation data, the quotation curve of the power purchasing province participating in the inter-provincial power spot market is calculated;

[0008] Based on the quotation curve, a clearing model of the inter-provincial spot electricity energy market is established as an upper optimization model. The upper optimization model constructs an objective function with the minimum total cost of system operation in the region and constructs constraint conditions;

[0009] Establish a lower-level optimization model to update the decision variables in the upper-level optimization. The lower-level optimization model takes minimizing the active power loss of the power grid as the objective function and establishes constraint conditions taking into account the power supply demand.

[0010] For a two-layer optimization model consisting of an upper-layer optimization model and a lower-layer optimization model, the two-layer optimization model is solved to obtain a definite clearing result and output it.

[0011] Preferably, the quotation curve of the power purchasing province participating in the inter-provincial power spot market is calculated based on the provincial spot market operation data and includes:

[0012] The objective function of the economic dispatch model within the power purchasing province is constructed to minimize the sum of the generation cost and the demand response cost;

[0013] The constraints for constructing the economic dispatch model within the power purchasing province include: power balance constraints within the power purchasing province, generator output constraints, and demand response constraints;

[0014] Based on the economic dispatch model within the power purchasing province, the quotation curve of the segmented power purchasing provinces participating in the inter-provincial electricity spot market is obtained.

[0015] Preferably, the price quotation curve of the segmented power purchasing province participating in the inter-provincial power spot market is obtained by using the economic dispatch model within the power purchasing province, including:

[0016] Establish a constraint that the benefits of electricity purchasing provinces participating in the inter-provincial market and purchasing electricity are no less than those of not participating in the inter-provincial market;

[0017] The continuous bidding function is transformed into a piecewise bidding function, which is always located below the marginal inter-provincial electricity purchase volume-price curve, ensuring that the electricity purchasing provinces can profit from participating in the inter-provincial market.

[0018] Preferably, the upper optimization model constructs the objective function with the minimum total cost of system operation in the region, including:

[0019] Taking into account the scenario of combined photovoltaic and storage power generation, the objective function is constructed by minimizing the total cost of system operation in the region, which specifically includes the power generation cost of each power station and the inter-provincial transmission cost, which is specifically expressed by the following formula (1):

[0020]

[0021] Where:

[0022] f1 is the lower-level optimization target, which represents the total cost of system operation in the region;

[0023] T is the total number of time periods considered, and I is the total number of thermal power units in the interprovincial region;

[0024] λ i,t The energy price reported for thermal power unit i in time period t;

[0025] P i,t is the winning bid output of thermal power unit i in time period t;

[0026] and are the startup and shutdown costs of thermal power unit i in period t respectively;

[0027] W ss is the total number of wind, solar and energy storage power plants in the inter-provincial region;

[0028] For wind, solar and storage combined power station ss The declared price of energy in time period t;

[0029] For wind, solar and storage combined power station ss The bid output force in time period t;

[0030] N T is the total number of inter-provincial contact lines;

[0031] is the transmission price of the jth inter-provincial tie line;

[0032] is the transmission power of the j-th inter-provincial interconnection line in time period t.

[0033] Preferably, corresponding constraints are constructed according to the objective function of the upper-level optimization model, including: provincial load balance constraints, provincial positive and negative reserve capacity constraints, thermal power unit operation constraints and energy storage constraints.

[0034] Preferably, the lower optimization model takes minimization of active power loss of the power grid as the objective function, which is expressed by the following formulas (2) and (3):

[0035]

[0036] Where:

[0037] f2 is the optimization target of the lower layer;

[0038] is the per-unit value of active power loss, P loss,j is the power loss on the inter-provincial tie line j, P loss,l is the power loss on line l;

[0039] N l is the total number of lines, N T is the total number of inter-provincial contact lines;

[0040] S B It is the base value of power grid system capacity.

[0041] Preferably, the corresponding constraints of the objective function of the lower optimization model include: inter-provincial interconnection line transmission constraints, intra-regional branch power flow constraints, and power supply guarantee constraints.

[0042] Preferably, the power supply guarantee constraint is that the power grid must first meet the power demand of the power supply guarantee load;

[0043] If a node user participates in the power supply guarantee transaction mode, the energy storage system must guarantee its power supply when the user has a power outage within the set time.

[0044] Preferably, in order to ensure the power supply of the specified load, the charging and discharging power of the energy storage should not be less than the size of the specified load for power supply guarantee, and the SoC of the energy storage should meet the power supply guarantee duration task, which is expressed by the following formulas (4) and (5):

[0045]

[0046] Where:

[0047] κ is the proportion of power supply load;

[0048] T bd The power supply time required to ensure the power supply load.

[0049] A second aspect of the present invention provides an inter-provincial power market clearing system taking into account the demand for guaranteed power supply, comprising:

[0050] Data input and storage module, used to input and store the provincial spot market operation data;

[0051] The quotation module generates the quotation curve for the purchasing province to participate in the inter-provincial electricity spot market based on the provincial spot market operation data;

[0052] The clearing optimization processing module has an upper optimization model used as a clearing model for the inter-provincial spot electricity energy market and a lower optimization model used to optimize decision variables taking into account the demand for power supply guarantee;

[0053] The solver solves the upper model of the clearing optimization processing module, determines the clearing results and outputs them.

[0054] Compared with the prior art, the beneficial effects of the present invention include at least:

[0055] The present invention proposes a new inter-provincial electricity market clearing mechanism, which, by constructing a double-layer optimization model, takes into account the requirements of power supply guarantee and power transmission constraints while clearing the inter-provincial market. By accurately matching the power supply and demand relationship while fully considering the limitations of interconnection line transmission and branch power flow, the mechanism can ensure that power transactions are not only efficient but also reliable during the market clearing process. The implementation of the present invention will help improve the operating efficiency of the inter-provincial power market and the reliability and security of power supply, and provide technical support for building a more flexible, reliable and sustainable power system.

[0056] The method and system provided by the present invention fully consider the demand for power supply and security, and can be widely used in related research such as power system optimization and dispatching and cross-regional power trading. By implementing the present invention, not only can the efficiency of power resource utilization be effectively improved, but also the reliability and safety of power supply can be ensured, which is of great significance for promoting the reform and development of my country's power market. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 It is a two-layer optimization model configuration framework diagram. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The described embodiments are only embodiments of a part of the present invention, not all embodiments. Based on the spirit of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the protection scope of the present invention.

[0059] like Figure 1 As shown, embodiment 1 of the present invention provides an inter-provincial power market clearing method taking into account the power supply guarantee demand, comprising the following steps:

[0060] Step 1: Input the spot market operation data in the province; these data include but are not limited to the power generation capacity, power generation cost, dispatchable range, etc. of each power generation enterprise.

[0061] Step 2: Based on the operation of the intra-provincial spot market, the quotation curve of the purchasing province participating in the inter-provincial electricity spot market is calculated. Specifically, the quotation curve of the purchasing province can be obtained through the intra-provincial economic dispatch model of the purchasing province, and the objective function is to minimize the sum of the power generation cost and the demand response cost.

[0062] Preferably but not limiting, step 2 specifically comprises:

[0063] Step 2.1: Construct the objective function of the provincial economic dispatch model for purchasing electricity, which is used to calculate the provincial quotation curve for purchasing electricity. The objective function of the provincial economic dispatch model for purchasing electricity is to minimize the sum of the power generation cost and the demand response cost, which is expressed as the following formula (1):

[0064]

[0065] Where:

[0066] F(B) is the objective function, B is the inter-provincial electricity purchase;

[0067] Subscript i represents generator i, and subscript j represents demand response participant j;

[0068] Pi is the power generated by generator i;

[0069] R j is the demand response volume in province j;

[0070] a i , b i and c i are the quadratic, linear and constant cost coefficients of generator i respectively;

[0071] b j is the compensation cost coefficient of demand response participant j.

[0072] Step 2.2: Construct the constraints of the economic dispatch model within the power purchasing province, including: power balance constraints within the power purchasing province, generator output constraints and demand response constraints.

[0073] Further preferably but not restrictively, the power balance constraint within the power purchasing province is the balance between the sum of the power generator output within the power purchasing province, the demand response amount within the province, and the inter-provincial power purchase amount and the total load within the province, which is expressed by the following formula (2):

[0074]

[0075] Where:

[0076] L is the total load in the province.

[0077] Further preferably but not restrictively, the generator output constraint is that the generator output does not exceed the limit, which is expressed by the following formula (3):

[0078]

[0079] Where:

[0080] P i max and P i min are the upper and lower output limits of generator i respectively.

[0081] Further preferably but not restrictively, the demand response amount constraint is that the response amount of each demand response participant does not exceed the limit, which is expressed by the following formula (4):

[0082]

[0083] Where:

[0084] is the upper limit of the response amount of demand response participant j.

[0085] Step 2.3: Based on the economic dispatch model within the purchasing province, construct the quotation curve of the segmented inter-provincial electricity spot market.

[0086] Further preferably but not restrictively, the benefit constraint is that the benefit of the electricity purchasing province participating in the inter-provincial market and acquiring the electricity is not lower than that of not participating in the inter-provincial market. Specifically, if the inter-provincial purchase volume of the electricity purchasing province is 0 (that is, the electricity purchasing province does not participate in the inter-provincial market), its total cost within the province is F(0). When the electricity purchasing province participates in the inter-provincial market and acquires an amount of B, the total cost within the province is F(B). If the inter-provincial clearing price is λ, the inter-provincial electricity purchase cost is λB. In order to ensure that the province can make a profit by participating in the inter-provincial market, it is necessary to meet the benefit of the electricity purchasing province participating in the inter-provincial market and acquiring the electricity is not lower than that of not participating in the inter-provincial market, which is expressed as the following formula (5):

[0087] F(B)+λB≤F(0) (5)

[0088] Where:

[0089] λ is the interprovincial clearing price.

[0090] According to the inter-provincial market clearing pricing rules, the clearing price λ of the power purchasing province must be lower than the declared price. Therefore, when the inter-provincial declared quantity one-price curve of the province is as shown in formula (6), the province will definitely be able to make a profit by participating in the inter-provincial market.

[0091]

[0092] Where:

[0093] G′(x) is the inter-provincial declared quantity-price curve;

[0094] G(x) is the marginal inter-provincial electricity purchase-price curve;

[0095] x is the electricity reported between provinces;

[0096] h is the quotation coefficient.

[0097] It can be understood that the declared curve is in the form of a segmented curve. In order to meet the segmented quotation requirements of the inter-provincial market, the continuous quotation function shown in formula (6) is changed to the segmented quotation function of formula (7). The segmented quotation function is always below the marginal inter-provincial purchase quantity-price curve, which can ensure that the purchasing province can profit from participating in the inter-provincial market.

[0098]

[0099] Where:

[0100] x w (w=1,2,…,D) is the declared electricity quantity of the wth segment of the segmented quotation function, and D is the total number of quotation segments.

[0101] Step 3: Based on the quotation curve obtained in step 2, a clearing model of the inter-provincial spot electricity energy market is established as an upper-level optimization model. The upper-level optimization model constructs an objective function with the minimum total cost of system operation in the region and constructs constraints.

[0102] Preferably but not limiting, step 3 specifically comprises:

[0103] Step 3.1: Based on the quotation curve in step 2, i.e., the clearing price, the present invention proposes a clearing model for the inter-provincial spot electricity market as an upper optimization model, taking into account the wind, solar, and storage combined power generation scenario, and constructing an objective function with the minimum total system operation cost in the region, which specifically includes the power generation cost of each power station and the inter-provincial transmission cost, and is specifically expressed by the following formula (8):

[0104]

[0105] Where:

[0106] f1 is the lower-level optimization target, which represents the total cost of system operation in the region;

[0107] T is the total number of time periods considered;

[0108] I is the total number of thermal power units in the inter-provincial region;

[0109] λ i,t The energy price reported for thermal power unit i in time period t;

[0110] P i,t is the winning bid output of thermal power unit i in period r;

[0111] and are the startup and shutdown costs of thermal power unit i in period t respectively;

[0112] W ss is the total number of wind, solar and energy storage power plants in the inter-provincial region;

[0113] For wind, solar and storage combined power station ss The declared price of energy in time period t;

[0114] For wind, solar and storage combined power station ss The bid output force in time period t;

[0115] N T is the total number of inter-provincial contact lines;

[0116] is the transmission price of the jth inter-provincial tie line;

[0117] is the transmission power of the j-th inter-provincial interconnection line in time period t.

[0118] Further preferably but not restrictively, the winning bid output of the wind-solar-storage combined power station in time period t is the wind-solar-storage combined power station w ss The sum of the winning outputs of all wind turbines, photovoltaic units and energy storage units in this period is expressed by the following formula (9):

[0119]

[0120] Where:

[0121] N, M, and E are the wind, solar, and storage combined power station w ss The total number of wind turbines, photovoltaic units and energy storage units in the project;

[0122] P n,t is the winning bid output of wind turbine n in time period t;

[0123] P m,t is the winning bid output of PV unit m in time period t;

[0124] are the charging and discharging powers of the energy storage e in time period t respectively.

[0125] Step 3.2: According to the objective function of the upper-level optimization model constructed in step 3.1, construct corresponding constraints, including: provincial load balance constraints, provincial positive and negative reserve capacity constraints, thermal power unit operation constraints and energy storage constraints.

[0126] Further preferably but not restrictively, the load balance constraint of each province is the balance between the sum of the bid output of the thermal power units in the province, the bid output of the wind, solar and storage combined power plants in the province and the injected power of the inter-provincial tie lines and the total load in the province, which is expressed by the following formula (10):

[0127]

[0128] Where:

[0129] Ir is the total number of thermal power units providing electricity supply in province r;

[0130] P i,r,t is the winning bid output of thermal power unit i in province r in time period r;

[0131] W ss,r The total number of wind, solar and energy storage combined power plants providing electricity supply to the province;

[0132] It is a wind, solar and energy storage combined power station in the province. ss The winning bid output in period t is still the wind-solar-storage combined power station w ssThe sum of the winning bid outputs of all internal wind turbines, photovoltaic units, and energy storage units during the period;

[0133] N T,r is the total number of inter-provincial contact lines associated with province r;

[0134] is the injected power of the inter-provincial tie line j associated with province r at time period t, where positive numbers represent input and negative numbers represent output;

[0135] D r,t is the total system load of province r in time period t;

[0136] P loss,t is the active power loss generated by the power grid in time period t.

[0137] Further preferably but not restrictively, the provincial positive and negative reserve capacity constraints are that the capacities of thermal power units, energy storage and inter-provincial interconnection lines meet the positive and negative reserve capacity requirements, which can be expressed by the following formulas (11) and (12):

[0138]

[0139] Where:

[0140] α i,t is a 0-1 variable, which is the operating status of thermal power unit i in time period t;

[0141] is the maximum power generation of thermal power unit i in province r during time period t;

[0142] E is the total amount of energy storage owned by wind, solar and energy storage combined power plants in province r;

[0143] is the power generation capacity of the energy storage e in the wind-solar-storage combined power plant in province r during time period t;

[0144] is the system positive reserve capacity requirement value of province r in time period t;

[0145] is the minimum power generation of thermal power unit i in province r during time period t;

[0146] is the charging power of the energy storage e in the wind-solar-storage combined power plant in province r during time period t;

[0147] is the system negative spare capacity requirement value in time period t.

[0148] Further preferably but not restrictively, the operation constraints of the thermal power unit are that the power generation power does not exceed the limit, the ramp rate does not exceed the limit, and the continuous shutdown and startup time do not exceed the limit, that is, formula (13) is the upper and lower limit power constraints of the thermal power unit, formula (14) is the ramp constraint of the thermal power unit, and formula (15) is the minimum continuous start and stop time constraint of the thermal power unit:

[0149]

[0150] Where:

[0151] and are the minimum and maximum power generation of thermal power unit i in time period t respectively;

[0152] ΔP i U , ΔP i D are the maximum up-slope and maximum down-slope rates of thermal power unit i respectively;

[0153] are the time that thermal power unit i has been shut down and started up continuously in period t respectively;

[0154] T D , T U They are respectively the minimum continuous shutdown time and the minimum continuous startup time of thermal power units.

[0155] Further preferably but not restrictively, the wind-solar-storage combined operation constraint is that the wind-solar-storage power does not exceed the limit, and the energy storage power does not exceed the limit. Specifically, the output of the wind-solar-storage combined power station includes three parts: wind power output, photovoltaic output and energy storage output. Among them, the wind power output and photovoltaic output are subject to the meteorological conditions of the next day, and the upper and lower limits of the output are not fixed, which is expressed by the following formulas (16) and (17); the energy storage is a bidirectional power supply, and the output needs to meet the battery power and charge and discharge rate constraints, which is expressed by the following formulas (18) and (19):

[0156]

[0157]

[0158] Where:

[0159] P n,t is the winning bid output of wind turbine n in period t, P m,t is the winning bid output of PV unit m in time period t;

[0160] are the maximum power generation of wind turbine n and photovoltaic unit m in the wind-solar-storage combined power station in time period r;

[0161] is the discharge power of energy storage e in time period t, is the charging power of energy storage e in time period t;

[0162] is the maximum discharge power of energy storage e, is the maximum charging power of the energy storage e;

[0163] SoC e,t is the state of charge of energy storage e in time period t, are the minimum and maximum permissible state of charge of the energy storage e, respectively;

[0164] η is the conversion efficiency of the energy storage battery;

[0165] V e is the total battery capacity of energy storage e.

[0166] Step 4: Establish a lower-level optimization model to update the decision variables in the upper-level optimization. The lower-level optimization model takes minimizing the active power loss of the power grid as the objective function and establishes constraints taking into account the power supply demand.

[0167] Preferably but not limiting, step 4 specifically comprises:

[0168] Step 4.1: The present invention proposes to construct a lower-level optimization model to update the decision variables in the upper-level optimization for further optimization. The lower-level optimization model takes minimizing the active power loss of the power grid as the objective function, which is expressed by the following formula (20):

[0169]

[0170] Where:

[0171] f2 is the optimization target of the lower layer;

[0172] is the per-unit value of active power loss, and its expression is shown in formula (21):

[0173]

[0174] Where:

[0175] N l is the total number of lines, N T is the total number of inter-provincial contact lines;

[0176] P loss,j is the power loss on the inter-provincial tie line j, P loss,l is the power loss on line l;

[0177] S B It is the base value of power grid system capacity.

[0178] Step 4.2: Based on the objective function of the lower-level optimization model constructed in step 4.1, construct corresponding constraints, including: inter-provincial interconnection line transmission constraints, regional branch flow constraints, and power supply constraints.

[0179] Further preferably but not restrictively, the inter-provincial tie line transmission constraint is that the inter-provincial tie line transmission power does not exceed the limit, which is expressed by the following formulas (22) and (23):

[0180]

[0181] Where:

[0182] are the minimum and maximum transmission power limits of inter-provincial tie line j in time period t, respectively;

[0183] G j,i is the generator output power transfer distribution factor of the node where thermal power unit i is located to the inter-provincial tie line j;

[0184] is the generator output power transfer distribution factor of the node where the wind-solar-storage combined power plant is located to the inter-provincial tie line j;

[0185] N h is the total number of contact lines outside the region;

[0186] G j,h is the generator output power transfer distribution factor of the node where the extra-regional tie line h is located to the inter-provincial tie line j;

[0187] K is the total number of system load nodes;

[0188] G j,k is the generator output power transfer distribution factor of node k on inter-provincial tie line j;

[0189] D k,t is the bus net load value of node k in time period t.

[0190] Further preferably but not restrictively, the branch power flow constraint in the region is that the power flow transmission of line l of the branch in the region does not exceed the limit, which is expressed by the following formula (24):

[0191]

[0192] Where:

[0193] is the power flow transmission limit of line l;

[0194] G l,i is the generator output power transfer distribution factor of the node where the thermal power unit i is located on the line l;

[0195] The node w is where the wind-solar-storage combined power plant is located. ss The generator output power transfer distribution factor for line l;

[0196] G l,j is the generator output power transfer distribution factor for line l at the node where the inter-provincial tie line j is located;

[0197] K is the number of load nodes in the area;

[0198] G l,k is the generator output power transfer distribution factor of node k on line l;

[0199] D k,t is the net bus load value of node k in the region in time period t;

[0200] are the forward and reverse power flow slack variables of line l respectively.

[0201] Further preferably but not restrictively, the operation constraints of the thermal power unit are that the power generation power does not exceed the limit, the ramp rate does not exceed the limit, and the continuous shutdown and startup time do not exceed the limit, that is, formula (25) is the upper and lower limit power constraints of the thermal power unit, formula (26) is the ramp constraint of the thermal power unit, and formula (27) is the minimum continuous start and stop time constraint of the thermal power unit:

[0202]

[0203] Where:

[0204] and are the minimum and maximum power generation of thermal power unit i in time period t respectively;

[0205] ΔP i U , ΔP i D are the maximum up-slope and maximum down-slope rates of thermal power unit i respectively;

[0206] are the time that thermal power unit i has been shut down and started up continuously in period t respectively;

[0207] T D , T U They are respectively the minimum continuous shutdown time and the minimum continuous startup time of thermal power units.

[0208] Further preferably but not restrictively, the wind-solar-storage combined operation constraint is that the wind-solar-storage power does not exceed the limit, and the energy storage power does not exceed the limit. Specifically, the output of the wind-solar-storage combined power station includes three parts: wind power output, photovoltaic output and energy storage output. Among them, the wind power output and photovoltaic output are subject to the meteorological conditions of the next day, and the upper and lower limits of the output are not fixed, which is expressed by the following formulas (28) and (29); the energy storage is a bidirectional power supply, and the output needs to meet the battery power and charge and discharge rate constraints, which is expressed by the following formulas (30) and (31):

[0209]

[0210]

[0211] Further preferably but not restrictively, the power supply guarantee constraint is that the power grid must first meet the power demand of the power supply guarantee load. If a node user participates in the power supply guarantee transaction mode, the energy storage system must guarantee its power supply when the user's power outage occurs within a certain period of time, so the SoC and charging and discharging power of the energy storage system are restricted. Among them, in order to ensure the power supply of the specified load, the charging and discharging power of the energy storage must not be less than the size of the load specified in the power supply guarantee contract. This constraint is shown in formula (32); in addition, the SoC of the energy storage should meet the power supply guarantee duration task. Formula (33) represents how long the energy storage can guarantee the power supply to the specified user.

[0212]

[0213] Where:

[0214] κ is the proportion of power supply load;

[0215] T bd The power supply time required to ensure the power supply load.

[0216] Step 5: For the two-layer optimization model constructed in steps 3 and 4, a genetic algorithm is used to solve the two-layer optimization model. The clearing result is obtained and output.

[0217] Embodiment 2 of the present invention provides an inter-provincial power market clearing system taking into account the demand for power supply guarantee, and runs an inter-provincial power market clearing method taking into account the demand for power supply guarantee as described in Embodiment 1, including:

[0218] Data input and storage module, used to input and store the provincial spot market operation data;

[0219] The quotation module generates the quotation curve for the purchasing province to participate in the inter-provincial electricity spot market based on the provincial spot market operation data;

[0220] The clearing optimization processing module has an upper optimization model used as a clearing model for the inter-provincial spot electricity energy market and a lower optimization model used to optimize decision variables taking into account the power supply demand;

[0221] The solver solves the upper model of the clearing optimization processing module, determines the clearing results and outputs them.

[0222] Embodiment 3 of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is loaded into the processor, an inter-provincial electricity market clearing method taking into account power supply security needs according to Embodiment 1 is implemented.

[0223] Embodiment 4 of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements an inter-provincial electricity market clearing method taking into account power supply security needs according to Embodiment 1.

[0224] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0225] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for clearing inter-provincial electricity markets taking into account the need for guaranteed power supply, characterized in that: The following steps are involved: Based on the provincial spot market operation data, the quotation curve of the power purchasing province participating in the inter-provincial power spot market is calculated; Based on the quotation curve, a clearing model of the inter-provincial spot electricity energy market is established as an upper optimization model. The upper optimization model constructs an objective function with the minimum total cost of system operation in the region and constructs constraint conditions; Establish a lower-level optimization model to update the decision variables in the upper-level optimization. The lower-level optimization model takes minimizing the active power loss of the power grid as the objective function and establishes constraint conditions taking into account the power supply demand. For a double-layer optimization model consisting of an upper-layer optimization model and a lower-layer optimization model, the double-layer optimization model is solved to obtain a definite clearing result and output it.

2. The inter-provincial power market clearing method taking into account the power supply demand according to claim 1 is characterized by: The quotation curves of the power purchasing province participating in the inter-provincial power spot market are calculated based on the provincial spot market operation data, including: The objective function of the economic dispatch model within the power purchasing province is constructed to minimize the sum of the generation cost and the demand response cost; The constraints for constructing the economic dispatch model within the power purchasing province include: power balance constraints within the power purchasing province, generator output constraints, and demand response constraints; Based on the economic dispatch model within the power purchasing province, the quotation curve of the segmented power purchasing provinces participating in the inter-provincial electricity spot market is obtained.

3. The inter-provincial power market clearing method taking into account the power supply demand according to claim 2 is characterized by: Based on the economic dispatch model within the power purchasing province, the price curves of the segmented power purchasing provinces participating in the inter-provincial power spot market are obtained, including: Establish a constraint that the benefits of electricity purchasing provinces participating in the inter-provincial market and purchasing electricity are no less than those of not participating in the inter-provincial market; The continuous bidding function is transformed into a piecewise bidding function, which is always located below the marginal inter-provincial electricity purchase volume-price curve, ensuring that the electricity purchasing provinces can profit from participating in the inter-provincial market.

4. A method for clearing the inter-provincial power market taking into account the demand for guaranteed power supply according to any one of claims 1 to 3, characterized in that: The upper optimization model builds the objective function with the minimum total cost of system operation in the region, including: Taking into account the scenario of combined photovoltaic and storage power generation, the objective function is constructed by minimizing the total cost of system operation in the region, which specifically includes the power generation cost of each power station and the inter-provincial transmission cost, which is specifically expressed by the following formula (1): Where: f1 is the lower-level optimization target, which represents the total cost of system operation in the region; T is the total number of time periods considered, and I is the total number of thermal power units in the interprovincial region; λ i,t Declare the energy price for thermal power unit i in time period y; P i,t is the winning bid output of thermal power unit i in time period t; and are the startup and shutdown costs of thermal power unit i in period t respectively; W ss is the total number of wind, solar and energy storage power plants in the inter-provincial region; For wind, solar and storage combined power station ss The declared price of energy in time period t; For wind, solar and storage combined power station ss The bid output force in time period t; N T is the total number of inter-provincial contact lines; is the transmission price of the jth inter-provincial tie line; is the transmission power of the j-th inter-provincial interconnection line in time period t.

5. The inter-provincial power market clearing method taking into account the power supply guarantee demand according to claim 4 is characterized by: According to the objective function of the upper-level optimization model, corresponding constraints are constructed, including: provincial load balance constraints, provincial positive and negative reserve capacity constraints, thermal power unit operation constraints and energy storage constraints.

6. A method for clearing the inter-provincial power market taking into account the demand for guaranteed power supply according to any one of claims 1 to 3, characterized in that: The lower optimization model takes minimizing the active power loss of the power grid as the objective function, which is expressed by the following formulas (2) and (3): Where: f2 is the optimization target of the lower layer; is the per-unit value of active power loss, P loss,j is the power loss on the inter-provincial tie line j, P loss,l is the power loss on line l; N l is the total number of lines, N T is the total number of inter-provincial contact lines; S B It is the base value of power grid system capacity.

7. The inter-provincial power market clearing method taking into account the power supply guarantee demand according to claim 6 is characterized by: The corresponding constraints of the objective function of the lower-level optimization model include: inter-provincial interconnection line transmission constraints, regional branch power flow constraints, and power supply constraints.

8. A method for clearing the inter-provincial electricity market taking into account the demand for guaranteed power supply according to any one of claims 1 to 3, characterized in that: The power supply guarantee constraint is that the power grid must first meet the power demand of the power supply guarantee load; If a node user participates in the power supply guarantee transaction mode, the energy storage system must guarantee its power supply when the user has a power outage within the set time.

9. The inter-provincial power market clearing method taking into account the power supply guarantee demand according to claim 8, characterized in that: To ensure the power supply of the specified load, the charging and discharging power of the energy storage must not be less than the size of the specified load for power supply guarantee, and the SoC of the energy storage should meet the power supply guarantee duration task, which can be expressed as the following formulas (4) and (5): Where: κ is the proportion of power supply load; T bd The power supply time required to ensure the power supply load.

10. An inter-provincial power market clearing system taking into account the demand for power supply guarantee, characterized in that: include: Data input and storage module, used to input and store the provincial spot market operation data; The quotation module generates the quotation curve for the purchasing province to participate in the inter-provincial electricity spot market based on the provincial spot market operation data; The clearing optimization processing module has an upper optimization model used as a clearing model for the inter-provincial spot electricity energy market and a lower optimization model used to optimize decision variables taking into account the demand for power supply guarantee; The solver solves the upper model of the clearing optimization processing module, determines the clearing results and outputs them.