Energy scheduling method, device and equipment and storage medium

By constructing an integrated energy system and using a pre-set model to iteratively optimize and determine the scheduling method, the problem of unreasonable energy scheduling was solved, and efficient energy utilization and cost reduction were achieved.

CN115936334BActive Publication Date: 2026-05-15BEIJING UNIV OF POSTS & TELECOMM +2
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING UNIV OF POSTS & TELECOMM
Filing Date
2022-11-04
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

The lack of effective energy dispatch and distribution schemes in existing technologies leads to low efficiency in energy systems.

Method used

Construct an integrated energy system, determine scheduling objectives and constraints, and determine energy scheduling methods through iterative optimization using a pre-set model to achieve rational scheduling of multiple energy sources.

Benefits of technology

Reduce energy consumption, improve energy efficiency, meet user needs, and reduce overall costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115936334B_ABST
    Figure CN115936334B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides an energy scheduling method, device and equipment and a storage medium, and belongs to the technical field of energy, which comprises the following steps: constructing a comprehensive energy system comprising multiple types of energy; determining an energy scheduling mode in the comprehensive energy system according to a scheduling target and a scheduling constraint condition of the comprehensive energy system; and scheduling the energy in the comprehensive energy system according to the scheduling mode. The method of the embodiment of the application establishes the scheduling target and the scheduling constraint condition of the comprehensive energy system by the associated connection between various types of energy in the comprehensive energy system and the actual demand in the energy use process, and then determines a reasonable energy scheduling mode and reasonably schedules the energy based on the scheduling target and the scheduling constraint condition of the comprehensive energy system, so that the purpose of reducing energy loss and improving energy utilization efficiency can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of energy technology, and in particular to an energy dispatching method, apparatus, equipment, and storage medium. Background Technology

[0002] Energy is the most fundamental driving force for global development and economic growth, and the foundation upon which humanity depends for survival. There are many types of energy, including both non-renewable and renewable energy sources such as electricity, natural gas, and heat. Therefore, making full use of energy is of great significance.

[0003] In related technologies, there are no effective energy dispatching and allocation schemes in the process of energy use, which makes energy not be rationally allocated and dispatched, resulting in low efficiency of the energy system. Summary of the Invention

[0004] To address the problems in the prior art, embodiments of the present invention provide an energy dispatching method, apparatus, device, and storage medium.

[0005] Specifically, the embodiments of the present invention provide the following technical solutions:

[0006] In a first aspect, embodiments of the present invention provide an energy dispatching method, comprising:

[0007] Construct a comprehensive energy system that includes multiple energy sources;

[0008] Based on the scheduling objectives and constraints of the integrated energy system, the energy scheduling mode in the integrated energy system is determined; the scheduling objectives and constraints are determined based on the correlation between various energy sources and energy demand information in the integrated energy system.

[0009] According to the aforementioned scheduling method, the energy in the integrated energy system is scheduled.

[0010] Furthermore, the integrated energy system includes at least one of the following:

[0011] Electricity systems, natural gas systems, and heating systems;

[0012] The scheduling constraints of the integrated energy system include at least one of the following:

[0013] The integrated energy system includes an electricity balance constraint and a power generation constraint. The electricity balance constraint states that the input electricity in the integrated energy system equals the output electricity in the integrated energy system. The input electricity includes at least one of the following: photovoltaic power generation in the integrated energy system, purchased electricity in the integrated energy system, and generator power generation in the integrated energy system. The output electricity includes at least one of the following: electricity consumption for converting electrical energy into heat energy in the integrated energy system, and electricity consumption for converting electrical energy into natural gas in the integrated energy system. The power generation constraint states that the generator output power in the integrated energy system is greater than or equal to a first power threshold, and the generator output power is less than or equal to a second power threshold.

[0014] Furthermore, the scheduling objectives of the integrated energy system include at least one of the following:

[0015] The electricity purchase cost of the integrated energy system is less than or equal to the preset electricity purchase cost;

[0016] The fuel cost of the integrated energy system is less than or equal to the preset fuel cost;

[0017] The gas purchase cost of the integrated energy system is less than or equal to the preset gas purchase cost;

[0018] The sum of the electricity purchase cost, fuel cost, and gas purchase cost of the integrated energy system is less than or equal to a preset cost threshold.

[0019] Furthermore, when the scheduling objective includes the integrated energy system's electricity purchase cost being less than or equal to a preset electricity purchase cost, determining the energy scheduling mode in the integrated energy system based on the integrated energy system's scheduling objective and scheduling constraints includes:

[0020] Obtain the initial proportion of generator power generation, the initial proportion of photovoltaic power generation, and the initial proportion of externally purchased electricity;

[0021] Based on the initial generator power generation ratio, the initial photovoltaic power generation ratio, and the initial external power purchase ratio, the target generator power generation ratio, the target photovoltaic power generation ratio, and the target external power purchase ratio are determined using a preset model.

[0022] If the integrated energy system corresponding to the target generator power generation ratio, target photovoltaic power generation ratio, and target external power purchase ratio meets the scheduling target and scheduling constraints, the scheduling mode of the power system in the integrated energy system is determined according to the target generator power generation ratio, target photovoltaic power generation ratio, and target external power purchase ratio.

[0023] Based on the dispatching methods of the power system, natural gas system, and heating system in the integrated energy system, the energy dispatching method of the integrated energy system is determined.

[0024] Further, the step of determining the target generator power generation ratio, target photovoltaic power generation ratio, and target external power purchase ratio using a preset model based on the initial generator power generation ratio, initial photovoltaic power generation ratio, and initial external power purchase ratio includes:

[0025] A preset model is established using the following formula (1), and the target generator power generation ratio, target photovoltaic power generation ratio, and target external power purchase ratio are determined using the preset model:

[0026]

[0027] Where, x b,t+1 Let x represent the output vector of the (t+1)th iteration of the preset model, where each element of the output vector is: generator power generation ratio, photovoltaic power generation ratio, and external power purchase ratio; b,t L represents the output vector of the t-th iteration of the preset model; γ represents a random number; L b,t P represents the distance between the output vectors of the preset model; b,t This represents the probability sensing parameter corresponding to the t-th iteration of the preset model, where the probability sensing parameter can be preset; 'a' is a random vector; and 'best' represents the probability sensing parameter. a,t This represents the output vector that is less than the preset value during the t-th iteration of the preset model.

[0028] Further, the step of determining the target generator power generation ratio, target photovoltaic power generation ratio, and target external power purchase ratio using a preset model based on the initial generator power generation ratio, initial photovoltaic power generation ratio, and initial external power purchase ratio includes:

[0029] A preset model is established using the following formula (2), and the target generator power generation ratio, target photovoltaic power generation ratio, and target external power purchase ratio are determined using the preset model:

[0030] x b,t+1 =μx b,t (1-x b,t (2);

[0031] Where, x b,t+1 Let x represent the output vector of the (t+1)th iteration of the preset model, where each element of the output vector is: generator power generation ratio, photovoltaic power generation ratio, and external power purchase ratio; b,t represents the output vector of the t-th iteration of the preset model; μ represents the arithmetic factor.

[0032] Secondly, embodiments of the present invention also provide an energy dispatching device, comprising:

[0033] Modules for building integrated energy systems that incorporate multiple energy sources;

[0034] The determination module is used to determine the energy dispatching mode in the integrated energy system based on the dispatching objectives and dispatching constraints of the integrated energy system.

[0035] The scheduling module is used to schedule the energy in the integrated energy system according to the scheduling method.

[0036] Thirdly, embodiments of the present invention also provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the energy scheduling method as described in the first aspect.

[0037] Fourthly, embodiments of the present invention also provide a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the energy scheduling method as described in the first aspect.

[0038] Fifthly, embodiments of the present invention also provide a computer program product, including a computer program that, when executed by a processor, implements the energy scheduling method as described in the first aspect.

[0039] The energy dispatching method, apparatus, equipment, and storage medium provided in this invention establish interconnections between various types of energy by constructing an integrated energy system that includes multiple energy sources. Furthermore, based on these interconnections and the actual needs during energy use, dispatching objectives and constraints for the integrated energy system can be established. Finally, based on these objectives and constraints, a reasonable energy dispatching method can be determined and energy can be rationally dispatched, thereby reducing energy loss and improving energy utilization efficiency. Attached Figure Description

[0040] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0041] Figure 1 This is one of the flowcharts illustrating the energy dispatching method provided in this embodiment of the invention;

[0042] Figure 2 This is a schematic diagram of the integrated energy system provided in an embodiment of the present invention;

[0043] Figure 3 This is a simulation diagram of the energy dispatching effect provided in the embodiments of the present invention;

[0044] Figure 4 This is a flowchart illustrating another energy dispatching method provided in an embodiment of the present invention;

[0045] Figure 5 This is a schematic diagram of the structure of the energy dispatching device provided in an embodiment of the present invention;

[0046] Figure 6 This is a schematic diagram of the structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation

[0047] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0048] The method described in this invention can be applied to the field of energy technology to achieve energy dispatch.

[0049] In related technologies, there is no effective energy dispatch and allocation scheme in the process of energy use, which makes energy not be rationally allocated and utilized, resulting in high operating costs of energy systems.

[0050] The energy dispatching method of this invention establishes the interconnections between various types of energy by constructing an integrated energy system that includes multiple energy sources. Furthermore, based on the interconnections between these energy types and the actual needs during energy use, the dispatching objectives and constraints of the integrated energy system can be established. Then, based on these objectives and constraints, a reasonable energy dispatching method is determined and energy is dispatched rationally, thereby achieving the goal of reducing energy loss and improving energy utilization efficiency.

[0051] The following is combined with Figures 1-6 The technical solution of the present invention will be described in detail with reference to specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.

[0052] Figure 1 This is a flowchart illustrating an embodiment of the energy dispatching method provided by this invention. Figure 1 As shown, the method provided in this embodiment includes:

[0053] Step 101: Construct a comprehensive energy system that includes multiple energy sources;

[0054] Specifically, integrated energy systems are an important component of the social energy structure and represent a new form of energy supply for both production and consumption. They consist of an energy supply system, transmission links, and integrated energy coupling links. Through the connection and coupling between various types of energy, integrated energy systems unify and link various energy types with intermediate links such as energy storage and consumption. They centrally dispatch multiple devices and rationally allocate various energy sources, minimizing energy losses and achieving the goals of efficient energy utilization, energy conservation and emission reduction, and green development. They offer significant advantages in both economic and environmental aspects, meeting actual production needs while effectively reducing losses during energy production, transmission, conversion, and storage.

[0055] This application embodiment constructs an integrated energy system that includes multiple energy sources, thus establishing interconnections between various types of energy. This allows for comprehensive consideration of the interrelationships and constraints between different types of energy during energy use and scheduling, enabling the rational scheduling and use of various types of energy and achieving efficient energy utilization.

[0056] Step 102: Determine the energy dispatching mode in the integrated energy system based on the dispatching objectives and constraints of the integrated energy system; the dispatching objectives and constraints are determined based on the correlation between various energy sources and energy demand information in the integrated energy system.

[0057] Specifically, in an integrated energy system, different types of energy are interconnected. For example, electricity, natural gas, and heat can be converted into each other. Electricity can be converted into natural gas through renewable energy equipment, and electricity can also be converted into heat through an electric boiler. In other words, various types of energy are interconnected in an integrated energy system. In addition, there will be different usage demands during energy use, such as the demand for the lowest cost or the lowest environmental pollution. Therefore, when determining the scheduling objectives and constraints in an integrated energy system, they can be based on the interconnected relationships between various energy sources and the information on energy usage demands in the integrated energy system.

[0058] Therefore, after constructing an integrated energy system that includes multiple energy sources, the scheduling objectives and constraints of the integrated energy system can be established based on the actual needs in the energy use process and the interrelationships between various types of energy. The scheduling objectives of the integrated energy system can be based on cost, environmental protection requirements, or other actual needs. The scheduling constraints are the constraints that need to be met during the scheduling process of the integrated energy system.

[0059] By defining the scheduling objectives and constraints of an integrated energy system, the direction and goals for determining energy scheduling methods are clarified. Scheduling methods that do not meet the constraints of the integrated energy system cannot be applied. While scheduling methods that do not meet the scheduling objectives may be applicable, they will result in low efficiency and high overall costs due to the failure to achieve the system's objectives. Conversely, scheduling methods that meet both the objectives and constraints can be applied normally and lead to more efficient energy utilization. In other words, the energy scheduling methods determined by the integrated energy system's objectives and constraints not only meet the actual needs of users but also achieve the rational scheduling of various types of energy within the system, thereby reducing energy loss and improving energy efficiency.

[0060] Step 103: Dispatch the energy in the integrated energy system according to the dispatching method.

[0061] Specifically, after determining the energy dispatching method in the integrated energy system based on the dispatching objectives and constraints, various types of energy in the integrated energy system can be dispatched rationally and effectively according to the determined energy dispatching method, thereby achieving the effect of reducing energy loss and improving energy utilization efficiency.

[0062] The method described above establishes interconnections between various types of energy by constructing an integrated energy system that includes multiple energy sources. Furthermore, based on the interconnections between various types of energy in the integrated energy system and the actual needs during energy use, the scheduling objectives and constraints of the integrated energy system can be established. Subsequently, based on the scheduling objectives and constraints of the integrated energy system, a reasonable energy scheduling method can be determined and energy can be rationally scheduled, thereby achieving the goal of reducing energy loss and improving energy utilization efficiency.

[0063] In one embodiment, the integrated energy system includes at least one of the following:

[0064] Electricity systems, natural gas systems, and heating systems;

[0065] The dispatch constraints of an integrated energy system include at least one of the following:

[0066] The integrated energy system has two constraints: an electricity balance constraint and a power generation constraint. The electricity balance constraint states that the input electricity in the integrated energy system is equal to the output electricity in the integrated energy system. The input electricity includes at least one of the following: photovoltaic power generation in the integrated energy system, purchased electricity in the integrated energy system, and generator power generation in the integrated energy system. The output electricity includes at least one of the following: electricity consumption for converting electrical energy into heat energy in the integrated energy system, and electricity consumption for converting electrical energy into natural gas in the integrated energy system. The power generation constraint states that the generator output power in the integrated energy system is greater than or equal to a first power threshold, and the generator output power is less than or equal to a second power threshold.

[0067] Specifically, in the embodiments of this application, the integrated energy system includes at least one of the following: an electric system, a natural gas system, and a heating system, and the various types of energy are interconnected, such as... Figure 2 In the integrated energy system shown, electricity, natural gas, and heat can be interconverted. For example, electricity can be converted into natural gas through power-to-gas (P2G) equipment; electricity can also be converted into heat through an electric boiler. In other words, the various types of energy in the integrated energy system are interconnected. Therefore, when determining the scheduling constraints of the integrated energy system, it is necessary to consider not only the constraints within each energy system but also the interrelationships between them. Specifically, in the embodiments of this application, the scheduling constraints of the integrated energy system include at least one of the following: the power balance constraint of the integrated energy system and the power generation constraint of the integrated energy system, i.e., as... Figure 2 In the integrated energy system shown, the input and output electricity of the integrated energy system must be balanced; otherwise, it will lead to energy waste or energy shortage. Optionally, the integrated energy system needs to meet the following electricity balance constraints:

[0068] P PV +P buy +P CCHP =P gas +P H ;

[0069] Among them, P PV P represents the photovoltaic power generation in the integrated energy system. buy P represents the electricity purchased in the integrated energy system; CCHP P represents the generator output in an integrated energy system. gasP represents the amount of electricity consumed in converting electrical energy into natural gas within an integrated energy system. H This indicates the amount of electricity consumed in a comprehensive energy system to convert electrical energy into heat energy.

[0070] For the power system within an integrated energy system, the following power generation constraints must be met:

[0071] P gen,min ≤P gen ≤P gen,max ;

[0072] Among them, P gen,min P represents the minimum output power of the generator. gen,max This indicates the maximum output power of the generator, meaning the generator's output power must meet the constraints and cannot exceed the limit. In other words, when determining the scheduling constraints of a comprehensive energy system, it is necessary to base the interrelationships and constraints between the various energy systems in the comprehensive energy system on the interrelationships and constraints in order to determine a reasonable scheduling method, thereby achieving the goal of rational energy utilization.

[0073] The method described above constructs an integrated energy system comprising an electric system, a natural gas system, and a heat system, and determines the scheduling constraints of the integrated energy system based on the interrelationships between the various types of energy. Based on these scheduling constraints, a reasonable and efficient energy scheduling method can be determined, thereby achieving the goal of reducing energy loss and improving energy utilization efficiency.

[0074] In one embodiment, the scheduling objective of the integrated energy system includes at least one of the following:

[0075] The electricity purchase cost of the integrated energy system is less than or equal to the preset electricity purchase cost;

[0076] The fuel cost of the integrated energy system is less than or equal to the preset fuel cost;

[0077] The gas purchase cost of the integrated energy system is less than or equal to the preset gas purchase cost;

[0078] The sum of the electricity purchase cost, fuel cost, and gas purchase cost of the integrated energy system is less than or equal to the preset cost threshold.

[0079] Specifically, in this application embodiment, the scheduling objective of the integrated energy system is established based on energy cost. Optionally, the scheduling objective of the integrated energy system includes at least one of the following: the electricity purchase cost of the integrated energy system is less than or equal to the preset electricity purchase cost; the fuel cost of the integrated energy system is less than or equal to the preset fuel cost; the gas purchase cost of the integrated energy system is less than or equal to the preset gas purchase cost; the sum of the electricity purchase cost, fuel cost, and gas purchase cost of the integrated energy system is less than or equal to the preset cost threshold. That is, when scheduling various types of energy in the integrated energy system, its cost needs to be considered. In other words, the scheduling of various types of energy in the integrated energy system needs to meet cost requirements, and the integrated energy system as a whole also needs to meet cost requirements during the energy scheduling process. This allows the integrated energy system to reasonably schedule energy while meeting the scheduling objective, thereby achieving the goal of reducing energy costs and improving energy utilization efficiency.

[0080] The method described in the above embodiments establishes the scheduling target of the integrated energy system based on energy cost factors, which makes the scheduling of various types of energy in the integrated energy system more reasonable and less costly while meeting the scheduling target, thereby achieving the goal of reducing energy loss and improving energy utilization efficiency.

[0081] In one embodiment, when the scheduling objective includes the integrated energy system's electricity purchase cost being less than or equal to a preset electricity purchase cost, the energy scheduling mode of the integrated energy system is determined based on the integrated energy system's scheduling objective and scheduling constraints, including:

[0082] Obtain the initial proportion of generator power generation, the initial proportion of photovoltaic power generation, and the initial proportion of externally purchased electricity;

[0083] Based on the initial proportion of generator power generation, the initial proportion of photovoltaic power generation, and the initial proportion of external power purchase, the target proportion of generator power generation, the target proportion of photovoltaic power generation, and the target proportion of external power purchase are determined using a preset model.

[0084] Under the condition that the integrated energy system corresponding to the target generator power generation ratio, target photovoltaic power generation ratio and target external power purchase ratio meets the dispatch target and dispatch constraints, the dispatch mode of the power system in the integrated energy system is determined according to the target generator power generation ratio, target photovoltaic power generation ratio and target external power purchase ratio.

[0085] Based on the dispatching methods of the power system, natural gas system, and heat system within the integrated energy system, determine the energy dispatching method within the integrated energy system.

[0086] Specifically, to achieve the goals of reducing energy costs and improving energy efficiency, when the scheduling objective includes the integrated energy system's electricity purchase cost being less than or equal to the preset electricity purchase cost, it is necessary to consider the overall scheduling of electricity in the integrated energy system. This ensures that the electricity scheduling process satisfies both the integrated energy system's scheduling objectives (minimizing costs) and its scheduling constraints, allowing the determined scheduling method to be effectively applied in the integrated energy system's energy scheduling process. In this embodiment, the integrated energy system's electricity supply can be achieved through power generation and external power purchase. When power generation is used, electricity can be supplied through generators or photovoltaic power generation. Therefore, in the integrated energy system's electricity scheduling process, it is necessary to determine the generator generation ratio, photovoltaic generation ratio, and external power purchase ratio. Based on these determined ratios, the electricity scheduling method in the integrated energy system is determined, ensuring that the integrated energy system's energy scheduling satisfies both its scheduling objectives and its scheduling constraints.

[0087] Optionally, in this embodiment, the generator power generation ratio, photovoltaic power generation ratio, and external power purchase ratio are determined by a preset model. The preset model is used to iteratively determine the optimal solution based on initial preset values. That is, it combines the problem of determining the power supply ratio of different types of electricity in the integrated energy system with the iterative optimization function of the preset model. Furthermore, it comprehensively considers the scheduling objectives and scheduling constraints of the energy system, so that the finally determined generator power generation ratio, photovoltaic power generation ratio, and external power purchase ratio are not only the optimal solutions in the preset model, but also comprehensively consider the scheduling objectives and scheduling constraints in the actual application scenario. This makes the finally determined scheduling method more reasonable and can be effectively applied in the scheduling process of the integrated energy system. Specifically, by obtaining the initial proportions of generator power generation, photovoltaic power generation, and external power purchase (e.g., setting the initial proportions of generator power generation to 0.7, photovoltaic power generation to 0.2, and external power purchase to 0.1), and inputting these into a preset model, the preset model can determine the optimal solution through iterative optimization of the input initial proportions of generator power generation, photovoltaic power generation, and external power purchase. However, in the energy dispatching process of the integrated energy system, it is also necessary to consider the dispatching objectives and constraints of the integrated energy system. Otherwise, the optimal solution determined by the preset model can only be the optimal solution in the algorithm and cannot be applied in actual application scenarios. Therefore, it is necessary to incorporate the results of iterative optimization through the preset model into the dispatching objectives and constraints of the integrated energy system. That is, under the condition of satisfying the dispatching objectives and constraints of the integrated energy system, the dispatching mode of the power system in the integrated energy system is determined by combining the iterative optimization results of the preset model. Then, based on the dispatching modes of the power system, the natural gas system, and the heat system in the integrated energy system, the energy dispatching mode of the integrated energy system is determined. Optionally, the scheduling methods for the natural gas system and the thermal system can be predetermined or determined using the method described in this application; however, this application does not limit the specific methods. Finally, energy scheduling based on the determined energy scheduling methods can minimize costs and meet the scheduling objectives and constraints of the integrated energy system. This allows for practical application in real-world scenarios, making the energy scheduling method of the integrated energy system more rational and achieving the goals of reducing energy costs and improving energy utilization efficiency.

[0088] The method described in the above embodiments combines the problem of electricity supply ratio in the integrated energy system with the iterative optimization function of the preset model, and comprehensively considers the scheduling objectives and constraints of the energy system. This ensures that the final determined generator power generation ratio, photovoltaic power generation ratio, and external power purchase ratio are not only the optimal solutions in the algorithm, but also comprehensively consider the scheduling objectives and constraints in the actual application scenario. As a result, the final determined scheduling method is more reasonable, which can minimize costs and meet the scheduling objectives and constraints of the integrated energy system. Therefore, it can be applied in practical application scenarios, making the energy scheduling method of the integrated energy system more reasonable, and achieving the goal of reducing energy costs and improving energy utilization efficiency.

[0089] In one embodiment, a preset model is established using the following formula (1), and the target generator power generation ratio, target photovoltaic power generation ratio, and target external power purchase ratio are determined using the preset model:

[0090]

[0091] Where, x b,t+1 Let x represent the output vector of the (t+1)th iteration of the preset model, where each element of the output vector represents: the proportion of generator power generation, the proportion of photovoltaic power generation, and the proportion of externally purchased electricity; b,t L represents the output vector of the t-th iteration of the preset model; γ represents a random number; b,t P represents the distance between the output vectors of the preset model; b,t The parameter represents the probability-aware parameter corresponding to the t-th generation of the preset model; a is a random vector; best a,t This represents the output vector that is less than the preset value during the t-th iteration of the preset model.

[0092] Specifically, after obtaining the initial proportions of generator power generation, photovoltaic power generation, and external power purchase, the three-dimensional vectors corresponding to these proportions can be used as input to a preset model. Based on this model, optimization iterations are performed to determine the target proportions of generator power generation, photovoltaic power generation, and external power purchase. Optionally, the preset model can be established based on the crow algorithm. In each iteration of the preset model, it is necessary to determine whether the random number γ in the preset model is greater than the probability-aware parameter P in the preset model. b,t If the random number γ in the preset model is greater than or equal to the probability sensing parameter P in the preset model b,t Then through x b,t +γ×L b,t ×(best a,t -x b,tThe process is iterated to obtain an output vector representing the generator power generation ratio, photovoltaic power generation ratio, and external power purchase ratio from the preset model, where L... b,t This represents the distance between the output vectors of the preset model; optionally, best a,t It can be the output vector with the lowest cost among the multiple output vectors obtained in the t-th iteration of the preset model; if the random number γ in the preset model is less than the probability-aware parameter P in the preset model. b,t The preset model outputs a random vector to represent the iteratively generated generator power generation ratio, photovoltaic power generation ratio, and external power purchase ratio. For example, if the initial generator power generation ratio is set to 0.7, the initial photovoltaic power generation ratio to 0.2, and the initial external power purchase ratio to 0.1, then at initial value t, the input values ​​of each element in the three-dimensional vector corresponding to the preset model are the preset initial generator power generation ratio, photovoltaic power generation ratio, and external power purchase ratio. The preset model iteratively optimizes these input initial ratios, and the optimal solution obtained is the target generator power generation ratio, target photovoltaic power generation ratio, and target external power purchase ratio that we need to determine. In other words, by iteratively optimizing the preset model, we can determine the optimal solution based on the preset model, and then use the optimal solution as the target generator power generation ratio, target photovoltaic power generation ratio, and target external power purchase ratio.

[0093] The method described in the above embodiment obtains the initial proportion of generator power generation, the initial proportion of photovoltaic power generation, and the initial proportion of external power purchase. It then uses these initial proportions as input to a preset model and utilizes the iterative optimization function of the preset model to determine the optimal solution. This determines the target proportion of generator power generation, the target proportion of photovoltaic power generation, and the target proportion of external power purchase in the integrated energy system. Ultimately, it also determines the energy dispatching mode of the integrated energy system.

[0094] In one embodiment, based on the initial generator power generation ratio, the initial photovoltaic power generation ratio, and the initial external power purchase ratio, a target generator power generation ratio, a target photovoltaic power generation ratio, and a target external power purchase ratio are determined using a preset model, including:

[0095] A preset model is established using the following formula (2), and the target generator power generation ratio, target photovoltaic power generation ratio, and target external power purchase ratio are determined using the preset model:

[0096] x b,t+1 =μx b,t (1-x b,t (2);

[0097] Where, x b,t+1Let x represent the output vector of the (t+1)th iteration of the preset model, where each element of the output vector represents: the proportion of generator power generation, the proportion of photovoltaic power generation, and the proportion of externally purchased electricity; b,t denoted as the output vector of the t-th iteration of the preset model; μ represents the arithmetic factor.

[0098] Specifically, in order to improve the iterative optimization effect of energy dispatching in integrated energy systems, in this embodiment of the application, a preset model is established through formula (2), and optimization iteration is performed through the preset model to determine the target generator power generation ratio, the target photovoltaic power generation ratio, and the target external power purchase ratio; where x b,t+1 Let x represent the output vector of the (t+1)th iteration of the preset model, where each element of the output vector represents: the proportion of generator power generation, the proportion of photovoltaic power generation, and the proportion of externally purchased electricity; b,t represents the output vector of the t-th iteration of the preset model; μ represents the arithmetic factor, and μ takes the value of 2; optionally, when t is the initial value, the values ​​of each element in the three-dimensional vector input by the preset model are the initial ratio of generator power generation, the initial ratio of photovoltaic power generation and the initial ratio of external power purchase that we set; therefore, after obtaining the initial ratio of generator power generation, the initial ratio of photovoltaic power generation and the initial ratio of external power purchase, we can perform iterative optimization according to formula (2), and combine the scheduling objectives and scheduling constraints of the integrated energy system to determine the target generator power generation ratio, the target photovoltaic power generation ratio and the target external power purchase ratio, and thus determine the scheduling mode of the integrated energy system.

[0099] For example, the preset model established by formula (1) is the first energy dispatch model, and the preset model established by formula (2) is the second energy dispatch model, such as... Figure 3 As shown, the effects of the first energy dispatch model, the second energy dispatch model, and the target generator power generation ratio, target photovoltaic power generation ratio, and target external power purchase ratio determined by the genetic algorithm are compared. The vertical axis represents the economic target (ten thousand yuan), and the horizontal axis represents the number of iterations (200). Simulation results show that the integrated energy dispatch scheme determined by the first energy dispatch model and the second energy dispatch model has better economic benefits. Moreover, the integrated energy dispatch scheme determined by the second energy dispatch model has better economic benefits than the integrated energy dispatch scheme determined by the first energy dispatch model, and it is also faster and takes less time to calculate.

[0100] The method described in the above embodiments, by combining the iterative optimization function of the preset model with the energy dispatch problem of the integrated energy system, can improve the effect of iterative optimization in the energy dispatch problem of the integrated energy system. This makes the final determined target generator power generation ratio, target photovoltaic power generation ratio, target external power purchase ratio, and the dispatch method of the integrated energy system more reasonable, enabling the energy dispatch of the integrated energy system to achieve better dispatch effect and improve the dispatch efficiency of the integrated energy system.

[0101] For example, the energy dispatching method in this application embodiment is as follows: Figure 4 As shown:

[0102] 1. First, construct an integrated energy system encompassing multiple energy sources, and determine the scheduling objectives and constraints of the integrated energy system; the scheduling objective of the integrated energy system can be expressed as:

[0103] f = C grid +C fuel +C gas

[0104] Among them, C grid Indicates the cost of electricity purchase for an integrated energy system; C fuel Indicates the fuel cost of an integrated energy system; C gas This indicates the gas purchase cost of the integrated energy system.

[0105] The dispatch constraints of the integrated energy system include at least one of the following: the power balance constraint of the integrated energy system and the power generation constraint of the integrated energy system, wherein the power balance constraint is expressed as:

[0106] P PV +P buy +P CCHP =P gas +P H ;

[0107] Among them, P PV P represents the photovoltaic power generation in the integrated energy system. buy P represents the electricity purchased in the integrated energy system; CCHP P represents the generator output in an integrated energy system. gas P represents the amount of electricity consumed in converting electrical energy into natural gas within an integrated energy system. H This indicates the amount of electricity consumed in a comprehensive energy system to convert electrical energy into heat energy.

[0108] The power generation constraint is expressed as follows:

[0109] P gen,min ≤P gen ≤P gen,max ;

[0110] Among them, P gen,min P represents the minimum output power of the generator. gen,max This indicates the maximum output power of the generator.

[0111] 2. Set the initial power generation ratio of the generator, the initial power generation ratio of the photovoltaic system, and the initial power purchase ratio of the external power source; use the initial power generation ratio of the generator, the initial power generation ratio of the photovoltaic system, and the initial power purchase ratio of the external power source as the input initial values ​​of the preset model;

[0112] 3. Determine the corresponding first electricity purchase cost based on the initial power generation ratio of the generator, the initial photovoltaic power generation ratio, and the initial external power purchase ratio;

[0113] 4. Determine whether the random number parameter in the preset model is greater than the probability perception parameter. If the random number parameter in the preset model is greater than the probability perception parameter, then iterate according to formula (1) or formula (2); otherwise, the preset model outputs a random vector representing the generator power generation ratio, photovoltaic power generation ratio and external power purchase ratio, and continues the iterative optimization process.

[0114] 5. Obtain the updated ratios of motor power generation, photovoltaic power generation, and external power purchase;

[0115] 6. Based on the scheduling objectives and constraints of the integrated energy system, determine whether the scheduling methods corresponding to the iteratively updated proportions of motor power generation, photovoltaic power generation, and external power purchase meet the scheduling objectives and constraints.

[0116] 7. Determine the corresponding second electricity purchase cost based on the updated ratio of motor power generation, photovoltaic power generation, and external power purchase.

[0117] 8. Based on the first and second electricity purchase costs, determine the optimal result, that is, determine whether the first or second electricity purchase cost is lower. Optionally, the scheduling method with the lower cost can be used as the input value for the next iteration of the preset model.

[0118] 9. Determine if the preset number of iterations has been reached;

[0119] 10. The preset model completes a preset number of iterations. Based on multiple iterations, the optimal result is determined. Optionally, the scheduling method with the lower cost among the multiple iterations is taken as the determined comprehensive energy scheduling method. That is, through multiple iterations of the preset model, the target generator power generation ratio, the target photovoltaic power generation ratio, the target external power purchase ratio, and the energy scheduling method can be determined.

[0120] For example, when t is the initial value, the values ​​of each element in the three-dimensional vector of the input corresponding to the preset model are the initial proportions of generator power generation, photovoltaic power generation, and external power purchase that we set. The number of iterations T is 100. Through iterative optimization, combined with the scheduling objectives and scheduling constraints of the integrated energy system, the iteration results are obtained, and it is determined whether the maximum number of iterations of 100 has been reached. If it has been reached, the optimal solution is output; otherwise, the iteration is repeated. Finally, the optimal solution after multiple iterations based on the preset model can be determined, and the optimal solution can then be used as the target generator power generation ratio, the target photovoltaic power generation ratio, and the target external power purchase ratio.

[0121] Optionally, in the preset model, the output of the generator CCHP unit, the photovoltaic power generation system, and the externally purchased electricity are distributed proportionally. For example, the initial proportion of the generator CCHP unit is set to 0.7, the initial proportion of photovoltaic power generation is set to 0.2, and the initial proportion of externally purchased electricity is set to 0.1, with a dimension of 3. Based on an average electricity price of 0.6 yuan, and taking the highest solar radiation intensity in 12 hours, the power of photovoltaic power generation is approximately the product of area and radiation intensity, which is approximately 36MW. Based on economic benefits and costs, after 100 iterations of optimization using a pre-set model, and considering the scheduling objectives and constraints of the integrated energy system, the optimal solution is (0.74, 0.16, 0.1), meaning the target generator power generation ratio, the target photovoltaic power generation ratio, and the external power purchase ratio are 0.74, 0.16, and 0.1, respectively. This not only satisfies power balance but also minimizes the cost of external power purchase. Therefore, the optimal scheduling scheme is (0.74, 0.16, 0.1), which means that in the integrated energy system, the proportions of the three types of power supply are 0.74 for generator power generation, 0.16 for photovoltaic power generation, and 0.1 for external power purchase.

[0122] The energy dispatching device provided by the present invention is described below. The energy dispatching device described below and the energy dispatching method described above can be referred to each other.

[0123] Figure 5 This is a schematic diagram of the energy dispatching device provided by the present invention. The energy dispatching device provided in this embodiment includes:

[0124] Module 710 is used to build an integrated energy system that includes multiple energy sources;

[0125] The determination module 720 is used to determine the energy dispatching mode in the integrated energy system based on the dispatching objectives and constraints of the integrated energy system; the dispatching objectives and constraints are determined based on the correlation between various energy sources and energy demand information in the integrated energy system.

[0126] The scheduling module 730 is used to schedule energy in the integrated energy system according to the scheduling method.

[0127] Optionally, the integrated energy system includes at least one of the following:

[0128] Electricity systems, natural gas systems, and heating systems;

[0129] The dispatch constraints of an integrated energy system include at least one of the following:

[0130] The integrated energy system has two constraints: an electricity balance constraint and a power generation constraint. The electricity balance constraint states that the input electricity in the integrated energy system is equal to the output electricity in the integrated energy system. The input electricity includes at least one of the following: photovoltaic power generation in the integrated energy system, purchased electricity in the integrated energy system, and generator power generation in the integrated energy system. The output electricity includes at least one of the following: electricity consumption for converting electrical energy into heat energy in the integrated energy system, and electricity consumption for converting electrical energy into natural gas in the integrated energy system. The power generation constraint states that the generator output power in the integrated energy system is greater than or equal to a first power threshold, and the generator output power is less than or equal to a second power threshold.

[0131] Optionally, the scheduling objectives of the integrated energy system include at least one of the following:

[0132] The electricity purchase cost of the integrated energy system is less than or equal to the preset electricity purchase cost;

[0133] The fuel cost of the integrated energy system is less than or equal to the preset fuel cost;

[0134] The gas purchase cost of the integrated energy system is less than or equal to the preset gas purchase cost;

[0135] The sum of the electricity purchase cost, fuel cost, and gas purchase cost of the integrated energy system is less than or equal to the preset cost threshold.

[0136] Optionally, the determining module 720 is specifically used to: obtain the initial power generation ratio of the generator, the initial power generation ratio of the photovoltaic system, and the initial power purchase ratio from external sources;

[0137] Based on the initial proportion of generator power generation, the initial proportion of photovoltaic power generation, and the initial proportion of external power purchase, the target proportion of generator power generation, the target proportion of photovoltaic power generation, and the target proportion of external power purchase are determined using a preset model.

[0138] Under the condition that the integrated energy system corresponding to the target generator power generation ratio, target photovoltaic power generation ratio and target external power purchase ratio meets the dispatch target and dispatch constraints, the dispatch mode of the power system in the integrated energy system is determined according to the target generator power generation ratio, target photovoltaic power generation ratio and target external power purchase ratio.

[0139] Based on the dispatching methods of the power system, natural gas system, and heat system within the integrated energy system, determine the energy dispatching method within the integrated energy system.

[0140] Optionally, the determining module 720 is specifically used to: establish a preset model using the following formula (1), and determine the target generator power generation ratio, the target photovoltaic power generation ratio, and the target external power purchase ratio using the preset model:

[0141]

[0142] Where, x b,t+1 Let x represent the output vector of the (t+1)th iteration of the preset model, where each element of the output vector represents: the proportion of generator power generation, the proportion of photovoltaic power generation, and the proportion of externally purchased electricity; b,t L represents the output vector of the t-th iteration of the preset model; γ represents a random number; b,t P represents the distance between the output vectors of the preset model; b,t The parameter represents the probability-aware parameter corresponding to the t-th generation of the preset model; a is a random vector; best a,t This represents the output vector that is less than the preset value during the t-th iteration of the preset model.

[0143] Optionally, the determining module 720 is specifically used to: establish a preset model using the following formula (2), and determine the target generator power generation ratio, the target photovoltaic power generation ratio, and the target external power purchase ratio using the preset model:

[0144] x b,t+1 =μx b,t (1-x b,t (2);

[0145] Where, x b,t+1 Let x represent the output vector of the (t+1)th iteration of the preset model, where each element of the output vector represents: the proportion of generator power generation, the proportion of photovoltaic power generation, and the proportion of externally purchased electricity; b,t denoted as the output vector of the t-th iteration of the preset model; μ represents the arithmetic factor.

[0146] The apparatus of this invention is used to execute the method in any of the foregoing method embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.

[0147] Figure 6A schematic diagram of the physical structure of an electronic device is provided. This electronic device may include a processor 810, a communication interface 820, a memory 830, and a communication bus 840. The processor 810, communication interface 820, and memory 830 communicate with each other via the communication bus 840. The processor 810 can call logical instructions from the memory 830 to execute an energy dispatching method. This method includes: constructing an integrated energy system comprising multiple energy sources; determining the energy dispatching mode in the integrated energy system based on the dispatching objectives and constraints of the integrated energy system; and dispatching the energy in the integrated energy system according to the dispatching mode.

[0148] Furthermore, the logical instructions in the aforementioned memory 830 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, essentially, or the part that contributes to the prior art, or a part 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 to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0149] On the other hand, the present invention also provides a computer program product, the computer program product including a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions, and when the program instructions are executed by a computer, the computer is able to execute the energy dispatching method provided by the above methods, the method including: constructing an integrated energy system including multiple energy sources; determining the energy dispatching mode in the integrated energy system according to the dispatching objectives and dispatching constraints of the integrated energy system; and dispatching the energy in the integrated energy system according to the dispatching mode.

[0150] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, is implemented to perform the energy scheduling methods provided above. The method includes: constructing an integrated energy system including multiple energy sources; determining the energy scheduling mode in the integrated energy system according to the scheduling objectives and scheduling constraints of the integrated energy system; and scheduling the energy in the integrated energy system according to the scheduling mode.

[0151] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0152] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part 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, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0153] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An energy dispatching method, characterized in that, include: Construct a comprehensive energy system that includes multiple energy sources; Based on the scheduling objectives and constraints of the integrated energy system, the energy scheduling mode in the integrated energy system is determined; the scheduling objectives and constraints are determined based on the correlation between various energy sources and energy demand information in the integrated energy system; wherein, when the scheduling objective includes the integrated energy system's electricity purchase cost being less than or equal to a preset electricity purchase cost, the step of determining the energy scheduling mode in the integrated energy system based on the scheduling objectives and constraints includes: Obtain the initial proportion of generator power generation, the initial proportion of photovoltaic power generation, and the initial proportion of externally purchased electricity; Based on the initial proportion of generator power generation, the initial proportion of photovoltaic power generation, and the initial proportion of external power purchase, the target proportion of generator power generation, the target proportion of photovoltaic power generation, and the target proportion of external power purchase are determined using a preset model. If the integrated energy system corresponding to the target generator power generation ratio, target photovoltaic power generation ratio, and target external power purchase ratio meets the scheduling target and scheduling constraints, the scheduling mode of the power system in the integrated energy system is determined according to the target generator power generation ratio, target photovoltaic power generation ratio, and target external power purchase ratio. Based on the dispatching methods of the power system, the natural gas system, and the heating system in the integrated energy system, determine the energy dispatching method of the integrated energy system. According to the aforementioned scheduling method, the energy in the integrated energy system is scheduled; The integrated energy system includes at least one of the following: Electricity systems, natural gas systems, and heating systems; The scheduling constraints of the integrated energy system include at least one of the following: The integrated energy system includes an electricity balance constraint and a power generation constraint. The electricity balance constraint states that the input electricity in the integrated energy system equals the output electricity in the integrated energy system. The input electricity includes at least one of the following: photovoltaic power generation in the integrated energy system, purchased electricity in the integrated energy system, and generator power generation in the integrated energy system. The output electricity includes at least one of the following: electricity consumption for converting electrical energy into heat energy in the integrated energy system, and electricity consumption for converting electrical energy into natural gas in the integrated energy system. The power generation constraint states that the generator output power in the integrated energy system is greater than or equal to a first power threshold, and the generator output power is less than or equal to a second power threshold.

2. The energy dispatching method according to claim 1, characterized in that, The scheduling objective of the integrated energy system includes at least one of the following: The electricity purchase cost of the integrated energy system is less than or equal to the preset electricity purchase cost; The fuel cost of the integrated energy system is less than or equal to the preset fuel cost; The gas purchase cost of the integrated energy system is less than or equal to the preset gas purchase cost; The sum of the electricity purchase cost, fuel cost, and gas purchase cost of the integrated energy system is less than or equal to the preset cost threshold.

3. The energy dispatching method according to claim 1, characterized in that, The step of determining the target generator power generation ratio, target photovoltaic power generation ratio, and target external power purchase ratio using a preset model based on the initial generator power generation ratio, initial photovoltaic power generation ratio, and initial external power purchase ratio includes: A preset model is established using the following formula (1), and the target generator power generation ratio, target photovoltaic power generation ratio, and target external power purchase ratio are determined using the preset model: (1); in, The output vector of the (t+1)th iteration of the preset model is represented by the following elements: generator power generation ratio, photovoltaic power generation ratio, and external power purchase ratio. This represents the output vector of the t-th iteration of the preset model; Represents a random number; This represents the distance between the output vectors of the preset model; This represents the probability-aware parameter corresponding to the t-th iteration of the preset model; a is a random vector; This represents the output vector that is less than the preset value during the t-th iteration of the preset model.

4. The energy dispatching method according to claim 1, characterized in that, The step of determining the target generator power generation ratio, target photovoltaic power generation ratio, and target external power purchase ratio using a preset model based on the initial generator power generation ratio, initial photovoltaic power generation ratio, and initial external power purchase ratio includes: A preset model is established using the following formula (2), and the target generator power generation ratio, target photovoltaic power generation ratio, and target external power purchase ratio are determined using the preset model: (2); in, The output vector of the (t+1)th iteration of the preset model is represented by the following elements: generator power generation ratio, photovoltaic power generation ratio, and external power purchase ratio. This represents the output vector of the t-th iteration of the preset model; Represents an arithmetic factor.

5. An energy dispatching device, characterized in that, include: Modules for building integrated energy systems that incorporate multiple energy sources; The determination module is used to determine the energy dispatching mode in the integrated energy system based on the dispatching objectives and constraints of the integrated energy system; the dispatching objectives and constraints are determined based on the correlation between various energy sources and energy demand information in the integrated energy system; the determination module is also used to obtain the initial generation ratio of generators, the initial generation ratio of photovoltaics, and the initial external power purchase ratio; based on the initial generation ratio of generators, the initial generation ratio of photovoltaics, and the initial external power purchase ratio, the module uses a preset model to determine the target generation ratio of generators, the target generation ratio of photovoltaics, and the target external power purchase ratio; if the integrated energy system corresponding to the target generation ratio of generators, the target generation ratio of photovoltaics, and the target external power purchase ratio meets the dispatching objectives and constraints, the module determines the dispatching mode of the power system in the integrated energy system based on the target generation ratio of generators, the target generation ratio of photovoltaics, and the target external power purchase ratio; the module determines the energy dispatching mode in the integrated energy system based on the dispatching mode of the power system, the dispatching mode of the natural gas system, and the dispatching mode of the heating system; the integrated energy system includes at least one of the following: Electricity systems, natural gas systems, and heating systems; The scheduling constraints of the integrated energy system include at least one of the following: The integrated energy system includes an electricity balance constraint and a power generation constraint. The electricity balance constraint states that the input electricity in the integrated energy system equals the output electricity in the integrated energy system. The input electricity includes at least one of the following: photovoltaic power generation in the integrated energy system, purchased electricity in the integrated energy system, and generator power generation in the integrated energy system. The output electricity includes at least one of the following: electricity consumption for converting electrical energy into heat energy in the integrated energy system, and electricity consumption for converting electrical energy into natural gas in the integrated energy system. The power generation constraint states that the generator output power in the integrated energy system is greater than or equal to a first power threshold, and the generator output power is less than or equal to a second power threshold. The scheduling module is used to schedule the energy in the integrated energy system according to the scheduling method.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the energy scheduling method as described in any one of claims 1 to 4.

7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the energy dispatching method as described in any one of claims 1 to 4.