Energy scheduling method and device considering multiple energy demands, storage medium and equipment

By constructing an energy target model and a user demand target model, and adjusting the revenue coefficient, the coordinated dispatch of multiple energy systems in urban areas is realized, which solves the problem of low utilization rate caused by independent energy operation and improves energy utilization rate and renewable energy use efficiency. , reducing carbon emissions.

CN118780559APending Publication Date: 2024-10-15GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410972525.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Various energy systems in urban areas operate independently of each other, ignoring the complementarity of coordinated operations, resulting in low energy utilization.

Method used

By obtaining the initial revenue coefficient, cost coefficient and user demand of various types of energy, the energy target model and user demand target model are constructed, and an iterative algorithm is used to adjust the revenue coefficient to realize the dispatch of various energy sources to meet power balance and carbon emission constraints.

Benefits of technology

It improves energy utilization, promotes coordinated operation among various types of energy, increases the efficiency of renewable energy use, and reduces carbon emissions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780559A_ABST
    Figure CN118780559A_ABST
Patent Text Reader

Abstract

The invention provides an energy scheduling method and device considering multi-energy demands, a storage medium and equipment, and the method comprises the steps: constructing an energy target model of an energy system in a region according to the initial income coefficient, the cost coefficient and the available power of each type of energy and the market retail price of each type of energy, and enabling the energy target model to be provided with a first constraint condition; constructing an energy demand target model of the user according to the income coefficient of each type of energy and the demand quantity of multiple types of energy of the user, wherein the energy demand target model is provided with a second constraint condition; and iterating the energy target model and the energy demand target model based on the initial income coefficient of the energy target model, continuously adjusting the initial income coefficient until a convergence condition is met, and outputting the scheduling power of various energy sources in the energy system. The comprehensive energy in the region is scheduled through the method, and the utilization rate of various types of energy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of energy distribution, and in particular to an energy scheduling method, device, storage medium and equipment considering multiple energy demands. Background Art

[0002] With the rapid development of urban population and economy, the energy demand in urban areas has shown explosive growth, and with the increase in the types of energy used, multiple energy sources exist simultaneously in the region. However, various types of energy systems in the region, such as power distribution systems, natural gas systems, thermal energy systems, etc., operate independently of each other, ignoring the coordinated operation and complementarity of various types of energy systems in the region, which limits the full utilization of various types of energy in the region. Summary of the invention

[0003] Based on this, the present invention provides an energy scheduling method, device, storage medium and equipment that take into account multiple energy demands. Through the energy system, various energy production systems are integrated, and various energy sources can be scheduled according to the actual needs of users for various energy sources. Various energy sources contained in the energy system are fully scheduled and utilized, thereby improving the utilization rate of various energy sources.

[0004] In a first aspect, the present invention provides an energy scheduling method considering multiple energy demands, comprising:

[0005] Obtain the initial profit coefficient, cost coefficient and available power of various energy sources in the regional energy system, the demand for various energy sources by users in the region, and the market retail prices of various energy sources;

[0006] An energy target model of the energy system in the region is constructed according to the initial profit coefficient, cost coefficient and available power of each type of energy and the market retail price of each type of energy, wherein the energy target model is provided with a first constraint condition;

[0007] Constructing a user's energy demand target model according to the revenue coefficients of the various energy types and the user's demand for multiple energy types, wherein the energy demand target model is provided with a second constraint condition;

[0008] The energy target model and the energy demand target model are iterated based on the initial profit coefficient of the energy target model, the initial profit coefficient is continuously adjusted until the convergence condition is met, and the dispatch power of each type of energy in the energy system is output.

[0009] Furthermore, the specific expression of the energy target model is:

[0010] f 1 =max[R TR -C FU -C OM -C ES -CBUY ],

[0011] Among them, f 1 is the energy target model, R TR is the total revenue from energy sales in the regional energy system, C FU is the gas purchase cost of gas turbines in the region, C OM The operating cost of the equipment supplying the regional energy system, C ES is the operating cost of energy storage equipment in the regional energy system, C BUY The external cost of purchasing energy from outside for the regional energy system.

[0012] Furthermore, the specific expression of the user's energy demand target model is:

[0013]

[0014] Among them, f 2 The energy demand target model for the user, is the electricity demand cost at time t, is the natural gas demand cost at time t, is the cooling energy demand cost at time t, is the heat energy demand cost at time t.

[0015] Furthermore, the energy target model is provided with a first constraint condition, specifically:

[0016] The first constraint condition includes a power balance constraint condition, an energy coupling constraint condition, a transmission power constraint condition, a profit coefficient constraint condition and a carbon emission constraint condition.

[0017] Furthermore, the energy demand target model is provided with a second constraint condition, specifically:

[0018] The second constraint condition includes a load power balance constraint condition, a load transfer constraint condition, a cooling and heating load power constraint condition, and a flexible hot water supply demand response constraint condition.

[0019] Furthermore, the energy target model and the energy demand model are iterated using a primal-dual tracking interior point algorithm.

[0020] In a second aspect, the present invention further provides an energy scheduling device considering multiple energy requirements, comprising:

[0021] The parameter acquisition module is used to obtain the initial profit coefficient, cost coefficient and available power of various energy sources in the regional energy system, the demand of users in the region for various energy sources and the market retail prices of various energy sources;

[0022] A power distribution target construction module, used to construct an energy target model of the energy system in the region according to the initial profit coefficient, cost coefficient and available power of each type of energy and the market retail price of each type of energy, wherein the energy target model is provided with a first constraint condition;

[0023] A demand target building module, used to build a user's energy demand target model according to the profit coefficients of the various energy types and the user's demand for multiple energy types, wherein the energy demand target model is provided with a second constraint condition;

[0024] The energy scheduling module is used to iterate the energy target model and the energy demand target model based on the initial profit coefficient of the energy target model, continuously adjust the initial profit coefficient until the convergence condition is met, and output the scheduling power of various energy sources in the energy system.

[0025] In a third aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of any one of the energy scheduling methods considering multiple energy demands in the first aspect are implemented.

[0026] In a fourth aspect, the present invention further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, it executes any energy scheduling method considering multiple energy demands in the first aspect.

[0027] The beneficial effects of adopting the above technical solution are as follows: the present invention integrates various energy production systems through the energy system, and dispatches them according to the actual needs of users for various types of energy, which is beneficial to improving the overall energy utilization efficiency of the energy system in the region, and introduces carbon emission constraints, so that the scheduling of the energy system can utilize more renewable energy, which has a positive impact on environmental protection. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.

[0029] Figure 1 This is a schematic diagram of an energy scheduling method considering multiple energy demands in one embodiment of the present application;

[0030] Figure 2 A flow chart of an energy scheduling method considering multiple energy demands in one embodiment of the present application;

[0031] Figure 3 This is a schematic diagram of the energy system and user system structure in one embodiment of the present application;

[0032] Figure 4This is a schematic diagram of an equivalent model of air conditioning for users in a region in one embodiment of the present application;

[0033] Figure 5 A schematic diagram of an energy scheduling device that takes multiple energy demands into consideration in one embodiment of the present application. DETAILED DESCRIPTION

[0034] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. In order to explain the present invention in more detail, the energy scheduling method, device, storage medium and equipment considering multiple energy needs provided by the present invention are specifically described in combination with the drawings.

[0035] Unless otherwise defined, the technical terms or scientific terms used in the disclosure of this application should be understood by people with ordinary skills in the field to which the present invention belongs. The "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, similar words such as "one", "one" or "the" do not indicate a quantitative limit, but indicate that there is at least one. Similar words such as "include" or "include" mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Similar words such as "connect" or "connected" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship can also change accordingly.

[0036] There are multiple types of energy systems in the region, including but not limited to regional power distribution systems, regional natural gas systems, regional thermal systems and regional cooling systems. The various types of energy systems are interconnected to form a regional energy system. The energy system can comprehensively consider the energy dispatch of various types of energy systems, effectively promote the coordinated operation of various types of energy, give full play to the potential advantages of different energy systems, and improve the utilization efficiency of comprehensive energy.

[0037] In this regard, the present invention provides an energy dispatching method that takes into account multiple energy needs, coordinates and dispatches various types of energy systems in a region, and obtains the dispatching power of various types of energy in the energy system by continuously adjusting the energy selling price to meet the constraints of maximizing the profit of energy suppliers and minimizing the energy cost of users, thereby realizing efficient dispatching of multiple types of energy in the region. Figure 1 The schematic diagram and attached diagram of the energy dispatch method considering multiple energy demands are shown. Figure 2 A flow chart of an energy scheduling method considering multiple energy demands is provided.

[0038] The embodiment of the present application provides an application scenario of an energy scheduling method considering multiple energy demands, and the application scenario includes a terminal device provided in the embodiment, and the terminal device includes but is not limited to a smart phone and a computer device, wherein the computer device can be at least one of a desktop computer, a portable computer, a laptop computer, a mainframe computer, a tablet computer, etc. The user operates the terminal device to obtain the scheduling power of various energy sources in the regional energy system. For the specific process, please refer to the embodiment of the energy scheduling method considering multiple energy demands.

[0039] Step S101, obtaining the initial profit coefficient, cost coefficient and available power of each energy type in the regional energy system, the demand for each energy type by users in the region, and the market retail price of each energy type.

[0040] Among them, the energy system in the region includes the regional electric energy system, the regional natural gas energy system, the regional cold energy system, the regional heat energy system and the regional external energy system. The initial profit coefficient of each type of energy in the regional energy system can be set to 0. The cost coefficient of each type of energy in the regional energy system includes the purchase cost of energy production equipment, the maintenance cost of energy production equipment, and the operating cost of energy production equipment. The power that can be provided by each type of energy in the regional energy system is the maximum power that each energy system in the energy system can provide to the user at the current moment. The regional external energy system in the regional energy system purchases a set amount of energy from the outside according to the market retail price of each type of energy.

[0041] Step S102, constructing an energy target model of the energy system in the region according to the initial profit coefficient, cost coefficient and available power of each type of energy and the market retail price of each type of energy, wherein the energy target model is provided with a first constraint condition.

[0042] Among them, the specific expression of the energy target model is:

[0043] f 1 =max[R TR -C FU -C OM-C ES -C BUY ],

[0044] f 1 is the energy target model, R TR is the total revenue from energy sales in the regional energy system, C FU is the gas purchase cost of gas turbines in the region, C OM The operating cost of the equipment supplying the regional energy system, C ES is the comprehensive operating cost of energy storage equipment in the regional energy system, C BUY The external cost of purchasing energy from outside for the regional energy system.

[0045] Furthermore, the first constraint condition includes a power balance constraint condition, an energy coupling constraint condition, a transmission power constraint condition, a profit coefficient constraint condition and a carbon emission constraint condition.

[0046] Step S103, constructing a user's energy demand target model according to the profit coefficients of the various energy types and the user's demand for multiple energy types, wherein the energy demand target model is provided with a second constraint condition.

[0047] The specific expression of the energy demand target model of the user is:

[0048]

[0049] f 2 The energy demand target model for the user, is the electricity demand cost at time t, is the natural gas demand cost at time t, is the cooling energy demand cost at time t, is the heat energy demand cost at time t.

[0050] Furthermore, the second constraint condition includes a load power balance constraint condition, a load transfer constraint condition, a cooling and heating load power constraint condition, and a flexible hot water supply demand response constraint condition.

[0051] Step S104, iterating the energy target model and the energy demand target model based on the initial profit coefficient of the energy target model, continuously adjusting the initial profit coefficient until the convergence condition is met, and outputting the dispatch power of each type of energy in the energy system.

[0052] Wherein, the energy target model and the energy demand model are iterated by using the primal-dual tracking interior point algorithm.

[0053] For the energy target model of the energy system in the above region, the specific definitions of the benefit and cost parameters used are as follows:

[0054] (1)R TR is the total revenue from energy sales of the energy system in the region, which includes the revenue from electricity, natural gas, heat, cold energy, power-to-gas equipment and ground-source heat pumps sold by the energy system. The specific expression is R TR =R DL +R GL +R HL +R CL +R P2G +R GSHP .

[0055] Among them, R DL is the electricity sales revenue of the energy system, and the specific expression is is the initial electricity revenue coefficient, is the electric power sold at time t; R GL is the revenue from natural gas sales of the energy system, which is expressed as is the initial natural gas revenue coefficient, is the natural gas power sold at time t; R HL is the heat energy sales revenue of the energy system, and the specific expression is is the initial heat energy yield coefficient, is the thermal power sold at time t; R CL is the cooling energy sales revenue of the energy system, and the specific expression is is the initial cooling energy benefit coefficient, is the cooling power sold at time t; R P2G is the power-to-gas equipment income of the energy system, and the specific expression is is the initial power-to-gas equipment profit coefficient, is the output power of the power-to-gas device at time t; R GSHP is the ground source heat pump benefit of the energy system, and the specific expression is is the initial cooling benefit coefficient of the ground source heat pump device of the energy system, is the cooling power of the ground source heat pump device at time t, is the initial heating benefit coefficient of the ground source heat pump device of the energy system, is the heating power of the ground source heat pump device at time t; T is the total time period of energy scheduling in the region.

[0056] (2)C FU is the gas purchase cost of gas turbines in the region, and the specific expression is in is the initial natural gas revenue coefficient, is the electrical power output of the mth gas turbine in the energy system at time t, is the operating coefficient of the mth gas turbine, which takes a value of 0 or 1. is the thermal power output of the nth gas boiler in the energy system at time t, is the working coefficient of the nth gas boiler, which takes a value of 0 or 1, T is the total time period of energy scheduling in the region, M is the number of gas turbines in the region, and N is the number of gas boilers in the region.

[0057] (3)C OM is the comprehensive operating cost of the energy storage equipment in the regional energy system. The energy storage equipment in the regional energy system includes batteries, cold storage tanks, heat storage tanks and gas storage tanks. The specific expression of the comprehensive operating cost of the energy storage equipment is C OM =C PV_OM +C WT_OM +C MT_OM +C ES , where C PV_OM is the operating cost of photovoltaic equipment in the region, and the specific expression is c PV is the operating cost coefficient of photovoltaic equipment in the region, is the output power of the photovoltaic equipment in the region at time t; C WT_OM is the operating cost of photovoltaic equipment in the region, and the specific expression is c WT is the operating cost coefficient of wind power equipment in the region, is the output power of wind power equipment in the region at time t; C MT_OM is the operating cost of photovoltaic equipment in the region, and the specific expression is c MT is the operating cost coefficient of a single gas turbine in the region, is the output power of the gas turbine in the region at time t, M is the number of gas turbines in the region; C ES is the operating cost of the comprehensive energy storage equipment in the region, and the specific expression is

[0058]

[0059] c BT is the operating cost of the battery, is the charging power of the batteries in the area, is the discharge power of the battery in the area, c CD is the operating cost of the cold storage tank, is the energy storage power of the cold storage tank in the area, is the energy release power of the cold storage tank in the area, c HCis the operating cost of the heat storage tank, is the energy storage power of the heat storage tank in the area, is the energy release power of the heat storage tank in the area, c NG is the operating cost of the gas tank, is the energy storage power of the gas tank in the area, is the deflation power of the gas tanks in the area.

[0060] (4)C BUY is the external cost of the energy system in the region to purchase energy from the outside. The energy purchased by the energy system from the outside includes electricity, natural gas, cold energy and heat energy. The specific expression is is the cost coefficient of the electricity purchased from the outside by the energy system at time t, is the electric power purchased from the outside by the energy system at time t; is the cost coefficient of natural gas purchased from the outside by the energy system at time t, is the natural gas power purchased from the outside by the energy system at time t; is the cost coefficient of the cold energy purchased from the outside by the energy system at time t, is the cooling power purchased from the outside by the energy system at time t; is the cost coefficient of heat energy purchased from the outside by the energy system at time t, is the thermal power purchased from the outside by the energy system at time t.

[0061] The energy target model of the regional energy system is constructed based on the above parameters. The purpose of this energy target model is to maximize the benefits of the energy system when the regional energy system dispatches various types of energy. However, in order to make comprehensive use of various energy sources, further improve the efficiency of renewable energy use, and make the energy dispatch of the energy system more environmentally friendly, constraints are set on the energy target model of the energy system. While reducing the operating cost of the energy system, it also improves the comfort of users in using energy and reduces carbon emissions in the region. The first constraint set by the energy target model includes power balance constraints, energy coupling constraints, transmission power constraints, benefit coefficient constraints, and carbon emission constraints. The following is a description of each constraint:

[0062] (1) The power balance constraint condition requires that the electric power, natural gas power, cooling power, thermal power and auxiliary flue gas bus power of the energy system be balanced. The specific expression is:

[0063]

[0064] in, is the output power of wind power equipment in the region at time t, is the output power of the photovoltaic equipment in the region at time t, is the output power of the gas turbine in the region at time t, is the power purchased from the outside by the energy system at time t, is the charging power of the regional battery, is the discharge power of the battery in the area, is the electric power input by the heat pump device of the energy system at time t, is the electric power input to the electric refrigeration device at time t, is the electric power input to the electric heating device at time t, is the electric power input to the power-to-gas device at time t, is the electricity sold at time t; is the output power of the power-to-gas device at time t, is the charging power of the regional gas tank, is the natural gas power purchased from the outside by the energy system at time t, is the energy release power of the regional gas storage tank, is the power of the regional gas turbine converted into thermal energy at time t when consuming natural gas, is the power of natural gas consumed by gas boilers in the region and converted into thermal energy at time t, is the power consumed by users in the region at time t; is the output power of the electric refrigeration equipment at time t, is the cooling power of the regional ground source heat pump device at time t, is the charging power of the cold storage tank in the area, is the output power of the absorption refrigeration device in the area at time t, is the natural gas power purchased from the outside by the energy system at time t, is the charging power of the heat storage tank in the area, is the heat load power consumed by users in the area at time t; ω is, is the output power of the waste heat boiler in the area at time t, is the output power of the gas boiler in the area at time t, is the output power of the heat conversion device in the area at time t. The first formula in the above power balance constraint conditions represents the active power balance of the electric power bus, the second formula represents the active power balance of the natural gas bus, the third formula represents the active power balance of the cold energy bus, the fourth formula represents the active power balance of the thermal energy bus, and the fifth formula represents the active power balance of the hot flue gas bus.

[0065] (2) The energy coupling constraint condition limits the energy balance constraint between individual energy devices in the energy system. The specific expression is:

[0066]

[0067] in, is the output power of the gas turbine at time t, is the lower limit of the power output of the gas turbine at time t, is the upper limit of the power output of the gas turbine at time t, R MT_dn is the lower limit climbing output constraint coefficient of the gas turbine, R MT_up is the upper limit climbing output constraint coefficient of the gas turbine, is the lower limit of the output power of the waste heat boiler at time t, is the upper limit of the output power of the waste heat boiler at time t, is the lower limit of the output power of the gas boiler at time t,

[0068] is the upper limit of the output power of the gas boiler at time t, is the lower limit of the output power of the photovoltaic device at time t, is the upper limit of the output power of the photovoltaic device at time t, is the lower limit of the output power of the wind power equipment at time t, is the upper limit of the output power of the wind power equipment at time t, is the output power of the ground source heat pump device at time t, is the lower limit of the output power of the ground source heat pump device at time t, is the upper limit of the output power of the ground source heat pump device at time t, is the lower limit of the output power of the electric refrigeration device at time t, is the upper limit of the output power of the electric refrigeration device at time t, is the lower limit of the output power of the electric heating device at time t, is the upper limit of the output power of the electric heating device at time t, is the lower limit of the output power of the absorption refrigeration device at time t, is the upper limit of the output power of the absorption refrigeration device at time t, is the lower limit of the output power of the heat conversion energy device at time t, is the upper limit of the output power of the heat conversion energy device at time t, is the lower limit of the output power of the power-to-gas device at time t, is the upper limit of the output power of the power-to-gas device at time t.

[0069] (3) The transmission power constraint condition is the constraint on the transmission power of the interconnection lines between the energy system and the distribution network, gas distribution network, cooling network, and heating distribution network. The specific expression is:

[0070]

[0071] is the electric power purchased from the outside by the energy system at time t, is the upper limit of the electric power purchased by the energy system from the outside at time t, is the natural gas power purchased from the outside by the energy system at time t, is the upper limit of natural gas power purchased by the energy system from the outside at time t, is the cooling power purchased from the outside by the energy system at time t, is the upper limit of the cooling power purchased by the energy system from the outside at time t, is the thermal power purchased from the outside by the energy system at time t, is the upper limit of the thermal power purchased by the energy system from the outside at time t.

[0072] (4) In order to maximize the net profit of the energy system and reduce the operating cost, after setting the initial profit coefficient of the energy system, the impact of regional users on the price demand response of the energy system is considered. The specific expression of the profit coefficient constraint is:

[0073]

[0074] is the minimum value of the electricity revenue coefficient, is the maximum value of the electricity revenue coefficient, is the average retail price of electricity in the market, is the minimum value of the natural gas profit coefficient, is the maximum value of the natural gas profit coefficient, is the average market retail price of natural gas, is the minimum value of the cooling energy benefit coefficient, is the maximum value of the cooling energy benefit coefficient, is the average market retail price of cold energy, is the minimum value of the thermal energy yield coefficient, is the maximum value of the thermal energy yield coefficient, is the average market retail price of thermal energy. The above-mentioned profit coefficient constraint restricts the price of various types of energy purchased by users in the region from the energy system to no higher than the average price of energy purchased from the external energy market. The average energy price can be determined through negotiation between the energy system and users in the region after analyzing the external energy market. It can take into account the share of the external energy market and the interests of users in the region, as well as the comfort and satisfaction of various types of users.

[0075] (5) In this embodiment, the energy system formulates a real-time target control of the total amount of carbon emission quota per unit energy supply. For gas turbines with a hot spot ratio greater than 1 in the energy system, the power generation is converted into heat supply, and the total carbon emission quota index is determined by the real-time unit comprehensive heat supply carbon emission benchmark of the energy supply equipment of the energy system in a given area, the given value of the unit comprehensive control and emission coefficient, and the unit comprehensive heating power. The specific expression of the carbon emission constraint condition is:

[0076]

[0077] Among them, k c_h_mt is the carbon emission intensity coefficient of the unit comprehensive heating supply of internal combustion engines in the region, is the carbon emission intensity coefficient of the unit comprehensive heating of waste heat boilers in the region, k c_h_gb is the carbon emission intensity coefficient of the unit comprehensive heating supply of gas boilers in the region, Real-time carbon emissions of the energy system, E quotas is the carbon emission quota indicator of the energy system, λ quotas_ht is the carbon emission benchmark value of the energy system per unit of comprehensive heat supply, β quotas is the unit comprehensive control and emission coefficient of the energy system, It is the comprehensive heating power rating of the real-time unit.

[0078] In addition, for the energy demand target model of users in the above area, the specific definitions of the demand costs and constraints of various energy sources used are as follows:

[0079] The energy demand target model constructed by users in the region is based on the initial profit coefficient of energy in the regional energy target model and the users' demand for multiple types of energy. It enables users in the region to reasonably participate in the response plan of the energy system, formulates reasonable optimal energy use strategies for users, and minimizes the comprehensive energy cost purchased by users in the region.

[0080] (1) is the electricity demand cost at time t, and the specific expression is is the power demand of user i at time t, is the basic electricity load of user i at time t, is the transferable electric load of user i at time t.

[0081] (2) is the natural gas demand cost at time t, and the specific expression is is the natural gas demand power of user i at time t, is the basic gas load of user i at time t, is the transferable gas load of user i at time t.

[0082] (3) is the cooling energy demand cost at time t, and the specific expression is is the cooling power demanded by user i at time t, is the temperature-controlled cooling load of user i at time t, is the basic cooling load of user i at time t, is the transferable cooling load of user i at time t.

[0083] (4) is the heat energy demand cost at time t, and the specific expression is is the thermal energy demand power of user i at time t, is the temperature-controlled heat load of user i at time t, is the flexible hot water supply load of user i at time t.

[0084] Furthermore, a second constraint condition is set for the energy demand target model, including a load power balance constraint condition, a load transfer constraint condition, a cold and hot load power constraint condition, and a flexible hot water supply demand response constraint condition.

[0085] (1) The load power balance constraint limits the power balance between the electricity, natural gas, cooling energy, and thermal energy that can be transferred by the energy system and the virtual energy output increase / decrease power of users participating in the demand response plan. The specific expression is:

[0086]

[0087] is the transferable electric load reduced by user i at time t, is the transferable electric load added by user i at time t, is the transferable gas load reduced by user i at time t, is the transferable gas load added by user i at time t, is the transferable cooling load reduced by user i at time t, is the additional transferable cooling load of user i at time t.

[0088] (2) Considering the normal implementation of the load curve of the transferable electric load, gas load, and cooling load after demand response, the energy continuity, timing, and overall attributes should be observed, and the load transfer constraint conditions are set. The specific expression is:

[0089]

[0090] Adding transfer factor for electrical load, To reduce the transfer factor for electrical load, Increase the upper limit for transferable electrical loads, To reduce the upper limit of transferable electrical load, Add the transfer factor for the gas load, The transfer factor for gas load reduction is Add an upper limit to the transferable gas load, To reduce the upper limit of transferable gas load, Add transfer factor for cooling load, To reduce the transfer factor for cooling load, Increase the upper limit for transferable cooling load, Reduce the upper limit for transferable cooling loads.

[0091] (3) Considering that the proportion of temperature control loads such as air conditioners and electric heat pumps in the region is rapidly increasing, and air conditioners and other equipment in the region have good energy storage characteristics, the temperature control load of the energy system in the region is studied using an air conditioner equivalent thermodynamic model simulated by circuit simulation, and constraints are set for the indoor and outdoor cooling and heating loads of the buildings where users are located in the region. The specific expression of the cooling and heating load power constraint is:

[0092]

[0093] for, is the lower limit of indoor temperature fluctuation, is the indoor target temperature, ΔT is the difference between the indoor target temperature and the outdoor temperature, for, is the upper limit of indoor temperature fluctuation, is the cooling and heating power provided by the load agent to the user at time t, The power required for the target cooling and heating loads.

[0094] The first expression in the above-mentioned cold and hot load power constraints is the cold load power of users in the region, the second expression is the hot load power of users in the region, the third expression is that the cold and hot power provided by the energy system to users in the region can be flexibly adjusted by the gas temperature, the fourth expression is the maximum and minimum ranges of the cold and hot power value adjustment in the region, and the fifth expression is the upper and lower fluctuation values ​​of the cold gas load and the hot gas load in the region.

[0095] (4) Considering that the intelligent transformation of the energy system in the region is gradually upgraded and the hot water supply of buildings in the region is gradually popularized, the user energy demand target model of this embodiment is combined with the flexible hot water supply consideration. The specific expression of the flexible hot water supply demand response constraint condition is:

[0096]

[0097] Reduce the fluctuation coefficient value for hot water load, is the lower limit of hot water storage temperature, is the target hot water temperature, is the temperature at which cold water replaces hot water at time t, Add a fluctuation factor value for the hot water load, is the upper limit of hot water storage temperature, is the hot water power provided by the energy system to the user at time t, The target hot water demand power.

[0098] The first expression in the flexible hot water supply demand response constraint is the fluctuation coefficient value of the hot water load, the second expression is the balance between the user's virtual hot water demand and the total hot water power of the energy system, the third expression is the flexible adjustment of the hot water power of users in the area according to the given hot water temperature, and the fourth expression is the maximum / minimum constraint range of the hot water power adjustment.

[0099] Furthermore, in this embodiment, there are multiple decision variable couplings between the regional energy target model and the energy demand model, and there are a large number of constraints. It is difficult for existing algorithms to directly or quickly iterate the above two-layer optimization model to obtain the dispatch power of various energy sources in the energy system. In order to be able to quickly and reasonably dispatch various energy sources from the energy system according to the energy needs of users, this embodiment uses the primal-dual tracking interior point algorithm to iterate the energy target model and the energy demand model. While maintaining the feasibility of the primal and dual solutions, the global optimal solution is obtained along a primal-dual path, and the feasibility of the primal and dual solutions is always maintained in this process. The primal-dual tracking interior point method can achieve the optimal dispatch of the energy system on the user demand side under the premise of ensuring the privacy of the energy system and users in the region.

[0100] Based on this, the description of the optimization problem of iterating the energy target model and the energy demand model in this embodiment is specifically as follows:

[0101]

[0102] Among them, π is a variable, which takes the value of 0 or 1; Γ(π) is an equality constraint function. When the energy target model reaches the maximum value, the target is negative, that is, -Γ(π); when the energy demand model reaches the minimum value, the target is positive, that is, Γ(π); h(π) is an inequality constraint function.

[0103] The specific expression of the augmented Lagrangian function obtained is:

[0104]

[0105] Among them, s 1 、s u is a slack variable, and s 1 ,s u ≥0; λ, ω 1 ,ω u are all Lagrange multiplier vectors; λ>0, ω 1 <0,ω u >0; μ is the barrier parameter, μ>0. According to the KKT optimality condition, we can get:

[0106]

[0107] Where J is the Jacobian matrix, [] is the matrix of slack variables with principal diagonal elements, and s 1 ,s 1 =diag(u 1 ,...,u r ), e is the unit column vector ∈R (r) ;ω 1 ,ω u =diag(ω 1 ,...,ω r ).

[0108] By using Newton's method to solve the above formula, we can deduce that the direction of variable transfer is:

[0109]

[0110] Among them, κ is the number of equations in the first constraint and the second constraint, n is the number of inequalities in the first constraint and the second constraint adjustment, Δ is the increment of the variable, is the Jacobian matrix of Γ(π), is the Jacobian matrix of h(π); is the Hessian matrix of Γ(π), is the Hessian matrix of g(π), is the Hessian matrix of h(π).

[0111] Simplifying the above formula, we get:

[0112]

[0113] in,

[0114]

[0115] It can be seen that the energy target model and the energy demand model are iteratively optimized by using the simplified correction equation, and Φ is a large sparse matrix. The simplified correction equation is solved by Newton's method. By setting effective parameters and iteratively solving, the global optimal solution can be obtained when the equation converges. The main steps of the specific iterative solution are as follows:

[0116] Step 1: Input the original parameters, give the initial values ​​of all variables, and ensure that λ>0, ω 1 <0,ω u >0,s 1 ,s u ≥0, and satisfy h(π)-s 1 =h 1 ,h(π)+s u =h u , set the convergence accuracy ε 1 =10 -6 , δ 2 =10 -5 , given a suitable central parameter 1 / β i , β i >1.

[0117] Step 2: Calculate the compensation gap and maximum power deviation, if gap<ε 1 , the maximum power deviation is less than ε 2 , then the settlement ends and the optimal solution is output, otherwise go to Step 3.

[0118] Step 3: Calculate the barrier function μ = gap / 2·β i ·nκ, and calculate the simplified correction equation above to obtain Δz, Δλ, Δs 1 , Δs u , Δω 1 and Δω u .

[0119] Step 4: Determine the original and dual step sizes, modify the variables, and go to Step 2. The original and dual step sizes are

[0120]

[0121] The pseudo code for the above iterative calculation process of the energy target model and the energy demand model is as follows:

[0122] 1. Initialization: Set each element of the storage space matrix reserved for the decision variables to 0. Set the iteration index k to 0;

[0123] 2. While (k < N). Set N as the number of iterations;

[0124] 3. If k is 0. Read the initialization data of the decision variables;

[0125] 4. End;

[0126] 5. Set the initial values of each parameter in the upper layer;

[0127] 6. PPFIPM calculates the above (Step1 - Step4), gives the upper layer optimization result, and directly passes each decision variable (c DL_price , c GL_price , c CL_price , c HL_price ) i,t,(k) to the lower layer for optimization and solution;

[0128] 7. Set the initial values of each parameter in the lower layer;

[0129] 8. Use the same calculation process as PPFIPM (Step1 - Step4) to solve, give the lower layer optimization result, and save each decision variable (P S_DL , Q S_GL , Q S_CL , Q W_HL , Q Air_CL ) i,t,(k) ;

[0130] 9. Convergence check: If (k ≥ 2). Given the deviation σ, check the convergence criterion; If for each decision variable X{(X) i,t,(k+1) - (X) i,t,(k) ≤ σ}, terminate the algorithm, Break;

[0131] End; End;

[0132] 11. Otherwise, k = k + 1; go back to the initial step.

[0133] In the regional energy system, the comprehensive energy efficiency evaluation index system of energy equipment operation mainly considers the comprehensive benefit index of equipment operation and the comprehensive energy cost index (i.e., the comprehensive energy efficiency index of economic evaluation), low-carbon environmental index (i.e., the comprehensive energy efficiency index of social evaluation), and multi-energy conversion efficiency index (i.e., the comprehensive energy efficiency index of technical evaluation). Among them, the comprehensive benefit index of equipment operation in the economic evaluation index of the two-level optimization model of energy target model and energy demand model mainly refers to the daily operation real-time net energy sales income target value f of the upper energy system when the power-to-gas equipment and ground source heat pump equipment participate in the coordinated optimization. 1 t The comprehensive energy cost index in the regional economic evaluation index mainly refers to the daily real-time comprehensive energy cost target value f of users in the region during coordinated optimization operation. 2 The comprehensive energy efficiency index of the social evaluation of the two-level optimization model mainly refers to the daily real-time unit comprehensive energy supply carbon emissions of the overall optimized operation of the system. The comprehensive energy efficiency index of the technical evaluation of the two-level optimization model mainly refers to the energy conversion efficiency value η of the energy system. park .

[0134] The specific expression of the energy conversion efficiency of the energy system obtained by the power of various energy sources in the energy system is:

[0135]

[0136] Among them, η park is the energy conversion efficiency of the energy system, is the electrical energy consumption output by the energy system at time t, λ p_grid is the electric energy consumption coefficient of the energy system, is the heat energy consumption output by the energy system at time t, λ p_heat is the thermal energy consumption coefficient of the energy system, is the natural gas energy consumption output by the energy system at time t,

[0137] λ p_gas is the natural gas energy consumption coefficient of the energy system, is the cooling energy consumption output by the energy system at time t,

[0138] λ p_cold is the cooling energy consumption coefficient of the energy system, is the electric energy consumption input to the energy system at time t,

[0139] is the heat energy consumption input to the energy system at time t, is the natural gas energy consumption input to the energy system at time t,

[0140] is the cooling energy consumption input to the energy system at time t,

[0141] This embodiment constructs a two-layer optimization model including an energy target model and an energy demand target model, and uses an improved nonlinear primal-dual interior point algorithm to iteratively optimize and solve the model, so as to obtain the dispatching power of various energy types in the regional energy system, which is beneficial to the flexible dispatching of various types of energy in the energy dispatching area, can not only reduce the operating cost of the energy system, but also improve the comfort of end users, fully consider the coordinated and optimized operation of renewable energy, and reduce carbon emissions in the region.

[0142] It should be understood that although the Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Figure 1 At least part of the steps may include multiple sub-steps or sub-stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0143] The above embodiments of the present invention describe in detail the energy scheduling method considering multiple energy demands. The above methods disclosed in the present invention can be implemented by various devices. Therefore, the present invention also discloses an energy scheduling device considering multiple energy demands corresponding to the above methods. Figure 5 , specific embodiments are given below to explain in detail.

[0144] The parameter acquisition module 201 is used to obtain the initial profit coefficient, cost coefficient and available power of each energy type in the regional energy system, the demand for each energy type by users in the region and the market retail price of each energy type.

[0145] The power distribution target construction module 202 is used to construct an energy target model of the energy system in the region according to the initial profit coefficient, cost coefficient and available power of at least the energy and the market retail price of each type of energy, and the energy target model is provided with a first constraint condition.

[0146] The demand target building module 203 is used to build a user's energy demand target model according to the profit coefficients of the various energy types and the user's demand for multiple energy types. The energy demand target model is provided with a second constraint condition.

[0147] The energy scheduling module 204 is used to iterate the energy target model and the energy demand target model based on the initial profit coefficient of the energy target model, continuously adjust the initial profit coefficient until the convergence condition is met, and output the scheduling power of each type of energy in the energy system.

[0148] For the energy scheduling device considering multiple energy requirements, please refer to the above definition of the method, which will not be repeated here. Each module in the above device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above modules can be embedded in or independent of the processor of the terminal device in the form of hardware, or can be stored in the memory of the terminal device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0149] In one embodiment, the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned energy scheduling method considering multiple energy demands are implemented.

[0150] The computer-readable storage medium may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM (erasable programmable read-only memory), a hard disk or a ROM. Optionally, the computer-readable storage medium includes a non-transitory computer-readable storage medium. The computer-readable storage medium has storage space for program codes for executing any of the method steps in the above method. These program codes may be read from or written into one or more computer program products, and the program codes may be compressed in an appropriate form.

[0151] In one embodiment, the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the above-mentioned energy scheduling method considering multiple energy demands when executing the computer program.

[0152] The computer device includes a memory, a processor, and one or more computer programs, wherein the one or more computer programs can be stored in the memory and configured to be executed by one or more processors, and the one or more application programs are configured to execute the above-mentioned energy scheduling method considering multiple energy demands.

[0153] The processor may include one or more processing cores. The processor uses various interfaces and lines to connect the various parts of the entire computer device, and executes various functions of the computer device and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory, and calling data stored in the memory. Optionally, the processor can be implemented in at least one hardware form of digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). The processor can integrate one or more combinations of a central processing unit (CPU), a reporting verifier (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor, but may be implemented separately through a communication chip.

[0154] The memory may include a random access memory (RAM) or a read-only memory (ROM). The memory may be used to store instructions, programs, codes, code sets or instruction sets. The memory may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the terminal device during use, etc.

[0155] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. 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 embodiments of the present invention.

Claims

1. An energy scheduling method considering multiple energy demands, It is characterized in that include: Obtain the initial profit coefficient, cost coefficient and available power of various energy sources in the regional energy system, the demand for various energy sources by users in the region, and the market retail prices of various energy sources; An energy target model of the energy system in the region is constructed according to the initial profit coefficient, cost coefficient and available power of each type of energy and the market retail price of each type of energy, wherein the energy target model is provided with a first constraint condition; Constructing a user's energy demand target model according to the initial profit coefficients of the various energy types and the user's demand for multiple energy types, wherein the energy demand target model is provided with a second constraint condition; The energy target model and the energy demand target model are iterated based on the initial profit coefficient of the energy target model, the initial profit coefficient is continuously adjusted until the convergence condition is met, and the dispatch power of each type of energy in the energy system is output.

2. The energy scheduling method considering multiple energy demands as claimed in claim 1, It is characterized in that The specific expression of the energy target model is: f 1 =max[R TR -C FU -C OM -C ES -C BUY ], Among them, f 1 is the energy target model, R TR is the total revenue from energy sales in the regional energy system, C FU is the gas purchase cost of gas turbines in the region, C OM The operating cost of the equipment supplying the regional energy system, C ES is the comprehensive operating cost of energy storage equipment in the regional energy system, C BUY The external cost of purchasing energy from outside for the regional energy system.

3. The energy scheduling method considering multiple energy demands as claimed in claim 2, It is characterized in that The specific expression of the user's energy demand target model is: Among them, f 2 The energy demand target model for the user, is the electricity demand cost at time t, is the natural gas demand cost at time t, is the cooling energy demand cost at time t, is the heat energy demand cost at time t.

4. The energy scheduling method considering multiple energy demands as claimed in claim 3, It is characterized in that The energy target model has a first constraint condition, which is: The first constraint condition includes a power balance constraint condition, an energy coupling constraint condition, a transmission power constraint condition, a profit coefficient constraint condition and a carbon emission constraint condition.

5. The energy scheduling method considering multiple energy demands as claimed in claim 4, It is characterized in that The energy demand target model has a second constraint condition, which is: The second constraint conditions include load power balance constraint conditions, load transfer constraint conditions, cooling and heating load power constraint conditions and flexible hot water supply demand response constraint conditions.

6. The energy dispatching method considering multiple energy demands as claimed in claim 5, It is characterized in that The energy target model and the energy demand model are iterated using a primal-dual tracking interior point algorithm.

7. The energy dispatching method considering multiple energy demands as claimed in claim 6, It is characterized in that Also includes: The energy conversion efficiency of the energy system is obtained according to the power of various energy sources in the energy system. The specific expression is: Among them, η park is the energy conversion efficiency of the energy system, is the electrical energy consumption output by the energy system at time t, λ p_grid is the electric energy consumption coefficient of the energy system, is the heat energy consumption output by the energy system at time t, λ p_heat is the thermal energy consumption coefficient of the energy system, is the natural gas energy consumption output by the energy system at time t, λ p_gas is the natural gas energy consumption coefficient of the energy system, is the cooling energy consumption output by the energy system at time t, λ p_cold is the cooling energy consumption coefficient of the energy system, is the electric energy consumption input to the energy system at time t, is the heat energy consumption input to the energy system at time t, is the natural gas energy consumption input to the energy system at time t, is the cooling energy consumption input to the energy system at time t, 8. An energy dispatching device that takes into account multiple energy needs, It is characterized in that include: The parameter acquisition module is used to obtain the initial profit coefficient, cost coefficient and available power of various energy sources in the regional energy system, the demand of users in the region for various energy sources and the market retail prices of various energy sources; A power distribution target construction module, used to construct an energy target model of the energy system in the region according to the initial profit coefficient, cost coefficient and available power of each type of energy and the market retail price of each type of energy, wherein the energy target model is provided with a first constraint condition; A demand target building module, used to build a user's energy demand target model according to the profit coefficients of the various energy types and the user's demand for multiple energy types, wherein the energy demand target model is provided with a second constraint condition; The energy scheduling module is used to iterate the energy target model and the energy demand target model based on the initial profit coefficient of the energy target model, continuously adjust the initial profit coefficient until the convergence condition is met, and output the scheduling power of various energy sources in the energy system.

9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the energy scheduling method considering multiple energy demands in any one of claims 1 to 7 are implemented.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, it performs the energy scheduling method considering multiple energy demands according to any one of claims 1-7.