A method, device, equipment and medium for optimizing dispatching of integrated energy and power system
By constructing the objective function with the largest stability index and the lowest operating cost, using the output power constraint information of each generator set, the problem of only considering the operating cost and ignoring the system stability in the existing technology is solved, and the optimization of the comprehensive energy power system is achieved. Take into account both scheduling and economic benefits.
Patent Information
- Application Number
- CN202410307272.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-18
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2044-03-18
AI Technical Summary
In the prior art, only the operating cost of the power system is considered, but not the system stability, resulting in the coordinated operation plan not applicable to the actual integrated power system and the optimization scheduling of the power system cannot be achieved.
By obtaining the output power constraint information of each generator set, an objective function with the largest stability index and the lowest operating cost is constructed, multiple target solutions are solved to achieve both the stability and economic benefits of the system, and optimized scheduling is used for optimal scheduling.
On the basis of ensuring the stable operation of the system, the operating cost of the integrated energy power system is achieved with the lowest economic benefits, and provides a coordinated control solution suitable for the actual integrated power system.
Smart Images

Figure CN118054480B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power system automation, and in particular to a method, device, equipment and medium for optimizing scheduling of a comprehensive energy power system. Background Art
[0002] At present, the integrated power system has become an important development trend of the future power system. With the massive access of renewable energy, the intermittent and volatile power generation has an increasingly serious impact on the optimal operation of the power system. In related technologies, the coordinated operation plan of new energy power sources and conventional power sources is generally determined with the lowest operating cost as the goal. However, only considering the operating cost of the system without considering the stability of the system operation will result in the coordinated operation plan being unsuitable for the coordinated control of the actual integrated power system and unable to achieve the optimal dispatch of the power system. Summary of the invention
[0003] In view of this, the present invention provides a method, device, equipment and medium for optimizing and dispatching an integrated energy power system to solve the problem that the related technology only considers the operating cost of the system but not the stability of the system operation, which results in the obtained coordinated operation scheme being unsuitable for the coordinated control of the actual integrated power system and unable to achieve optimized dispatching of the power system.
[0004] In a first aspect, the present invention provides a method for optimizing and scheduling an integrated energy and power system, comprising: obtaining output power constraint information of each generator set in the integrated energy and power system; solving a pre-constructed first objective function based on the output power constraint information of each generator set to obtain multiple objective solutions, wherein the first objective function is constructed based on the maximum stability index of the integrated energy and power system as a target, and the stability index is calculated by the output power and operating status of each generator set, and the objective solution maximizes the function value of the first objective function, and the objective solution includes the output power of each generator set; using each objective solution to solve a pre-constructed second objective function to obtain an optimal objective solution, wherein the second objective function is constructed based on the minimum operating cost of the integrated energy and power system as a target, and the optimal objective solution minimizes the function value of the second objective function, and the operating cost of the integrated energy and power system is calculated by the output power of each wind turbine set; and optimizing and scheduling the integrated energy and power system based on the optimal objective solution.
[0005] The integrated energy and power system optimization and scheduling method provided by the present invention solves the first objective function based on the output power constraint information of each generator set in the integrated energy and power system to obtain multiple objective solutions, the objective solutions include the output power of each generator set, the first objective function is constructed based on the maximum stability index of the integrated energy and power system as the goal, the multiple objective solutions obtained by solving the solution ensure the stability of the operation of the integrated energy and power system, and the second objective function is solved by using the multiple objective solutions to obtain the optimal objective solution, the second objective function is constructed based on the minimum operation cost of the integrated energy and power system as the goal, the optimal objective solution minimizes the function value of the second objective function, and the integrated energy and power system is optimized and scheduled based on the optimal objective solution. The method provided by the present invention solves the first objective function by using the output power constraint information of each generator set in the integrated energy and power system to obtain multiple objective solutions that enable the integrated energy and power system to be stable, solves the second objective function by using the multiple objective solutions, obtains the optimal objective solution that minimizes the operation cost of the integrated energy and power system among the multiple objective solutions, and coordinates the operation of the integrated energy and power system by using the optimal objective solution, which can take into account economic benefits while ensuring the stable operation of the system.
[0006] In an optional embodiment, the step of obtaining output power constraint information of each generator set in the integrated energy and power system includes: obtaining the maximum active power, minimum active power, maximum reactive power and minimum active power output by each generator set; determining the first active power constraint information of the corresponding generator set based on the maximum active power and minimum active power output by each generator set; determining the first reactive power constraint information of the corresponding generator set based on the maximum reactive power and minimum reactive power output by each generator set; obtaining the upper and lower limits of the active power and the power factor of the power supply area of each generator set; determining the second active power constraint information of the corresponding generator set based on the upper and lower limits of the active power of the power supply area of each generator set; determining the second reactive power constraint information of the corresponding generator set based on the upper and lower limits of the active power and the power factor of the power supply area of each generator set; determining the output power constraint information of the corresponding generator set based on the first active power constraint information, the second active power constraint information, the first reactive power constraint information and the second reactive power constraint information of each generator set.
[0007] The method provided by this optional implementation manner determines the output power constraint information of the generator set through the maximum active power, minimum active power, maximum reactive power, minimum active power output by each generator set, the upper and lower limits of the active power supplied to the area, and the power factor, thereby ensuring that the output power constraint information is more accurate and more in line with reality.
[0008] In an optional embodiment, the generator sets of the integrated energy and power system include at least one thermal power set, and the step of obtaining the output power constraint information of each generator set in the integrated energy and power system also includes: obtaining the peak-shaving status information, continuous operation time constraint information and continuous shutdown time constraint information of each thermal power set; determining the operating status constraint information of the corresponding thermal power set based on the peak-shaving status information, continuous operation time constraint information and continuous shutdown time constraint information of each thermal power set; determining the output power constraint information of the corresponding thermal power set based on the operating status constraint information of each thermal power set.
[0009] The method provided by this optional implementation manner determines the output power constraint information of the corresponding thermal power group based on the peak-shaving status information, continuous operation time constraint information and continuous shutdown time constraint information of each thermal power group, because the output power of the thermal power group is subject to greater start-stop constraints. This can make the output power constraint information of the thermal power group more accurate and more in line with reality.
[0010] In an optional embodiment, the generator sets of the integrated energy and power system include at least one hydropower unit, and the step of obtaining the output power constraint information of each generator set in the integrated energy and power system also includes: obtaining the upper and lower limits of the power generation flow of the cascade hydropower station and the upper and lower limits of the reservoir water level; determining the upper and lower limits of the output power of each hydropower unit based on the upper and lower limits of the power generation flow of the cascade hydropower station and the upper and lower limits of the reservoir water level; determining the output power constraint information of the corresponding hydropower unit based on the upper and lower limits of the output power of each hydropower unit.
[0011] In an optional embodiment, the step of solving a pre-constructed first objective function based on the output power constraint information of each generator set to obtain multiple objective solutions includes: obtaining a preset relaxation factor; solving the first objective function using the output power constraint information of each generator set, the preset relaxation factor and the preset solution algorithm to obtain multiple objective solutions.
[0012] The method provided in this optional implementation manner introduces a preset relaxation factor when solving the first objective function, which can make the solution faster.
[0013] In an optional embodiment, the output power constraint information of each generator set is used to characterize different power constraint conditions, and the first objective function is solved using the output power constraint information of each generator set, a preset relaxation factor, and a preset solution algorithm to obtain multiple target solutions, including: using the preset relaxation factor to convert each power constraint condition of each generator set into a corresponding equation constraint; solving the first objective function according to the multiple equation constraints corresponding to each generator set and the preset solution algorithm to obtain multiple target solutions.
[0014] In an optional embodiment, the step of solving the first objective function according to multiple equation constraints corresponding to each generator set and a preset solution algorithm to obtain multiple objective solutions includes: obtaining weights of different equation constraints corresponding to each generator set; solving the first objective function according to different equation constraints of each generator set and the weights corresponding to the different equation constraints and a preset solution algorithm to obtain multiple objective solutions.
[0015] In a second aspect, the present invention provides an integrated energy and power system optimization and scheduling device, the device comprising: an acquisition module, used to acquire the output power constraint information of each generator set in the integrated energy and power system; a first solution module, used to solve a pre-constructed first objective function based on the output power constraint information of each generator set to obtain multiple target solutions, the first objective function is constructed based on the maximum stability index of the integrated energy and power system as the goal, the stability index is calculated by the output power and operating status of each generator set, the target solution maximizes the function value of the first objective function, and the target solution includes the output power of each generator set; a second solution module, used to solve a pre-constructed second objective function using each target solution to obtain an optimal target solution, the second objective function is constructed based on the minimum operating cost of the integrated energy and power system as the goal, the optimal target solution minimizes the function value of the second objective function, and the operating cost of the integrated energy and power system is calculated by the output power of each wind turbine set; an optimization scheduling module, used to optimize the scheduling of the integrated energy and power system based on the optimal target solution.
[0016] In an optional embodiment, the acquisition module includes: a first acquisition submodule, which is used to acquire the maximum active power, minimum active power, maximum reactive power and minimum active power output by each generator set; a first determination submodule, which is used to determine the first active power constraint information of the corresponding generator set based on the maximum active power and minimum active power output by each generator set; a second determination submodule, which is used to determine the first reactive power constraint information of the corresponding generator set based on the maximum reactive power and minimum reactive power output by each generator set; a second acquisition submodule, which is used to acquire the upper and lower limits of the active power and the power factor of the power supply area of each generator set; a third determination submodule, which is used to determine the second active power constraint information of the corresponding generator set based on the upper and lower limits of the active power of the power supply area of each generator set; a fourth determination submodule, which is used to determine the second reactive power constraint information of the corresponding generator set based on the upper and lower limits of the active power and the power factor of the power supply area of each generator set; a fifth determination submodule, which is used to determine the output power constraint information of the corresponding generator set based on the first active power constraint information, the second active power constraint information, the first reactive power constraint information and the second reactive power constraint information of each generator set.
[0017] In an optional embodiment, the generator sets of the integrated energy and power system include at least one thermal power unit, and the acquisition module also includes: a third acquisition submodule, used to obtain the peak-shaving status information, continuous operation time constraint information and continuous shutdown time constraint information of each thermal power unit; a sixth determination submodule, used to determine the operating status constraint information of the corresponding thermal power unit based on the peak-shaving status information, continuous operation time constraint information and continuous shutdown time constraint information of each thermal power unit; a seventh determination submodule, used to determine the output power constraint information of the corresponding thermal power unit based on the operating status constraint information of each thermal power unit.
[0018] In an optional embodiment, the generator sets of the integrated energy and power system include at least one hydropower unit, and the acquisition module also includes: a fourth acquisition submodule, used to obtain the upper and lower limits of the power generation flow of the cascade hydropower station and the upper and lower limits of the reservoir water level; an eighth determination submodule, used to determine the upper and lower limits of the output power of each hydropower unit based on the upper and lower limits of the power generation flow of the cascade hydropower station and the upper and lower limits of the reservoir water level; a ninth determination submodule, used to determine the output power constraint information of the corresponding hydropower unit based on the upper and lower limits of the output power of each hydropower unit.
[0019] In an optional embodiment, the first solution module includes: a fifth acquisition submodule, used to obtain a preset relaxation factor; a first solution submodule, used to solve the first objective function using the output power constraint information of each generator set, the preset relaxation factor and the preset solution algorithm to obtain multiple objective solutions.
[0020] In an optional embodiment, the output power constraint information of each generator set is used to characterize different power constraint conditions, and the first solution submodule includes: a conversion unit, used to convert each power constraint condition of each generator set into a corresponding equation constraint using a preset relaxation factor; a solution unit, used to solve the first objective function according to multiple equation constraints corresponding to each generator set and a preset solution algorithm to obtain multiple objective solutions.
[0021] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the integrated energy and power system optimization and scheduling method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0022] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for optimizing and scheduling an integrated energy and power system according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0024] Figure 1 is a flow chart of a method for optimizing and dispatching an integrated energy and power system according to an embodiment of the present invention;
[0025] Figure 2 is a flow chart of another integrated energy and power system optimization and dispatching method according to an embodiment of the present invention;
[0026] Figure 3 is a flow chart of another integrated energy and power system optimization and dispatching method according to an embodiment of the present invention;
[0027] Figure 4 is a structural block diagram of a comprehensive energy and power system optimization and dispatching device according to an embodiment of the present invention;
[0028] Figure 5 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0030] In the related technology, the coordinated operation scheme of new energy power source and conventional power source is generally determined with the goal of minimizing the operation cost. However, only considering the operation cost of the system without considering the stability of the system operation will result in the obtained coordinated operation scheme being unsuitable for the coordinated control of the actual integrated power system and unable to achieve the optimized dispatch of the power system.
[0031] The embodiment of the present invention provides an integrated energy and power system optimization and scheduling method, which can be applied to a server to achieve optimized scheduling of the integrated energy and power system. The method provided by the present invention uses the output power constraint information of each generator set in the integrated energy and power system to solve the first objective function, obtains multiple objective solutions that enable the integrated energy and power system to be stable, uses the multiple objective solutions to solve the second objective function, obtains the optimal objective solution that minimizes the operating cost of the integrated energy and power system among the multiple objective solutions, and uses the optimal objective solution to coordinate the operation of the integrated energy and power system, which can ensure the stable operation of the system while taking into account economic benefits.
[0032] According to an embodiment of the present invention, an embodiment of a method for optimizing and dispatching an integrated energy and power system is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0033] In this embodiment, a comprehensive energy and power system optimization scheduling method is provided, which can be used for the above-mentioned server. Figure 1 is a flow chart of a method for optimizing and dispatching an integrated energy and power system according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0034] Step S101, obtaining output power constraint information of each generator set in the integrated energy and power system.
[0035] Exemplarily, the integrated energy power system may be an integrated energy power system that needs to be optimized and dispatched. In the embodiment of the present application, the integrated energy power system may be an integrated energy power system composed of thermal power, wind power, photovoltaic power, cascade hydropower, and pumped storage. The output power constraint information of each generator set may be the size of the output power range of the corresponding generator set.
[0036] Step S102, based on the output power constraint information of each generator set, solve the pre-constructed first objective function to obtain multiple objective solutions. The first objective function is constructed based on the maximum stability index of the integrated energy and power system. The stability index is calculated by the output power and operating status of each generator set. The objective solution maximizes the function value of the first objective function, and the objective solution includes the output power of each generator set.
[0037] For example, in the embodiment of the present application, the stability index includes a voltage stability margin, a frequency stability index, and a power stability function. The voltage stability margin, the frequency stability index, and the power stability function can be calculated using the output power constraint information of each generator set. The first objective function can be shown in the following formula (1):
[0038] max f1=α·σ v +β·σ f +γ·ΔP mean (1)
[0039] Among them, σ v is the voltage stability margin, σ f is the frequency stability index, σ P is the power stability function, α, β, γ are the weight coefficients of voltage stability margin, frequency stability index and power stability function in the calculation of system operation stability index respectively; f1 is the function value of the first objective function.
[0040] Specifically, the voltage stability margin σ v The following formula (2) gives:
[0041]
[0042] Among them, σ v0 is the initial value of the voltage stability margin; P Gi is the active power of the i-th generator set, ΔP Gi is the power change of the i-th generator set; P Di is the load of the area supplied by the i-th generator set, ΔP Di is the load change of the power supply area of the i-th generator set, i = 1, 2, 3, …, N, and i is the unit number of each generator set in the integrated energy and power system.
[0043] Frequency stability index σ f It is used to measure the degree of system frequency fluctuation and is obtained through the following formula (3):
[0044]
[0045] Among them, f i is the bus frequency of each unit; F mean is the average value of bus frequency of all units.
[0046] Power stability function σ P It is used to measure the actual response of each generator set output and is obtained through the following formula (4):
[0047]
[0048] Among them, P i_supply and P i_demand are the actual output and load demand of the i-th generator set respectively.
[0049] Step S103, using each objective solution to solve the pre-constructed second objective function to obtain the optimal objective solution. The second objective function is constructed based on the goal of minimizing the operating cost of the integrated energy and power system. The optimal objective solution minimizes the function value of the second objective function. The operating cost of the integrated energy and power system is calculated by the output power of each wind turbine.
[0050] Exemplarily, the operating cost of the integrated energy and power system includes maintenance cost, start-up and shutdown cost, unit spare capacity cost, power generation cost, etc. In the embodiment of the present application, the second objective function can be solved as shown in the following formula (5):
[0051]
[0052] Among them, f2 is the function value of the second objective function, c i (·) represents the generalized generator unit operating cost function, which can be taken under actual operating conditions, including coal-fired / pumped storage costs, unit start / stop costs, unit spare capacity costs and operation and maintenance costs; h(·), k(·), E(·) are the penalty function when there is a gap in load supply, the wind and solar power abandonment cost function, and the expected carbon emission cost function, respectively; u it represents the start / stop status of the i-th generator set in period t; g it represents the output of the i-th generator set in period t; r it represents the spare capacity of the i-th generator set in period t; D t WV is the power difference when there is a gap in load supply during period t; t curt is the redundant power value of wind power and photovoltaic power in period t; ω i is the carbon emission coefficient of the i-th generator set, and φ(·) is the carbon emission cost calculation function.
[0053] Step S104, optimizing the scheduling of the integrated energy and power system based on the optimal target solution.
[0054] Exemplarily, the optimal target solution can ensure the lowest operating cost on the basis of stable operation of the integrated energy and power system, optimize the output of each generator set in the integrated energy and power system based on the optimal target solution, and take into account economic benefits while ensuring stable operation of the system.
[0055] The integrated energy and power system optimization and scheduling method provided in this embodiment uses the output power constraint information of each generator set in the integrated energy and power system to solve the first objective function, and obtains multiple objective solutions that enable the integrated energy and power system to be stable. The second objective function is solved using the multiple objective solutions to obtain the optimal objective solution that minimizes the operating cost of the integrated energy and power system among the multiple objective solutions. The operation of the integrated energy and power system is coordinated using the optimal objective solution, which can ensure the stable operation of the system while taking into account economic benefits.
[0056] In this embodiment, a comprehensive energy and power system optimization scheduling method is provided, which can be used for the above-mentioned server. Figure 2 is a flow chart of a method for optimizing and dispatching an integrated energy and power system according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0057] Step S201, obtain the output power constraint information of each generator set in the integrated energy and power system. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.
[0058] Specifically, the above step S201 includes:
[0059] Step S2011, obtaining the maximum active power, minimum active power, maximum reactive power and minimum active power output by each generator set.
[0060] For example, in the embodiment of the present application, the maximum active power is Indicates the minimum active power Indicates the maximum reactive power Indicates that the minimum active power is express.
[0061] Step S2012: determining first active power constraint information of the corresponding generator set based on the maximum active power and the minimum active power output by each generator set.
[0062] Exemplarily, in the embodiment of the present application, the first active power constraint information is shown in the following formula (6):
[0063]
[0064] Among them, the active power output of the i-th generator set is P Gi express.
[0065] Step S2013: determining first reactive power constraint information of the corresponding generator set based on the maximum reactive power and the minimum reactive power output by each generator set.
[0066] Exemplarily, in the embodiment of the present application, the first reactive power constraint information is shown in the following formula (7):
[0067]
[0068] Among them, Q Gi Represents the reactive power output by the i-th generator set.
[0069] Step S2014, obtaining the upper and lower limits of the active power and the power factor of each generator set power supply area.
[0070] For example, in the embodiment of the present application, the upper limit of the active power of the power supply area of the generator set is The lower limit is
[0071] Step S2015: determining the second active power constraint information of the corresponding generator set based on the upper and lower limits of the active power in the power supply area of each generator set.
[0072] Exemplarily, in the embodiment of the present application, the second active power constraint information is shown in the following formula (8):
[0073]
[0074] Among them, P Di is the load of the area supplied by the power of the i-th generator set.
[0075] Step S2016: determining the second reactive power constraint information of the corresponding generator set based on the upper and lower limits of the active power and the power factor of the power supply area of each generator set.
[0076] Exemplarily, in the embodiment of the present application, the second reactive power constraint information is shown in the following formula (9):
[0077]
[0078] in, is the power factor, Q Di is the reactive power of the regional load.
[0079] Step S2017: determining the output power constraint information of the corresponding generator set based on the first active power constraint information, the second active power constraint information, the first reactive power constraint information and the second reactive power constraint information of each generator set.
[0080] Exemplarily, in the embodiment of the present application, the constraint information corresponding to the above equations (6) to (9) is used as the output power constraint information of the corresponding generator set.
[0081] In some optional implementations, the generator set of the integrated energy and power system includes at least one thermal power unit, and the above step S201 further includes:
[0082] Step a1, obtaining the peak load state information, continuous operation time constraint information and continuous shutdown time constraint information of each thermal power unit. Exemplarily, the peak load state information of each thermal power unit is used to describe whether the corresponding thermal power unit is in the peak load state, the continuous operation time constraint information is used to describe the time constraint of the continuous operation of the corresponding thermal power unit in a certain period of time, and the continuous shutdown time constraint information is used to describe the time constraint of the continuous shutdown of the corresponding thermal power unit in a certain period of time.
[0083] Step a2: determining the operation state constraint information of the corresponding thermal power unit based on the peak load state information, the continuous operation time constraint information and the continuous shutdown time constraint information of each thermal power unit.
[0084] Exemplarily, in the embodiment of the present application, the operating state constraint information of the thermal power unit is shown in the following formula (10):
[0085]
[0086] in, and It is a 0-1 variable, used to describe whether the thermal power unit is in the peak load regulation state; They are the continuous operation time and continuous shutdown time of the thermal power unit in period t-1 respectively; They are respectively the minimum continuous operation time and continuous shutdown time allowed for the unit.
[0087] Step a3: determining the output power constraint information of the corresponding thermal power group based on the operating state constraint information of each thermal power group.
[0088] In some optional implementations, the generator set of the integrated energy and power system includes at least one hydropower unit, and the above step S201 further includes:
[0089] Step b1, obtaining the upper and lower limits of the power generation flow of the cascade hydropower station and the upper and lower limits of the reservoir water level.
[0090] Step b2, determining the upper and lower limits of the output power of each hydropower unit based on the upper and lower limits of the power generation flow of the cascade hydropower station and the upper and lower limits of the reservoir water level.
[0091] Step b3, based on the upper and lower limits of the output power of each hydropower unit, determine the output power constraint information of the corresponding hydropower unit. Exemplarily, in the embodiment of the present application, the output power constraint information of the hydropower unit is shown in the following formula (11):
[0092]
[0093] Among them, V i t+1 and V i t are the reservoir capacities of the i-th cascade hydropower station at time t+1 and time t, respectively; is the water flow of the i-th cascade hydropower station in period t; is the power generation flow of the i-th cascade hydropower station in period t; T0 is the time difference; and are the lower and upper limits of the hydropower unit output respectively; and are the lower and upper limits of the power generation flow of the hydropower station respectively; and are the lower and upper limits of the reservoir water level respectively.
[0094] Step S202: Solve the pre-constructed first objective function based on the output power constraint information of each generator set to obtain multiple objective solutions. The first objective function is constructed based on the maximum stability index of the integrated energy and power system. The stability index is calculated by the output power and operating status of each generator set. The objective solution maximizes the function value of the first objective function. The objective solution includes the output power of each generator set. For details, please refer to Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.
[0095] Step S203, using each target solution to solve the pre-constructed second target function, to obtain the optimal target solution, the second target function is constructed based on the lowest operating cost of the integrated energy and power system, the optimal target solution minimizes the function value of the second target function, the operating cost of the integrated energy and power system is calculated by the output power of each wind turbine. For details, please refer to Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.
[0096] Step S204: Optimize the scheduling of the integrated energy and power system based on the optimal target solution. Figure 1 Step S104 of the illustrated embodiment will not be described in detail here.
[0097] In this embodiment, a comprehensive energy power system optimization scheduling method is provided, which can be used for the above-mentioned mobile terminals, such as mobile phones, tablet computers, etc. Figure 3 is a flow chart of a method for optimizing and dispatching an integrated energy and power system according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:
[0098] Step S301, obtain the output power constraint information of each generator set in the integrated energy and power system. Figure 1 Step S201 of the illustrated embodiment will not be described in detail here.
[0099] Step S302, based on the output power constraint information of each generator set, solve the pre-constructed first objective function to obtain multiple objective solutions. The first objective function is constructed based on the maximum stability index of the integrated energy and power system. The stability index is calculated by the output power and operating status of each generator set. The objective solution maximizes the function value of the first objective function, and the objective solution includes the output power of each generator set.
[0100] Specifically, the above step S302 includes:
[0101] Step S3021, obtain a preset relaxation factor. Exemplarily, the relaxation factor is used to control the change of each iteration of the variable, which mainly affects the convergence speed and convergence of the iteration. The relaxation factor is between 0 and 1. The smaller the relaxation factor, the smaller the change between two iterations. In this way, the calculation is more stable, but the calculation speed is slow. In the embodiment of the present application, the preset relaxation factor can be determined based on actual needs, and the embodiment of the present application does not limit the specific content of the preset relaxation factor.
[0102] Step S3022, solving the first objective function using the output power constraint information of each generator set, a preset relaxation factor, and a preset solution algorithm to obtain multiple objective solutions.
[0103] In some optional implementations, the above step S3022 includes:
[0104] Step c1, using a preset relaxation factor to convert each power constraint condition of each generator set into a corresponding equality constraint.
[0105] Exemplarily, the inequality constraint corresponding to the first objective function is converted into an equality constraint using a preset relaxation factor, and the specific content is shown in the following formula (12):
[0106] max Df1=f1+δ×(s1+s2+L+s p ) (12)
[0107] Among them, s1, s2, s3, …, s p Represents each transformed equality constraint; δ is a small positive number, usually between 10 -3 and 10 -6 Where max Df1 represents the function value of the first objective function after transformation.
[0108] Step c2, solving the first objective function according to a plurality of equality constraints corresponding to each generator set and a preset solution algorithm to obtain a plurality of objective solutions.
[0109] In some optional implementations, the above step c2 includes:
[0110] Step c21, obtaining the weights of each generator set corresponding to different equality constraints. For example, in the embodiment of the present application, the specific content of the weights of each generator set corresponding to different equality constraints is not limited, and those skilled in the art can determine it according to needs.
[0111] Step c22, solving the first objective function according to different equation constraints of each generator set and the weights corresponding to the different equation constraints and a preset solution algorithm to obtain multiple objective solutions.
[0112] For example, in the embodiment of the present application, the weights corresponding to different equality constraints are introduced into the first objective function, and the following formula (13) can be obtained:
[0113] max f1 * =w1×Df1+(w2×s2+w3×s3+L+w p ×s p ) (13)
[0114] Among them, maxf1 * represents the function value of the first objective function after transformation, w1, w2, w3, ..., w p are the weights of different equality constraints.
[0115] In the embodiment of the present application, since the objective function and different constraints play different roles in the decision-making process, and the first objective function is the most important consideration in the proposed optimization scheduling model, the above objective function can be scaled as follows:
[0116]
[0117] Based on this, the weight of the first objective function can be kept at the maximum during the algorithm solution process, and the generation of the Pareto solution set and the selection of the optimal solution are ensured to be consistent.
[0118] Using the first objective function with the relaxation factor introduced in the above formula and the second objective function defined in the previous article, the initial solution set is set as the parent generation, and the offspring is generated through crossover, mutation and other methods. The objective function value is calculated and the contemporary optimal solution is taken as the new parent generation. It is continuously iterated until the optimal Pareto solution set is obtained.
[0119] Step S303, using each target solution to solve the pre-constructed second target function, to obtain the optimal target solution, the second target function is constructed based on the goal of minimizing the operating cost of the integrated energy and power system, the optimal target solution minimizes the function value of the second target function, the operating cost of the integrated energy and power system is calculated by the output power of each wind turbine. For details, please refer to Figure 1 Step S203 of the illustrated embodiment will not be described in detail here.
[0120] Step S304: Optimize the scheduling of the integrated energy and power system based on the optimal target solution. Figure 1 Step S204 of the illustrated embodiment will not be described in detail here.
[0121] In this embodiment, a comprehensive energy power system optimization and dispatching device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0122] This embodiment provides a comprehensive energy and power system optimization and dispatching device, such as Figure 4 As shown, including:
[0123] An acquisition module 401 is used to acquire output power constraint information of each generator set in the integrated energy and power system;
[0124] A first solving module 402 is used to solve a pre-constructed first objective function based on the output power constraint information of each generator set to obtain multiple objective solutions. The first objective function is constructed based on the maximum stability index of the integrated energy and power system as a target. The stability index is calculated by the output power and operating status of each generator set. The objective solution maximizes the function value of the first objective function. The objective solution includes the output power of each generator set.
[0125] The second solution module 403 is used to solve the pre-constructed second objective function by using each objective solution to obtain an optimal objective solution. The second objective function is constructed based on the goal of minimizing the operating cost of the integrated energy and power system. The optimal objective solution minimizes the function value of the second objective function. The operating cost of the integrated energy and power system is calculated by the output power of each wind turbine.
[0126] The optimization scheduling module 404 is used to optimize the scheduling of the integrated energy and power system based on the optimal target solution.
[0127] In some optional implementations, the acquisition module 401 includes:
[0128] The first acquisition submodule is used to acquire the maximum active power, the minimum active power, the maximum reactive power and the minimum active power output by each generator set;
[0129] A first determination submodule, configured to determine first active power constraint information of a corresponding generator set based on a maximum active power and a minimum active power output by each generator set;
[0130] A second determination submodule is used to determine first reactive power constraint information of the corresponding generator set based on the maximum reactive power and the minimum reactive power output by each generator set;
[0131] The second acquisition submodule is used to obtain the upper and lower limits of the active power and the power factor of the power supply area of each generator set;
[0132] A third determination submodule, configured to determine the second active power constraint information of the corresponding generator set based on the upper and lower limits of the active power of the power supply area of each generator set;
[0133] A fourth determination submodule, configured to determine the second reactive power constraint information of the corresponding generator set based on the upper and lower limits of the active power and the power factor of the power supply area of each generator set;
[0134] The fifth determination submodule is used to determine the output power constraint information of the corresponding generator set based on the first active power constraint information, the second active power constraint information, the first reactive power constraint information and the second reactive power constraint information of each generator set.
[0135] In some optional implementations, the generator set of the integrated energy and power system includes at least one thermal power unit, and the acquisition module 401 further includes:
[0136] The third acquisition submodule is used to obtain the peak load state information, continuous operation time constraint information and continuous shutdown time constraint information of each thermal power unit;
[0137] A sixth determination submodule, configured to determine the operation state constraint information of the corresponding thermal power unit based on the peak load state information, the continuous operation time constraint information, and the continuous shutdown time constraint information of each thermal power unit;
[0138] The seventh determination submodule is used to determine the output power constraint information of the corresponding thermal power group based on the operation status constraint information of each thermal power group.
[0139] In some optional implementations, the generator set of the integrated energy and power system includes at least one hydropower unit, and the acquisition module 401 further includes:
[0140] The fourth acquisition submodule is used to obtain the upper and lower limits of the power generation flow of the cascade hydropower station and the upper and lower limits of the reservoir water level;
[0141] An eighth determination submodule, used to determine the upper and lower limits of the output power of each hydropower unit based on the upper and lower limits of the power generation flow of the cascade hydropower station and the upper and lower limits of the reservoir water level;
[0142] The ninth determination submodule is used to determine the output power constraint information of the corresponding hydropower unit based on the upper and lower limits of the output power of each hydropower unit.
[0143] In some optional implementations, the first solution module includes:
[0144] A fifth acquisition submodule, used to acquire a preset relaxation factor;
[0145] The first solving submodule is used to solve the first objective function by using the output power constraint information of each generator set, a preset relaxation factor and a preset solving algorithm to obtain multiple objective solutions.
[0146] In some optional implementations, the output power constraint information of each generator set is used to characterize different power constraint conditions, and the first solution submodule includes:
[0147] A conversion unit, used for converting each power constraint condition of each generator set into a corresponding equality constraint by using a preset relaxation factor;
[0148] The solving unit is used to solve the first objective function according to multiple equation constraints corresponding to each generator set and a preset solving algorithm to obtain multiple objective solutions.
[0149] In some optional implementations, the above-mentioned solving unit includes:
[0150] An acquisition subunit is used to obtain the weights of each generator set corresponding to different equality constraints;
[0151] The solving subunit is used to solve the first objective function according to different equation constraints of each generator set and the weights corresponding to the different equation constraints and a preset solving algorithm to obtain multiple objective solutions.
[0152] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0153] The integrated energy and power system optimization and scheduling device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above-mentioned functions.
[0154] The embodiment of the present invention also provides a computer device having the above Figure 4 The integrated energy and power system optimization and dispatching device shown.
[0155] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 5 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.
[0156] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0157] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0158] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0159] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0160] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0161] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0162] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for optimizing and dispatching a comprehensive energy and power system, characterized in that: The method comprises: Obtain output power constraint information of each generator set in the integrated energy and power system; Solving a pre-constructed first objective function based on the output power constraint information of each generator set to obtain a plurality of objective solutions, wherein the first objective function is constructed based on the maximum stability index of the integrated energy and power system as a target, the stability index being calculated by the output power and operating status of each generator set, and the objective solution maximizes the function value of the first objective function, and the objective solution includes the output power of each generator set; Using each objective solution to solve the pre-constructed second objective function, an optimal objective solution is obtained, wherein the second objective function is constructed based on the goal of minimizing the operating cost of the integrated energy and power system, and the optimal objective solution minimizes the function value of the second objective function, and the operating cost of the integrated energy and power system is calculated by the output power of each wind turbine generator set; The second objective function is as follows: Among them, f2 is the function value of the second objective function, c i (·) represents the generalized generator unit operating cost function, which can be taken under actual operating conditions, including coal-fired / pumped storage costs, unit start / stop costs, unit spare capacity costs and operation and maintenance costs; h(·), k(·), E(·) are the penalty function when there is a gap in load supply, the wind and solar power abandonment cost function, and the expected carbon emission cost function, respectively; u it represents the start / stop status of the i-th generator set in period t; g it represents the output of the i-th generator set in period t; r it represents the spare capacity of the i-th generator set in period t; D t WV is the power difference when there is a gap in load supply during period t; t curt is the redundant power value of wind power and photovoltaic power in period t; ω i is the carbon emission coefficient of the i-th generator set, φ(·) is the carbon emission cost calculation function; Optimizing the dispatch of the integrated energy and power system based on the optimal target solution; The step of solving a pre-constructed first objective function based on the output power constraint information of each generator set to obtain multiple objective solutions includes: Get the preset relaxation factor; Solving the first objective function using the output power constraint information of each generator set, the preset relaxation factor, and a preset solution algorithm to obtain multiple objective solutions; The output power constraint information of each generator set is used to characterize different power constraint conditions. The step of solving the first objective function by using the output power constraint information of each generator set, the preset relaxation factor and the preset solution algorithm to obtain multiple objective solutions includes: Using the preset relaxation factor, each power constraint condition of each generator set is converted into a corresponding equality constraint; Solving the first objective function according to a plurality of equality constraints corresponding to each generator set and a preset solving algorithm to obtain a plurality of objective solutions; The step of solving the first objective function according to a plurality of equality constraints corresponding to each generator set and a preset solution algorithm to obtain a plurality of objective solutions comprises: Obtain the weights of each generator set corresponding to different equality constraints; Solving the first objective function according to different equation constraints of each generator set, weights corresponding to different equation constraints, and a preset solving algorithm to obtain multiple objective solutions; The first objective function is solved according to different equation constraints of each generator set, weights corresponding to different equation constraints, and a preset solution algorithm to obtain multiple objective solutions, including: The inequality constraint corresponding to the first objective function is converted into an equality constraint using the preset relaxation factor, as shown in the following formula: Among them, s1, s2, s3, …, s p Represents each transformed equality constraint; δ is a value between 10 -3 and 10 -6 The number between Represents the function value of the first objective function after transformation; Introducing the weights corresponding to different equality constraints into the first objective function, we get the following formula: Among them, maxf1 * represents the function value of the first objective function after transformation, w1, w2, w3, ..., w p are the weights of different equality constraints; The converted first objective function is scaled to obtain the scaled first objective function as shown in the following formula: The first objective function after scaling is solved to obtain multiple objective solutions.
2. The method according to claim 1, characterized in that The step of obtaining the output power constraint information of each generator set in the integrated energy power system comprises: Obtain the maximum active power, minimum active power, maximum reactive power and minimum active power output by each generator set; Determining first active power constraint information of the corresponding generator set based on the maximum active power and the minimum active power output by each generator set; Determine first reactive power constraint information of the corresponding generator set based on the maximum reactive power and the minimum reactive power output by each generator set; Obtain the upper and lower limits of active power and power factor of each generator set’s power supply area; Determining second active power constraint information of the corresponding generator set based on the upper and lower limits of the active power of the power supply area of each generator set; Determine the second reactive power constraint information of the corresponding generator set based on the upper and lower limits of the active power and the power factor of the power supply area of each generator set; The output power constraint information of the corresponding generator set is determined based on the first active power constraint information, the second active power constraint information, the first reactive power constraint information and the second reactive power constraint information of each generator set.
3. The method according to claim 2, characterized in that The generator sets of the integrated energy and power system include at least one thermal power unit, and the step of obtaining output power constraint information of each generator set in the integrated energy and power system further includes: Obtain peak load status information, continuous operation time constraint information, and continuous shutdown time constraint information of each thermal power unit; Determine the operation state constraint information of the corresponding thermal power group based on the peak load state information, the continuous operation time constraint information and the continuous shutdown time constraint information of each thermal power group; The output power constraint information of the corresponding thermal power unit is determined based on the operating state constraint information of each thermal power unit.
4. The method according to claim 2, characterized in that: The generator sets of the integrated energy and power system include at least one hydropower unit, and the step of obtaining output power constraint information of each generator set in the integrated energy and power system further includes: Obtain the upper and lower limits of the power generation flow of the cascade hydropower station and the upper and lower limits of the reservoir water level; Determining the upper and lower limits of the output power of each hydropower unit based on the upper and lower limits of the power generation flow of the cascade hydropower station and the upper and lower limits of the reservoir water level; Based on the upper and lower limits of the output power of each hydropower unit, the output power constraint information of the corresponding hydropower unit is determined.
5. A comprehensive energy and power system optimization and dispatching device, characterized in that: For executing the integrated energy and power system optimization and dispatching method according to claim 1, the device comprises: An acquisition module, used to acquire output power constraint information of each generator set in the integrated energy and power system; A first solving module is used to solve a pre-constructed first objective function based on the output power constraint information of each generator set to obtain multiple objective solutions, wherein the first objective function is constructed based on the maximum stability index of the integrated energy and power system as a target, and the stability index is calculated by the output power and operating status of each generator set, and the objective solution maximizes the function value of the first objective function, and the objective solution includes the output power of each generator set; A second solving module is used to solve a pre-constructed second objective function using each objective solution to obtain an optimal objective solution, wherein the second objective function is constructed based on the goal of minimizing the operating cost of the integrated energy and power system, and the optimal objective solution minimizes the function value of the second objective function, and the operating cost of the integrated energy and power system is calculated by the output power of each wind turbine generator set; The optimization scheduling module is used to optimize the scheduling of the integrated energy and power system based on the optimal target solution.
6. The device according to claim 5, characterized in that The acquisition modules include: The first acquisition submodule is used to acquire the maximum active power, the minimum active power, the maximum reactive power and the minimum active power output by each generator set; A first determination submodule, configured to determine first active power constraint information of a corresponding generator set based on the maximum active power and the minimum active power output by each generator set; A second determination submodule is used to determine first reactive power constraint information of the corresponding generator set based on the maximum reactive power and the minimum reactive power output by each generator set; The second acquisition submodule is used to obtain the upper and lower limits of the active power and the power factor of the power supply area of each generator set; A third determination submodule, configured to determine the second active power constraint information of the corresponding generator set based on the upper and lower limits of the active power of the power supply area of each generator set; A fourth determination submodule, configured to determine the second reactive power constraint information of the corresponding generator set based on the upper and lower limits of the active power and the power factor of the power supply area of each generator set; The fifth determining submodule is used to determine the output power constraint information of the corresponding generator set based on the first active power constraint information, the second active power constraint information, the first reactive power constraint information and the second reactive power constraint information of each generator set.
7. The device according to claim 6, characterized in that The generator set of the integrated energy and power system includes at least one thermal power unit, and the acquisition module further includes: The third acquisition submodule is used to obtain the peak load state information, continuous operation time constraint information and continuous shutdown time constraint information of each thermal power unit; a sixth determination submodule, configured to determine the operation state constraint information of the corresponding thermal power group based on the peak load state information, the continuous operation time constraint information, and the continuous shutdown time constraint information of each thermal power group; The seventh determination submodule is used to determine the output power constraint information of the corresponding thermal power group based on the operation status constraint information of each thermal power group.
8. The device according to claim 5, characterized in that The generator set of the integrated energy and power system includes at least one hydropower unit, and the acquisition module further includes: The fourth acquisition submodule is used to obtain the upper and lower limits of the power generation flow of the cascade hydropower station and the upper and lower limits of the reservoir water level; An eighth determination submodule, configured to determine the upper and lower limits of the output power of each hydropower unit based on the upper and lower limits of the power generation flow of the cascade hydropower station and the upper and lower limits of the reservoir water level; The ninth determination submodule is used to determine the output power constraint information of the corresponding hydropower unit based on the upper and lower limits of the output power of each hydropower unit.
9. The device according to claim 5, characterized in that The first solution module comprises: A fifth acquisition submodule, used to acquire a preset relaxation factor; The first solving submodule is used to solve the first objective function by using the output power constraint information of each generator set, the preset relaxation factor and the preset solving algorithm to obtain multiple objective solutions.
10. The device according to claim 9, characterized in that The output power constraint information of each generator set is used to characterize different power constraint conditions. The first solution submodule includes: A conversion unit, used for converting each power constraint condition of each generator set into a corresponding equation constraint by using the preset relaxation factor; A solving unit is used to solve the first objective function according to a plurality of equation constraints corresponding to each generator set and a preset solving algorithm to obtain a plurality of objective solutions.
11. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the integrated energy and power system optimization and scheduling method according to any one of claims 1 to 4 by executing the computer instructions.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the integrated energy and power system optimization and scheduling method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Thermal power generating unit modeling method and model considering deep peak regulation
CN112803479A
Scheduling method, device and equipment of water-wind storage complementary power generation system and medium
CN116780657A