Multi-energy load virtual energy storage autonomous optimization method and system
By establishing the optimization objective function and operating constraints in the multi-energy load virtual energy storage system, and using the spider monkey optimization algorithm, the problem of low energy utilization in the multi-energy system is solved, and efficient autonomous optimization and cost reduction are achieved.
Patent Information
- Application Number
- CN202410648347.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2024-09-06
AI Technical Summary
In the existing technology, multi-energy coupling systems have low energy utilization and operating efficiency due to independent planning of each energy form, and there is a lack of efficient autonomous optimization methods for multi-energy load virtual energy storage systems.
The multi-energy load virtual energy storage autonomous optimization method is adopted to achieve multi-energy load virtualization by establishing an optimization objective function with the lowest total annual configuration cost of the multi-energy load system including virtual energy storage equipment, setting operating constraints and using the spider monkey optimization algorithm to solve Autonomous optimization of energy storage systems.
It improves the energy utilization and operating efficiency of the multi-energy load virtual energy storage system, reduces operating costs, and generates an efficient autonomous optimization strategy through global search capabilities and rapid convergence, avoiding local optimal solutions.
Smart Images

Figure CN118611076A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of autonomous optimization of multi-energy systems, and relates to a multi-energy load virtual energy storage autonomous optimization method and system. Background Art
[0002] With the large-scale access of renewable energy sources such as wind and light, the randomness of energy consumption behavior in various forms of energy such as electricity, gas, cold and heat on the user side has been continuously enhanced. The power system has gradually evolved into a multi-energy interconnected system with electricity as the core and highly integrated information and physics. How to use the flexible adjustment capability generated by multi-energy coupling to support the high proportion of renewable energy consumption and efficient utilization is not only an urgent need for the development of the current power system, but also an important goal of the new round of energy revolution. Internal autonomous optimization of the multi-energy coupling system can improve load elasticity and smooth load curves in the short term, has the ability to shift peaks and fill valleys, improve the stability and efficiency of system operation, and improve the level of interaction between the power grid and power users.
[0003] In the prior art, due to the presence of multiple energy forms such as electricity, gas, cold and heat in the system, each energy subsystem is planned and operated independently. Different energy supply systems, energy storage systems and energy users are difficult to coordinate in the operation of the energy system, resulting in low utilization rates of various energies and low efficiency of energy system operation, and poor economy. Multi-energy load systems usually establish a unified virtual energy storage model for multi-energy loads, but there is little research on the existing autonomous optimization methods of multi-energy load systems with virtual energy storage devices, and there is a lack of efficient autonomous optimization methods for multi-energy load virtual energy storage systems. Summary of the invention
[0004] In order to solve the deficiencies in the prior art, the present invention provides a multi-energy load virtual energy storage autonomous optimization method and system, which can efficiently realize the internal autonomous optimization of multi-energy load virtual energy storage, improve the energy utilization rate of the multi-energy load virtual energy storage system and the energy system operation efficiency, and reduce the operating cost.
[0005] The present invention adopts the following technical solution. A first aspect of the present invention provides a multi-energy load virtual energy storage autonomous optimization method, the method comprising:
[0006] Step 1: Taking the minimum total annual configuration cost of the multi-energy load system containing virtual energy storage equipment as the optimization goal, establish the multi-energy load virtual energy storage autonomous optimization objective function;
[0007] Step 2: establishing operation constraints for the multi-energy load system including the virtual energy storage device;
[0008] Step 3: Under the operating constraints, solve the multi-energy load virtual energy storage autonomous optimization objective function to obtain the multi-energy load virtual energy storage autonomous optimization strategy.
[0009] Preferably, in step 1, the minimum total annual configuration cost of the multi-energy load system containing virtual energy storage equipment is taken as the optimization goal, and the multi-energy load virtual energy storage autonomous optimization objective function established is:
[0010] minC total =C I +C E +C M +C EN +C FE (6)
[0011] Where: C total represents the total annual configuration cost of the multi-energy load system with virtual energy storage equipment; C I , C E , C M , C EN , C FE They are annual value of investment cost, energy purchase cost, operation and maintenance cost, environmental cost, and flexibility call cost.
[0012] Preferably, C I The calculation formula is:
[0013]
[0014] Where: r represents the annual interest rate; disc represents discrete equipment; dev represents continuous equipment; y disc ,y dev Represents the expected service life of discrete equipment and continuous equipment respectively; n disc Indicates the number of discrete devices; S disc , S dev Represents the single device capacity of discrete devices and continuous devices respectively; λ disc , dev Represents the single equipment capacity investment cost of discrete and continuous equipment respectively; δ disc , δ dev Binary variables representing discrete devices and continuous devices respectively, 0 represents device configuration, and 1 represents device unconfiguration, wherein the discrete devices and continuous devices include virtual energy storage devices.
[0015] Preferably, C E The calculation formula is:
[0016]
[0017] Where: d is the number of days the system is running, D is the total number of days in a year; T is the total number of hours in a day; μ e , μ g , μ h Respectively represent the cost of purchasing electricity, gas and heat; P te , P t g , P t h They respectively represent the purchased electricity power, gas power and heat power at time t.
[0018] Preferably, C EN The calculation formula is:
[0019]
[0020] Where: j represents the environmental penalty cost of the j-th type of emissions; γ j e , γ j g , γ j h represents the emission of the jth type of emissions generated by unit electric power, natural gas power, and thermal power respectively; P t e , P t g , P t h They represent the electricity, gas and heat power purchased at time t respectively; D is the total number of days in a year; T is the total number of hours in a day; J represents the total number of emission types.
[0021] Preferably, in step 2, the operating constraints established for the multi-energy load system containing virtual energy storage equipment include: flexibility supply and demand matching index constraints, power balance constraints, output upper and lower limit constraints, virtual energy storage constraints and flexibility supply and demand balance constraints.
[0022] Preferably, the flexibility supply and demand matching index constraint is:
[0023] FSD ≥ FSD m (7)
[0024]
[0025]
[0026]
[0027] Where: FSD represents the flexibility supply and demand matching coefficient, FSD m represents the threshold of the flexibility supply-demand matching coefficient; f t , P t They represent the total flexibility supply that can be provided by each energy supply device in the system at time t and the total flexibility demand in the multi-energy coupling system; f t-1 , P t-1They represent the total flexibility supply that can be provided by each energy supply device in the system at time t-1 and the total flexibility demand in the multi-energy coupling system;
[0028] P t NL.U , P t NL.D They represent the upward and downward flexibility demands of the net load in the coupled system at time t; f i,m,t U 、f i,m,t D They represent the total upward and downward flexibility that can be provided by the i-th unit of the m-th type of equipment in the system at time t; T is the total number of hours in a day; Δt is the time interval; M represents the total number of equipment types; I represents the total number of units; μ (α / 2) Indicates confidence, Represents the predicted standard deviation of the net load at time t.
[0029] Preferably, the power balance constraint is:
[0030]
[0031] Where: P t e represents the power purchased at time t; n PV represents the photovoltaic power generation efficiency, represents the photovoltaic power generation power at time t under power generation efficiency a; n WT represents the wind turbine power generation efficiency, represents the wind turbine power generation at time t under power generation efficiency a; n GT represents the power generation efficiency of the gas turbine, P represents the power generation of the gas turbine at time t under power generation efficiency a; t ESE.C represents the charging power of the energy storage device at time t, P t ESE.D represents the discharge power of the storage device at time t; P t eL represents the electric load power at time t; n GB Indicates the heating efficiency of gas boiler;
[0032] represents the heating power of the gas boiler at time t under the charging efficiency b; n WHB Indicates the heating efficiency of the waste heat boiler, represents the heating power of the waste heat boiler at time t under the charging efficiency b; n HE Indicates the heat absorption efficiency of the heat exchange equipment. represents the heat absorption power of the heat exchange equipment at time t under the heat efficiency b, n AC Indicates the heat absorption or cooling efficiency of the absorption refrigerator. P represents the heat absorption power of the absorption refrigerator at time t under the heat efficiency b; t TSE .C represents the charging power of the heat storage device at time t; P t TSE.D It represents the heat release power of the heat storage device at time t; represents the heat load power at time t;
[0033] represents the cooling power of the electric refrigerator at time t under the cooling efficiency of d; n EC It indicates the refrigeration efficiency of absorption chiller; P represents the cooling power of the absorption chiller at time t under the cooling efficiency of d; t CSE.C P represents the charging power of the cold storage equipment at time t; t CSE.D represents the cooling power of the cold storage equipment at time t, P t cL Indicates cooling load power.
[0034] Preferably, the virtual energy storage constraint is:
[0035]
[0036] Where: VES Represents the self-discharge rate of the virtual energy storage device; η VES.C , η VES.D They represent the charging and discharging efficiency of the virtual energy storage device respectively; T is the total number of hours in a day; They represent the energy stored in the virtual energy storage device at time t and t-1 respectively; They represent the charging and discharging power of the virtual energy storage device at time t; f VES.U 、f VES.D They represent the upward and downward flexibility supply reserved by the virtual energy storage device respectively; E VES.max 、E VES.min Respectively represent the upper and lower thresholds of the energy stored in the virtual energy storage device; P VES.C.max , P VES.D.max Respectively represent the upper limits of charging and discharging power of virtual energy storage devices; τ t VES ∈{0,1},τ t VES Taking 0 to represent the charging state of the virtual energy storage device, τ t VES The value 1 represents the discharge state.
[0037] Preferably, the flexibility supply and demand balance constraint is:
[0038]
[0039] Where: M represents the total number of equipment types; I represents the total number of units; f i,m,t U 、f i,m,t D They represent the total upward and downward flexibility supply that can be provided by the i-th unit of the m-th equipment in the system at time t; P t U , P t D They represent the upward and downward flexibility requirements in the system at time t; P t e.f It represents the additional amount of electricity purchased from the upstream grid to meet the flexibility demand at time t.
[0040] Preferably, in step 3, under the operating constraints, the multi-energy load virtual energy storage autonomous optimization objective function is solved to obtain the multi-energy load virtual energy storage autonomous optimization strategy as follows:
[0041] Step 3.1: Set the spider monkey population parameters, including the population size N and the problem dimension D, and use them to set the maximum number of groups MG, the global leader limit GLL and the local leader limit LLL, randomly group the spider monkeys, and set the perturbation rate pr;
[0042] Step 3.2: Initialize the spider monkey population, and calculate the fitness of the spider monkeys based on the objective function under the operating constraints, thereby identifying the global and local leaders in the population;
[0043] Step 3.3: The local leader leads the spider monkey group to update their positions;
[0044] Step 3.4: The global leader leads the spider monkey position update;
[0045] Step 3.5: Global leader learning: Find the optimal solution for the entire group. The optimal spider monkey is considered to be the global leader of the new group. Check the position of the global leader. If there is no update relative to the previous global leader, then the corresponding global limit count GLC is increased by 1, otherwise the corresponding GLC is set to 0.
[0046] Step 3.6: Local leader learning: greedily select members in the group to update the position of the local leader. If the local leader position is not updated relative to the previous local leader position, the corresponding local limit count LLC is increased by 1, otherwise the corresponding LLC is set to 0;
[0047] Step 3.7: Local leader decision: If the local limit count LLC of a local leader of a group reaches LLL, all spider monkeys in the group use the experience of the global leader to update the positions of all spider monkeys in the group; if LLC is greater than LLL, LLC is set to 0 and the position of the group of spider monkeys is updated again;
[0048] Step 3.8: Global leader decision: If the global limit count GLC reaches GLL, then GLC is reset to zero, and the group is divided into smaller groups or the groups are merged into a unit group: compare the number of groups into which the current group is divided with the maximum number of groups MG. If the existing number of groups is less than the maximum number of groups, then the global leader further groups, otherwise a single parent group is formed by combining;
[0049] Step 3.9: If the termination condition is met, stop and take the global leader position as the optimal solution, otherwise jump to step 3.3.
[0050] Preferably, step 3.2 specifically includes:
[0051] Step 3.2.1: Generate an initial population of N spider monkeys:
[0052]
[0053] Among them, SM xy represents the y-th variable of the x-th spider monkey in the population, SM min y and SM max y are the lower and upper bounds of the y-th dimension in the search space, Z(0,1) z is the (0,1) random number of the zth chaotic state distribution, Z(0,1) z+1 is the (0,1) random number of the z+1th chaotic state distribution, z=1,2,…,N, θ is the chaos parameter;
[0054] Step 3.2.2: Calculate the fitness of the spider monkey based on the objective function:
[0055]
[0056] Among them, f x is the objective function; fit x is the fitness of the x-th spider monkey, abs(·) is the absolute value function;
[0057] Step 3.2.3: Identify local leaders and global leaders through fitness: the one with the highest fitness among all spider monkeys is the global leader, and the one with the highest fitness in each group of spider monkeys is the local leader.
[0058] Preferably, in step 3.3, the method of updating the position through the local leader is:
[0059] First, a chaotically distributed (0,1) random number Z(0,1) is generated for the spider monkeys in the group. z new1 , if it is higher than the disturbance rate pr, then this spider monkey will not be updated and the next spider monkey in the group will be moved to; otherwise, formula (21) will be used for updating. If the fitness value of the updated spider monkey is fit x If it is higher than before the update, update its position, otherwise do not update the position and move to the next spider monkey in the group;
[0060] SMnew xy =SM xy +Z(0,1) z new1 ×(LL ky -SM xy )+U(-1,1)×(SM ry -SM iy ) (twenty one)
[0061] Among them, Smnew xy is the updated y-th dimension variable of the x-th spider monkey, SM xy represents the y-th variable of the x-th spider monkey in the group, LL ky represents the y-th dimension variable of the local leader of the k-th group, k∈[1,MG], SM ry is the y-th dimension variable of a spider monkey randomly selected from the r-th group, and r≠x, U(-1,1) is a random number uniformly distributed in the range (-1,1), and Z(0,1) z new1 is a (0,1) random number distributed in a chaotic state.
[0062] Preferably, in step 3.4, the global leader leads the spider monkey to update its position in the following manner:
[0063] Calculate the probability prob of each spider monkey being selected for position update during the leadership phase of the global leader x for:
[0064]
[0065] Where 1≤η max ≤2 is the maximum selection parameter, η min =2-η max Select parameters for minimum;
[0066] Generate a chaotically distributed (0,1) random number Z(0,1) for the spider monkey z new2, if it is higher than the probability prob x , then the position of the spider monkey will not be updated during the global leader leadership phase, and the next spider monkey will be moved to; otherwise, the position of the global leader leadership phase will be updated. If the updated spider monkey fitness value is fit x If it is higher than before the update, update its position, otherwise do not update the position and go to the next spider monkey.
[0067] Preferably, the position update formula of the global leader in the leadership phase is:
[0068] SMnew xy =SM xy +Z(0,1) z new2 ×(GL y -SM xy )+U(-1,1)×(SM ry -SM xy ) (twenty three)
[0069] Among them, GL y is the position of the global leader on the y-th dimension variable, Smnew xy is the updated y-th dimension variable of the x-th spider monkey, SM xy represents the y-th variable of the x-th spider monkey in the population, SM ry is the y-th dimension variable of a spider monkey randomly selected from the r-th group, U(-1,1) is a random number uniformly distributed in the range (-1,1), and Z(0,1) z new2 is a (0,1) random number distributed in a chaotic state.
[0070] Preferably, in step 3.7, the spider monkey position update formula is:
[0071] SMnew xy =SM xy +Z(0,1) z new3 ×(GL y -SM xy )+Z(0,1) z new4 ×(SM ry -LL ky ) (twenty four)
[0072] Among them, Smnew xy is the updated y-th dimension variable of the x-th spider monkey, SM xy Represents the y-th dimension variable of the x-th spider monkey in the group, Z(0,1) z new3 、Z(0,1) znew4 are all (0,1) random numbers distributed in a chaotic state, GL y is the position of the global leader on the y-th dimension variable, SM ry is the yth dimension of a randomly selected spider monkey from the rth group, LL ky Represents the y-th dimension variable of the k-th group of local leaders.
[0073] The second solution of the present invention provides a multi-energy load virtual energy storage autonomous optimization system, comprising:
[0074] An objective function building module is used to establish an autonomous optimization objective function of multi-energy load virtual energy storage by taking the minimum total annual configuration cost of the multi-energy load system containing virtual energy storage equipment as the optimization objective;
[0075] A constraint condition building module, used to establish operating constraint conditions for the multi-energy load system containing the virtual energy storage device;
[0076] The autonomous optimization module is used to solve the multi-energy load virtual energy storage autonomous optimization objective function under the operating constraints and obtain the multi-energy load virtual energy storage autonomous optimization strategy.
[0077] 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.
[0078] A computer-readable storage medium stores a computer program, which implements the steps of the method when executed by a processor.
[0079] Compared with the prior art, the beneficial effects of the present invention include at least:
[0080] (1) The present invention introduces relevant parameter constraints of virtual energy storage devices in the traditional multi-energy system optimization process, takes into account the supply and demand of various types of energy in the system, and establishes a multi-energy load virtual energy storage autonomous optimization objective function that is more in line with the actual multi-energy load system containing virtual energy storage devices. It can achieve coordination and balance between different energy sources, and effectively optimize and dispatch virtual energy storage in a unified manner in the multi-energy system, thereby improving the energy utilization efficiency and reliability of the system.
[0081] (2) The algorithm for solving the autonomous optimization objective function of multi-energy load virtual energy storage of the present invention has strong global search capability and fast convergence, which improves the search capability of the optimal solution of the optimization objective and can efficiently generate the autonomous optimization strategy of the multi-energy load virtual energy storage system; it can effectively avoid the phenomenon that the initial spider monkey population is unevenly distributed due to randomness, and avoid falling into the local optimal solution due to too many initial spider monkeys in a certain area, and can make the initially generated spider monkey population more evenly distributed in the solution space, thereby improving the convergence speed and reliability of the solution; the global leader stage can better take into account the ranking position of the spider monkey in the population when it is selected, so as to facilitate the selection of a spider monkey solution set that is more in line with the optimization objective and improve the convergence speed of the algorithm. BRIEF DESCRIPTION OF THE DRAWINGS
[0082] Figure 1 A flow chart of the multi-energy load virtual energy storage autonomous optimization method provided by the present invention;
[0083] Figure 2 This is a flow chart of the spider monkey optimization algorithm of the present invention. DETAILED DESCRIPTION
[0084] 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.
[0085] like Figure 1 As shown, Embodiment 1 of the present invention provides a multi-energy load virtual energy storage autonomous optimization method. In a multi-energy system containing multiple energy couplings such as electricity, cold, heat, and gas, in order to establish the equipment as a virtual energy storage model with unified parameters, the internal autonomous optimization control of the system is performed to calculate the autonomous optimization strategy, realize the coordination of the energy supply system, the energy storage system, and the energy user, realize the unified optimization control of the energy equipment, and achieve the optimization configuration goal with the lowest total configuration cost. Specifically, the method includes the following steps:
[0086] Step 1: Taking the minimum total annual configuration cost of the multi-energy load system containing virtual energy storage equipment as the optimization goal, establish the multi-energy load virtual energy storage autonomous optimization objective function;
[0087] Further preferably, the annual configuration total cost of the multi-energy load system containing virtual energy storage equipment is minimized as the optimization goal, and an objective function is established, which is as follows:
[0088] Step 1.1, establish the investment cost function of the multi-energy load system containing virtual energy storage equipment:
[0089]
[0090] Where: r represents the annual interest rate; disc represents discrete equipment; dev represents continuous equipment; y disc ,y dev Represents the expected service life of discrete equipment and continuous equipment respectively; n disc Indicates the number of discrete devices; S disc , S dev Represents the single device capacity of discrete devices and continuous devices respectively; λ disc , dev Represents the single equipment capacity investment cost of discrete and continuous equipment respectively; δ disc , δ dev Binary variables representing discrete devices and continuous devices respectively, 0 represents device configuration, and 1 represents device unconfiguration, wherein the discrete devices and continuous devices include virtual energy storage devices.
[0091] Step 1.2: Establish the energy purchase cost function of the multi-energy load system with virtual energy storage equipment:
[0092]
[0093] Where: d is the number of days the system is running, D is the total number of days in a year; T is the total number of hours in a day; μ e , μ g , μ h Respectively represent the cost of purchasing electricity, gas and heat; P t e , P t g , P t h They respectively represent the purchased electricity power, gas power and heat power at time t.
[0094] Step 1.3: Establish the operation and maintenance cost function of the multi-energy load system with virtual energy storage equipment:
[0095]
[0096] Where: m represents the device type; represents the operating cost of the i-th unit of the m-th equipment; P i,m , t represents the operating power of the i-th unit of the m-th equipment at time t.
[0097] Step 1.4: Establish the environmental cost function of the multi-energy load system with virtual energy storage equipment:
[0098]
[0099] Where: jrepresents the environmental penalty cost of the j-th type of emissions; γ j e , γ j g , γ j h represents the emission of the jth type of emissions generated by unit electric power, natural gas power, and thermal power respectively; P t e , P t g , P t h They represent the electricity, gas and heat power purchased at time t respectively; D is the total number of days in a year; T is the total number of hours in a day; J represents the total number of emission types.
[0100] Step 1.5: Establish the flexibility call cost of the multi-energy load system with virtual energy storage equipment:
[0101]
[0102] Where: μ i,m f.dis , μ i,m dev represents the flexibility resource call cost of the i-th unit of the m-th discrete equipment and continuous equipment respectively; f i,m,t dis 、f i,m,t dev They respectively represent the flexibility resource calling power of the i-th unit of the m-th discrete equipment and continuous equipment at time t.
[0103] Step 1.6: Establish the objective function:
[0104] minC total =C I +C E +C M +C EN +C FE (6)
[0105] Where: C total It represents the total annual configuration cost of the multi-energy load system including virtual energy storage equipment;
[0106] C I , C E , C M , C EN , C FE They represent the annual value of investment cost, energy purchase cost, operation and maintenance cost, environmental cost, and flexibility call cost respectively.
[0107] Step 2: establishing operation constraints for the multi-energy load system including the virtual energy storage device;
[0108] Further preferably, for the multi-energy load system containing the virtual energy storage device, power system operation constraint conditions are established, specifically:
[0109] Step 2.1: Establish the flexibility supply and demand matching index constraints of the multi-energy load system with virtual energy storage:
[0110] FSD ≥ FSD m (7)
[0111] Among them: FSD flexibility supply and demand matching coefficient, FSD m It represents the threshold of the flexibility supply-demand matching coefficient, that is, the expected flexibility supply-demand matching level when optimizing the coupled system.
[0112] The calculation formula of the flexible supply and demand matching index FSD is:
[0113]
[0114]
[0115]
[0116] Where: f t , P t They represent the total flexibility supply that can be provided by each energy supply device in the system at time t and the total flexibility demand in the multi-energy coupling system;
[0117] f t-1 , P t-1 They represent the total flexibility supply that can be provided by each energy supply device in the system at time t-1 and the total flexibility demand in the multi-energy coupling system;
[0118] P t NL.U , P t NL.D They represent the upward and downward flexibility demands of the net load in the coupled system at time t, respectively;
[0119] They represent the upward and downward flexibility supply that can be provided by the i-th unit of the m-th equipment in the system at time t respectively;
[0120] T is the total number of hours in a day; Δt is the time interval; M is the total number of equipment types; I is the total number of units;
[0121] μ (α / 2) Indicates confidence, Represents the predicted standard deviation of the net load at time t.
[0122] Step 2.2: Establish the power balance constraints of the multi-energy load system with virtual energy storage:
[0123]
[0124] Where: P t e represents the power purchased at time t; n PV represents the photovoltaic power generation efficiency, represents the photovoltaic power generation power at time t under power generation efficiency a; n WT represents the wind turbine power generation efficiency, represents the wind turbine power generation at time t under power generation efficiency a; n GT represents the power generation efficiency of the gas turbine, P represents the power generation of the gas turbine at time t under power generation efficiency a; t ESE.C represents the charging power of the energy storage device at time t, P t ESE.D represents the discharge power of the storage device at time t; P t eL represents the electric load power at time t; n GB Indicates the heating efficiency of gas boiler;
[0125] represents the heating power of the gas boiler at time t under the charging efficiency b; n WHB Indicates the heating efficiency of the waste heat boiler, represents the heating power of the waste heat boiler at time t under the charging efficiency b; n HE Indicates the heat absorption efficiency of the heat exchange equipment. represents the heat absorption power of the heat exchange equipment at time t under the heat efficiency b, n AC Indicates the heat absorption or cooling efficiency of the absorption refrigerator. P represents the heat absorption power of the absorption refrigerator at time t under the heat efficiency b; t TSE.C represents the charging power of the heat storage device at time t; P t TSE.D It represents the heat release power of the heat storage device at time t; represents the heat load power at time t;
[0126] represents the cooling power of the electric refrigerator at time t under the cooling efficiency of d; n EC It indicates the refrigeration efficiency of absorption chiller; P represents the cooling power of the absorption chiller at time t under the cooling efficiency of d; t CSE.C P represents the charging power of the cold storage equipment at time t; t CSE.D represents the cooling power of the cold storage equipment at time t, P t cLIndicates cooling load power.
[0127] Step 2.3: Establish the upper and lower output constraints of the multi-energy load system with virtual energy storage:
[0128]
[0129]
[0130] Where: P m,t max represents the maximum output power of the mth device at time t; τ i,m,t Represents the start and stop status of the device, 1 means the device is in the start state, 0 means the device is in the stop state; m min , δ m max Represent the minimum and maximum power factors of the mth device respectively.
[0131] Step 2.4: Establish virtual energy storage constraints for the multi-energy load system with virtual energy storage:
[0132]
[0133] Where: VES Represents the self-discharge rate of the virtual energy storage device; η VES.C , η VES.D They represent the charging and discharging efficiency of the virtual energy storage device respectively; T is the total number of hours in a day; They represent the energy stored in the virtual energy storage device at time t and t-1 respectively; They represent the charging and discharging power of the virtual energy storage device at time t; f VES .U、f VES.D They represent the upward and downward flexibility supply reserved by the virtual energy storage device respectively; E VES.max 、E VES.min Respectively represent the upper and lower thresholds of the energy stored in the virtual energy storage device; P VES.C.max , P VES.D.max Respectively represent the upper limits of charging and discharging power of virtual energy storage devices; τ t VES ∈{0,1},τ t VES Taking 0 to represent the charging state of the virtual energy storage device, τ t VES The value 1 represents the discharge state.
[0134] The addition of virtual energy storage device constraints is the main difference between the present invention and other system optimization constraints, but the selection of traditional system optimization functions and constraints is also different. The selection composition of the present invention is also one of the improvements. The virtual energy storage device includes all energy conversion devices in formula (11). That is, the virtual energy storage device refers to the gas turbine, waste heat boiler, refrigerator, etc. in formula (11) can be used as a virtual energy storage device, so the parameters in this constraint are in an inclusive relationship with the parameters in formula (11).
[0135] Step 2.5: Establish the flexibility supply and demand balance constraints of the multi-energy load system with virtual energy storage:
[0136]
[0137] Where: f i,m,t U 、f i,m,t D They represent the total upward and downward flexibility supply that can be provided by the i-th unit of the m-th equipment in the system at time t; P t U , P t D They represent the upward and downward flexibility requirements in the system at time t; P t e.f It represents the additional amount of electricity purchased from the upstream grid to meet the flexibility demand at time t.
[0138] Step 3: Under the operating constraints, solve the multi-energy load virtual energy storage autonomous optimization objective function to obtain the multi-energy load virtual energy storage autonomous optimization strategy.
[0139] Further preferably, according to the improved spider monkey optimization algorithm of the present invention, under the operating constraints of the established multi-energy load system containing virtual energy storage equipment, the minimum value of the objective function is solved to obtain an autonomous optimization strategy for the minimum annual configuration total cost of the power system, such as Figure 2 As shown, specifically:
[0140] Step 3.1: Set the spider monkey population parameters, including the population size N, the problem dimension D, and use them to set the maximum number of groups MG, the global leader limit GLL, and the local leader limit LLL, randomly group the spider monkeys, and set the perturbation rate pr;
[0141] Step 3.1.1: Set the population size N, which represents the selection space of the optimal solution, that is, the number of initial spider monkeys. The spider monkey finally selected is the optimal solution of the objective function; determine the problem dimension D according to the operating constraints, which represents the number of variables in the constraint function, and randomly group the spider monkeys;
[0142] Step 3.1.2: Set the maximum number of groups MG:
[0143] MG=N / 10 (16)
[0144] Step 3.1.3: Set the global leader limit GLL:
[0145] GLL∈[N / 2,2N] (17)
[0146] Step 3.1.4: Set the local leader limit LLL:
[0147] LLL=D*N (18)
[0148] Step 3.1.5: Set the perturbation rate pr∈[0.1,0.8].
[0149] Step 3.2: Initializing a spider monkey population based on the spider monkey population parameters, and calculating the fitness of the spider monkeys based on the objective function under the operating constraints, thereby identifying the global and local leaders in the population;
[0150] Step 3.2.1: Initialization, generate an initial group of N spider monkeys:
[0151]
[0152] Among them, SM xy represents the y-th variable of the x-th spider monkey in the population, SM min y and SM max y are the lower and upper bounds of the y-th dimension in the search space, Z(0,1) z is the (0,1) random number of the zth chaotic state distribution, Z(0,1) z+1 is the (0,1) random number of the z+1th chaotic state distribution, z=1,2,…,N, θ is the chaos parameter, which is generally 4;
[0153] The random numbers generated by chaotic mapping can effectively avoid the phenomenon that the initial spider monkey population is unevenly distributed due to randomness, which can easily lead to falling into the local optimal solution due to too many initial spider monkeys in a certain area. Chaotic initialization can make the initially generated spider monkey population more evenly distributed in the solution space, thereby improving the convergence speed and the reliability of the solution. The following (0,1) random numbers can be regenerated from this, and a new set of random numbers can be obtained by simply reselecting an initial value.
[0154] Step 3.2.2: Calculate the fitness based on the objective function to match the optimization situation with the minimum objective function value above:
[0155]
[0156] Among them, f x is the objective function; f x The spider monkey population is sorted by the size of x, where x is the position number of the spider monkey in the sequence; fit x is the fitness of the x-th spider monkey, and abs(·) is the absolute value.
[0157] Step 3.2.3: Identify the local leader and the global leader by fitness: the one with the highest fitness among all spider monkeys is the global leader, and the one with the highest fitness in each group of spider monkeys is the local leader;
[0158] Step 3.3: The local leader leads the spider monkey group to update their positions;
[0159] The way to update the position through the local leader is:
[0160] First, generate a new (0,1) random number Z(0,1) for the spider monkeys in the group z new1 , if it is higher than the disturbance rate pr, then this spider monkey will not be updated and the next spider monkey in the group will be moved to; otherwise, formula (21) will be used for updating. If the fitness value of the updated spider monkey is fit x If it is higher than before the update, update its position, otherwise do not update the position and move to the next spider monkey in the group
[0161] SMnew xy =SM xy +Z(0,1) z new1 ×(LL ky -SM xy )+U(-1,1)×(SM ry -SM iy ) (twenty one)
[0162] Among them, Smnew xy is the updated y-th dimension variable of the x-th spider monkey, SM xy represents the y-th variable of the x-th spider monkey in the group, LL ky represents the yth dimension of the kth group of local leaders identified in step 3.2.3 (that is, updated with the leader obtained in 3.2, k means that each group will be updated in turn), k∈[1,MG], SM ry is the y-th dimension of a randomly selected spider monkey from the r-th group (used to help update the position, and this spider monkey is not the spider monkey to be updated itself), and r≠x, U(-1,1) is a random number uniformly distributed in the range of (-1,1), and Z(0,1) z new1 is a set of new (0,1) random numbers generated by reselecting the initial value through the second formula of formula (19);
[0163] It is understandable that each spider monkey in this group updates its position according to the local leader. From the perspective of solving the problem, position update means updating the various solutions that make up a spider monkey solution set. SMxy is a solution of a spider monkey solution set, and then this value is updated through the formula to see if the goal of minimizing the objective function can be achieved.
[0164] Step 3.4: The global leader leads the spider monkey position update;
[0165] Step 3.4.1: Global leader phase The probability of each spider monkey being selected for position update is:
[0166]
[0167] Among them, prob x is the probability of each spider monkey being selected for position update in the global leader phase, 1≤η max ≤2 is the maximum selection parameter, η min =2-η max Select the parameter for minimum.
[0168] Fitness selection by sorting spider monkey groups can better take into account the ranking position of spider monkeys in the population when they are selected, making it easier to select a spider monkey solution set that better meets the optimization goal and improve the convergence speed of the algorithm.
[0169] Step 3.4.2: The spider monkey uses the knowledge of the global leader, the experience of the neighboring spider monkeys SM and its own persistence to update its position. The position update is performed through the global leader (update each spider monkey according to the position of the global leader) as follows:
[0170] First, generate a random number Z(0,1) for the spider monkey z new2 , if it is higher than the probability of selection prob x , then do not update the global leader for this spider monkey and move on to the next one; otherwise, use formula (23) to update. If the updated spider monkey fitness value is fit x If it is higher than before the update, update its position, otherwise do not update the position and move to the next one.
[0171] SMnew xy =SM xy +Z(0,1) z new2 ×(GL y -SM xy )+U(-1,1)×(SM ry -SM xy ) (twenty three)
[0172] Among them, GL y is the position of the global leader in the yth dimension (the position where the global leader leads all spider monkeys to update, the global leader does not move, and helps other updates. The above local leader updates are also like this within the group), Smnew xy is the updated y-th dimension of the x-th spider monkey, SM xy represents the yth dimension of the xth spider monkey in the group, SM ry is the y-th dimension of a randomly selected spider monkey from the r-th group, U(-1,1) is a random number uniformly distributed in the range (-1,1), and Z(0,1) z new2 is a set of new (0,1) random numbers generated by reselecting the initial value through the second formula of formula (19);
[0173] It can be understood that the local leader and the global leader help the spider monkey to update, the local leader can help find the local optimal solution, the global leader can help find the global optimal solution, and the final global leader is the optimized solution.
[0174] After the above steps have updated the position of each spider monkey, both the global leader and the local leader may change, and a new leader is found, thus performing the following global leader learning and local leader learning.
[0175] Step 3.5: Global leader learning: find the optimal solution for the entire group (the solution that best meets the optimization goal). The optimal spider monkey is considered to be the global leader of the new group. Check the position of the global leader. If there is no update relative to the previous global leader, the corresponding global limit count GLC will be increased by 1, otherwise GLC will be set to 0;
[0176] Step 3.6: Local leader learning: greedily select members in the group to update the position of the local leader. If the local leader position is not updated relative to the previous local leader position, the corresponding local limit count LLC will be increased by 1, otherwise LLC is set to 0;
[0177] Step 3.7: Local leader decision: If the local limit count LLC of a group's local leader reaches the set LLL, that is, the group's local leader has not been updated for LLL iterations, then all members of the group use the experience of the global leader to update the positions of all members of the group:
[0178] SMnew xy =SM xy +Z(0,1) z new3 ×(GL y -SMxy )+Z(0,1) z new4 ×(SM ry -LL ky )(twenty four)
[0179] If LLC is greater than LLL, LLC is set to 0, and the position of the group of spider monkeys is updated again according to formula (24); that is, the position may not change after the local update, so it is updated again through the global leader to prevent falling into the local optimal solution;
[0180] Among them, Smnew xy is the updated y-th dimension of the x-th spider monkey, SM xy represents the yth dimension of the xth spider monkey in the group, Z(0,1) z new3 、Z(0,1) z new4 is a set of new (0,1) random numbers generated by reselecting the initial value through formula (19), GL y is the position of the global leader in the yth dimension, SM ry is the yth dimension of a randomly selected spider monkey from the rth group, LL ky Represents the y-th dimension of the k-th group of local leaders.
[0181] Step 3.8: Global leader decision: If the global limit count GLC reaches the set global limit count GLL, then GLC is reset to zero, and the group is divided into smaller groups or the groups are merged into a unit group: compare the number of groups into which the current group is divided with the predefined maximum number of groups MG. If the existing number of groups is less than the predefined maximum number of groups, the global leader will further group, otherwise a single parent group is formed by combining;
[0182] Step 3.9: If the termination condition is met, stop and take the global leader position as the optimal solution, otherwise jump to step 3.3.
[0183] Embodiment 2 of the present invention provides a multi-energy load virtual energy storage autonomous optimization system, including:
[0184] An objective function building module is used to establish an autonomous optimization objective function of multi-energy load virtual energy storage by taking the minimum total annual configuration cost of the multi-energy load system containing virtual energy storage equipment as the optimization objective;
[0185] A constraint condition building module, used to establish operating constraint conditions for the multi-energy load system containing the virtual energy storage device;
[0186] The autonomous optimization module is used to solve the multi-energy load virtual energy storage autonomous optimization objective function under the operating constraints and obtain the multi-energy load virtual energy storage autonomous optimization strategy.
[0187] 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.
[0188] 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.
[0189] Compared with the prior art, the beneficial effects of the present invention include at least:
[0190] (1) The present invention introduces relevant parameter constraints of virtual energy storage devices in the traditional multi-energy system optimization process, takes into account the supply and demand of various types of energy in the system, and establishes a multi-energy load virtual energy storage autonomous optimization objective function that is more in line with the actual multi-energy load system containing virtual energy storage devices. It can achieve coordination and balance between different energy sources, and effectively optimize and dispatch virtual energy storage in a unified manner in the multi-energy system, thereby improving the energy utilization efficiency and reliability of the system.
[0191] (2) The algorithm for solving the autonomous optimization objective function of multi-energy load virtual energy storage of the present invention has strong global search capability and fast convergence, which improves the search capability of the optimal solution of the optimization objective and can efficiently generate the autonomous optimization strategy of the multi-energy load virtual energy storage system; it can well avoid the phenomenon that the initial spider monkey population is unevenly distributed due to randomness, and it is easy to fall into the local optimal solution due to too many initial spider monkeys in a certain area, and can make the initially generated spider monkey population more evenly distributed in the solution space, thereby improving the convergence speed and reliability of the solution; the global leader stage can better take into account the ranking position of the spider monkey in the population when it is selected, so as to facilitate the selection of the spider monkey solution set that is more in line with the optimization objective and improve the convergence speed of the algorithm.
[0192] 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.
[0193] 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.
[0194] 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.
[0195] 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.
[0196] 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 autonomous optimization method, characterized in that: The method comprises: Step 1: Taking the minimum total annual configuration cost of the multi-energy load system containing virtual energy storage equipment as the optimization goal, establish the multi-energy load virtual energy storage autonomous optimization objective function; 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 multi-energy load virtual energy storage autonomous optimization objective function to obtain the multi-energy load virtual energy storage autonomous optimization strategy.
2. A multi-energy load virtual energy storage autonomous optimization method according to claim 1, characterized in that: In step 1, the annual configuration total cost of the multi-energy load system containing virtual energy storage equipment is minimized as the optimization goal, and the multi-energy load virtual energy storage autonomous optimization objective function is established as follows: minC total =C I +C E +C M +C EN +C FE (6) Where: C total represents the total annual configuration cost of the multi-energy load system with virtual energy storage equipment; C I , C E , C M , C EN , C FE They are annual value of investment cost, energy purchase cost, operation and maintenance cost, environmental cost, and flexibility call cost.
3. A multi-energy load virtual energy storage autonomous optimization method according to claim 2, characterized in that: C I The calculation formula is: Where: r represents the annual interest rate; disc represents discrete equipment; dev represents continuous equipment; y disc ,y dev Represents the expected service life of discrete equipment and continuous equipment respectively; n disc Indicates the number of discrete devices; S disc , S dev Represents the single device capacity of discrete devices and continuous devices respectively; λ disc , dev Represents the single equipment capacity investment cost of discrete and continuous equipment respectively; δ disc , δ dev Binary variables representing discrete devices and continuous devices respectively, 0 represents device configuration, and 1 represents device unconfiguration, wherein the discrete devices and continuous devices include virtual energy storage devices.
4. A multi-energy load virtual energy storage autonomous optimization method according to claim 2, characterized in that: C E The calculation formula is: Where: d is the number of days the system is running, D is the total number of days in a year; T is the total number of hours in a day; μ e , μ g , μ h Respectively represent the cost of purchasing electricity, gas and heat; P t e , P t g , P t h They represent the purchased electricity power, gas power and heat power at time t respectively.
5. The multi-energy load virtual energy storage autonomous optimization method according to claim 2 is characterized by: C EN The calculation formula is: Where: j represents the environmental penalty cost of the j-th type of emissions; γ j e , γ j g , γ j h represents the emission of the jth type of emissions generated by unit electric power, natural gas power, and thermal power respectively; P t e , P t g , P t h They represent the electricity, gas and heat power purchased at time t respectively; D is the total number of days in a year; T is the total number of hours in a day; J represents the total number of emission types.
6. The multi-energy load virtual energy storage autonomous optimization method according to claim 1 is characterized by: In step 2, the operating constraints established for the multi-energy load system containing virtual energy storage equipment include: flexibility supply and demand matching index constraints, power balance constraints, output upper and lower limit constraints, virtual energy storage constraints and flexibility supply and demand balance constraints.
7. A multi-energy load virtual energy storage autonomous optimization method according to claim 6, characterized in that: The flexibility supply and demand matching index constraint is: FSD≥FSD m (7) Where: FSD represents the flexibility supply and demand matching coefficient, FSD m represents the threshold of the flexibility supply-demand matching coefficient; f t , P t They represent the total flexibility supply that can be provided by each energy supply device in the system at time t and the total flexibility demand in the multi-energy coupling system; f t-1 , P t-1 They represent the total flexibility supply that can be provided by each energy supply device in the system at time t-1 and the total flexibility demand in the multi-energy coupling system; P t NL.U , P t NL.D They represent the upward and downward flexibility demands of the net load in the coupled system at time t; f i,m,t U 、f i,m,t D They represent the total upward and downward flexibility that can be provided by the i-th unit of the m-th type of equipment in the system at time t; T is the total number of hours in a day; Δt is the time interval; M represents the total number of equipment types; I represents the total number of units; μ (α / 2) Indicates confidence, Represents the predicted standard deviation of the net load at time t.
8. The multi-energy load virtual energy storage autonomous optimization method according to claim 6 is characterized by: The power balance constraint is: Where: P t e represents the power purchased at time t; n PV represents the photovoltaic power generation efficiency, represents the photovoltaic power generation power at time t under power generation efficiency a; n WT represents the wind turbine power generation efficiency, represents the wind turbine power generation at time t under power generation efficiency a; n GT represents the power generation efficiency of the gas turbine, P represents the power generation of the gas turbine at time t under power generation efficiency a; t ESE.C represents the charging power of the energy storage device at time t, P t ESE.D represents the discharge power of the storage device at time t; P t eL represents the electric load power at time t; n GB Indicates the heating efficiency of gas boiler; represents the heating power of the gas boiler at time t under the charging efficiency b; n WHB Indicates the heating efficiency of the waste heat boiler, represents the heating power of the waste heat boiler at time t under the charging efficiency b; n HE Indicates the heat absorption efficiency of the heat exchange equipment. represents the heat absorption power of the heat exchange equipment at time t under the heat efficiency b, n AC Indicates the heat absorption or cooling efficiency of the absorption refrigerator. P represents the heat absorption power of the absorption refrigerator at time t under the heat efficiency b; t TSE.C represents the charging power of the heat storage device at time t; P t TSE.D It represents the heat release power of the heat storage device at time t; represents the heat load power at time t; represents the cooling power of the electric refrigerator at time t under the cooling efficiency of d; n EC It indicates the refrigeration efficiency of absorption chiller; P represents the cooling power of the absorption chiller at time t under the cooling efficiency of d; t CSE.C P represents the charging power of the cold storage equipment at time t; t CSE.D represents the cooling power of the cold storage equipment at time t, P t cL Indicates cooling load power.
9. The multi-energy load virtual energy storage autonomous optimization method according to claim 6 is characterized by: The virtual energy storage constraint is: Where: VES Represents the self-discharge rate of the virtual energy storage device; η VES.C , η VES.D They represent the charging and discharging efficiency of the virtual energy storage device respectively; T is the total number of hours in a day; They represent the energy stored in the virtual energy storage device at time t and t-1 respectively; They represent the charging and discharging power of the virtual energy storage device at time t; f VES.U 、f VES.D They represent the upward and downward flexibility supply reserved by the virtual energy storage device respectively; E VES.max 、E VES.min Respectively represent the upper and lower thresholds of the energy stored in the virtual energy storage device; P VES.C.max , P VES.D.max Respectively represent the upper limits of charging and discharging power of virtual energy storage devices; τ t VES ∈{0,1},τ t VES Taking 0 to represent the charging state of the virtual energy storage device, τ t VES The value 1 represents the discharge state.
10. The multi-energy load virtual energy storage autonomous optimization method according to claim 6, characterized in that: The flexibility supply and demand balance constraint is: Where: M represents the total number of equipment types; I represents the total number of units; f i,m,t U 、f i,m,t D They represent the total upward and downward flexibility supply that can be provided by the i-th unit of the m-th equipment in the system at time t; P t U , P t D They represent the upward and downward flexibility requirements in the system at time t; P t e.f It represents the additional amount of electricity purchased from the upstream grid to meet the flexibility demand at time t.
11. The multi-energy load virtual energy storage autonomous optimization method according to claim 1, characterized in that: In step 3, under the operating constraints, the multi-energy load virtual energy storage autonomous optimization objective function is solved to obtain the multi-energy load virtual energy storage autonomous optimization strategy process as follows: Step 3.1: Set the spider monkey population parameters, including the population size N and the problem dimension D, and use them to set the maximum number of groups MG, the global leader limit GLL and the local leader limit LLL, randomly group the spider monkeys, and set the perturbation rate pr; Step 3.2: Initialize the spider monkey population, and calculate the fitness of the spider monkeys based on the objective function under the operating constraints, thereby identifying the global and local leaders in the population; Step 3.3: The local leader leads the spider monkey group to update their positions; Step 3.4: The global leader leads the spider monkey position update; Step 3.5: Global leader learning: Find the optimal solution for the entire group. The optimal spider monkey is considered to be the global leader of the new group. Check the position of the global leader. If there is no update relative to the previous global leader, then the corresponding global limit count GLC is increased by 1, otherwise the corresponding GLC is set to 0. Step 3.6: Local leader learning: greedily select members in the group to update the position of the local leader. If the local leader position is not updated relative to the previous local leader position, the corresponding local limit count LLC is increased by 1, otherwise the corresponding LLC is set to 0; Step 3.7: Local leader decision: If the local limit count LLC of a local leader of a group reaches LLL, all spider monkeys in the group use the experience of the global leader to update the positions of all spider monkeys in the group; if LLC is greater than LLL, LLC is set to 0 and the position of the group of spider monkeys is updated again; Step 3.8: Global leader decision: If the global limit count GLC reaches GLL, then GLC is reset to zero, and the group is divided into smaller groups or the groups are merged into a unit group: compare the number of groups into which the current group is divided with the maximum number of groups MG. If the existing number of groups is less than the maximum number of groups, then the global leader further groups, otherwise a single parent group is formed by combining; Step 3.9: If the termination condition is met, stop and take the global leader position as the optimal solution, otherwise jump to step 3.
3.
12. A multi-energy load virtual energy storage autonomous optimization method according to claim 11, characterized in that: Step 3.2 specifically includes: Step 3.2.1: Generate an initial population of N spider monkeys: Among them, SM xy represents the y-th variable of the x-th spider monkey in the population, SM miny and SM maxy are the lower and upper bounds of the y-th dimension in the search space, Z(0,1) z is the (0,1) random number of the zth chaotic state distribution, Z(0,1) z+1 is the (0,1) random number of the z+1th chaotic state distribution, z=1,2,…,N, θ is the chaos parameter; Step 3.2.2: Calculate the fitness of the spider monkey based on the objective function: Among them, f x is the objective function; fit x is the fitness of the x-th spider monkey, abs(·) is the absolute value function; Step 3.2.3: Identify local leaders and global leaders through fitness: the one with the highest fitness among all spider monkeys is the global leader, and the one with the highest fitness in each group of spider monkeys is the local leader.
13. The multi-energy load virtual energy storage autonomous optimization method according to claim 11, characterized in that: In step 3.3, the position update is performed through the local leader as follows: First, a chaotically distributed (0,1) random number Z(0,1) is generated for the spider monkeys in the group. znew1 , if it is higher than the disturbance rate pr, then this spider monkey will not be updated and the next spider monkey in the group will be moved to; otherwise, formula (21) will be used for updating. If the fitness value of the updated spider monkey is fit x If it is higher than before the update, update its position, otherwise do not update the position and move to the next spider monkey in the group; SMnew xy =SM xy +Z(0,1) znew1 ×(LL ky -SM xy )+U(-1,1)×(SM ry -SM iy )(21) Among them, Smnew xy is the updated y-th dimension variable of the x-th spider monkey, SM xy represents the y-th variable of the x-th spider monkey in the group, LL ky represents the y-th dimension variable of the local leader of the k-th group, k∈[1,MG], SM ry is the y-th dimension variable of a spider monkey randomly selected from the r-th group, and r≠x, U(-1,1) is a random number uniformly distributed in the range (-1,1), and Z(0,1) znew1 is a (0,1) random number distributed in a chaotic state.
14. The multi-energy load virtual energy storage autonomous optimization method according to claim 11, characterized in that: In step 3.4, the global leader leads the spider monkey position update in the following way: Calculate the probability prob of each spider monkey being selected for position update during the leadership phase of the global leader x for: Where 1≤η max ≤2 is the maximum selection parameter, η min =2-η max Select parameters for minimum; Generate a chaotically distributed (0,1) random number Z(0,1) for the spider monkey znew2 , if it is higher than the probability prob x , then the position of the spider monkey will not be updated during the global leader leadership phase, and the next spider monkey will be moved to; otherwise, the position of the global leader leadership phase will be updated. If the updated spider monkey fitness value is fit x If it is higher than before the update, update its position, otherwise do not update the position and go to the next spider monkey.
15. A multi-energy load virtual energy storage autonomous optimization method according to claim 14, characterized in that: The position update formula of the global leader in the leadership phase is: SMnew xy =SM xy +Z(0,1) znew2 ×(GL y -SM xy )+U(-1,1)×(SM ry -SM xy )(23) Among them, GL y is the position of the global leader on the y-th dimension variable, Smnew xy is the updated y-th dimension variable of the x-th spider monkey, SM xy represents the y-th variable of the x-th spider monkey in the population, SM ry is the y-th dimension variable of a spider monkey randomly selected from the r-th group, U(-1,1) is a random number uniformly distributed in the range (-1,1), and Z(0,1) znew2 is a (0,1) random number distributed in a chaotic state.
16. The multi-energy load virtual energy storage autonomous optimization method according to claim 11, characterized in that: In step 3.7, the spider monkey's position update formula is: SMnew xy =SM xy +Z(0,1) znew3 ×(GL y -SM xy )+Z(0,1) znew4 ×(SM ry -LL ky )(24) Among them, Smnew xy is the updated y-th dimension variable of the x-th spider monkey, SM xy Represents the y-th dimension variable of the x-th spider monkey in the group, Z(0,1) znew3 、Z(0,1) znew4 are all (0,1) random numbers distributed in a chaotic state, GL y is the position of the global leader on the y-th dimension variable, SM ry is the yth dimension of a randomly selected spider monkey from the rth group, LL ky Represents the y-th dimension variable of the k-th group of local leaders.
17. A multi-energy load virtual energy storage autonomous optimization system, using the method according to any one of claims 1 to 16, characterized in that: The system comprises: An objective function building module is used to establish an autonomous optimization objective function of multi-energy load virtual energy storage by taking the minimum total annual configuration cost of the multi-energy load system containing virtual energy storage equipment as the optimization objective; A constraint condition building module, used to establish operating constraint conditions for the multi-energy load system containing the virtual energy storage device; The autonomous optimization module is used to solve the multi-energy load virtual energy storage autonomous optimization objective function under the operating constraints and obtain the multi-energy load virtual energy storage autonomous optimization strategy.
18. 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-16.
19. 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 16 are implemented.
