Energy scheduling optimization method, device and equipment for natural gas network

By building objective functions and constraints, the energy scheduling of the natural gas network is solved, and the time and space difference between power demand and natural gas demand in the natural gas network is improved, and user satisfaction and energy utilization are improved.

CN120430596AInactive Publication Date: 2025-08-05CNOOC GAS & POWER GRP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510939300.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-08
Publication Date
2025-08-05
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art is difficult to effectively combine the space-time difference between power demand and natural gas demand in the natural gas network, resulting in insufficient peak shaving capacity and affecting user satisfaction and energy utilization efficiency.

Method used

By obtaining the operating capacity information of LNG receiving stations, P2G facilities and compressed gas stations, natural gas supply and demand information, and power supply and demand information, the objective function and constraints are constructed to optimize the energy scheduling strategy of the natural gas network, including the optimization of user gas guarantee, total cost and carbon emissions.

Benefits of technology

It improves the scheduling intelligence and flexibility of the natural gas network, enhances user satisfaction, achieves energy conservation and carbon reduction, and improves energy utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120430596A_ABST
    Figure CN120430596A_ABST
Patent Text Reader

Abstract

The invention provides an energy scheduling optimization method, device and equipment for a natural gas network, and belongs to the field of energy scheduling. Comprising the following steps: respectively acquiring operation capability information, natural gas supply and demand information and power supply and demand information of an LNG receiving station, a P2G facility and a gas compression station in a plurality of preset periods; obtaining design parameters of the natural gas pipeline network; at least one objective function and at least one constraint condition are generated according to the operation capability information, the natural gas supply and demand information, the power supply and demand information and / or design parameters of the natural gas pipeline network, the objective function is used for indicating an energy scheduling optimization demand, and the constraint condition is used for indicating a constraint relation between energy sources and feasibility of natural gas network operation; constructing an optimization model according to the at least one objective function and the at least one constraint condition; and solving the optimization model to obtain an energy scheduling strategy of the natural gas network. The satisfaction degree of downstream users can be improved, energy is saved, carbon is reduced, and the energy utilization rate is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of energy scheduling, and specifically to an energy scheduling optimization method, device and equipment for a natural gas network. Background Art

[0002] In the current global context of promoting green development, the scheduling of liquefied natural gas (LNG) receiving terminals must consider not only supply reliability but also environmental impact and cost control. In particular, with the gradual advancement of integrated gas-electricity systems, the linkage between natural gas pipeline networks and power grids has become key to improving energy efficiency. However, in practice, there is a time difference between peak and off-peak seasons for LNG demand and the power grid. Currently, natural gas pipeline scheduling primarily focuses on the utilization of traditional gas storage facilities, with little consideration of the temporal and spatial differences in electricity and natural gas demand. Furthermore, there are few methods for effectively combining multiple energy resources for peak load shaving. Summary of the Invention

[0003] The present application provides an energy scheduling optimization method, device and equipment for natural gas networks to enhance the intelligence and flexibility of natural gas energy call, thereby improving the satisfaction of downstream users while saving energy and reducing carbon emissions and improving energy utilization.

[0004] This application provides an energy scheduling optimization method for a natural gas network, including: Obtain operational capacity information, natural gas supply and demand information, and electricity supply and demand information for LNG receiving stations, P2G facilities, and compressor stations over multiple preset periods; Obtain design parameters of natural gas pipeline network; generating at least one objective function and at least one constraint condition based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information, and / or the design parameters of the natural gas pipeline network, wherein the objective function is used to indicate energy scheduling optimization requirements, and the constraint condition is used to indicate the constraint relationship between various energy sources and the feasibility of natural gas network operation; constructing an optimization model according to the at least one objective function and the at least one constraint condition; The optimization model is solved to obtain an energy scheduling strategy for the natural gas network.

[0005] According to the energy scheduling optimization method for the natural gas network provided in the present application, at least one objective function is constructed based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information and / or the design parameters of the natural gas pipeline network, including: obtaining the natural gas download volume of each demand node and the calorific value demand of each user within each preset period based on the natural gas supply and demand information; obtaining the natural gas calorific value; and constructing a first objective function based on the natural gas download volume, the calorific value demand and the natural gas calorific value, wherein the first objective function is used to meet the energy scheduling optimization needs of maximizing the gas security of natural gas pipeline network users.

[0006] According to the energy scheduling optimization method for the natural gas network provided in the present application, at least one objective function is constructed based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information and / or the design parameters of the natural gas pipeline network, including: obtaining the gas storage capacity of the gas storage reservoir; obtaining the gas storage capacity of the LNG receiving station and the external transmission energy consumption of the LNG receiving station based on the operating capacity information of the LNG receiving station, and obtaining the gas storage capacity of the P2G facility based on the operating capacity information of the P2G facility; obtaining the gas storage capacity of the gas storage reservoir, the gas storage capacity of the LNG receiving station and the gas storage capacity of the P2G facility based on the gas storage capacity of the gas storage reservoir, the gas storage capacity of the LNG receiving station and the gas storage capacity .... Generate a gas storage cost function; generate a compressor station energy consumption cost function based on the operating capacity information of the compressor station and the design parameters of the natural gas pipeline network; obtain the natural gas upload volume of each gas source node in each preset period based on the design parameters of the natural gas pipeline network; generate the LNG receiving station energy consumption cost function based on the external transmission energy consumption of the LNG receiving station and the natural gas upload volume; generate a second objective function based on the gas storage cost function, the compressor station energy consumption cost function and the LNG receiving station energy consumption cost function, and the second objective function is used to meet the energy scheduling optimization demand of the lowest total cost of the natural gas pipeline network.

[0007] According to the energy scheduling optimization method for the natural gas network provided in the present application, the energy consumption cost function of the compressor station is generated according to the operating capacity information of the compressor station and the design parameters of the natural gas pipeline network, including: determining the pressurization energy of the compressor station according to the operating capacity information of the compressor station and the design parameters of the natural gas pipeline network, the pressurization energy is used to pressurize the natural gas in the preset section of the gas pipeline within the preset period; obtaining the natural gas flow in each section of the gas pipeline within each preset period according to the design parameters of the natural gas pipeline network; obtaining the calorific value of natural gas; obtaining the operating days and operating efficiency of the compressor station according to the operating capacity information of the compressor station; determining whether there is a pressurization demand for each section of the gas pipeline within each preset period; generating the energy consumption cost function of the compressor station according to the pressurization energy, the natural gas flow, the calorific value of natural gas, the operating days, the operating efficiency and whether there is a pressurization demand.

[0008] According to the energy scheduling optimization method for the natural gas network provided in the present application, at least one objective function is constructed based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information and / or the design parameters of the natural gas pipeline network, including: obtaining the carbon emissions of gas-fired power generation in each preset period; obtaining the carbon emissions of the compressor station in each preset period based on the operating capacity information of the compressor station; obtaining the electricity demand of the power grid in each preset period based on the electricity supply and demand information; obtaining the gas-fired power generation in each preset period based on the natural gas supply and demand information; obtaining the coal-fired power generation, renewable energy power generation and the carbon emission coefficient of coal-fired power generation in each preset period; determining the carbon emissions of coal-fired power generation based on the coal-fired power generation carbon emission coefficient, the coal-fired power generation, the electricity demand, the renewable energy power generation and the gas-fired power generation; generating a third objective function based on the carbon emissions of gas-fired power generation, the carbon emissions of the compressor station and the carbon emissions of the coal-fired power generation, and the third objective function is used to meet the energy scheduling optimization demand of minimizing the comprehensive energy carbon emissions.

[0009] According to the energy scheduling optimization method for the natural gas network provided by the present application, the constraint conditions include at least one of the following constraint conditions: pipeline flow direction constraint conditions, including constraints for constraining the flow rate of the inflow node and the flow rate of the outflow node in the natural gas pipeline network to be the same, and constraining the flow direction in the natural gas transmission pipeline; pipeline hydraulic constraint conditions, including constraints for constraining the flow state of the natural gas in the gas transmission pipeline to satisfy the hydraulic characteristic equation, and constraining the pressure value relationship of each node in the gas transmission pipeline; compressor station constraint conditions, including constraints for constraining the natural gas input and output pressure ratio within each preset period, and constraining the inlet and outlet pressure value relationship of the compressor station; node upload and download volume constraint conditions, Including conditions for constraining the relationship between gas field transmission volume and gas field production capacity, as well as constraining the natural gas upload and download volume of each facility in the natural gas network; gas storage constraints, including conditions for constraining the gas storage volume of the gas storage; LNG receiving station gas storage constraints, including conditions for constraining the gas storage volume of the LNG receiving station; P2G facility gas storage constraints, including conditions for constraining the gas storage volume of the P2G facility; power system constraints, including conditions for constraining the relationship between power supply demand and power consumption demand of the power grid; gas turbine constraints, including conditions for constraining the power generation of the gas turbine; P2G constraints, including conditions for constraining the power of water electrolysis and methanation reaction of the P2G facility.

[0010] According to the energy scheduling optimization method for the natural gas network provided in this application, the design parameters of the natural gas pipeline network include at least one of the following: pipeline topology, pipeline design transmission capacity, pipeline length, pipeline inner diameter, pipeline design pressure bearing capacity, compressor station type, and pipeline minimum gas transmission pressure.

[0011] This application also provides an energy scheduling optimization device for a natural gas network, comprising: The first acquisition unit is used to respectively acquire the operation capacity information, natural gas supply and demand information, and electricity supply and demand information of the LNG receiving station, the P2G facility, and the compressor station within a plurality of preset periods; A second acquisition unit is used to obtain design parameters of the natural gas pipeline network; a generating unit, configured to generate at least one objective function and at least one constraint condition based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information, and / or the design parameters of the natural gas pipeline network, wherein the objective function is used to indicate energy scheduling optimization requirements, and the constraint condition is used to indicate the constraint relationship between various energy sources and the feasibility of natural gas network operation; A construction unit, configured to construct an optimization model according to the at least one objective function and the at least one constraint condition; A solving unit is used to solve the optimization model to obtain an energy scheduling strategy for the natural gas network.

[0012] The present application also 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 processor executes the computer program, the energy scheduling optimization method for the natural gas network as described in any one of the above is implemented.

[0013] The present application also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for optimizing energy scheduling for a natural gas network as described above is implemented.

[0014] The present application also provides a computer program product, comprising a computer program, which, when executed by a processor, implements any of the above-described energy scheduling optimization methods for a natural gas network.

[0015] In the energy scheduling optimization method, device and equipment for the natural gas network provided in the present application, the method first obtains the operating capacity information, natural gas supply and demand information and electricity supply and demand information of the LNG receiving station, P2G facility and compressor station in multiple preset periods, and then obtains the design parameters of the natural gas pipeline network. Then, based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information and / or the design parameters of the natural gas pipeline network, at least one objective function and at least one constraint condition are generated. The objective function is used to indicate the energy scheduling optimization demand, and the constraint condition is used to indicate the constraint relationship between each energy source and the feasibility of the operation of the natural gas network. Then, an optimization model is constructed based on the at least one objective function and the at least one constraint condition. Finally, the optimization model is solved to obtain the energy scheduling strategy of the natural gas network. The present application optimizes the scheduling of natural gas energy based on the electricity supply and demand situation and the natural gas supply and demand situation, which can enhance the intelligence and flexibility of the call of natural gas energy, achieve energy conservation and carbon reduction, and enhance energy utilization while improving the satisfaction of downstream users. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0017] Figure 1 This is a flow chart of an energy scheduling optimization method for a natural gas network provided in this application.

[0018] Figure 2 This is a flow distribution diagram within a natural gas pipeline network provided by this application.

[0019] Figure 3 This is a schematic diagram of pressure distribution in a natural gas pipeline network provided by this application.

[0020] Figure 4 This is a block diagram of the functional units of an energy scheduling optimization device for a natural gas network provided by this application.

[0021] Figure 5 It is a structural diagram of the electronic device provided in this application. DETAILED DESCRIPTION

[0022] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0023] The terms "first," "second," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish between different objects, not to describe a particular order. Furthermore, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.

[0024] References to "embodiments" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0025] Gas storage facilities are a key component of natural gas pipeline network storage and peak-shaving. They store natural gas during periods of low demand and release it during peak periods to balance supply and demand, ensuring stable and reliable supply. Gas storage facilities enhance the flexibility of natural gas supply to respond to seasonal demand fluctuations, emergencies, and supply disruptions, while also optimizing pipeline network operations and improving system economics and efficiency. However, gas storage facilities have lengthy planning and construction cycles and are often located far from major consumer markets, resulting in insufficient short-term peak-shaving capacity. Traditional single-use gas storage methods struggle to adapt to fluctuating market demand, necessitating reduced gas consumption for downstream users during supply-guaranteed periods. LNG receiving stations, located near downstream users, offer rapid response times, complementing the functions of LNG receiving stations and gas storage facilities within the natural gas pipeline network. Given the seasonal difference in peak demand between the natural gas pipeline network and the power grid, the natural gas pipeline network can utilize P2G technology to absorb excess power from the grid.

[0026] To address the above issues, the present application provides a method, device, and apparatus for optimizing energy scheduling in a natural gas network. The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0027] See also Figure 1 , Figure 1This is a flow chart of an energy scheduling optimization method for a natural gas network provided in this application. The energy scheduling optimization method for a natural gas network includes the following steps.

[0028] S101, respectively obtain operating capacity information, natural gas supply and demand information, and electricity supply and demand information of LNG receiving stations, P2G facilities, and compressor stations within multiple preset periods.

[0029] LNG receiving stations are facilities used to receive, store, and regasify liquefied natural gas (LNG) and convert it into gaseous natural gas for further distribution. Operating capacity information for LNG receiving stations includes seasonal energy consumption for export, initial LNG tank inventory, and maximum and minimum LNG tank storage capacities. Power-to-gas (P2G) facilities utilize electricity to generate natural gas through chemical processes (such as syngasification). Operating capacity information for P2G facilities includes P2G facility conversion efficiency, initial P2G tank inventory, and maximum and minimum P2G tank storage capacities. Compressor stations are facilities used to compress natural gas, industrial gas, or other gases. Their primary purpose is to increase the gas's pressure for transportation to locations far from the original collection site or for distribution to a point of use. Operating capacity information for high-pressure gas stations includes operating days, operating efficiency, operating energy consumption, and compression ratio. Natural gas supply and demand information includes planned gas supply and market natural gas demand for each period. Electricity supply and demand information includes total power generation and demand across the power system.

[0030] S102: Obtain design parameters of the natural gas pipeline network.

[0031] The design parameters include the pipeline topology of the natural gas pipeline network system, pipeline design transmission capacity, pipeline length, inner diameter, design pressure capacity, compressor station type, pipeline minimum gas transmission pressure, etc. Figure 2 As shown in Figure 1, the topological structure of the natural gas pipeline network includes gas source nodes, demand nodes, compressor station nodes, common nodes, gas storage nodes, P2G nodes, gas-fired power generation nodes, and LNG receiving station nodes.

[0032] S103: Generate at least one objective function and at least one constraint condition according to the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information and / or the design parameters of the natural gas pipeline network.

[0033] The objective function is used to indicate the energy scheduling optimization requirements, and the constraints are used to indicate the constraint relationships between various energy sources and the feasibility of natural gas network operation. When there are multiple optimization requirements, the objective function can include multiple ones. For example, the optimization requirements include maximizing the gas security for natural gas pipeline users, minimizing the total cost of the natural gas pipeline network, and / or minimizing the overall energy carbon emissions. Constraints include pipeline flow direction constraints, pipeline hydraulic constraints, compressor station constraints, node upload and download capacity constraints, gas storage constraints, LNG receiving station gas storage constraints, P2G facility gas storage constraints, power system constraints, gas turbine constraints, and / or P2G constraints.

[0034] S104: Construct an optimization model according to the at least one objective function and the at least one constraint condition.

[0035] The optimization model may be a MIQCP mathematical model.

[0036] S105: Solve the optimization model to obtain an energy scheduling strategy for the natural gas network.

[0037] When solving the optimization model, the solution can be performed based on a preset optimization algorithm, or the optimization model can be solved using a solver, which can be GUROBI.

[0038] It can be seen that in this embodiment, the operating capacity information, natural gas supply and demand information, and electricity supply and demand information of the LNG receiving station, P2G facility, and compressor station within multiple preset periods are first obtained respectively, and then the design parameters of the natural gas pipeline network are obtained. Then, at least one objective function and at least one constraint condition are generated based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information, and / or the design parameters of the natural gas pipeline network. The objective function is used to indicate the energy scheduling optimization demand, and the constraint condition is used to indicate the constraint relationship between each energy source and the feasibility of the natural gas network operation. Then, an optimization model is constructed based on the at least one objective function and the at least one constraint condition. Finally, the optimization model is solved to obtain the energy scheduling strategy of the natural gas network. This application optimizes the scheduling of natural gas energy based on the electricity supply and demand situation and the natural gas supply and demand situation, which can enhance the intelligence and flexibility of the natural gas energy call, improve the satisfaction of downstream users, and enhance energy utilization.

[0039] In a possible embodiment, constructing at least one objective function based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information and / or the design parameters of the natural gas pipeline network includes: obtaining the natural gas download volume of each demand node and the calorific value demand of each user within each preset period based on the natural gas supply and demand information; obtaining the calorific value of natural gas; and constructing a first objective function based on the natural gas download volume, the calorific value demand and the calorific value of the natural gas, wherein the first objective function is used to meet the energy scheduling optimization demand of maximizing the gas security of natural gas pipeline network users.

[0040] The user assurance level of the natural gas pipeline network is a key indicator of gas supply system reliability and is crucial for ensuring energy security for both residential and industrial users. High assurance levels ensure a continuous and stable supply of natural gas during extreme weather conditions or emergencies, thus avoiding the detrimental effects of supply disruptions. However, traditional volumetric measurement only measures the volume of natural gas and ignores its energy content. This results in users paying the same price but receiving less energy value. Therefore, in the first objective function, calorific value measurement is used for gas consumption settlement for natural gas pipeline users to achieve more accurate energy supply.

[0041]

[0042] Among them, GD is the user energy guarantee level, is the calorific value of natural gas, is the natural gas download amount of node i in period t, is the calorific value demand of user i in period t, It is the set of demand nodes.

[0043] It can be seen that in this embodiment, constructing the first objective function through the calorific value of natural gas can improve the security of users, so that the generated scheduling strategy can improve user experience.

[0044] In a possible embodiment, constructing at least one objective function based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information and / or the design parameters of the natural gas pipeline network includes: obtaining the gas storage capacity of the gas storage reservoir; obtaining the gas storage capacity of the LNG receiving station and the external transmission energy consumption of the LNG receiving station based on the operating capacity information of the LNG receiving station, and obtaining the gas storage capacity of the P2G facility based on the operating capacity information of the P2G facility; generating a gas storage cost function based on the gas storage capacity of the gas storage reservoir, the gas storage capacity of the LNG receiving station, and the gas storage capacity of the P2G facility; generating a compressor station energy consumption cost function based on the operating capacity information of the compressor station and the design parameters of the natural gas pipeline network; obtaining the natural gas upload volume of each gas source node in each preset period based on the design parameters of the natural gas pipeline network; generating the LNG receiving station energy consumption cost function based on the external transmission energy consumption of the LNG receiving station and the natural gas upload volume; and generating a second objective function based on the gas storage cost function, the compressor station energy consumption cost function, and the LNG receiving station energy consumption cost function, wherein the second objective function is used to meet the energy scheduling optimization requirement of minimizing the total cost of the natural gas pipeline network.

[0045] To ensure stable gas supply to users, natural gas storage is necessary, which incurs corresponding storage costs. Furthermore, long-distance natural gas pipelines experience pressure drops, necessitating the cost of boosting the pressure at the compressor station. LNG receiving stations handle both transportation and storage, so their associated costs must also be considered. To more accurately assess the total project cost, factoring in factors such as inflation, the net present value of the total cost should be considered.

[0046]

[0047] Where NPV is the net present value of total cost, is the gas storage cost in period t, is the energy consumption cost of the compressor station in period t, is the energy consumption cost of the LNG receiving station in period t, and R is the gas constant.

[0048] Due to factors such as gas loss and operating energy consumption in the daily operation of the gas storage, the corresponding operating costs of the gas storage also need to be considered.

[0049]

[0050] in, is the gas storage capacity of the gas storage reservoir numbered i in period t, is the gas storage capacity of the LNG receiving station numbered i in period t, is the gas storage capacity of the P2G facility numbered i in period t, is the gas storage price in underground gas storage, is the gas storage price at the LNG receiving station, is the gas storage price of the P2G facility, and T is the period set.

[0051] Due to the low temperature in winter, additional measures need to be taken during the LNG gasification process, including using a steam control valve (SCV) instead of an oil regulating valve (ORV) for heating and gasification. Problems such as reduced equipment efficiency due to low temperatures will cause the receiving station to consume more energy in winter than in other seasons.

[0052]

[0053] in, is the energy consumption cost of the LNG receiving station in period t, is the natural gas upload amount of node i in period t, Energy consumption of LNG receiving station transmission, is the electricity cost in period t, is the LNG node set, and T is the period set.

[0054] It can be seen that in this embodiment, the gas storage cost, the energy consumption cost of the gas compressor station and the energy consumption cost of the LNG receiving station are fully considered to generate the second objective function, which can make the scheduling strategy meet the requirement of achieving the lowest total cost of the natural gas pipeline network at the same time.

[0055] In a possible embodiment, generating a compressor station energy consumption cost function based on the operating capacity information of the compressor station and the design parameters of the natural gas pipeline network includes: determining the pressurization energy of the compressor station based on the operating capacity information of the compressor station and the design parameters of the natural gas pipeline network, the pressurization energy being used to pressurize the natural gas in a preset section of the gas pipeline within the preset period; obtaining the natural gas flow rate in each section of the gas pipeline within each preset period based on the design parameters of the natural gas pipeline network; obtaining the calorific value of the natural gas; obtaining the operating days and operating efficiency of the compressor station based on the operating capacity information of the compressor station; determining whether there is a pressurization demand for each section of the gas pipeline within each preset period; and generating the compressor station energy consumption cost function based on the pressurization energy, the natural gas flow rate, the calorific value of the natural gas, the operating days, the operating efficiency, and whether there is a pressurization demand.

[0056] Among them, when the pipeline pressure does not meet the transportation requirements during the operation of the natural gas pipeline network, the compressor station is required to increase the pressure to meet the corresponding transportation conditions. The energy consumption cost of the compressor station is mainly related to the compressor station's pressure-boosting capacity.

[0057]

[0058] in, is the energy head of the R-type pressurization ratio selected from pipeline p to user i in period t, that is, the pressurization energy, z is the compression factor, R is the gas constant, is the ambient temperature, is the heat transfer coefficient, is the pressure ratio r of the flow rate from pipeline p into compressor station i in period t, The set of arcs that enter each node i within period t is called the set of entry arcs, and T is the period set.

[0059]

[0060] in, is the pipeline number set, is the set of compressor station nodes, N r is the set of boost pressure ratios, d is the number of days the compressor station is in operation, is the natural gas flow in pipeline numbered p flowing from node i to node j in period t, is the price of self-consumed gas at the compressor station, is the calorific value of natural gas, is the density of natural gas, For the operating efficiency of the compressor station, In period t, whether the flow from pipe p to node i is pressurized with pressure ratio r, if pressurized, then =1, otherwise =0.

[0061] It can be seen that in this embodiment, when determining the energy consumption cost, full consideration is given to the fact that when the pipeline pressure does not meet the transportation requirements, the compressor station needs to increase the pressure to meet the corresponding transportation conditions. The corresponding energy consumption cost of the compressor station can improve the accuracy of the constructed second objective function.

[0062] In a possible embodiment, at least one objective function is constructed based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information and / or the design parameters of the natural gas pipeline network, including: obtaining the carbon emissions of gas-fired power generation in each preset period; obtaining the carbon emissions of the compressor station in each preset period based on the operating capacity information of the compressor station; obtaining the electricity demand of the power grid in each preset period based on the electricity supply and demand information; obtaining the gas-fired power generation in each preset period based on the natural gas supply and demand information; obtaining the coal-fired power generation, renewable energy power generation and the carbon emission coefficient of coal-fired power generation in each preset period; determining the carbon emissions of coal-fired power generation based on the coal-fired power generation carbon emission coefficient, the coal-fired power generation, the electricity demand, the renewable energy power generation and the gas-fired power generation; generating a third objective function based on the carbon emissions of gas-fired power generation, the carbon emissions of the compressor station and the carbon emissions of the coal-fired power generation, and the third objective function is used to meet the energy scheduling optimization demand of minimizing the comprehensive energy carbon emissions.

[0063] Among them, for the natural gas pipeline network, carbon emissions are mainly concentrated in the carbon emissions generated by burning natural gas to drive the compressor when the compressor station is in operation. For the power grid, additional thermal power generation is required during the peak season of electricity demand to meet the power gap during the peak season. Compared with coal, natural gas has cleaner properties and its carbon emissions are also lower. However, due to the natural gas consumption of the natural gas pipeline network itself, the amount of natural gas that can be supplied to the power grid is limited. Therefore, it is necessary to consider the carbon emissions of natural gas thermal power generation and the use of coal-fired thermal power generation to supplement the insufficient supply of natural gas power generation.

[0064]

[0065] in, is the total carbon emissions, is the carbon emission of gas-fired power generation in period t, is the carbon emissions of the compressor station in period t, is the carbon emission coefficient of coal-fired power generation, is the gas-fired power generation of gas-fired power generation node i in period t, is the power demand of the grid in period t, is the coal-fired power generation of thermal power generation in period t, is the electricity generation from renewable energy in period t.

[0066] Gas turbines burn natural gas to produce high-temperature, high-pressure gas, which drives the turbine to rotate and converts mechanical energy into electrical energy. In this process, burning natural gas will produce a certain degree of carbon emissions.

[0067]

[0068] in, is the gas-fired power generation of gas-fired power generation node i in period t, It is the carbon emission coefficient of gas-fired power generation, which is used to convert the carbon emissions generated by gas-fired power generation.

[0069] Compressor stations utilize gas turbines or internal combustion engines as power sources to compress and increase the pressure of natural gas, generating certain carbon emissions during this process. Specifically, to obtain the carbon emissions of a compressor station, the aforementioned scheme can be used to obtain the compression energy, natural gas flow rate, natural gas calorific value, operating days, operating efficiency, whether there is a need for compression, and the carbon emission coefficient of the compressor station. This information can then be used to calculate the carbon emissions of the compressor station.

[0070]

[0071] in, is the pipeline number set, is the number of days the compressor station is in operation, is the natural gas flow in pipeline numbered p flowing from node i to node j in period t, is the price of self-consumed gas at the compressor station, is the calorific value of natural gas, is the density of natural gas, For the operating efficiency of the compressor station, In period t, whether the flow from pipe p to node i is pressurized with pressure ratio r, if pressurized, then =1, otherwise =0.

[0072] It can be seen that in this embodiment, the carbon emissions of gas-fired power plants, gas compressor stations, and coal-fired power generation are fully considered, so that the generated scheduling strategy can also meet the demand for minimizing carbon emissions of the integrated energy system, thereby saving energy and reducing carbon emissions and improving energy utilization.

[0073] In a possible embodiment, the constraint condition includes at least one of the following constraints.

[0074] The flow direction constraints of the pipeline network include those used to constrain the flow rate at the inflow node and the flow rate at the outflow node in the natural gas pipeline network to be the same, and to constrain the flow direction within the natural gas transmission pipeline.

[0075] The network flow direction constraint conditions include the network flow direction constraint, which means that the flow at each node in the natural gas pipeline network is conserved, and the flow into the node is the same as the flow out of the node:

[0076] in, is the natural gas upload amount of node i in period t, is the natural gas flow in pipeline numbered p flowing from node i to node j in period t, is the natural gas downloaded by node i in period t.

[0077] The flow direction constraints of the pipe network also include the following:

[0078] in, Indicates the flow direction of natural gas in the natural gas pipeline. If there is a flow from node i to node j in period t, then =1, otherwise =0.

[0079] The flow direction constraint of the pipe network also includes that within the same cycle, the bidirectional pipe can only flow in one direction:

[0080] The flow direction constraint of the pipeline network also includes that for natural gas pipelines, there is flow only when there is a flow direction:

[0081] in, is the natural gas flow in pipeline numbered p flowing from node i to node j in period t, and M is a very large number.

[0082] The hydraulic constraints of the pipeline network include those for constraining the flow state of the natural gas in the gas pipeline to satisfy the hydraulic characteristic equation and constraining the pressure value relationship of each node in the gas pipeline.

[0083] In specific implementation, the hydraulic constraints of the pipeline network include that the flow state of natural gas in the gas pipeline must satisfy the hydraulic characteristic equation:

[0084]

[0085] in, Indicates the pit pressure, Indicates the outgoing pressure. represents the hydraulic coefficient, Indicates the flow direction from node i to node j in period t.

[0086] based on Figure 3 The pressure distribution diagram of the natural gas pipeline network shown in the figure also includes the pipeline inlet pressure not less than the minimum inlet pressure and the outlet pressure not greater than the maximum outlet pressure:

[0087]

[0088] in, is the pressure of pipeline P flowing to node i in period t, is the minimum inlet pressure, is the maximum outlet pressure.

[0089] The hydraulic constraints of the pipe network also include that the pressure of each demand node in the pipe network system should be within a certain range:

[0090] The hydraulic constraints of the pipe network also include equal pressure at both ends of common nodes.

[0091]

[0092] The compression station constraint conditions include those used to constrain the natural gas input and output pressure ratio within each preset period, and to constrain the relationship between the inlet and outlet pressure values of the compression station.

[0093] In the specific implementation, the constraints of the compressor station include that for each compressor station, each downstream pipeline can only choose one pressure ratio for boosting in each cycle:

[0094] in, It represents the pressure increase ratio r from the compressor station node i to the pipeline p in period t. If the pressure is increased, =1, otherwise =0.

[0095] The constraints of the compressor station also include that the inlet pressure of the compressor station should not be higher than the outlet pressure, and the outlet pressure should be within the pressure ratio range that the compressor station can provide:

[0096]

[0097] in The value of the boost pressure ratio r from compressor station node i to pipeline p in period t, Indicates the flow direction from node i to node j in period t.

[0098] The node upload and download volume constraints include those used to constrain the relationship between the gas field's external transmission volume and the gas field's production capacity, as well as constraining the natural gas upload volume and natural gas download volume of each facility in the natural gas network.

[0099] In the specific implementation, the node upload and download capacity constraints include the gas field gas output being less than or equal to the gas field production capacity:

[0100] in, is the maximum gas supply capacity of node i in period t, is the natural gas upload amount of node i in period t, Gather gas supply points for the gas field.

[0101] The node upload and download capacity constraints also include nodes other than gas field gas, LNG, gas storage, and P2G, whose natural gas upload capacity is 0:

[0102] in, is the set of all nodes, Gather gas supply points for gas fields, is the LNG node set, N q is the set of gas storage nodes, A collection of P2G nodes.

[0103] The node upload and download capacity constraints also include nodes other than gas storage facilities, compressor stations, gas-fired power plants, and demand points, where the natural gas download capacity is 0:

[0104] in, is the natural gas downloaded by node i in period t.

[0105] The node upload and download capacity constraint also includes that the sum of the calorific value of the natural gas downloaded at the demand point is greater than or equal to the acceptable calorific value of the demand point:

[0106] in, is the calorific value demand of user i in period t, The minimum supply percentage acceptable to users.

[0107] Gas storage constraints of gas storage facilities, including those used to constrain the gas storage capacity of gas storage facilities.

[0108] In specific implementation, the gas storage constraints of the gas storage include the gas storage volume being constrained by the injection and production capacity:

[0109]

[0110] in, is the gas storage capacity of the gas storage reservoir numbered i in period t, is the natural gas upload amount of node i in period t. is the initial gas storage capacity of the gas storage reservoir numbered i, is the natural gas download amount of node i in period t, is the injection leakage rate of the gas storage reservoir numbered i in period t, is the production leakage rate of the gas storage facility numbered i in period t, It represents the leakage rate of the gas storage facility numbered i during the storage process in period t.

[0111] The gas storage constraints of the gas storage also include the upper and lower limits of the gas storage capacity:

[0112] in, is the minimum gas storage capacity of the gas storage facility numbered i, is the minimum gas storage capacity of the gas storage facility numbered i, is the gas storage capacity of the gas storage facility numbered i in period t, For all nodes of the gas storage.

[0113] The gas storage constraints of the gas storage also include upper and lower limits on the gas injection and production volume of the gas storage: ,

[0114] in, The lower limit of gas injection volume for the gas storage reservoir numbered i, The upper limit of the gas injection volume of the gas storage reservoir numbered i, is the lower limit of the gas volume collected by the gas storage reservoir numbered i, The upper limit of the gas volume collected by the gas storage reservoir numbered i.

[0115] The gas storage constraint condition also includes that the gas production volume of the gas storage must be less than the existing gas storage reserves:

[0116]

[0117] in, is the gas storage capacity of the gas storage reservoir numbered i in period t-1.

[0118] The gas storage constraint conditions of the LNG receiving station include conditions for constraining the gas storage capacity of the LNG receiving station.

[0119] In specific implementation, the gas storage constraints of the LNG receiving station include the initial gas storage capacity of the LNG receiving station:

[0120] in, The gas storage capacity of the LNG tank numbered i in period t is: is the initial gas storage capacity of the LNG storage tank numbered i.

[0121] The LNG receiving station's gas storage constraints also include the requirement that the LNG receiving station's gasification output during the initial period not exceed the initial gas storage capacity of the tank and the current natural gas import volume of the receiving station:

[0122] in, is the gasification output of the LNG receiving station numbered i in period t, is the amount of imported natural gas at the receiving station numbered i in period t.

[0123] The LNG receiving station's gas storage constraints also include the fact that the LNG storage capacity in subsequent cycles is determined by the storage capacity in the previous cycle, the current LNG import volume at the receiving station, and the gasification and export volume of the LNG receiving station in the current cycle:

[0124] The LNG receiving station's gas storage constraints also include the requirement that the LNG receiving station's gasification and external transmission volume in subsequent periods must not exceed the tank's gas storage volume at the end of the previous period and the station's current LNG import volume:

[0125] The gas storage constraints of LNG receiving stations also include upper and lower limits on the gas storage capacity of LNG tanks:

[0126] in, is the lower limit of gas storage capacity of LNG storage tank numbered i, The upper limit of gas storage capacity of LNG storage tank numbered i.

[0127] The P2G facility gas storage constraint conditions include conditions for constraining the gas storage capacity of the P2G facility.

[0128] In specific implementation, the gas storage constraints of the P2G facility include the existence of an initial gas volume at the P2G station.

[0129]

[0130] in, is the gas storage capacity of the P2G gas tank numbered i in period t, is the initial gas storage capacity of the P2G gas tank numbered i.

[0131] The gas storage constraints of the P2G facilities also include that the gas storage capacity of the P2G gas storage facilities in the subsequent period is related to the P2G gas storage capacity of the previous period, the methane production in this period, and the methane output.

[0132]

[0133] in, is the amount of natural gas produced by methanation reaction at node i in period t, is the amount of natural gas uploaded by node i in period t.

[0134] The gas storage constraints of P2G facilities also include upper and lower limits on the gas storage capacity of P2G gas storage facilities:

[0135] in, is the lower limit of gas storage capacity of the P2G tank numbered i, The upper limit of gas storage capacity of the P2G tank numbered i.

[0136] The gas storage constraint condition of the P2G facility also includes that the amount of methane exported by P2G is less than or equal to the sum of the P2G methane production and reserves in this period.

[0137]

[0138]

[0139] in, is the amount of natural gas uploaded by node i in period t, is the gas storage capacity of the P2G facility numbered i in period t.

[0140] Power system constraints, including those used to constrain the relationship between power supply demand and power consumption demand of the power grid.

[0141] In specific implementation, the power system consists of transmission lines connecting power generation facilities and downstream power users. In actual operation, DC power flow is adopted to reduce the decision variables of the optimization problem and speed up the solution. For the normal operation of the power system, the total power balance needs to be maintained at all times. At the same time, the power supply of the power grid to users needs to meet the minimum demand of the power grid users.

[0142]

[0143]

[0144] in, is the power demand of the power grid in period t, is the coal-fired power generation in period t, is the gas-fired power generation of node i in period t, is the renewable energy power generation in period t, The remaining power in the grid.

[0145] Gas turbine constraints, including those used to constrain the power generation of the gas turbine.

[0146] In the specific implementation, the power generation of the gas turbine is related to the amount of natural gas flowing into the node, and 3.6 is the unit conversion factor:

[0147] in, is the calorific value of natural gas, is the natural gas download amount of node i in period t, is the gas-fired power generation of node i in period t, The efficiency of natural gas power generation.

[0148] The gas turbine constraint also includes not operating the gas turbine during the off-season and generating electricity to fill the power gap during the peak season:

[0149]

[0150] in, is the gas-fired power generation of node i in period t, is the coal-fired power generation in period t, is the renewable energy power generation in period t, is the power demand of the power grid in period t, This is the off-season for electricity demand. This is the peak season for electricity demand.

[0151] The P2G constraints include constraints on the power of the water electrolysis and methanogenesis reactions of the P2G facility.

[0152] In specific implementation, the available power of P2G facilities is limited by the remaining power of the power grid. :

[0153] in, is the amount of electricity used for water electrolysis at node i in period t, is the amount of electricity used for methanation reaction at node i in period t, The remaining power in the grid.

[0154] P2G constraints also include power constraints for water electrolysis and methanation reactions in P2G facilities:

[0155]

[0156] in, is the amount of hydrogen produced by electrolysis of water at node i in period t, is the amount of natural gas produced by methanation reaction at node i in period t, is the water electrolysis efficiency, is the methanation reaction efficiency, A collection of P2G nodes.

[0157] The P2G constraints also include methanation reaction constraints, where the hydrogen used for methanation is converted into methane with unchanged molar mass:

[0158] It can be seen that in this embodiment, the optimization model is constructed based on the above-mentioned multiple types of constraints, so that the scheduling strategy obtained can not only obtain the optimal equipment operation plan with the lowest energy consumption in the LNG receiving station, but also ensure the operation of the system.

[0159] In a possible embodiment, the design parameters of the natural gas pipeline network include at least one of the following: pipeline topology, pipeline design transmission capacity, pipeline length, pipeline inner diameter, pipeline design pressure bearing capacity, compressor station type, and pipeline minimum gas transmission pressure.

[0160] It can be seen that by constructing an optimization model based on the objective function and constraints of this application, and then executing it based on the solved scheduling strategy, it is possible to store natural gas in the off-season of natural gas pipeline demand and perform peak-shaving for the natural gas pipeline network and power grid in the peak season; in the off-season of power grid demand, excess electricity can be converted into electricity through P2G facilities and stored in the natural gas pipeline network, and peak-shaving for the natural gas pipeline network in the peak season; in the peak season of power grid demand, thermal power generation through gas turbines can be used to peak-shave the power grid.

[0161] The following describes an energy scheduling optimization device for a natural gas network provided in this application. The energy scheduling optimization device for a natural gas network described below corresponds to the energy scheduling optimization method for a natural gas network described above.

[0162] See also Figure 4 , an energy scheduling optimization device 400 for a natural gas network includes: a first acquisition unit 401, used to respectively obtain the operating capacity information, natural gas supply and demand information, and electricity supply and demand information of an LNG receiving station, a P2G facility, and a compressor station within multiple preset periods; a second acquisition unit 402, used to obtain the design parameters of the natural gas pipeline network; a generation unit 403, used to generate at least one objective function and at least one constraint condition based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information, and / or the design parameters of the natural gas pipeline network, the objective function being used to indicate the energy scheduling optimization demand, and the constraint condition being used to indicate the constraint relationship between each energy source and the feasibility of the operation of the natural gas network; a construction unit 404, used to construct an optimization model based on the at least one objective function and the at least one constraint condition; and a solution unit 405, used to solve the optimization model to obtain the energy scheduling strategy of the natural gas network.

[0163] In one possible embodiment, in terms of constructing at least one objective function based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information and / or the design parameters of the natural gas pipeline network, the generation unit 403 is specifically used to: obtain the natural gas download volume of each demand node and the calorific value demand of each user within each preset period based on the natural gas supply and demand information; obtain the natural gas calorific value; and construct a first objective function based on the natural gas download volume, the calorific value demand and the natural gas calorific value, wherein the first objective function is used to meet the energy scheduling optimization demand of maximizing the gas security of natural gas pipeline network users.

[0164] In one possible embodiment, in terms of constructing at least one objective function based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information and / or the design parameters of the natural gas pipeline network, the generating unit 403 is specifically used to: obtain the gas storage capacity of the gas storage reservoir; obtain the gas storage capacity of the LNG receiving station and the external transmission energy consumption of the LNG receiving station based on the operating capacity information of the LNG receiving station, and obtain the gas storage capacity of the P2G facility based on the operating capacity information of the P2G facility; and obtain the gas storage capacity of the gas storage reservoir, the gas storage capacity of the LNG receiving station and the gas storage capacity of the P2G facility based on the gas storage capacity of the gas storage reservoir, the gas storage capacity of the LNG receiving station and the gas storage capacity of the P2G facility. Generate a gas storage cost function; generate a compressor station energy consumption cost function based on the operating capacity information of the compressor station and the design parameters of the natural gas pipeline network; obtain the natural gas upload volume of each gas source node in each preset period based on the design parameters of the natural gas pipeline network; generate the LNG receiving station energy consumption cost function based on the external transmission energy consumption of the LNG receiving station and the natural gas upload volume; generate a second objective function based on the gas storage cost function, the compressor station energy consumption cost function and the LNG receiving station energy consumption cost function, and the second objective function is used to meet the energy scheduling optimization demand of the lowest total cost of the natural gas pipeline network.

[0165] In one possible embodiment, in terms of generating the compressor station energy consumption cost function based on the operating capacity information of the compressor station and the design parameters of the natural gas pipeline network, the generating unit 403 is specifically used to: determine the pressurization energy of the compressor station based on the operating capacity information of the compressor station and the design parameters of the natural gas pipeline network, the pressurization energy being used to pressurize the natural gas in the preset section of the gas pipeline within the preset period; obtain the natural gas flow in each section of the gas pipeline within each preset period based on the design parameters of the natural gas pipeline network; obtain the calorific value of natural gas; obtain the operating days and operating efficiency of the compressor station based on the operating capacity information of the compressor station; determine whether there is a pressurization demand for each section of the gas pipeline within each preset period; and generate the compressor station energy consumption cost function based on the pressurization energy, the natural gas flow, the calorific value of natural gas, the operating days, the operating efficiency, and whether there is a pressurization demand.

[0166] In a possible embodiment, in terms of constructing at least one objective function based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information and / or the design parameters of the natural gas pipeline network, the generation unit 403 is specifically used to: obtain the carbon emissions of gas-fired power generation in each preset period; obtain the carbon emissions of the compressor station in each preset period based on the operating capacity information of the compressor station; obtain the electricity demand of the power grid in each preset period based on the electricity supply and demand information; obtain the gas-fired power generation in each preset period based on the natural gas supply and demand information; obtain the coal-fired power generation, renewable energy power generation and the carbon emission coefficient of coal-fired power generation in each preset period; determine the carbon emissions of coal-fired power generation based on the coal-fired power generation carbon emission coefficient, the coal-fired power generation, the electricity demand, the renewable energy power generation and the gas-fired power generation; generate a third objective function based on the carbon emissions of gas-fired power generation, the carbon emissions of the compressor station and the carbon emissions of the coal-fired power generation, and the third objective function is used to meet the energy scheduling optimization demand of minimizing the comprehensive energy carbon emissions.

[0167] In one possible embodiment, the constraint conditions include at least one of the following constraints: pipeline flow direction constraint conditions, including constraints for constraining the flow of the inflow node in the natural gas pipeline network to be the same as the flow of the outflow node, and constraining the flow direction in the natural gas pipeline; pipeline hydraulic constraint conditions, including constraints for constraining the flow state of the natural gas in the gas pipeline to satisfy the hydraulic characteristic equation, and constraining the pressure value relationship of each node in the gas pipeline; compressor station constraint conditions, including constraints for constraining the natural gas input and output pressure ratio within each preset period, and constraints for the inlet and outlet pressure value relationship of the compressor station; node upload and download capacity constraint conditions, including constraints for constraining the gas The relationship between off-site transmission volume and gas field production capacity, as well as the constraints on the natural gas upload and download volume of each facility in the natural gas network; gas storage constraints of gas storage reservoirs, including those used to constrain the gas storage capacity of gas storage reservoirs; LNG receiving station gas storage constraints, including those used to constrain the gas storage capacity of the LNG receiving station; P2G facility gas storage constraints, including those used to constrain the gas storage capacity of the P2G facility; power system constraints, including those used to constrain the relationship between the power supply demand and the power consumption demand of the power grid; gas turbine constraints, including those used to constrain the power generation of the gas turbine; P2G constraints, including those used to constrain the power of the water electrolysis and methanation reactions of the P2G facility.

[0168] In a possible embodiment, the design parameters of the natural gas pipeline network include at least one of the following: pipeline topology, pipeline design transmission capacity, pipeline length, pipeline inner diameter, pipeline design pressure bearing capacity, compressor station type, and pipeline minimum gas transmission pressure.

[0169] See also Figure 5 , Figure 5This is a schematic diagram of the structure of the electronic device provided by this application. Figure 5 As shown, the electronic device may include: a processor 510, a communications interface 520, a memory 530, and a communications bus 540, wherein the processor 510, the communications interface 520, and the memory 530 communicate with each other via the communications bus 540. The processor 510 may invoke logic instructions in the memory 530 to execute an energy scheduling optimization method for a natural gas network. The method includes: obtaining operating capacity information, natural gas supply and demand information, and electricity supply and demand information of LNG receiving stations, P2G facilities, and compressor stations within multiple preset periods; obtaining design parameters of the natural gas pipeline network; generating at least one objective function and at least one constraint condition based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information, and / or the design parameters of the natural gas pipeline network, wherein the objective function indicates the energy scheduling optimization requirement, and the constraint condition indicates the constraint relationship between various energy sources and the feasibility of natural gas network operation; constructing an optimization model based on the at least one objective function and the at least one constraint condition; and solving the optimization model to obtain an energy scheduling strategy for the natural gas network.

[0170] Furthermore, the logic instructions in the aforementioned memory 530 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0171] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the energy scheduling optimization method for the natural gas network provided by the above-mentioned methods, the method comprising: respectively obtaining the operating capacity information, natural gas supply and demand information, and electricity supply and demand information of the LNG receiving station, P2G facility, and compressor station within multiple preset periods; obtaining the design parameters of the natural gas pipeline network; generating at least one objective function and at least one constraint condition based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information, and / or the design parameters of the natural gas pipeline network, the objective function being used to indicate the energy scheduling optimization demand, and the constraint condition being used to indicate the constraint relationship between each energy source and the feasibility of the operation of the natural gas network; constructing an optimization model based on the at least one objective function and the at least one constraint condition; solving the optimization model to obtain the energy scheduling strategy of the natural gas network.

[0172] On the other hand, the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned energy scheduling optimization methods for a natural gas network, the method including: obtaining the operating capacity information, natural gas supply and demand information, and electricity supply and demand information of LNG receiving stations, P2G facilities, and compressor stations within multiple preset periods respectively; obtaining the design parameters of the natural gas pipeline network; generating at least one objective function and at least one constraint condition based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information and / or the design parameters of the natural gas pipeline network, the objective function being used to indicate the energy scheduling optimization requirements, and the constraint condition being used to indicate the constraint relationship between each energy source and the feasibility of the operation of the natural gas network; constructing an optimization model based on the at least one objective function and the at least one constraint condition; solving the optimization model to obtain the energy scheduling strategy of the natural gas network.

[0173] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.

[0174] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods described in each embodiment or certain portions of the embodiments.

[0175] 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 aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A method for optimizing energy dispatching in a natural gas network, characterized in that: include: Obtain operational capacity information, natural gas supply and demand information, and electricity supply and demand information for LNG receiving stations, P2G facilities, and compressor stations over multiple preset periods; Obtain design parameters of natural gas pipeline network; generating at least one objective function and at least one constraint condition based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information, and / or the design parameters of the natural gas pipeline network, wherein the objective function is used to indicate energy scheduling optimization requirements, and the constraint condition is used to indicate the constraint relationship between various energy sources and the feasibility of natural gas network operation; constructing an optimization model according to the at least one objective function and the at least one constraint condition; The optimization model is solved to obtain an energy scheduling strategy for the natural gas network.

2. The method according to claim 1, characterized in that The constructing of at least one objective function based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information and / or the design parameters of the natural gas pipeline network includes: Obtaining the natural gas download volume of each demand node and the calorific value demand of each user within each preset period according to the natural gas supply and demand information; Obtain the calorific value of natural gas; A first objective function is constructed based on the natural gas download volume, the calorific value requirement and the natural gas calorific value, wherein the first objective function is used to meet the energy scheduling optimization demand of maximizing the gas security of natural gas network users.

3. The method according to claim 1 or 2, characterized in that The constructing of at least one objective function based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information and / or the design parameters of the natural gas pipeline network includes: Obtain the gas storage capacity of the gas storage facility; Obtaining the gas storage capacity of the LNG receiving station and the external transmission energy consumption of the LNG receiving station based on the operating capacity information of the LNG receiving station, and obtaining the gas storage capacity of the P2G facility based on the operating capacity information of the P2G facility; generating a gas storage cost function according to the gas storage capacity of the gas storage reservoir, the gas storage capacity of the LNG receiving station, and the gas storage capacity of the P2G facility; generating an energy consumption cost function of a gas compressor station according to the operating capacity information of the gas compressor station and the design parameters of the natural gas pipeline network; Obtaining the natural gas upload volume of each gas source node within each preset period according to the design parameters of the natural gas pipeline network; generating an energy consumption cost function of the LNG receiving station according to the external transmission energy consumption of the LNG receiving station and the natural gas upload volume; A second objective function is generated based on the gas storage cost function, the compressor station energy consumption cost function and the LNG receiving station energy consumption cost function. The second objective function is used to meet the energy scheduling optimization demand of minimizing the total cost of the natural gas pipeline network.

4. The method according to claim 3, characterized in that Generating the energy consumption cost function of the gas compressor station according to the operating capacity information of the gas compressor station and the design parameters of the natural gas pipeline network includes: determining the pressurization energy of the compressor station according to the operating capacity information of the compressor station and the design parameters of the natural gas pipeline network, wherein the pressurization energy is used to pressurize the natural gas in the preset section of the gas pipeline within the preset period; Obtaining the natural gas flow rate in each section of the gas pipeline within each preset period according to the design parameters of the natural gas pipeline network; Obtain the calorific value of natural gas; Obtaining the operating days and operating efficiency of the compressor station according to the operating capacity information of the compressor station; Determining whether there is a need for pressurization in each section of the gas pipeline within each preset period; The energy consumption cost function of the compressor station is generated according to the pressurization energy, the natural gas flow rate, the natural gas calorific value, the operating days, the operating efficiency, and whether there is a pressurization demand.

5. The method according to claim 4, characterized in that The constructing of at least one objective function based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information and / or the design parameters of the natural gas pipeline network includes: Obtaining carbon emissions from gas-fired power generation within each preset period; Obtaining carbon emissions of the compressor station in each preset period according to the operating capacity information of the compressor station; Obtaining the power demand of the power grid within each preset period according to the power supply and demand information; Obtaining the gas-fired power generation within each preset period according to the natural gas supply and demand information; Obtaining coal-fired power generation, renewable energy power generation, and coal-fired power generation carbon emission coefficient within each preset period; Determining the carbon emissions of coal-fired power generation based on the coal-fired power generation carbon emission coefficient, the coal-fired power generation, the power demand, the renewable energy power generation, and the gas-fired power generation; A third objective function is generated according to the carbon emissions of the gas-fired power generation, the carbon emissions of the compressor station and the carbon emissions of the coal-fired power generation. The third objective function is used to meet the energy scheduling optimization demand of minimizing the comprehensive energy carbon emissions.

6. The method according to claim 1, characterized in that The constraints include at least one of the following constraints: Pipeline network flow direction constraints, including those used to constrain the flow rate at a node in the natural gas pipeline network to be the same as the flow rate at a node out of the network, and to constrain the flow direction within the natural gas transmission pipeline; Pipeline network hydraulic constraints, including constraints for constraining the flow state of the natural gas in the gas pipeline to satisfy the hydraulic characteristic equation, and constraining the pressure value relationship of each node in the gas pipeline; Compressor station constraints, including constraints on the natural gas input and output pressure ratio within each preset period, and constraints on the relationship between the inlet and outlet pressure values of the compressor station; Constraints on node upload and download volumes, including constraints on the relationship between gas field output and gas field production capacity, and constraints on the natural gas upload and download volumes of each facility in the natural gas network; Gas storage constraints of gas storage facilities, including those used to constrain the gas storage capacity of gas storage facilities; LNG receiving station gas storage constraint conditions, including constraints on the gas storage capacity of the LNG receiving station; P2G facility gas storage constraint conditions, including constraints on the gas storage capacity of the P2G facility; Power system constraints, including those used to constrain the relationship between grid supply demand and grid power demand; Gas turbine constraints, including constraints on the power generation of the gas turbine; The P2G constraints include constraints on the power of the water electrolysis and methanogenesis reactions of the P2G facility.

7. The method according to claim 1, characterized in that The design parameters of the natural gas pipeline network include at least one of the following: Pipeline topology, pipeline design capacity, pipeline length, pipeline inner diameter, pipeline design pressure bearing capacity, compressor station type, and pipeline minimum gas transmission pressure.

8. An energy dispatch optimization device for a natural gas network, characterized in that: include: The first acquisition unit is used to respectively acquire the operation capacity information, natural gas supply and demand information, and electricity supply and demand information of the LNG receiving station, the P2G facility, and the compressor station within a plurality of preset periods; A second acquisition unit is used to obtain design parameters of the natural gas pipeline network; a generating unit, configured to generate at least one objective function and at least one constraint condition based on the operating capacity information, the natural gas supply and demand information, the electricity supply and demand information, and / or the design parameters of the natural gas pipeline network, wherein the objective function is used to indicate energy scheduling optimization requirements, and the constraint condition is used to indicate the constraint relationship between various energy sources and the feasibility of natural gas network operation; A construction unit, configured to construct an optimization model according to the at least one objective function and the at least one constraint condition; A solving unit is used to solve the optimization model to obtain an energy scheduling strategy for the natural gas network.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the energy scheduling optimization method for the natural gas network as described in any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the energy scheduling optimization method for a natural gas network as claimed in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Electricity-gas interconnection system including electricity-to-gas transfer device, and operation method

    CN109494809A

  • Electricity-gas interconnected comprehensive energy system optimization scheduling method containing P2G wind curtailment start and stop

    CN112332412A

  • Natural gas pipeline network operation optimization method and device

    CN117669112A

  • Natural gas pipeline network scheduling optimization method considering flow distribution and carbon emission

    CN120106286A

  • Optimization method for natural gas pipeline operation under the carbon neutrality target

    US20230071756A1