Multi-energy load virtual energy storage day-ahead scheduling method and system
By introducing virtual energy storage devices and population initialization algorithms into multi-energy coupling systems, the problem of day-ahead scheduling of virtual energy storage for multi-energy loads is solved, system operating efficiency and flexibility are improved, and multi-energy collaborative optimization is achieved.
Patent Information
- Application Number
- CN202410648348.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2024-08-30
AI Technical Summary
The existing multi-energy coupling system lacks a multi-energy load virtual energy storage day-ahead optimal dispatch model and efficient solution method, making it difficult to achieve collaborative optimization of multiple energy sources and improve system operation efficiency.
Using virtual energy storage equipment as the optimization target, by establishing the objective function and constraint conditions for multi-energy load virtual energy storage day-ahead scheduling, and combining the population initialization and location update algorithms, the multi-energy load virtual energy storage day-ahead scheduling strategy is solved to optimize the total system operation cost. .
It improves the operating efficiency of multi-energy load virtual energy storage systems, reduces operating costs, realizes collaborative interaction and flexibility of multi-energy systems, avoids local optimal solutions, and improves optimization accuracy and convergence speed.
Smart Images

Figure CN118569563A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of electric energy dispatching, and in particular relates to a multi-energy load virtual energy storage day-ahead dispatching method and system. Background Art
[0002] With the increasing tension in the energy supply and demand relationship and the destruction of the ecological environment, the regional integrated multi-energy coupling system that couples and interconnects multiple energy sources has become one of the key research directions for coping with current energy and environmental issues. The multi-energy coupling system can break the traditional mode of separate planning, design, and operation of various energy systems. By optimizing the complementary energy forms of electricity, gas, and heat, it can achieve the synergy of multiple energy sources, which helps to improve energy utilization efficiency and the stability and flexibility of system operation. How to use multi-energy coupling to support the high proportion of renewable energy consumption and efficient utilization is an urgent need for the development of the current power system.
[0003] In the existing multi-energy coupling system, there are many types of equipment and complex operating conditions. In order to give full play to the economy and flexibility of the system, it is necessary to formulate a reasonable and effective optimization scheduling strategy in the coordinated control process of the power grid to coordinate the operation of various equipment and achieve complementary optimization of multiple energy sources. At present, there are relatively few studies on the precise control of many devices under multi-energy coupling, and there is a lack of multi-energy load virtual energy storage day-ahead optimization scheduling model and efficient solution method.
[0004] Therefore, how to provide a multi-energy load virtual energy storage day-ahead optimization scheduling method and form a multi-energy load virtual energy storage day-ahead scheduling strategy is a problem that technical personnel in this field urgently need to solve. Summary of the invention
[0005] In order to solve the deficiencies in the prior art, the present invention provides a method and system for day-ahead scheduling of multi-energy load virtual energy storage, which has high efficiency in solving the day-ahead optimization scheduling model, can improve the operating efficiency of the multi-energy load virtual energy storage system after day-ahead optimization scheduling, and reduce operating costs.
[0006] The present invention adopts the following technical solution.
[0007] A first aspect of the present invention provides a multi-energy load virtual energy storage day-ahead scheduling method, comprising:
[0008] Step 1: Taking the minimum total operating cost of the multi-energy load system containing virtual energy storage equipment as the optimization goal, establish the objective function of multi-energy load virtual energy storage day-ahead scheduling;
[0009] Step 2: establishing operation constraints for the multi-energy load system including the virtual energy storage device;
[0010] Step 3: Under the operating constraints, solve the objective function, obtain the multi-energy load virtual energy storage day-ahead dispatch strategy and execute it.
[0011] Preferably, in step 1, the minimum total operating cost of the multi-energy load system containing virtual energy storage equipment is taken as the optimization goal, and the objective function of the multi-energy load virtual energy storage day-ahead scheduling established is:
[0012]
[0013] Where: f1 is the total operating cost of the multi-energy load system containing virtual energy storage equipment;
[0014] s is the system operation scenario; S is the total number of system operation scenarios in a year;
[0015] t is the system operation hours; T is the total hours in a day;
[0016] C ΔPV,s,t , C R,s,t , C DR,s,t , C loss,s,t , C Grid,s,t , C Gas,s,t They are respectively the penalty cost for abandonment of photovoltaic power station at time t under scenario s, the fluctuation compensation cost considering virtual energy storage compensation, the load-side demand response DR calling fee, the system load loss penalty cost, the system electricity purchase cost and the system gas purchase cost.
[0017] Preferably,
[0018] Where: K R is the volatility compensation expense factor;
[0019] P R,s,t is the fluctuating power that needs to be compensated for photovoltaic fluctuations at time t under scenario s
[0020] P Rmax,s,t is the upper limit of the permissible PV power fluctuation at time t under scenario s;
[0021] P B,s,t is the fluctuating power of photovoltaic output after virtual energy storage compensation at time t in scenario s;
[0022] P ves,s,t Contribute to the virtual energy storage at time t in scenario s;
[0023] P PV,s,t , P PV,s,t+1 They are the photovoltaic dispatching output at time t and time t+1 under scenario s respectively.
[0024] Preferably,
[0025] Where: C+ DR,s,t , C - DR,s,t are the costs of increasing and decreasing DR at time t under scenario s, respectively;
[0026] P + DR,s,t , P - DR,s,t are the increase and decrease of DR at time t in scenario s, respectively.
[0027] Preferably, C Grid,s,t =μ Grid P Grid,s,t (5)
[0028] Where: μ Grid represents the cost of purchasing electricity;
[0029] P Grid,s,t Represents the purchased electricity power at time t under scenario s.
[0030] Preferably,
[0031] C Gas,s,t= μ gas P gas,s,t (6)
[0032] Where: μ gas represents the gas purchase cost;
[0033] P gas,s,t Indicates the gas purchase power at time t under scenario s.
[0034] Preferably, in step 2, the operating constraints established for the multi-energy load system containing virtual energy storage equipment include: supply and demand balance constraints, virtual energy storage constraints, photovoltaic power station operation constraints, gas turbine constraints, waste heat boiler constraints, waste heat boiler constraints, waste heat recovery device constraints, load-side demand response DR constraints, wherein the supply and demand balance constraints include electric energy supply and demand balance constraints, thermal energy supply and demand balance constraints, and natural gas supply and demand balance constraints; the virtual energy storage constraints include virtual energy storage virtual charging and discharging power constraints, virtual energy storage virtual state of charge constraints, and virtual energy storage virtual charging / discharging balance constraints.
[0035] Preferably, the power supply and demand balance constraint is:
[0036]
[0037] Where: P PV,s,t is the PV dispatch output at time t under scenario s;
[0038] P t Grid,s,t is the power purchased by the power grid at time t under scenario s;
[0039] P loss,s,t is the system load loss power at time t under scenario s;
[0040] P ves,s,t Contribute to the virtual energy storage at time t in scenario s;
[0041] P EL,s,t is the user's electricity load demand at time t in scenario s;
[0042] P + DR,s,t , P - DR,s,t are respectively the increase and decrease of DR at time t in scenario s.
[0043] Preferably, the heat supply and demand balance constraint is:
[0044]
[0045] Where: P GH,s,t Output power for waste heat recovery device;
[0046] P GB,s,t Output power of waste heat boiler;
[0047] P hcha ves,s,t , P hdis ves,s,t They are the virtual charge and discharge power of the electrothermal virtual energy storage device;
[0048] P HL,s,t is the thermal load power at time t under scenario s;
[0049] P QH,s,t is the amount of thermal power abandoned at time t in scenario s.
[0050] Preferably, the natural gas supply and demand balance constraint is:
[0051] P Q,s,t =P cGT,s,t +P cGB,s,t +P QL,s,t (10)
[0052] Where: P Q,s,t is the total gas power consumed by the system at time t under scenario s;
[0053] P cGT,s,t , P cGB,s,t They are the gas power used by the gas turbine and boiler at time t under scenario s;
[0054] P QL,s,t is the gas load power at time t in scenario s.
[0055] Preferably, the virtual energy storage virtual charging and discharging power constraints are:
[0056]
[0057] Where: P ves,s,t Contribute to the virtual energy storage at time t in scenario s;
[0058] P min ves,s,t , P max ves,s,t are the lower and upper limits of the virtual energy storage output at time t in scenario s.
[0059] Preferably, the virtual energy storage virtual charge state constraint is:
[0060]
[0061] Among them: SOC ves,s,t is the virtual charge state of the virtual energy storage at time t under scenario s;
[0062] It is the lower and upper limits of virtual energy storage virtual charge state.
[0063] Preferably, the virtual energy storage virtual charge / discharge balance constraint is:
[0064]
[0065] Where: P ves (t) is the virtual charge / discharge power of virtual energy storage at time t;
[0066] T is the total number of hours in a day.
[0067] Preferably, the load-side demand response DR constraint is:
[0068]
[0069] Where: P + DR,s,t , P - DR,s,t are the increase and decrease of DR at time t in scenario s, respectively;
[0070] P +max DR , P -max DR are the maximum increase and maximum decrease of DR respectively.
[0071] Preferably, in step 3, under the operating constraints, the objective function is solved to obtain a multi-energy load virtual energy storage day-ahead dispatching strategy, and the specific process is as follows:
[0072] Step 3.1: Population initialization, generating initial population individuals. Each individual in the population has a j-dimensional variable, which is the variable to be optimized in the objective function and constraint conditions. The variable value of each individual can calculate an objective function value through the objective function;
[0073] Step 3.2: Set random numbers σ and σ1. If σ<σ1, go to step 3.3; otherwise, go to step 3.4;
[0074] Step 3.3: Select a foraging strategy or a storage strategy based on the exploration 1 strategy to update the position of the individuals in the population;
[0075] Step 3.4: Based on the exploration 2 strategy, select the strategy of finding storage areas or retrieving food to update the positions of individuals in the population;
[0076] Step 3.5: Make a greedy selection on the result after the position update;
[0077] Step 3.6: Calculate the fitness value according to the objective function. If it meets the termination condition, stop and get the optimal solution. Otherwise, jump to step 3.2 and increase the number of iterations k by 1.
[0078] Preferably, in step 3.1, the population initialization algorithm is as follows:
[0079]
[0080] in, is the j-th dimension variable of individual i at the k-th iteration, and denote the lower and upper bounds of the j-th dimension variable, respectively. is a chaotic state random vector between [0,1], θ is the chaos parameter, D represents the total number of variables, and N is the total number of individuals.
[0081] Preferably, a foraging strategy or a storage strategy is selected based on the exploration 1 strategy to update the position of the population individuals, as follows:
[0082]
[0083] Among them, Eq. (22) represents the selection of foraging strategy to update the position of population individuals, Eq. (24) represents the selection of storage strategy to update the position of population individuals, P a1 is 0.2;
[0084] Based on the exploration 2 strategy, the strategy of finding storage areas or retrieving food is selected to update the positions of individuals in the population, as follows:
[0085]
[0086] Among them, Eq(33) represents the strategy of finding storage areas to update the positions of individuals in the population, Eq(34) represents the strategy of retrieving food to update the positions of individuals in the population, P a2 is 0.4;
[0087] A random number in [0,1]:
[0088]
[0089] Among them, erf -1 is the inverse Gaussian function, U n is a random number uniformly distributed between [0, 1].
[0090] Preferably, in step 3.4, the strategy for finding the storage area is as follows:
[0091]
[0092]
[0093]
[0094] in, is the j-th dimension variable of individual i at the k+1, k-th iteration;
[0095] r1, r2, τ3, τ4, τ5, τ6, τ7, τ8 are all random numbers between [0,1];
[0096] The first and second level reference points are used as markers for individual storage areas;
[0097] is the j-th dimension variable of the optimal individual at the k-th iteration;
[0098] is the j-th dimension variable of individual C at the k-th iteration;
[0099] Eq.(31) and Eq.(32) respectively represent the position update of individuals in the population using formula (31) and (32).
[0100] Preferably, in step 3.6, the fitness value is calculated according to the objective function:
[0101]
[0102] Among them, abs means taking the absolute value;
[0103] for Substitute the value obtained by the objective function;
[0104] is the j-th dimension variable of individual i at the k-th iteration.
[0105] Preferably, in step 3.6, the termination condition is determined as follows:
[0106]
[0107] in, is the fitness value of individual i after k and k+1 iterations.
[0108] A second aspect of the present invention provides a multi-energy load virtual energy storage day-ahead dispatching system, comprising:
[0109] An objective function building module is used to establish an objective function for the day-ahead scheduling of multi-energy load virtual energy storage by taking the minimum total operating cost of the multi-energy load system containing virtual energy storage equipment as the optimization goal;
[0110] A constraint condition building module, used to establish operating constraint conditions for the multi-energy load system containing the virtual energy storage device;
[0111] The day-ahead scheduling module is used to solve the objective function under the operating constraints, obtain the day-ahead scheduling strategy for multi-energy load virtual energy storage and execute it.
[0112] A terminal comprises a processor and a storage medium; the storage medium is used to store instructions; the processor is used to operate according to the instructions to execute the steps of the method.
[0113] A computer-readable storage medium stores a computer program, which implements the steps of the method when executed by a processor.
[0114] Compared with the prior art, the beneficial effects of the present invention include at least:
[0115] (1) The present invention introduces relevant parameter constraints of virtual energy storage into the traditional multi-energy system optimization and scheduling process, realizes the unification of multi-energy virtual energy storage parameters, and makes the day-ahead optimization scheduling optimization model more practical.
[0116] (2) The present invention has a high exploration ability by simulating the searching, caching and recovery behaviors of the nutcracker during the foraging process, can avoid local optimum, and obtain high-quality optimization results with fast convergence speed, which better solves the problem of day-ahead optimization scheduling of virtual energy storage for multi-energy loads.
[0117] (3) When solving the objective function to obtain the multi-energy load virtual energy storage day-ahead scheduling strategy, the population initialization algorithm adopted by the present invention can avoid the phenomenon that the initial population is unevenly distributed due to randomness, and avoid falling into a local optimal solution due to too many initial individuals in a certain area. It can make the initially generated individuals more evenly distributed in the solution space, thereby improving the convergence speed and the reliability of the solution; the position update strategy selection method adopted makes the strategy selection more in line with the strategy selection law, which can increase the applicability of the strategy selection, thereby avoiding local optimal solutions and improving search efficiency; the algorithm termination condition set can effectively increase the accuracy of the algorithm search solution and improve the optimization accuracy.
[0118] (4) The present invention can help the multi-energy load virtual energy storage system to achieve effective output of the day-ahead optimization scheduling strategy, and improve the flexibility and reliability of the coordinated interaction between the system and the power grid. BRIEF DESCRIPTION OF THE DRAWINGS
[0119] Figure 1 A flow chart of the multi-energy load virtual energy storage day-ahead scheduling method provided by the present invention;
[0120] Figure 2 Flowchart of the algorithm for solving the problem. DETAILED DESCRIPTION
[0121] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described in this application are only embodiments of a part of the present invention, rather than all embodiments. Based on the spirit of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work belong to the protection scope of the present invention.
[0122] Embodiment 1 of the present invention provides a method for day-ahead scheduling of virtual energy storage for multi-energy loads. In a multi-energy system coupled with multiple energy sources such as electricity, heat, and gas, in order to obtain a day-ahead optimization scheduling strategy for the energy system, a unified virtual energy storage model is usually established for the multi-energy coupling equipment. By establishing a day-ahead optimization scheduling model for the multi-energy load virtual energy storage system, a day-ahead optimization scheduling strategy is obtained, and the coordinated interaction and unified regulation of the system and the power grid are realized, so as to achieve the optimization scheduling goal of minimizing the total cost of system operation, such as Figure 1 As shown, the method specifically comprises the following steps:
[0123] Step 1: Taking the minimum total operating cost of the multi-energy load system containing virtual energy storage equipment as the optimization goal, establish the objective function of multi-energy load virtual energy storage day-ahead scheduling;
[0124] Further preferably, the minimum total operating cost of the multi-energy load system containing virtual energy storage equipment is taken as the optimization goal, and an objective function is established, which is specifically:
[0125] Step 1.1: Establish a cost function for curtailment penalty of a multi-energy load system with virtual energy storage equipment:
[0126]
[0127] Where: K ΔPV P is the penalty cost coefficient for abandoned light; pre PV,s,t P is the day-ahead predicted power generation of photovoltaic power generation at time t under scenario s; PV,s,t is the PV dispatch output at time t under scenario s, MW.
[0128] Step 1.2: Establish a cost function for fluctuation compensation of a multi-energy load system containing virtual energy storage equipment:
[0129]
[0130] Where: K R is the fluctuation compensation cost coefficient, yuan / MW; P Rmax,s,t is the upper limit of the permissible PV power fluctuation at time t under scenario s, MW; P R,s,t P is the fluctuating power that needs to be compensated for photovoltaic fluctuations at time t under scenario s; B,s,t is the fluctuating power of photovoltaic output after virtual energy storage compensation at time t in scenario s, MW; P ves,s,t is the virtual energy storage output at time t in scenario s, MW; P PV,s,t , P PV,s,t+1 They are the photovoltaic dispatching output at time t and time t+1 under scenario s respectively.
[0131] Step 1.3: Establish a multi-energy load system DR (load side demand response) call cost function containing virtual energy storage equipment:
[0132]
[0133] Where: C + DR,s,t , C - DR,s,t are the cost of increasing or decreasing DR at time t under scenario s, yuan / MW; P + DR,s,t , P - DR,s,t are the increase and decrease of DR at time t under scenario s, MW.
[0134] Step 1.4: Establish the load loss penalty cost of the multi-energy load system with virtual energy storage equipment:
[0135] C loss,s,t =C loss P loss,s,t (4)
[0136] Where: C loss is the system load loss penalty coefficient; P loss,s,t is the system load loss power at time t under scenario s, MW.
[0137] Step 1.5: Establish the electricity purchase cost function of the multi-energy load system with virtual energy storage equipment:
[0138] C Grid,s,t =μ Grid P Grid,s,t (5)
[0139] Where: μ Grid represents the electricity purchase cost; P Grid,s,t Represents the purchased electricity power at time t under scenario s.
[0140] Step 1.6: Establish the gas purchase cost function of the multi-energy load system with virtual energy storage equipment:
[0141] C Gas,s,t =μ gas P gas,s,t (6)
[0142] Where: μ gas represents the gas purchase cost; P gas,s,t Indicates the gas purchase power at time t under scenario s.
[0143] Step 1.7: Establish the total cost objective function of the multi-energy load system operation with virtual energy storage equipment:
[0144]
[0145] Among them: s is the system operation days scenario, S is the total number of system operation scenarios in a year; t is the system operation hours, T is the total number of hours in a day; f1 is the day-ahead scheduling objective function; C ΔPV,s,t , C R,s,t , C DR,s,t , C loss,s,t , C Grid,s,t , C Gas,s,t They are respectively the penalty cost for abandonment of photovoltaic power station at time t under scenario s, fluctuation compensation cost, DR calling fee, system load loss penalty cost, system electricity purchase cost and system gas purchase cost, RMB.
[0146] Step 2: establishing operation constraints for the multi-energy load system including the virtual energy storage device;
[0147] Further preferably, for the multi-energy load system containing the virtual energy storage device, power system operation constraint conditions are established, specifically:
[0148] Step 2.1: Establishing the supply and demand balance constraints of the multi-energy load system with virtual energy storage mainly includes the supply and demand balance constraints of electricity, thermal energy and natural gas:
[0149] Electricity supply and demand balance constraints:
[0150]
[0151] Where: P EL,s,t is the user's electricity load demand at time t in scenario s.
[0152] Heat supply and demand balance constraints:
[0153]
[0154] Where: P GH,s,t is the output power of the waste heat recovery device; P GB,s,t is the output power of the waste heat boiler; P hcha ves,s,t , P hdis ves,s,t are the virtual charging and discharging power of the electric thermal virtual energy storage device; P HL,s,t is the heat load power at time t in scenario s; P QH,s,t is the amount of thermal power abandoned at time t in scenario s.
[0155] Natural gas supply and demand balance constraints:
[0156] P Q,s,t =P cGT,s,t +P cGB,s,t +P QL,s,t (10)
[0157] Where: P Q,s,t is the total gas power of the system at time t under scenario s; P cGT,s,t , P cGB,s,t are the gas power used by the gas turbine and boiler at time t under scenario s; P QL,s,t is the gas load power at time t in scenario s.
[0158] Step 2.2: Establish virtual energy storage constraints for the multi-energy load system with virtual energy storage:
[0159] Virtual energy storage charging and discharging power constraints:
[0160]
[0161] Where: P ves,s,t P is the virtual energy storage output at time t in scenario s; min ves,s,t , P max ves,s,tx are the lower and upper limits of the virtual energy storage output at time t in scenario s;
[0162] Virtual energy storage state of charge constraints:
[0163]
[0164] Among them: SOC ves,s,t is the virtual charge state of the virtual energy storage at time t under scenario s; The lower and upper limits of the virtual charge state of the virtual energy storage;
[0165] Virtual energy storage discharge balance constraints:
[0166]
[0167] Where: P ves (t) is the virtual charging / discharging power of the virtual energy storage at time t; T is the total number of hours in a day.
[0168] Step 2.3: Establish the operation constraints of the photovoltaic power station with a multi-energy load system containing virtual energy storage:
[0169]
[0170] Where: P PV,s,t is the PV dispatch output at time t in scenario s; P pre PV,s,t is the day-ahead predicted power generation of PV at time t under scenario s.
[0171] Step 2.4: Establish gas turbine constraints for the multi-energy load system with virtual energy storage:
[0172]
[0173] Where: P GT,s,t , P GT,s,t-1 are the turbine output power at time t and t-1 under scenario s; P min GT , P max GT is the minimum and maximum output power of the gas turbine; R - GT , R + GT Provides downward and upward ramp power for the gas turbine.
[0174] Step 2.5: Establish the waste heat boiler constraints of the multi-energy load system with virtual energy storage:
[0175]
[0176] Where: PGB,s,t , P GB,s,t-1 are the output power of the waste heat boiler at time t and t-1 under scenario s; P min GB , P max GB is the minimum and maximum output power of the waste heat boiler; R - GB , R + GB It provides downward and upward climbing power for the waste heat boiler.
[0177] Step 2.6: Establish the waste heat recovery device constraints of the multi-energy load system with virtual energy storage:
[0178]
[0179] Where: P GH,s,t is the output power of the waste heat recovery device at time t under scenario s; It is the maximum output power of the waste heat recovery device.
[0180] Step 2.7: Establish demand response DR constraints for the multi-energy load system with virtual energy storage:
[0181]
[0182] Where: P + DR,s,t , P - DR,s,t are the increase and decrease of DR at time t in scenario s, respectively;
[0183] P +max DR , P -max DR are the maximum increase and maximum decrease of DR respectively.
[0184] Step 3: Under the operating constraints, solve the objective function, obtain the multi-energy load virtual energy storage day-ahead dispatch strategy and execute it.
[0185] Further preferably, according to the improved Nudibranch algorithm, under the constraints of the operation of the established multi-energy load system containing virtual energy storage equipment, the minimum value of the objective function is solved to obtain the minimum system operation cost of the power system, such as Figure 2 As shown, specifically:
[0186] Step 3.1: Population initialization, generating initial population individuals. Each individual in the population has a j-dimensional variable, which is the variable to be optimized in the objective function and constraint conditions. The variable value of each individual can be used to calculate an objective function value f through the objective function;
[0187] Step 3.2: Selection of exploration strategy type: set random numbers σ and σ1. If σ<σ1, go to step 3.3; otherwise, go to step 3.4.
[0188] Step 3.3: Select a foraging strategy or a storage strategy based on the exploration 1 strategy to update the position of the individuals in the population;
[0189] Step 3.4: Based on the exploration 2 strategy, select the strategy of finding storage areas or retrieving food to update the positions of individuals in the population;
[0190] Step 3.5: Perform greedy selection on the result after the position update;
[0191] Step 3.6: Calculate the fitness value according to the objective function. If it meets the termination condition, stop and get the optimal solution. Otherwise, jump to step 3.2 and increase the number of iterations k by 1.
[0192] Further preferably, the population initialization algorithm in step 3.1 is:
[0193]
[0194] in, is the j-th dimension variable of individual i at the k-th iteration, k is the current iteration number, and denote the lower and upper bounds of the j-th dimension variable, respectively. is a chaotic state random vector between [0,1], θ is the chaos parameter, which is 0.5, and D represents the number of problem dimensions, that is, the total number of variables.
[0195] The step 3.3 is specifically as follows:
[0196] Step 3.3.1: Exploration 1 strategy selects the algorithm used for position update:
[0197]
[0198] Among them, Eq. (22) represents the location update method for selecting the foraging strategy, Eq. (24) represents the location update method for selecting the storage strategy, P a1 is 0.2, is a [0,1] normally distributed random number, the algorithm is:
[0199]
[0200] Among them, erf -1 is the inverse Gaussian function, U n is a random number uniformly distributed between [0, 1].
[0201] That is, only one of the two strategies is selected for execution. The conversion between step 3.3.2 and step 3.3.3 is performed according to the above formula.
[0202] Step 3.3.2: Exploration 1 - Foraging Strategy:
[0203]
[0204] in, is the individual i at the k+1th iteration, γ is the random number generated by Levy flight, is the j-th dimension variable of individuals A, B, and C at the k-th iteration. A, B, and C are random individuals. τ1, τ2, r, and r1 are random numbers between [0,1]. X k m,j is the average value of the jth dimension, δ is 0.05, K max is the maximum number of iterations, u is a number randomly generated between a normally distributed random number, levy flight, and a random number. The algorithm is as follows:
[0205]
[0206] Where r2 and r3 are random numbers between [0,1].
[0207] Step 3.3.3: Exploration 1 - Storage Strategy:
[0208]
[0209] in, is the new position of individual i at the current iteration k+1, is the optimal individual at the kth iteration (the optimal individual refers to the individual that makes the objective function most consistent with the target), λ is the random number generated by levy flight, τ3 is a random number between [0,1], and l is a random linear decreasing factor from 1 to 0.
[0210] The step 3.4 is specifically as follows:
[0211] Step 3.4.1: Nutcracker performs the exploration 2 strategy, using two reference points RP as markers for a single reservoir area, which is also a set of solutions. These reference points can be represented by different equations:
[0212] Reference points:
[0213]
[0214] First layer reference point The algorithm is:
[0215]
[0216] in, It refers to the i-th individual of the k-th iteration, θ is a random number between [0,π], are individuals A and B at the kth iteration, where A and B are two different nutcracker individuals randomly selected from the population. is a randomly selected position vector, and the α algorithm is as follows:
[0217]
[0218] Second layer reference point algorithm:
[0219]
[0220] in, and are the upper and lower bounds of the j-th dimension variable, The algorithm is as follows:
[0221]
[0222] in, is a random vector between [0,1], P rp is a random probability that determines the percentage of other regions to explore globally within the search space.
[0223] Step 3.4.2: Select the algorithm for location update:
[0224]
[0225] Among them, Eq(33) indicates that the strategy of finding the storage area is selected for position update, and Eq(34) indicates that the strategy of retrieving food is selected for position update. is a normally distributed random number between [0,1], P a2 The value is 0.4 and the conversion between step 3.4.3 and step 3.4.4 is performed according to the above formula.
[0226] Step 3.4.3: Exploration 2 - Finding storage area strategy:
[0227]
[0228]
[0229]
[0230] in, is the j-th dimension variable of individual i at the k+1th iteration; r1, r2, τ3, τ4, τ5, τ6, τ7, τ8 are all random numbers between [0,1]; is the j-th dimension variable of the optimal individual at the k-th iteration; is the j-th dimension variable of individual C at the k-th iteration; Eq. (31) and Eq. (32) respectively represent the position update of population individuals using formulas (31) and (32).
[0231] Step 3.4.4: Exploration 2 - Food Retrieval Strategy:
[0232]
[0233] Among them, f() means substituting the individual position at this time into the objective function and selecting the individual position corresponding to the smaller objective function value;
[0234] In step 3.5, the greedy strategy selective retention algorithm is:
[0235]
[0236] The result of selecting a strategy is an iteration. After a strategy iteration, the objective function value corresponding to the solution (individual position) obtained after the iteration is compared with the objective function value corresponding to the solution before the iteration. Because the objective function takes the minimum value, the individual position corresponding to the relatively small objective function value is taken as the individual position finally obtained in this iteration.
[0237] Step 3.6, calculate the fitness value according to the objective function
[0238]
[0239] Where abs is the absolute value; for Substitute the value obtained by the objective function.
[0240] The termination condition is determined according to the fitness value:
[0241]
[0242] in, is the fitness value of individual i after k and k+1 iterations.
[0243] Embodiment 2 of the present invention provides a multi-energy load virtual energy storage day-ahead scheduling system, including:
[0244] An objective function building module is used to establish an objective function for the day-ahead scheduling of multi-energy load virtual energy storage by taking the minimum total operating cost of the multi-energy load system containing virtual energy storage equipment as the optimization goal;
[0245] A constraint condition building module, used to establish operating constraint conditions for the multi-energy load system containing the virtual energy storage device;
[0246] The day-ahead scheduling module is used to solve the objective function under the operating constraints, obtain the day-ahead scheduling strategy for multi-energy load virtual energy storage and execute it.
[0247] Embodiment 3 of the present invention provides a terminal, including a processor and a storage medium; the storage medium is used to store instructions; the processor is used to operate according to the instructions to execute the steps of the method.
[0248] Embodiment 4 of the present invention provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the method when executed by a processor.
[0249] Compared with the prior art, the beneficial effects of the present invention include at least:
[0250] (1) The present invention introduces relevant parameter constraints of virtual energy storage into the traditional multi-energy system optimization and scheduling process, realizes the unification of multi-energy virtual energy storage parameters, and makes the day-ahead optimization scheduling optimization model more practical.
[0251] (2) The present invention has a high exploration ability by simulating the searching, caching and recovery behaviors of the nutcracker during the foraging process, can avoid local optimum, and obtain high-quality optimization results with fast convergence speed, which better solves the problem of day-ahead optimization scheduling of virtual energy storage for multi-energy loads.
[0252] (3) When solving the objective function to obtain the multi-energy load virtual energy storage day-ahead scheduling strategy, the population initialization algorithm adopted by the present invention can avoid the phenomenon that the initial population is unevenly distributed due to randomness, and is prone to falling into a local optimal solution due to too many initial individuals in a certain area. The individuals initially generated can be distributed more evenly in the solution space, thereby improving the convergence speed and the reliability of the solution; the position update strategy selection method adopted makes the strategy selection more in line with the strategy selection law, which can increase the applicability of the strategy selection, thereby avoiding the local optimal solution and improving the search efficiency; the algorithm termination condition set can effectively increase the accuracy of the algorithm search solution and improve the optimization accuracy.
[0253] (4) The present invention can help the multi-energy load virtual energy storage system to achieve effective output of the day-ahead optimization scheduling strategy, and improve the flexibility and reliability of the coordinated interaction between the system and the power grid.
[0254] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.
[0255] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0256] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0257] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0258] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A multi-energy load virtual energy storage day-ahead scheduling method, characterized in that: The method comprises: Step 1: Taking the minimum total operating cost of the multi-energy load system containing virtual energy storage equipment as the optimization goal, establish the objective function of multi-energy load virtual energy storage day-ahead scheduling; Step 2: establishing operation constraints for the multi-energy load system including the virtual energy storage device; Step 3: Under the operating constraints, solve the objective function, obtain the multi-energy load virtual energy storage day-ahead dispatch strategy and execute it.
2. A method for day-ahead scheduling of multi-energy load virtual energy storage according to claim 1, characterized in that: In step 1, the minimum total operating cost of the multi-energy load system containing virtual energy storage equipment is taken as the optimization goal, and the objective function of the multi-energy load virtual energy storage day-ahead scheduling is established as: Where: f1 is the total operating cost of the multi-energy load system containing virtual energy storage equipment; s is the system operation scenario; S is the total number of system operation scenarios in a year; t is the system operation hours; T is the total hours in a day; C ΔPV,s,t , C R,s,t , C DR,s,t , C loss,s,t , C Grid,s,t , C Gas,s,t They are respectively the penalty cost for abandonment of photovoltaic power station at time t under scenario s, the fluctuation compensation cost considering virtual energy storage compensation, the load-side demand response DR calling fee, the system load loss penalty cost, the system electricity purchase cost and the system gas purchase cost.
3. According to claim 2, a method for day-ahead scheduling of multi-energy load virtual energy storage based on the Nudibranch algorithm is characterized by: C R,s,t The calculation formula is: Where: K R is the volatility compensation expense factor; P R,s,t is the fluctuating power that needs to be compensated for photovoltaic fluctuations at time t under scenario s P Rmax,s,t is the upper limit of the permissible PV power fluctuation at time t under scenario s; P B,s,t is the fluctuating power of photovoltaic output after virtual energy storage compensation at time t in scenario s; P ves,s,t Contribute to the virtual energy storage at time t in scenario s; P PV,s,t , P PV,s,t+1 They are the photovoltaic dispatching output at time t and time t+1 under scenario s respectively.
4. A multi-energy load virtual energy storage day-ahead scheduling method according to claim 2, characterized in that: Where: C + DR,s,t , C - DR,s,t are the costs of increasing and decreasing DR at time t under scenario s, respectively; P + DR,s,t , P - DR,s,t are the increase and decrease of DR at time t in scenario s, respectively.
5. A multi-energy load virtual energy storage day-ahead scheduling method according to claim 2, characterized in that: C Grid,s,t =μ Grid P Grid,s,t (5) Where: μ Grid represents the cost of purchasing electricity; P Grid,s,t Represents the purchased electricity power at time t under scenario s.
6. A multi-energy load virtual energy storage day-ahead scheduling method according to claim 2, characterized in that: C Gas,s,t =μ gas P gas,s,t (6) Where: μ gas represents the gas purchase cost; P gas,s,t Indicates the gas purchase power at time t under scenario s.
7. The method for day-ahead scheduling of multi-energy load virtual energy storage according to claim 1, characterized in that: In step 2, the operating constraints established for the multi-energy load system containing virtual energy storage equipment include: supply and demand balance constraints, virtual energy storage constraints, photovoltaic power station operation constraints, gas turbine constraints, waste heat boiler constraints, waste heat boiler constraints, waste heat recovery device constraints, and load-side demand response DR constraints, among which the supply and demand balance constraints include electric energy supply and demand balance constraints, thermal energy supply and demand balance constraints, and natural gas supply and demand balance constraints; the virtual energy storage constraints include virtual energy storage virtual charging and discharging power constraints, virtual energy storage virtual state of charge constraints, and virtual energy storage virtual charging / discharging balance constraints.
8. A method for day-ahead scheduling of multi-energy load virtual energy storage according to claim 7, characterized in that: The power supply and demand balance constraint is: Where: P PV,s,t is the PV dispatch output at time t under scenario s; P t Grid,s,t is the power purchased by the power grid at time t under scenario s; P loss,s,t is the system load loss power at time t under scenario s; P ves,s,t Contribute to the virtual energy storage at time t in scenario s; P EL,s,t is the user's electricity load demand at time t in scenario s; P + DR,s,t , P - DR,s,t are respectively the increase and decrease of DR at time t in scenario s.
9. A method for day-ahead scheduling of multi-energy load virtual energy storage according to claim 7, characterized in that: The heat supply and demand balance constraint is: Where: P GH,s,t Output power for waste heat recovery device; P GB,s,t Output power of waste heat boiler; P hcha ves,s,t , P hdis ves,s,t They are the virtual charge and discharge power of the electrothermal virtual energy storage device; P HL,s,t is the thermal load power at time t under scenario s; P QH,s,t is the thermal power abandonment at time t in scenario s.
10. A method for day-ahead scheduling of multi-energy load virtual energy storage according to claim 7, characterized in that: The natural gas supply and demand balance constraint is: P Q,s,t =P cGT,s,t +P cGB,s,t +P QL,s,t (10) Where: P Q,s,t is the total gas power consumed by the system at time t under scenario s; P cGT,s,t , P cGB,s,t They are the gas power used by the gas turbine and boiler at time t under scenario s; P QL,s,t is the gas load power at time t in scenario s.
11. A method for day-ahead scheduling of multi-energy load virtual energy storage according to claim 7, characterized in that: The virtual charging and discharging power constraints of virtual energy storage are: Where: P ves,s,t Contribute to the virtual energy storage at time t in scenario s; P min ves,s,t , P max ves,s,t are the lower and upper limits of the virtual energy storage output at time t in scenario s.
12. A method for day-ahead scheduling of multi-energy load virtual energy storage according to claim 7, characterized in that: The virtual state of charge constraint of virtual energy storage is: Among them: SOC ves,s,t is the virtual charge state of the virtual energy storage at time t under scenario s; It is the lower and upper limits of virtual energy storage virtual charge state.
13. A method for day-ahead scheduling of multi-energy load virtual energy storage according to claim 7, characterized in that: The virtual charge / discharge balance constraint of virtual energy storage is: Where: P ves (t) is the virtual charge / discharge power of virtual energy storage at time t; T is the total number of hours in a day.
14. A method for day-ahead scheduling of multi-energy load virtual energy storage according to claim 7, characterized in that: The load side demand response DR constraint is: Where: P + DR,s,t , P - DR,s,t are the increase and decrease of DR at time t in scenario s, respectively; P +max DR , P -max DR are the maximum increase and maximum decrease of DR respectively.
15. The method for day-ahead scheduling of multi-energy load virtual energy storage according to claim 1, characterized in that: In step 3, under the operating constraints, the objective function is solved to obtain the multi-energy load virtual energy storage day-ahead dispatching strategy. The specific process is as follows: Step 3.1: Population initialization, generating initial population individuals. Each individual in the population has a j-dimensional variable, which is the variable to be optimized in the objective function and constraint conditions. The variable value of each individual can calculate an objective function value through the objective function; Step 3.2: Set random numbers σ and σ1. If σ<σ1, go to step 3.3; otherwise, go to step 3.4; Step 3.3: Select a foraging strategy or a storage strategy based on the exploration 1 strategy to update the position of the individuals in the population; Step 3.4: Based on the exploration 2 strategy, select the strategy of finding storage areas or retrieving food to update the positions of individuals in the population; Step 3.5: Make a greedy selection on the result after the position update; Step 3.6: Calculate the fitness value according to the objective function. If it meets the termination condition, stop and get the optimal solution. Otherwise, jump to step 3.2 and increase the number of iterations k by 1.
16. A method for day-ahead scheduling of multi-energy load virtual energy storage according to claim 15, characterized in that: In step 3.1, the population initialization algorithm is as follows: in, is the j-th dimension variable of individual i at the k-th iteration, and denote the lower and upper bounds of the j-th dimension variable, respectively. is a chaotic state random vector between [0,1], θ is the chaos parameter, D represents the total number of variables, and N is the total number of individuals.
17. A method for day-ahead scheduling of multi-energy load virtual energy storage according to claim 15, characterized in that: Based on the exploration 1 strategy, a foraging strategy or a storage strategy is selected to update the position of the population individuals, as follows: Among them, Eq. (22) represents the selection of foraging strategy to update the position of population individuals, Eq. (24) represents the selection of storage strategy to update the position of population individuals, P a1 is 0.2; Based on the exploration 2 strategy, the strategy of finding storage areas or retrieving food is selected to update the positions of individuals in the population, as follows: Among them, Eq(33) represents the strategy of finding storage areas to update the positions of individuals in the population, Eq(34) represents the strategy of retrieving food to update the positions of individuals in the population, P a2 is 0.4; A random number in [0,1]: Among them, erf -1 is the inverse Gaussian function, U n is a random number uniformly distributed between [0, 1].
18. A method for day-ahead scheduling of multi-energy load virtual energy storage according to claim 15, characterized in that: In step 3.4, the strategy for finding the storage area is as follows: in, is the j-th dimension variable of individual i at the k+1, k-th iteration; r1, r2, τ3, τ4, τ5, τ6, τ7, τ8 are all random numbers between [0,1]; The first and second level reference points are used as markers for individual storage areas; is the j-th dimension variable of the optimal individual at the k-th iteration; is the j-th dimension variable of individual C at the k-th iteration; Eq.(31) and Eq.(32) respectively represent the position update of individuals in the population using formula (31) and (32).
19. A method for day-ahead scheduling of multi-energy load virtual energy storage according to claim 15, characterized in that: In step 3.6, the fitness value is calculated according to the objective function: Among them, abs means taking the absolute value; for Substitute the value obtained by the objective function; is the j-th dimension variable of individual i at the k-th iteration.
20. A method for day-ahead scheduling of multi-energy load virtual energy storage according to claim 15, characterized in that: In step 3.6, the termination condition is determined as: in, is the fitness value of individual i after k and k+1 iterations.
21. A multi-energy load virtual energy storage day-ahead dispatching system, using the method according to any one of claims 1 to 20, characterized in that: The system comprises: An objective function building module is used to establish an objective function for the day-ahead scheduling of multi-energy load virtual energy storage by taking the minimum total operating cost of the multi-energy load system containing virtual energy storage equipment as the optimization goal; A constraint condition building module, used to establish operating constraint conditions for the multi-energy load system containing the virtual energy storage device; The day-ahead scheduling module is used to solve the objective function under the operating constraints, obtain the day-ahead scheduling strategy for multi-energy load virtual energy storage and execute it.
22. A terminal, comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; The processor is configured to operate according to the instructions to execute the steps of the method according to any one of claims 1-20.
23. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 20 are implemented.
Citation Information
Cited By
Micro-grid virtual energy storage optimization operation method and system for multiple scenes
CN119029963A
