Electric power natural gas market clearing simulation method and system oriented to flexibility improvement

By building a joint operation simulation framework for electrical gas-turning equipment and a bidirectional dynamic coupling bidding strategy for gas-electricity, the problems of power system flexibility shortage and market clearance complexity are solved, and efficient resource allocation and market clearance are achieved.

CN119941297AActive Publication Date: 2025-05-06SHANDONG UNIV
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510428450.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-08
Publication Date
2025-05-06
Estimated Expiration
2045-04-08

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively solve the lack of flexibility in power systems, and the existing market clearing methods have problems such as difficulty in modeling equipment coupling constraints, low efficiency in resource allocation for flexibility adjustment, and high complexity in solving.

Method used

A simulation method and system for the improvement of flexibility in the power natural gas market is proposed. By building a joint operation simulation framework between gas and electric gas-to-gas equipment, a bidirectional dynamic coupling bidding strategy is proposed, and a unified energy and flexible market clearance mechanism is adopted to improve the linearization method of nonlinear constraints in the natural gas network to avoid the introduction of binary variables.

Benefits of technology

It realizes flexible operation of the system and efficient solution of the model, provides a strong basis for the optimized allocation of actual market-oriented flexible resources, and reduces the losses caused by market energy scheduling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119941297A_ABST
    Figure CN119941297A_ABST
Patent Text Reader

Abstract

The invention discloses an electric power natural gas market clearing simulation method and system oriented to flexibility improvement, and relates to the technical field of multi-energy market collaboration. The method comprises the following steps: constructing a bidding optimization model by taking a gas turbine and electricity-to-gas equipment as a gas-electricity conversion collaboration body; constructing a bidding strategy model according to bidirectional energy interaction; designing an aggregation clearing mechanism according to energy demands and energy prices of the power load and the natural gas load; and carrying out linearization processing on a nonlinear equation in the aggregation clearing mechanism, and solving the aggregation clearing mechanism. According to the method, the gas turbine and the power-to-gas equipment are bound to participate in the electric energy market, the flexibility requirement is jointly responded, energy and flexibility are aggregated and cleared, linear improvement is conducted on a nonlinear equation in a natural gas network, and efficient clearing simulation of the electric power natural gas market is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of multi-energy market coordination technology, and in particular to an electricity and natural gas market clearing simulation method and system for improving flexibility. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] In recent years, with the large-scale grid connection of renewable energy, its volatility and uncertainty have caused a huge lack of flexibility in the power system. The development and maturity of the integrated energy market has provided a market-based solution to this problem. In the electric and natural gas energy system, gas turbines (GT) and power-to-gas equipment (P2G) have strong flexible adjustment capabilities due to their relatively fast response rates, and the two can work together to achieve a two-way flow of energy between the electric and natural gas systems. By designing bidding strategies and market regulation mechanisms for energy conversion equipment, it is helpful to give play to the complementary advantages of electricity and natural gas and achieve a reasonable allocation of flexible resources in the market.

[0004] As the demand for flexibility in the power system increases, it is necessary to use market-based means to achieve the optimal allocation of flexibility resources. Since the losses caused by actual scheduling errors in market resources are difficult to recover, and there is currently a lack of simulation methods for market clearing simulation, it is impossible to provide a strong basis for the optimal allocation of actual market-based flexibility resources.

[0005] At present, the market-oriented regulation of power system flexibility should include the design of market mechanisms and the optimization of bidding strategies of market players. However, the existing separate bidding strategy for coupled equipment is not conducive to giving full play to the complementary and synergistic advantages between different equipment, resulting in an increase in system operation risks and not conducive to improving energy utilization efficiency; the existing energy market trading mechanism is not conducive to the quantification and allocation of flexibility regulation resources, and it is difficult to fully respond to the system's flexibility shortage; the existing market clearing solution method introduces a large number of binary variables (0-1 variables) or requires multiple iterations, which is not conducive to efficient solution.

[0006] Some existing studies have proposed market-based regulatory means to improve operational flexibility. Some regulatory means focus on optimizing the behavior of a single market player, while others construct a joint operation and clearing method for the electricity market and the natural gas market, and use a piecewise linearization method to deal with the nonlinear equations of the natural gas network. The above methods provide joint operation strategies for the electricity and natural gas markets from the perspectives of bidding strategies and clearing rules, respectively, which improves the flexibility of system operation and the accuracy of model solutions. However, the coupling constraint modeling problem of gas turbines and power-to-gas equipment in joint bidding has not yet been solved, nor has the mechanism barrier of joint clearing of flexibility regulation products and energy markets been broken through. In addition, the nonlinear equations in the natural gas network are processed by a piecewise linearization method that introduces a large number of binary variables, resulting in insufficient release of equipment synergy potential, limited market resource allocation efficiency, and difficulty in solving market clearing results.

[0007] In summary, how to achieve efficient clearing simulation of the electricity and natural gas joint market based on flexibility and energy trading has become a technical problem that needs to be urgently solved by existing technologies. Summary of the invention

[0008] In view of the shortcomings of the prior art, the purpose of the present invention is to provide a method and system for simulating the clearing of the electricity and natural gas market for improving flexibility, construct a joint operation simulation framework for gas and electricity-to-gas equipment, propose a gas-electricity two-way dynamic coupling bidding strategy, propose a unified clearing method for the energy market and the flexibility market, and improve the linearization method of nonlinear constraints of the natural gas network, avoiding the introduction of binary variables, achieving flexible operation of the system and efficient solution of the model, and providing a strong basis for the optimal allocation of actual market-oriented flexibility resources.

[0009] In order to achieve the above object, the present invention is implemented through the following technical solutions: A first aspect of the present invention provides a method for simulating the clearing of an electricity and natural gas market for improving flexibility, comprising the following steps: Obtain the operating parameters of the integrated energy system to be controlled, the operating parameters of the gas turbine and the power-to-gas equipment, the power load, the natural gas load and the predicted parameters of new energy, and construct a bidding optimization model by taking the gas turbine and the power-to-gas equipment as a gas-to-electricity conversion synergy; According to the bidding optimization model, a bidding strategy model is constructed based on the two-way energy interaction between the gas-electricity conversion consortium and the joint operation market; Based on the two-way energy interaction, a bidding strategy model is constructed, and an aggregate clearing mechanism is designed according to the energy demand and energy price of electricity load and natural gas load; The nonlinear equations in the aggregate-clearing mechanism are linearized and the aggregate-clearing mechanism is solved.

[0010] Furthermore, the jointly operated market includes the electricity market, the natural gas market and the flexible regulation product market.

[0011] Furthermore, in the aggregate clearing mechanism, the electricity and natural gas energy markets are cleared according to marginal prices, and the flexible adjustment products in the flexible adjustment product market are cleared according to opportunity costs.

[0012] Furthermore, the aggregate clearing mechanism needs to meet the basic constraints of the power system and the operating constraints of the natural gas system.

[0013] Furthermore, the specific steps for linearizing the nonlinear equations in the aggregate clearing mechanism are as follows: Introducing piecewise penalty terms into the objective function of the aggregate clearing mechanism; The monotonicity of the slope of each segment after the nonlinear equation is segmented is used to constrain the order of continuous variables so that the continuous variables can only take values ​​from left to right, thereby realizing linearization of the nonlinear equation.

[0014] A second aspect of the present invention provides a power and natural gas market clearing simulation system for improving flexibility, comprising: The data acquisition module is configured to acquire the operating parameters of the integrated energy system to be controlled, the operating parameters of the gas turbine and the power-to-gas equipment, the power load and the natural gas load and the prediction parameters of new energy, and to construct a bidding optimization model by taking the gas turbine and the power-to-gas equipment as a gas-to-electricity conversion synergistic body; An energy interaction model building module is configured to build a bidding strategy model based on the two-way energy interaction between the gas-electricity conversion consortium and the joint operation market according to the bidding optimization model; The clearing mechanism design module is configured to build a bidding strategy model based on two-way energy interaction and design an aggregate clearing mechanism according to the energy demand and energy price of the electricity load and natural gas load; The solution module is configured to linearize the nonlinear equations in the aggregate clearing mechanism and solve the aggregate clearing mechanism.

[0015] Furthermore, in the energy interaction model construction module, the joint operation market includes the electricity market, the natural gas market and the flexible regulation product market.

[0016] Furthermore, in the clearing mechanism design module, the electricity and natural gas energy markets in the aggregate clearing mechanism are cleared according to marginal prices, and the flexible adjustment products in the flexible adjustment product market are cleared according to opportunity costs.

[0017] Furthermore, in the clearing mechanism design module, the aggregate clearing mechanism needs to meet the basic constraints of the power system and the operating constraints of the natural gas system.

[0018] Furthermore, the solution module is configured as follows: Introducing piecewise penalty terms into the objective function of the aggregate clearing mechanism; The monotonicity of the slope of each segment after the nonlinear equation is segmented is used to constrain the order of continuous variables so that the continuous variables can only take values ​​from left to right, thereby realizing linearization of the nonlinear equation.

[0019] One or more of the above technical solutions have the following beneficial effects: The present invention discloses a method and system for simulating the clearing of the electricity and natural gas market for improving flexibility, and proposes a gas-electricity bidirectional dynamic coupling bidding strategy, which allows gas turbines and power-to-gas equipment to participate in the electricity-gas energy market and jointly respond to flexibility needs. With the goal of maximizing the benefits of the coordinated bidding of the two, the coupling constraints and equipment operation constraints of the two types of equipment are considered to make bidding optimization decisions.

[0020] The present invention proposes an energy and flexibility aggregation clearing mechanism in the electricity-gas energy market. Pricing is performed according to the node marginal price in the energy market and according to the opportunity cost in the FRP market, thereby achieving clearing of the energy market and efficient allocation of flexible regulation resources.

[0021] The present invention proposes a linearization method for the Weymouth equation without introducing binary variables, introduces a piecewise penalty term in the objective function, and utilizes the monotonicity of the slope of each segment after the Weymouth equation is segmented to constrain the value order of continuous variables, so that the continuous variables can only take values ​​from left to right, taking into account both the solution accuracy and solution efficiency of the model.

[0022] The present invention performs clearing simulation by constructing a joint operation simulation framework of gas and power-to-gas equipment, providing a strong basis for the optimal allocation of actual market-oriented flexibility resources and reducing losses caused by the actual market energy scheduling process.

[0023] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0025] Figure 1 This is a flow chart of a method for simulating the clearing of an electricity and natural gas market for improving flexibility in the first embodiment of the present invention; Figure 2 It is a schematic diagram of the improved piecewise linearization in the first embodiment of the present invention. DETAILED DESCRIPTION

[0026] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0027] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "include" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or their combinations; Terminology explanation: Flexibility: Flexibility usually refers to the ability of a system to cope with source-load uncertainty fluctuations. In this invention, it refers to the ability of the electricity-gas system to cope with source-load uncertainty fluctuations (random fluctuations of renewable energy and random disturbances of power load, etc.).

[0028] Gas-electricity bidirectional dynamic coupling bidding strategy: refers to the optimization method of joint bidding of gas turbines (gas-to-electricity) and power-to-gas equipment (power-to-gas) in the electricity / natural gas market. By linking the output of both parties through the energy conversion constraints between the two, multi-energy market coordination and system flexibility can be achieved.

[0029] Gas-to-electricity conversion complex: A complex consisting of gas turbines and power-to-gas equipment that operates in a joint bidding manner and can achieve two-way flow of energy.

[0030] Flexible Regulation Product (FRP): Flexible regulation refers to the ability of controllable resources to adjust within a given response time. FRP is an ancillary service market product used to meet changes in net power load in scheduling and market clearing.

[0031] Market joint clearing mechanism considering energy and flexibility: Under the unified market framework, electricity and natural gas energy transactions and flexibility resources are optimized simultaneously to achieve the most economically optimal multi-energy market joint clearing and flexibility service allocation.

[0032] Opportunity cost: The benefits lost when a gas-to-electricity conversion consortium fails to provide electricity due to providing flexible regulation products.

[0033] Operating cost: the loss of benefits incurred during the operation of the gas-electricity conversion complex.

[0034] Embodiment 1: Embodiment 1 of the present invention provides a method for simulating the clearing of an electricity and natural gas market for improving flexibility. Figure 1As shown, the gas-to-electricity conversion complex composed of gas turbines and power-to-gas equipment provides the joint operation market with the bid price of electricity, bid electricity volume, bid price of natural gas and bid natural gas price. The electricity load and natural gas load provide energy demand and energy price to the joint operation market. The joint operation market builds an aggregated clearing mechanism for energy and flexibility based on the interactive relationship between the electricity market, natural gas market and FRP market, and clears the electricity price, bid electricity volume, natural gas price, bid natural gas volume, node FRP price and FRP power of each unit to the complex.

[0035] The specific steps include: Step 1: Obtain the operating parameters of the integrated energy system to be controlled, the operating parameters of the gas turbine and the power-to-gas equipment, the power load, the natural gas load and the predicted parameters of new energy. Consider the gas turbine and the power-to-gas equipment as a gas-to-electricity conversion synergy to construct a bidding optimization model.

[0036] Step 2: Based on the two-way energy interaction between the gas-electricity conversion coordination body and the joint operation market, a bidding strategy model is constructed according to the bidding optimization model with the goal of maximizing the bidding benefits of the gas-electricity conversion coordination body. Among them, the joint operation market includes the electricity market, the natural gas market and the flexible regulation product market.

[0037] The bidirectional flow of energy is a notable feature of the electricity-gas energy system. As important energy conversion equipment in the electricity-natural gas energy system, gas turbines and power-to-gas equipment have the characteristics of rapid start and stop and a wide adjustment range, and can quickly respond to the flexibility shortage of the power system. The synergy of the two can enhance the flexible adjustment capability of the system. The traditional energy market clearing method only considers the separate bidding of the two, which is not conducive to improving the flexibility of bidding and the benefits of both. Therefore, this embodiment proposes a gas-electric bidirectional dynamic coupling bidding strategy, which allows gas turbines and power-to-gas equipment to participate in the electricity-gas energy market and jointly respond to flexibility needs. With the goal of maximizing the benefits of the coordinated bidding of the two, the coupling constraints and equipment operation constraints of the two types of equipment are considered to make bidding optimization decisions.

[0038] In a specific implementation, the mathematical expression of the bidding strategy model objective function is: (1).

[0039] Where: is the number of gas-to-electricity conversion complexes, is the number of bidding periods the day before, For the A collaborative body, For the The bidding period before the day For the collaborative The number of gas turbines, For the collaborative The number of power-to-gas equipment, m is the mth gas turbine, n is the nth power-to-gas equipment; is the grid node clearing price of cooperative entity i in period t, is the natural gas system node clearing price of the cooperative i in period t, is the settlement price of the upward flexibility product of consortium i in period t, is the settlement price of the downside flexibility product of consortium i in period t; is the winning bid for the electricity sold by cooperative entity i in period t, is the winning bid for gas sales volume of cooperative entity i in period t; and are the settlement capacities of upstream and downstream flexibility products of consortium i in period t respectively; For gas turbines The operating cost; Power-to-gas equipment running cost.

[0040] The electricity and natural gas sold by the cooperative meet the following constraints. Explicit (2) indicates that the electricity traded by the cooperative in the market is equal to the difference between the gas turbine and the power-to-gas equipment. Formula (3) indicates that the cooperative can calculate the amount of natural gas sold by selling electricity and gas-to-electricity conversion efficiency: (2) (3).

[0041] Where: and are the winning bid electricity of gas turbine m and power-to-gas equipment n in cooperative entity i in period t; is the natural gas volume won by cooperative entity i in period t; and are the gas-to-electricity conversion efficiencies of the gas turbine m and the power-to-gas device n in the coordinated entity i, respectively.

[0042] The upstream and downstream flexibility capacity sold by the cooperative is provided by the gas turbine and the power-to-gas equipment. The cooperation between the two can meet the system flexibility shortage while reducing the operating cost. The flexibility capacity constraints and equipment constraints of the gas turbine and the power-to-gas equipment are shown in equations (4)-(11). The required flexibility capacity of the system is provided by the gas turbine and the power-to-gas equipment: (4) (5).

[0043] Where: and are the upstream and downstream flexibility product settlement capacities of gas turbine m of cooperative entity i in period t, respectively; and are the settlement capacities of upstream and downstream flexibility products of power-to-gas equipment n of cooperative entity i in period t, respectively; The operation of gas turbines and power-to-gas equipment must meet the upper and lower output constraints (6)-(9) and the maximum ramp power constraints (10)-(13): (6) (7) (8) (9) (10) (11), (12) (13).

[0044] Where: and are the upper and lower limits of gas turbine output respectively; and They are the upper and lower limits of the output of the P2G unit respectively; and are the maximum values ​​of the upward and downward climbing rates of the power-to-gas equipment, respectively; and are the maximum values ​​of the gas turbine's upward and downward ramp rates, respectively.

[0045] The above formulas (1)-(13) constitute the bidding strategy model of the gas-electricity conversion coordination body, which aims to maximize the total benefit of the coordination body's energy and flexibility capacity sales, and considers the equipment operation constraints, energy coupling constraints and flexibility constraints to maximize the benefits of the coordination body. Compared with the strategy of gas turbines and power-to-gas equipment participating in bidding separately, the bidding strategy model of the gas-electricity conversion coordination body in this embodiment can reflect the two-way conversion of system energy, give full play to the synergy potential between energy conversion equipment, and enable the coordination body to obtain more energy sales benefits; compared with the bidding strategy that simply considers the maximization of energy sales benefits, the method in this embodiment considers the settlement benefits of flexibility products, which helps to take into account the flexible operation of the system and the economic operation of the equipment, and solve the problem of insufficient flexible adjustment capacity of the power system.

[0046] Step 3: Construct a bidding strategy model based on two-way energy interaction, and design an aggregate clearing mechanism based on the energy demand and energy price of electricity load and natural gas load with the goal of maximizing market operation benefits.

[0047] The uncertain fluctuations of net power load have brought a high flexibility deficit to the power system. Traditional market mechanisms and ancillary services are difficult to fully compensate for this deficit, which limits the efficient allocation of flexible resources in the integrated energy system. Flexible regulation products (FRPs) have been applied in the power market as a market-based means to enhance flexibility. However, the mechanism barriers for the integrated clearing of energy and flexibility resources have not yet been broken, and the clearing mechanism and application prospects of flexibility resources in the integrated energy market have yet to be explored. Therefore, this embodiment proposes an energy and flexibility aggregation clearing mechanism in the electricity-gas energy market, pricing in the energy market according to the node marginal price, and pricing in the FRP market according to the opportunity cost, thereby achieving the clearing of the energy market and the efficient allocation of flexible regulation resources.

[0048] In a specific implementation, this embodiment proposes an aggregate clearing mechanism for the energy and flexibility markets, with the goal of maximizing the market operation benefits. The objective function formula is: (14).

[0049] Where: is the number of power loads, The amount of natural gas load, is the electricity bidding price of power node j in period t, is the natural gas bidding price of natural gas node g in period t; is the power load of power node j in period t, is the natural gas load of node g in the natural gas system during period t; is the electricity bidding price of cooperative i in period t, is the natural gas bidding price of cooperative entity i in period t; is the upward flexibility bid price of cooperative i in period t, is the downside flexibility bid price of cooperative entity i in period t.

[0050] In the aggregate clearing mechanism, the electricity and natural gas energy markets are cleared according to marginal prices, while for flexible adjustment products, market players do not need to quote them, and flexible adjustment products are cleared according to opportunity costs.

[0051] The aggregate clearing mechanism needs to meet the basic constraints of the power system and the operating constraints of the natural gas system.

[0052] The basic constraints of the power system in the clearing model are shown in Equations (15)-(20), including power balance constraints (15), DC power flow equations (16), flexibility supply and demand constraints (17)-(18), line power flow constraints (19), wind power output upper and lower limit constraints (20) and node phase angle constraints (21): (15) (16), (17), (18), (19), (20), (twenty one).

[0053] Where: e represents the power system node e, is the transmission active power of power line l in period t; is the conductance of the power line l; Forecast the output of wind power wf in period t; is the phase angle of the power line first node, is the phase angle of the last node of power line l; is the upward flexibility demand of the power system in period t; is the downstream flexibility demand of the power system in period t; and are the upper and lower limits of the transmission power of line l in period t; and The upper and lower limits of wind power wf output in period t; is the phase angle of node e in the power system during period t; The flexibility requirement calculation method on the right side of constraints (17)-(18) is as follows: (twenty two), (twenty three).

[0054] Where: For power load t Upward flexibility requirements during the time period, For power load t Downward flexibility requirements during the time period, For power load j exist t The forecast value for the time period.

[0055] (twenty four), (25).

[0056] Where: wind represents the set of wind power nodes, For wind power t Upward flexibility requirements during the time period, For wind powert Downward flexibility requirements during the time period. For wind power wf t The forecast value for the time period.

[0057] (26), (27).

[0058] The operating constraints of the natural gas system are shown in Equations (28)-(31), including (28) node flow balance constraints, (29) Weymouth equation, (30) pipeline average flow expression, and (31) pipeline flow upper and lower limit constraints.

[0059] (28) (29), (30), (31).

[0060] Where: g represents the natural gas system node g, is the gas flow transmitted by the natural gas pipeline gl during period t; Indicates that g is the source node of pipeline gl, Indicates that g is the destination node of pipeline gl; and are the flow rates at the inlet and outlet of pipeline gl during period t respectively; and are the pressures at the beginning and end of the pipeline gl during period t, respectively; is the pipeline constant, which is related to factors such as pipeline length, cross-sectional area and temperature; is the gas flow rate of natural gas source w in period t; is the gas load flow of the natural gas system node g in period t; and They are the upper and lower limits of the gl flow rate of the natural gas pipeline respectively.

[0061] Therefore, equations (14)-(31) constitute a market joint clearing mechanism that takes both energy and flexibility into consideration, takes market operation efficiency maximization as the goal, takes into account the basic constraints of system operation, and realizes the aggregate clearing of electricity, natural gas, and flexible regulation products. Compared with the traditional energy market, the market joint clearing mechanism of this embodiment helps to fully develop the flexibility resources of the natural gas system, reduce the dependence on traditional power reserve resources such as thermal power and hydropower, and improve the system's operational flexibility.

[0062] Step 4: Linearize the nonlinear equations in the aggregate clearing mechanism and solve the aggregate clearing mechanism.

[0063] The Weymouth equation in the natural gas system equation is a nonlinear equation. In order to simplify the solution, it is necessary to linearize it. The traditional piecewise linearization method needs to introduce a large number of binary variables, which increases the difficulty of solving the model and limits the solution rate. Therefore, this embodiment proposes a Weymouth equation linearization method without introducing binary variables. By introducing a piecewise penalty term in the objective function of the aggregate clearing mechanism, the monotonicity of the slope of each segment after the Weymouth nonlinear equation is segmented is used to constrain the order of continuous variables, so that the continuous variables can only take values ​​from the left to the right, and the nonlinear equation is linearized, taking into account the solution accuracy and solution efficiency of the model.

[0064] In a specific implementation, the Weymouth equation in the natural gas system operation constraint is a nonlinear equation, that is, equation (29), first introducing two variables and As an intermediate variable to replace the square term and , preprocess it: (32), (33).

[0065] Thus, the Weymouth equation can be transformed into (34).

[0066] In the formula, the symbolic function on the right side of the equation can be simplified using the implies statement in MATLAB when solving it, which solves the problem of difficulty in solving the function on the right side of the equation. However, the left side of the equation is still nonlinear, so it is necessary to linearize the function on the left side of the equation, that is, Linearization, its function graph is as shown in the attached Figure 2 As shown. For the pipeline gl in period t, let the number of segments be N, and the continuous variable of the rth segment be , the linearization constraints of pipeline gl in period t are as follows: (35), (36), (37), (38), (39), (40), (41).

[0067] Where: is the slope of the rth segment, is the function value at the segmentation point r, is the length of the rth segment. Equations (35)-(36) are the calculation formulas for the horizontal and vertical coordinates of the segment points, Equations (37)-(38) are the calculation formulas for the slopes of each segment, Equations (39)-(40) are the expressions of the linearized function values, and Equation (41) is the constraint on the continuous variable values ​​of each segment.

[0068] Formulas (29)-(33) are piecewise linearization processes. Figure 2 It can be seen that arrive The slope is monotonically increasing. In order to ensure that the continuous variables of each segment are taken from left to right, that is, the continuous variables on the left side can only have values ​​after the continuous variables on the left side reach the upper limit, the segmented penalty term is introduced in the objective function of the clearing model. , is the penalty factor, which needs to be adjusted according to the solution situation. is the number of gas network pipelines. This ensures the order of continuous variables, and the improved objective function (42) is expressed as: (42).

[0069] Therefore, equations (32)-(33), (35)-(42) realize the piecewise linearization process without introducing binary variables. If the traditional piecewise linearization method is used, in addition to introducing continuous variables In addition, binary variables need to be introduced , compared with the method proposed in this embodiment, each pipeline will introduce more binary variables, and the model will become a mixed integer programming model, which greatly increases the difficulty of solving. The mathematical characteristic that the segmented slope increases with the horizontal axis avoids the introduction of binary variables and has great advantages in improving the efficiency of solving optimization problems in power and natural gas systems.

[0070] In order to prove the rationality of this method, the monotonicity of the slope is proved. , then the function is a convex function, then: (43).

[0071] Then the function The slope of is monotonically increasing, which verifies the rationality of the method of this embodiment. The model of the present invention is a two-layer optimization model. When solving, the Weymouth equation is first linearized, and then the lower-layer energy and flexibility aggregation clearing model is transformed into the Kuhn-Tucker condition (Karush-Kuhn-Tucker, KKT), and the upper-layer gas-electricity bidirectional dynamic coupling bidding strategy model is solved jointly to obtain the bidding results of gas turbines and power-to-gas equipment and the market clearing results. The method for solving the two-layer optimization model is relatively mature and does not belong to the innovation of the present invention, so it will not be repeated.

[0072] Embodiment 2: Embodiment 2 of the present invention provides a power and natural gas market clearing simulation system for improving flexibility, including: The data acquisition module is configured to acquire the operating parameters of the integrated energy system to be controlled, the operating parameters of the gas turbine and the power-to-gas equipment, the power load, the natural gas load and the forecast parameters of new energy, and to construct a bidding optimization model by taking the gas turbine and the power-to-gas equipment as a gas-to-electricity conversion synergistic body; An energy interaction model building module is configured to build a bidding strategy model based on the two-way energy interaction between the gas-electricity conversion consortium and the joint operation market according to the bidding optimization model; In the energy interaction model construction module, the joint operation market includes the electricity market, the natural gas market and the flexible regulation product market.

[0073] The clearing mechanism design module is configured to build a bidding strategy model based on two-way energy interaction and design an aggregate clearing mechanism according to the energy demand and energy price of the electricity load and natural gas load; In the clearing mechanism design module, the electricity and natural gas energy markets in the aggregate clearing mechanism are cleared according to marginal prices, and the flexible adjustment products in the flexible adjustment product market are cleared according to opportunity costs. The aggregate clearing mechanism needs to meet the basic constraints of the power system and the operation constraints of the natural gas system.

[0074] The solution module is configured to linearize the nonlinear equations in the aggregate clearing mechanism and solve the aggregate clearing mechanism.

[0075] The solution module is also configured to: introduce a piecewise penalty term into the objective function of the aggregate clearing mechanism; use the monotonicity of the slope of each segment after the nonlinear equation is segmented to constrain the order of continuous variables so that the continuous variables can only take values ​​from left to right, thereby realizing linear processing of nonlinear equations.

[0076] The steps involved in the above embodiment 2 correspond to those in the method embodiment 1. For the specific implementation method, please refer to the relevant description part of the embodiment 1.

[0077] Those skilled in the art should understand that the modules or steps of the present invention described above can be implemented by a general-purpose computer device, or alternatively, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. The present invention is not limited to any specific combination of hardware and software.

[0078] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.

Claims

1. A method for simulating the clearing of electricity and natural gas markets for improving flexibility, characterized in that: The following steps are involved: Obtain the operating parameters of the integrated energy system to be controlled, the operating parameters of the gas turbine and the power-to-gas equipment, the power load, the natural gas load and the predicted parameters of new energy, and construct a bidding optimization model by taking the gas turbine and the power-to-gas equipment as a gas-to-electricity conversion synergy; According to the bidding optimization model, a bidding strategy model is constructed based on the two-way energy interaction between the gas-electricity conversion consortium and the joint operation market; A bidding strategy model is constructed based on two-way energy interaction, and an aggregate clearing mechanism is designed according to the energy demand and energy price of electricity load and natural gas load; The nonlinear equations in the aggregate-clearing mechanism are linearized and the aggregate-clearing mechanism is solved.

2. The method for simulating the clearing of the electricity and natural gas market for improving flexibility according to claim 1, characterized in that: The joint operation market includes the electricity market, the natural gas market and the flexible regulation product market.

3. The method for simulating the clearing of the electricity and natural gas market for improving flexibility according to claim 2, characterized in that: In the aggregate clearing mechanism, the electricity and natural gas energy markets are cleared according to marginal prices, and the flexible adjustment products in the flexible adjustment product market are cleared according to opportunity costs.

4. The method for simulating the clearing of the electricity and natural gas market for improving flexibility according to claim 1, characterized in that: The aggregate clearing mechanism needs to meet the basic constraints of the power system and the operating constraints of the natural gas system.

5. The method for simulating the clearing of the electricity and natural gas market for improving flexibility according to claim 1, characterized in that: The specific steps for linearizing the nonlinear equations in the aggregate clearing mechanism are: Introducing piecewise penalty terms into the objective function of the aggregate clearing mechanism; The monotonicity of the slope of each segment after the nonlinear equation is segmented is used to constrain the order of continuous variables so that the continuous variables can only take values ​​from left to right, thereby realizing linearization of the nonlinear equation.

6. A power and natural gas market clearing simulation system for improving flexibility, characterized in that: include: The data acquisition module is configured to acquire the operating parameters of the integrated energy system to be controlled, the operating parameters of the gas turbine and the power-to-gas equipment, the power load, the natural gas load and the forecast parameters of new energy, and to construct a bidding optimization model by taking the gas turbine and the power-to-gas equipment as a gas-to-electricity conversion synergistic body; An energy interaction model building module is configured to build a bidding strategy model based on the two-way energy interaction between the gas-electricity conversion consortium and the joint operation market according to the bidding optimization model; The clearing mechanism design module is configured to build a bidding strategy model based on two-way energy interaction and design an aggregate clearing mechanism according to the energy demand and energy price of the electricity load and natural gas load; The solution module is configured to linearize the nonlinear equations in the aggregate clearing mechanism and solve the aggregate clearing mechanism.

7. The power and natural gas market clearing simulation system for improving flexibility according to claim 6, characterized in that: In the energy interaction model construction module, the joint operation market includes the electricity market, the natural gas market and the flexible regulation product market.

8. The power and natural gas market clearing simulation system for improving flexibility according to claim 7, characterized in that: In the clearing mechanism design module, the electricity and natural gas energy markets in the aggregate clearing mechanism are cleared according to marginal prices, and the flexible adjustment products in the flexible adjustment product market are cleared according to opportunity costs.

9. The power and natural gas market clearing simulation system for improving flexibility according to claim 6, characterized in that: In the clearing mechanism design module, the aggregate clearing mechanism needs to meet the basic constraints of the power system and the operation constraints of the natural gas system.

10. The power and natural gas market clearing simulation system for improving flexibility according to claim 6, characterized in that: The solver module is also configured to: Introducing piecewise penalty terms into the objective function of the aggregate clearing mechanism; The monotonicity of the slope of each segment after the nonlinear equation is segmented is used to constrain the order of continuous variables so that the continuous variables can only take values ​​from left to right, thereby realizing linearization of the nonlinear equation.

Citation Information

Patent Citations

  • Comprehensive energy market competition strategy determination method, device and equipment and storage medium

    CN109993366A

  • Multi-park comprehensive energy system decentralized coordination scheduling method containing multi-energy interaction

    CN112234656A

  • Comprehensive energy system planning method considering demand response credibility

    CN114997713A

  • Power-gas energy joint scheduling method and system considering flexibility of natural gas system

    CN119067412A

  • Power capacity market clearing method and device considering flexibility

    CN119579020A