Electrochemical energy storage maintenance optimization method and device for distribution network considering multiple flexible resources

By constructing a distribution network operation model with multiple types of flexible resources and an electrochemical energy storage maintenance optimization model, combined with the tolerant hierarchical sequence method and mathematical programming method, the problem of unreasonable electrochemical energy storage maintenance strategies in the existing technology is solved and realized It improves the scientificity, safety and economy of electrochemical energy storage maintenance.

CN118504789BActive Publication Date: 2024-10-25ECONOMIC & TECH RES INST OF HUBEI ELECTRIC POWER COMPANY SGCC +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410958151.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-25
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

Existing electrochemical energy storage maintenance optimization methods fail to effectively consider the characteristics of electrochemical energy storage equipment and the support of flexible resources, resulting in the inability to formulate reasonable maintenance strategies and increasing the safety risks of the power system.

Method used

A distribution network operation model that considers multiple types of flexible resources is constructed. Combined with the economic and risk costs during the maintenance cycle, the tolerant hierarchical sequence method and mathematical programming method are used to solve the electrochemical energy storage maintenance optimization model and generate the optimal maintenance strategy.

Benefits of technology

By comprehensively considering distribution network operation constraints and flexible resource operation constraints, the scientificity, safety and economy of electrochemical energy storage maintenance are improved, and the level of distribution network operation management is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118504789B_ABST
    Figure CN118504789B_ABST
Patent Text Reader

Abstract

A method and device for optimizing the maintenance of electrochemical energy storage in a distribution network considering multiple flexible resources, the method comprising: constructing a distribution network operation model, the model comprising multiple types of flexible resource operation constraints consisting of the temporal and spatial movement constraints of a movable power source, the energy output constraints of a movable power source, and the operation constraints and regulation constraints of an air conditioning load; constructing an electrochemical energy storage maintenance optimization model with the minimum sum of the economic cost of maintenance and the risk cost of maintenance within the maintenance cycle as the optimization target, the constraints of the model comprising the operation constraints of the distribution network, the maintenance plan constraints, and the operation constraints of multiple types of flexible resources; using a tolerant hierarchical sequence method to solve the electrochemical energy storage maintenance optimization model to obtain the optimal maintenance strategy. The present invention provides additional power support for the maintenance work of electrochemical energy storage equipment through multiple types of flexible resources, which helps to improve the scientificity, safety, and economy of electrochemical energy storage maintenance work and improve the level of power grid operation management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power system maintenance, and in particular to a distribution network electrochemical energy storage maintenance optimization method and device taking multiple flexible resources into consideration. Background Art

[0002] Electrochemical energy storage has the advantages of fast response speed and bidirectional power characteristics. It can effectively solve the power system safety and stability problems caused by a high proportion of new energy generation during the energy transformation process. It is an important part of the current power system. However, electrochemical energy storage power stations will inevitably experience aging and deterioration problems in long-term operation, and then fail, causing large-scale power outages, which seriously threaten the safe operation of the power system. Therefore, it is urgent to formulate a reasonable and effective electrochemical energy storage maintenance work plan.

[0003] However, most of the existing maintenance optimization methods focus on conventional electrical equipment such as transformers and power cables, and there is relatively little research on electrochemical energy storage. The internal and external characteristics of electrochemical energy storage power station equipment are different from those of conventional electrical equipment, and have typical electrochemical dynamic evolution characteristics. Therefore, the performance maintenance of electrochemical energy storage power stations cannot be copied from the existing research on conventional electrical equipment. In addition, the existing research on maintenance optimization methods also rarely considers the supporting role of flexible resources such as demand response and mobile power sources for maintenance work, making it impossible to formulate a reasonable and effective electrochemical energy storage maintenance strategy. Summary of the invention

[0004] The purpose of the present invention is to overcome the above-mentioned defects and problems existing in the prior art, and to provide a distribution network electrochemical energy storage maintenance optimization method and device taking into account multiple flexible resources, which can effectively utilize various types of flexible resources of the active distribution network, comprehensively consider the risk cost and economic cost of maintenance work, and generate an electrochemical energy storage maintenance strategy.

[0005] To achieve the above objectives, the technical solution of the present invention is: a method for optimizing the maintenance of electrochemical energy storage in a distribution network considering multiple flexible resources, comprising:

[0006] Construct a distribution network operation model that considers multiple types of flexible resources. The distribution network operation model includes multiple types of flexible resource operation constraints consisting of temporal and spatial movement constraints of mobile power sources, energy output constraints of mobile power sources, and operation constraints and regulation constraints of air-conditioning loads. The mobile power sources include mobile energy storage and emergency power supply vehicles.

[0007] An electrochemical energy storage maintenance optimization model is constructed with the optimization objective of minimizing the sum of the maintenance economic cost and the maintenance risk cost within the maintenance cycle. The constraints of the electrochemical energy storage maintenance optimization model include distribution network operation constraints, maintenance plan constraints, and multi-type flexible resource operation constraints.

[0008] The tolerant hierarchical sequence method is used to solve the electrochemical energy storage maintenance optimization model and obtain the optimal maintenance strategy.

[0009] The space-time movement constraints of the movable power source are:

[0010]

[0011] Where N CE N is the set of nodes in the distribution network that can be connected to a mobile power source; MPS The number of mobile power sources configured in the distribution network; is the access state variable of the mobile power source m and the accessible node i; is the mobile state variable of the movable power source m; τ i,j is the time required for the mobile power source to travel from the accessible node i to the accessible node j; τ is the time when the mobile power source starts to move; is the access state variable of the mobile power source m and the accessible node j.

[0012] The energy output constraint of the mobile energy storage is:

[0013]

[0014] In the formula, and are the charging and discharging state variables of mobile energy storage; N CM It is a collection of mobile energy storage; and They are the actual values ​​of charging and discharging power of mobile energy storage respectively; and are the upper limits of mobile energy storage charging and discharging power; SOC m,t is the charge state of the mobile energy storage at time t; Δt is the duration of the adjacent scheduling period; and They are the charging and discharging efficiency of mobile energy storage respectively; EC is a mobile energy storage that moves power consumption per unit time; m is the total capacity of mobile energy storage; and They are the upper and lower limits of the state of charge of the mobile energy storage, respectively;

[0015] The energy output constraint of the emergency power supply vehicle is:

[0016]

[0017]

[0018] In the formula, u m,tP is the output status of the emergency power supply vehicle; m,t and Q m,t are the actual values ​​of active and reactive output of the emergency power supply vehicle; P m,max and Q m,max are the upper limits of active and reactive output of the emergency power supply vehicle; P m,min and Q m,min It is the lower limit of active and reactive power output of emergency power supply vehicle; v m,max The maximum climbing rate of the emergency power supply vehicle; is the power consumed by the emergency power supply vehicle in moving per unit time; m is the fuel coefficient of the emergency power supply vehicle; q m,t is the remaining fuel of the emergency power supply vehicle; q m,max The upper limit of the amount of fuel that the emergency power supply vehicle can carry.

[0019] The operating constraints of the air conditioning load are:

[0020]

[0021] E SOC,t =μ1E SOC,t-1 +μ1P IAC,t +μ3-μ4T env,t ;

[0022]

[0023] In the formula, E SOC,t The generalized energy storage equivalent state of charge for the air conditioner and its building rooms; and are the upper and lower limits of room temperature change respectively; is the actual room temperature at time t; μ1, μ2, μ3 and μ4 are all parameters of the generalized energy storage model; T env,t is the temperature of the external environment; P IAC,t is the power consumed by the air conditioning cluster; Δt is the duration of the adjacent scheduling period; R a is the equivalent thermal resistance of the air-conditioned room; C a is the equivalent heat capacity of the air-conditioned room; k1, b1, k2 and b2 are the corresponding parameters of the air-conditioning thermoelectric conversion model; P IAC,max and R IAC,min分 are the upper and lower limits of the generalized energy storage active power; Q IAC,t is the reactive power of generalized energy storage; is the power factor of generalized energy storage;

[0024] The control constraint of the air conditioning load is:

[0025] -ΔE SOC,max ≤E SOC,t -ESOC,t-1 ≤ΔE SOC,max ;

[0026]

[0027] Where ΔE SOC,max is the maximum value of the range of variation of the generalized energy storage equivalent state of charge; is the base power of the air conditioning cluster at time t; E SOC,min is the initial value of the generalized energy storage equivalent state of charge.

[0028] The objective function of the electrochemical energy storage maintenance optimization model is:

[0029] min C=min{C econ , C risk};

[0030] C econ =C DU +C ESPS +C sup +C DR +C MPS +C IMR ;

[0031]

[0032] ε s,t =f(ε 1,t , ε 2,t , …, ε b,t );

[0033]

[0034] Where C is the objective function of the electrochemical energy storage maintenance optimization model; C econ The economic cost of maintenance, including the equipment maintenance cost and operation cost of the distribution network during the maintenance process; C risk The cost of maintenance risk; C DU , C ESPS , C sup , C DR , C MPS and C IMR They are the operating cost of dispatchable units, the operating cost of energy storage power stations, the power purchase cost of the upper power grid, the demand response subsidy cost, the power purchase cost of mobile power sources and the maintenance cost; N T is the set of scheduling periods; N DU 、N ESPS 、N DR 、N MPS 、N IMR and N MCare the set of dispatchable units, electrochemical energy storage power stations, air conditioning cluster demand response, mobile power sources, battery clusters to be repaired, and maintenance teams; c l 、c e 、c sup,t 、c DR,t and c MPS,t are the fuel cost coefficient of the dispatchable unit, the charging and discharging cost coefficient of the energy storage power station, the power purchase cost of the upper power grid, the demand response subsidy cost coefficient and the mobile power purchase cost coefficient; P l,t is the actual value of the active output of the dispatchable unit l; and are the actual values ​​of charging and discharging power of the energy storage station e; P sup,t P is the actual value of the power purchased by the distribution network from the upper power grid; i,t is the actual power demand of the air conditioning cluster at node i; is the theoretical power demand of the air conditioning cluster at node i; P m,t It is the actual value of the active power output of the emergency power supply vehicle; The working status of the maintenance team z for the battery cluster b to be repaired; and are equipment maintenance costs and maintenance personnel work costs respectively; N Fail is a collection of failure events of equipment to be repaired; is the expected value of the power loss of the distribution network system caused by the failure event S of the equipment to be repaired at time t; Δt is the duration of the scheduling period; ε s,t is the probability of occurrence of the equipment failure event S at time t; f(·) is the calculation formula for the probability of the failure event; ε b,t is the failure rate of the battery cluster b to be repaired at time t; γ1, γ2 and γ3 are the characteristic parameters of the failure rate of the battery cluster to be repaired; ε b,ini is the initial failure rate of the battery cluster b to be repaired; is the maintenance state variable of the battery cluster b to be repaired; The time when the maintenance work of battery cluster b to be repaired starts.

[0035] The distribution network operation constraints include power purchase constraints of the upper power grid, operation constraints of conventional units, operation constraints of distributed power sources, operation constraints of electrochemical energy storage power stations, and power balance and reserve constraints:

[0036] 0≤P sup,t ≤P Sup,max ;

[0037]

[0038] Where P sup,t and P sup,maxare the actual value and maximum value of the power purchased by the distribution network from the upper power grid; P l,max and P l,max are the minimum and maximum active output of dispatchable unit l respectively; Q l,max and Q l,max is the minimum and maximum value of the reactive power output of the dispatchable unit l; P l,t and Q l,t is the actual value of active and reactive output of dispatchable unit l; v l,max is the maximum ramp rate of the dispatchable unit; N REG is the set of distributed units; P h,t , and δ h,t are the actual value, predicted value, prediction error, maximum prediction error and error interval adjustment coefficient of the active output of distributed power source h at time t; Γ t is the robust cost coefficient of distributed generation; Q h,t is the actual value of the reactive power output of the distributed generation h at time t; is the power factor of the distributed power source h; N BES,e It is a collection of battery clusters in an electrochemical energy storage power station e; and They are the charging and discharging state variables of the electrochemical energy storage power station e as a whole; and are the charge and discharge state variables of the battery cluster b in the electrochemical energy storage power station e, respectively; The start time of maintenance work of maintenance team Z on battery cluster b to be repaired; The duration of the maintenance work for the battery cluster b to be repaired; and are the actual values ​​of the charging and discharging power of the battery cluster b to be repaired; and are the actual values ​​of the charging and discharging power of the electrochemical energy storage power station e, respectively; The actual power delivered to the grid by the electrochemical energy storage power station e; is the maximum discharge power of the electrochemical energy storage power station e; and are the charging and discharging efficiency of the electrochemical energy storage power station e; I e,max is the maximum amount of electric energy transferred by the electrochemical energy storage power station on day e; L is the prediction error of the distribution network load; λ 1,t and λ 2,t is the Lagrange dual variable;

[0039] The maintenance plan constraints are:

[0040]

[0041] Where NIMR N is the set of battery clusters to be repaired; MC For the assembly of maintenance teams; is the maintenance state variable of the battery cluster b to be repaired; The working status of the maintenance team Z for the battery cluster b to be repaired; is the time when the maintenance work of the maintenance team Z on the battery cluster b to be repaired ends; τ z,max The upper limit of the continuous working time of maintenance team Z.

[0042] The method of using the tolerant hierarchical sequence method to solve the electrochemical energy storage maintenance optimization model to obtain the optimal maintenance strategy includes:

[0043] First, the maintenance risk cost is set as the first-level optimization target, and the maintenance economic cost is set as the second-level optimization target. Then, the optimal solution of the maintenance risk cost is solved, and the solution is relaxed as a constraint for solving the maintenance economic cost. The optimal tolerance coefficient is searched. According to the optimal tolerance coefficient, the maintenance risk cost is used as a constraint condition, and the maintenance economic cost is used as the optimization target. The electrochemical energy storage maintenance optimization model is solved by mathematical programming method to obtain the optimal maintenance strategy for electrochemical energy storage.

[0044] A distribution network electrochemical energy storage maintenance optimization device considering multiple flexible resources, the device is applied to the above-mentioned distribution network electrochemical energy storage maintenance optimization method considering multiple flexible resources, the device comprises:

[0045] A distribution network operation model construction module is used to construct a distribution network operation model that takes into account multiple types of flexible resources. The distribution network operation model includes multiple types of flexible resource operation constraints consisting of temporal and spatial movement constraints of mobile power sources, energy output constraints of mobile power sources, and operation constraints and regulation constraints of air-conditioning loads; the mobile power sources include mobile energy storage and emergency power supply vehicles;

[0046] The electrochemical energy storage maintenance optimization model construction module is used to construct an electrochemical energy storage maintenance optimization model with the minimum sum of the maintenance economic cost and the maintenance risk cost within the maintenance cycle as the optimization goal. The constraints of the electrochemical energy storage maintenance optimization model include distribution network operation constraints, maintenance plan constraints, and multi-type flexible resource operation constraints;

[0047] The optimal maintenance strategy acquisition module is used to solve the electrochemical energy storage maintenance optimization model using a tolerant hierarchical sequence method to obtain the optimal maintenance strategy.

[0048] A distribution network electrochemical energy storage maintenance optimization device considering multiple flexible resources, comprising a memory and a processor;

[0049] The memory is used to store computer program code and transmit the computer program code to the processor;

[0050] The processor is used to execute the above-mentioned distribution network electrochemical energy storage maintenance optimization method considering multiple flexible resources according to the instructions in the computer program code.

[0051] A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the above-mentioned method for optimizing the maintenance of electrochemical energy storage in a distribution network taking into account multiple flexible resources.

[0052] Compared with the prior art, the present invention has the following beneficial effects:

[0053] In the present invention, a distribution network electrochemical energy storage maintenance optimization method and device considering multiple flexible resources are provided. The method establishes a multi-type flexible resource operation model based on the operation mechanism of mobile energy storage, emergency power supply vehicle and variable frequency air conditioning cluster; an electrochemical energy storage maintenance optimization model is constructed, with minimizing the economic cost and risk cost of electrochemical maintenance work as the optimization goal, and comprehensively considering the distribution network operation constraints, maintenance work plan constraints and multi-type flexible resource operation constraints. The distribution network unit data, line data, load data, equipment data to be repaired, and multi-type flexible resource operation data are input, and the tolerance hierarchical sequence method is used to find the optimal tolerance coefficient, and the optimal maintenance strategy is obtained by solving the model through the mathematical programming method. The present invention provides additional power support for the maintenance work of electrochemical energy storage equipment through multiple types of flexible resources, which helps to improve the scientificity, safety and economy of electrochemical energy storage maintenance work and improve the operation and management level of the distribution network. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 It is a flow chart of a method for optimizing the maintenance of electrochemical energy storage in a distribution network taking into account multiple flexible resources according to the present invention.

[0055] Figure 2 It is a flow chart of a method for solving an electrochemical energy storage maintenance optimization model in an embodiment of the present invention.

[0056] Figure 3 It is a topological diagram of an improved IEEE33 node system in an embodiment of the present invention.

[0057] Figure 4 It is a load demand of the distribution network and a prediction curve of the output of the new energy unit in the embodiment of the present invention.

[0058] Figure 5 It is a curve diagram of the change of the external environment temperature of the air conditioner of the distribution network in an embodiment of the present invention.

[0059] Figure 6 is a curve diagram of equipment failure probability of the distribution network in an embodiment of the present invention.

[0060] Figure 7 It is a comparison chart of economic cost and risk cost results under different tolerance coefficients in the embodiment of the present invention.

[0061] Figure 8 It is a comparison diagram of the maintenance plan of the electrochemical energy storage power station in the embodiment of the present invention.

[0062] Fig. 9 It is a structural block diagram of a distribution network electrochemical energy storage maintenance optimization device taking into account multiple flexible resources of the present invention.

[0063] Fig.10 It is a structural block diagram of a distribution network electrochemical energy storage maintenance optimization device taking into account multiple flexible resources of the present invention. DETAILED DESCRIPTION

[0064] The present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0065] See also Figure 1 , a distribution network electrochemical energy storage maintenance optimization method considering multiple flexible resources, including:

[0066] S1. Construct a distribution network operation model that considers multiple types of flexible resources. The distribution network operation model includes multiple types of flexible resource operation constraints consisting of temporal and spatial movement constraints of mobile power sources, energy output constraints of mobile power sources, and operation constraints and regulation constraints of air-conditioning loads; the mobile power sources include mobile energy storage and emergency power supply vehicles;

[0067] S2. Construct an electrochemical energy storage maintenance optimization model with the minimum sum of the maintenance economic cost and the maintenance risk cost within the maintenance cycle as the optimization goal. The constraints of the electrochemical energy storage maintenance optimization model include distribution network operation constraints, maintenance plan constraints, and multi-type flexible resource operation constraints;

[0068] S3. The tolerant hierarchical sequence method is used to solve the electrochemical energy storage maintenance optimization model to obtain the optimal maintenance strategy.

[0069] In step S1, the temporal and spatial movement constraints of the movable power source are:

[0070]

[0071]

[0072] Where N CE N is the set of nodes in the distribution network that can be connected to a mobile power source; MPS The number of mobile power sources configured in the distribution network; is the access state variable of the mobile power source m and the accessible node i; is the mobile state variable of the movable power source m; τi,j is the time required for the mobile power source to travel from the accessible node i to the accessible node j; τ is the time when the mobile power source starts to move; is the access state variable of the mobile power source m and the accessible node j.

[0073] The spatiotemporal mobility constraints are as follows: the mobile power source has only one working state in the same period of time; only one mobile power source can be connected to a distribution network node; and the mobile power source's movement time between accessible nodes is continuous.

[0074] In step S1, the energy output constraint of the mobile energy storage is:

[0075]

[0076] In the formula, and are the charging and discharging state variables of mobile energy storage; N CM It is a collection of mobile energy storage; and They are the actual values ​​of charging and discharging power of mobile energy storage respectively; and are the upper limits of mobile energy storage charging and discharging power; SOC m,t is the charge state of the mobile energy storage at time t; Δt is the duration of the adjacent scheduling period; and They are the charging and discharging efficiency of mobile energy storage respectively; EC is a mobile energy storage that moves power consumption per unit time; m is the total capacity of mobile energy storage; and They are the upper and lower limits of the state of charge of mobile energy storage respectively.

[0077] In step S1, the energy output constraint of the emergency power supply vehicle is:

[0078]

[0079]

[0080] In the formula, u m,t P is the output status of the emergency power supply vehicle; m,t and Q m,t are the actual values ​​of active and reactive output of the emergency power supply vehicle; P m,max and Q m,max are the upper limits of active and reactive output of the emergency power supply vehicle; P m,min and Q m,min It is the lower limit of active and reactive power output of emergency power supply vehicle; v m,maxThe maximum climbing rate of the emergency power supply vehicle; is the power consumed by the emergency power supply vehicle in moving per unit time; m is the fuel coefficient of the emergency power supply vehicle; q m,t is the remaining fuel of the emergency power supply vehicle; q m,max The upper limit of the amount of fuel that the emergency power supply vehicle can carry.

[0081] In step S1, the operating constraints of the air conditioning load are:

[0082]

[0083] E SOC,t =μ1E SOC,t-1 +μ2P IAC,t +μ3-μ4T env,t ;

[0084]

[0085] In the formula, E SOC,t The generalized energy storage equivalent state of charge for the air conditioner and its building rooms; and are the upper and lower limits of room temperature change respectively; is the actual room temperature at time t; μ1, μ2, μ3 and μ4 are all parameters of the generalized energy storage model; T env,t is the temperature of the external environment; P IAC,t is the power consumed by the air conditioning cluster; Δt is the duration of the adjacent scheduling period; R a is the equivalent thermal resistance of the air-conditioned room; C a is the equivalent heat capacity of the air-conditioned room; k1, b1, k2 and b2 are the corresponding parameters of the air-conditioning thermoelectric conversion model; P IAC,max and P IAC,min are the upper and lower limits of the generalized energy storage active power respectively; Q IAC,t is the reactive power of generalized energy storage; is the power factor of generalized energy storage;

[0086] The control constraints of air conditioning load are:

[0087] -ΔE SOC,max ≤E SOC,t -E SOC,t-1 ≤ΔE SOC,max ;

[0088]

[0089] Where ΔE SOC,max is the maximum value of the range of variation of the generalized energy storage equivalent state of charge; is the base power of the air conditioning cluster at time t; ESOC,ini is the initial value of the generalized energy storage equivalent state of charge.

[0090] The operation constraints of air-conditioning load and the regulation constraints of air-conditioning load constitute the demand response operation model of variable frequency air-conditioning.

[0091] In step S2, based on the distribution network operation model considering multiple types of flexible resources and combined with the electrochemical energy storage maintenance workflow, an electrochemical energy storage maintenance optimization model is constructed. The objective function of the model is:

[0092] min C=min{C econ , C risk};

[0093] C econ =C DU +C ESPS +C sup +C DR +C MPS +C IMR ;

[0094]

[0095] ε s, =f(ε 1,t , ε 2,t ..., ε b,t );

[0096]

[0097] Where C is the objective function of the electrochemical energy storage maintenance optimization model; C econ The economic cost of maintenance, including the equipment maintenance cost and operation cost of the distribution network during the maintenance process; C risk The cost of maintenance risk; C DU , C ESPS , C sup , C DR , C MPS and C IMR They are the operating cost of dispatchable units, the operating cost of electrochemical energy storage power stations, the power purchase cost of the upper power grid, the demand response subsidy cost, the mobile power purchase cost and the maintenance cost; N T is the set of scheduling periods; N DU 、N ESPS 、N DR 、N MPS 、N IMR and N MC are the set of dispatchable units, electrochemical energy storage power stations, air conditioning cluster demand response, mobile power sources, battery clusters to be repaired, and maintenance teams; c l 、c e 、csup,t 、c DR,t and c MPS,t are the fuel cost coefficient of the dispatchable unit, the charging and discharging cost coefficient of the electrochemical energy storage power station, the power purchase cost of the upper power grid, the demand response subsidy cost coefficient and the mobile power purchase cost coefficient; P l,t is the actual value of the active output of the dispatchable unit l; and are the actual values ​​of charging and discharging power of the energy storage station e; P sup,t P is the actual value of the power purchased by the distribution network from the upper power grid; i,t is the actual power demand of the air conditioning cluster at node i; is the theoretical power demand of the air conditioning cluster at node i; P m,t It is the actual value of the active power output of the emergency power supply vehicle; The working status of the maintenance team Z for the battery cluster b to be repaired; and are equipment maintenance costs and maintenance personnel work costs respectively; N Fail is a collection of failure events of equipment to be repaired; is the expected value of the power loss of the distribution network system caused by the failure event S of the equipment to be repaired at time t; Δt is the duration of the scheduling period; ε s,t is the probability of occurrence of the failure event S of the equipment to be repaired at time t, which can be calculated by the failure probability of each equipment to be repaired; f(·) is the calculation formula for the probability of the failure event; ε b,t is the failure rate of the battery cluster b to be repaired at time t; γ1, γ2 and γ3 are the characteristic parameters of the failure rate of the battery cluster to be repaired, which are obtained by fitting the historical statistical data of the corresponding equipment; ε b,ini is the initial failure rate of the battery cluster b to be repaired; is the maintenance state variable of the battery cluster b to be repaired; The time when the maintenance work of battery cluster b to be repaired starts.

[0098] Considering that the mobile power source consumes its own configured fuel / electricity when moving between nodes, it is not included in the economic target.

[0099] The electrochemical energy storage maintenance optimization model proposed in the present invention is based on a multi-type flexible resource operation model, taking into account the safe operation constraints and maintenance plan constraints of the distribution network, and aims to minimize the economic cost and risk cost of electrochemical energy storage maintenance work. A maintenance optimization model is established to solve the optimal maintenance strategy for electrochemical energy storage.

[0100] The demand response proposed in the present invention is as follows: when the reliability of the power grid is threatened, after receiving a direct compensation notice of induced load reduction or a signal of rising electricity prices from the power supplier, the power user changes his inherent habitual electricity consumption pattern to reduce or shift the electricity load in a certain period of time and respond to the power supply, thereby ensuring the stability of the power grid.

[0101] In step S2, the distribution network operation constraints include power purchase constraints of the upper power grid, operation constraints of conventional units, operation constraints of distributed power sources, operation constraints of electrochemical energy storage power stations, and power balance and reserve constraints:

[0102] 0≤P sup,t ≤P Sup,max ;

[0103]

[0104]

[0105] Where P sup,t and P sup,max are the actual value and maximum value of the power purchased by the distribution network from the upper power grid; P l,min and P l,max are the minimum and maximum active output of dispatchable unit l respectively; Q l,min and Q l,max is the minimum and maximum value of the reactive power output of the dispatchable unit l; P l,t and Q l,t is the actual value of active and reactive output of dispatchable unit l; v l,max is the maximum ramp rate of the dispatchable unit; N REG is the set of distributed units; P h,t , and δ h,t are the actual value, predicted value, prediction error, maximum prediction error and error interval adjustment coefficient of the active output of distributed power source h at time t; Γ t is the robust cost coefficient of distributed generation; Q h,t is the actual value of the reactive power output of the distributed generation h at time t; is the power factor of the distributed power source h; N BES,e It is a collection of battery clusters in an electrochemical energy storage power station e; and They are the charging and discharging state variables of the electrochemical energy storage power station e as a whole; and are the charge and discharge state variables of the battery cluster b in the electrochemical energy storage power station e, respectively; The start time of maintenance work of maintenance team Z on battery cluster b to be repaired; The duration of the maintenance work for the battery cluster b to be repaired; and are the actual values ​​of the charging and discharging power of the battery cluster b to be repaired; and are the actual values ​​of the charging and discharging power of the electrochemical energy storage power station e, respectively; The actual power delivered to the grid by the electrochemical energy storage power station e; is the maximum discharge power of the electrochemical energy storage power station e; and are the charging and discharging efficiency of the electrochemical energy storage power station e; I e,max is the maximum amount of electric energy transferred by the electrochemical energy storage power station on day e; L is the prediction error of the distribution network load; λ 1,t and λ 2,t is the Lagrangian dual variable and can be calculated by the corresponding adjustable robust optimization method.

[0106] In step S2, the maintenance plan constraints are:

[0107]

[0108] Where N IMR N is the set of battery clusters to be repaired; MC For the assembly of maintenance teams; is the maintenance state variable of the battery cluster b to be repaired; The working status of the maintenance team Z for the battery cluster b to be repaired; is the time when the maintenance work of the maintenance team Z on the battery cluster b to be repaired ends; τ z,max The upper limit of the continuous working time of maintenance team Z.

[0109] In step S3, the electrochemical energy storage maintenance optimization model is solved by using a tolerant hierarchical sequence method to obtain an optimal maintenance strategy, including:

[0110] See also Figure 2 First, set the maintenance risk cost as the first-level optimization target and the maintenance economic cost as the second-level optimization target, then solve the optimal solution of the maintenance risk cost, and relax it as a constraint for solving the maintenance economic cost. Search for the optimal tolerance coefficient. According to the optimal tolerance coefficient, take the maintenance risk cost as a constraint condition and the maintenance economic cost as the optimization target. Solve the electrochemical energy storage maintenance optimization model through mathematical programming method and obtain the optimal maintenance strategy of electrochemical energy storage.

[0111] The tolerance hierarchical sequence method proposed in the present invention is a method for solving multi-objective optimization problems. All objectives are sorted in order according to their importance, the optimal solution of the first most important objective is first obtained and the corresponding tolerance value is set as the allowable deviation of the optimal value, and then the optimal solution of the next objective is obtained in turn under the premise of ensuring that the previous objective is within the allowable deviation, and the optimal solution is obtained until the last objective is obtained. This is a layer-by-layer solution method.

[0112] The method proposed in the present invention establishes a multi-type flexible resource operation model based on the operation mechanism of mobile energy storage, emergency power supply vehicle and variable frequency air conditioning cluster; builds an electrochemical energy storage maintenance optimization model, with minimizing the economic cost and risk cost of electrochemical maintenance work as the optimization goal, and comprehensively considers the distribution network operation constraints, maintenance work plan constraints and multi-type flexible resource operation constraints. Input the distribution network unit data, line data, load data, equipment data to be repaired, and multi-type flexible resource operation data, use the tolerance hierarchical sequence method to find the optimal tolerance coefficient, and solve the model through mathematical programming to obtain the optimal maintenance strategy. The present invention provides additional power support for the maintenance work of electrochemical energy storage equipment through multi-type flexible resources, which helps to improve the scientificity, safety and economy of electrochemical energy storage maintenance work, and improve the operation and management level of the distribution network.

[0113] Embodiment: The load and new energy related parameters of a distribution network in a certain area are obtained through investigation.

[0114] The distribution network system of this embodiment is as follows Figure 3 As shown, Figure 3 To improve the IEEE33 node system topology, Figure 4 It is the load demand of the distribution network and the output prediction curve of the new energy unit. Figure 5 is the temperature change curve of the air conditioner outside the distribution network. Figure 6 is the equipment failure probability curve of the distribution network. The total load demand value is (10.65+j 1.80)MVA, and the prediction error limit of the load demand and the output of the new energy unit is set to 10%. The system is equipped with micro gas turbine generator sets at nodes 9, 18, 25, 28 and 33, numbered MT1~MT5 respectively; the electrochemical energy storage power station is connected to nodes 3 and 13; the photovoltaic units are connected at nodes 4, 20, 23 and 26, named DG1~DG4 respectively, and their capacities are 0.7, 0.8, 0.5 and 0.4 MW respectively; the air conditioning cluster is located at nodes 5, 15, 19 and 24. As shown in Tables 1 to 6, they are the parameters of conventional units, electrochemical energy storage, mobile energy storage, emergency power supply vehicle, air conditioning cluster and equipment to be repaired.

[0115] Table 1 Conventional unit parameters

[0116]

[0117] Table 2 Electrochemical energy storage parameters

[0118] parameter ESPS1 value ESPS2 value Number of battery clusters 10 5 Battery cluster capacity / (MWh) 1.0 2.0 Maximum power of battery cluster / MW 0.5 1.0 Charge and discharge efficiency 0.9 0.85 SOC variation range 0.1 / 0.9 0.1 / 0.9 Initial SOC 0.6 0.6 Maximum electric energy transfer (MWh) 20 18

[0119] Table 3 Mobile energy storage parameters

[0120]

[0121] Table 4 Emergency power supply vehicle parameters

[0122] parameter <![CDATA[EPSV1]]> <![CDATA[EPSV2]]> Maximum / minimum technical output (MW) 1.0 / 0.1 1.0 / 0.1 Maximum reactive power output (MVar) 0.5 0.5 Fuel consumption coefficient / (L / MW) 200 200 Fuel carrying limit / (L) 1000 1000 Fuel required for movement / (L) 50 50

[0123] Table 5 Air conditioning cluster parameters

[0124]

[0125] Table 6 Parameters of equipment to be repaired

[0126] Equipment number to be repaired Location Maintenance time required 1 Node 3 (ESPS1) 4h 2 Node 3 (ESPS1) 4h 3 Node 13 (ESPS2) 5h 4 Node 13 (ESPS2) 6h

[0127] In order to illustrate the effectiveness of the maintenance optimization method proposed in this invention, the following three examples are set:

[0128] 1) Case A takes minimizing the economic cost and risk cost of maintenance as the optimization goal, but does not consider the participation of multiple types of flexible resources;

[0129] 2) Case B considers the participation of multiple types of flexible resources, but only takes minimizing the economic cost of maintenance as the optimization goal;

[0130] 3) Example C is the maintenance optimization method proposed in the present invention.

[0131] In order to explore the influence of the tolerance coefficient on the solution of the optimization model, based on Example A and Example C, the present invention analyzes the influence of the tolerance coefficient ξ1 under different values ​​on the changing trends of the maintenance risk cost and the economic cost.

[0132] Figure 7 The comparison of the economic cost and risk cost results of electrochemical energy storage maintenance under different tolerance coefficients is shown in Figure 1. Specifically, when ξ1 changes between [0.1, 7], the maintenance risk cost and maintenance economic cost change trend of Case A and Case C. Figure 7From the curve, it can be seen that the economic cost of maintenance gradually decreases with the increase of ξ1. This is because when the economic cost of maintenance is used as the objective function for calculation, the larger the ξ1, the looser the constraint on the risk cost of maintenance, that is, the more equipment maintenance work the system allows to be delayed. Therefore, the smaller the system power gap during the maintenance work, the less adjustment the distribution network system makes to the conventional unit output, air conditioning demand response, and power purchase plans from the superior power grid, and the closer it is to the economic optimal maintenance plan of the distribution network system, so that the economic cost of maintenance can be reduced. The risk cost of maintenance gradually decreases with the decrease of ξ1. This is because the smaller the ξ1, the stricter the constraint on the risk cost of maintenance, and the distribution network system chooses to carry out maintenance work on each equipment in an earlier period to obtain better safety, thereby reducing the risk cost of maintenance.

[0133] When ξ1<3, the economic cost of maintenance decreases rapidly, and the value of the risk cost of maintenance is relatively small; when ξ1≥3, the economic cost of maintenance decreases slowly, and the value of the risk cost of maintenance is large. Considering that maintenance work should take into account the safety and economy of power grid operation, the value of ξ1 should reflect lower economic cost of maintenance and maintenance risk cost. Therefore, the tolerance coefficient ξ1 of Example A and Example C is set to 3.

[0134] Figure 8 The comparison of maintenance plans for different examples, the economic cost and risk cost of the maintenance work are shown in Table 7.

[0135] Table 7 Comparison of economic cost and risk cost of maintenance

[0136] Calculation example Economic cost (¥) Risk cost (MWh) A 8755.40 8.1641 B 7500.49 17.5488 C 7591.11 8.0842

[0137] As can be seen from Table 7, the economic cost of maintenance in Example B is the lowest, but the corresponding maintenance risk cost is the highest; the economic cost of maintenance in Example A is the highest, but the maintenance risk cost is low; the economic cost of maintenance in Example C is between Example A and Example B, and the corresponding maintenance risk cost is the lowest. This is also in line with the settings of these three examples: the optimization target of Example B does not include the maintenance risk cost, and the maintenance work plan obtained by solving only considers the economic needs, without considering the needs of timely maintenance of electrochemical energy storage; while the optimization targets of Examples A and C comprehensively consider the economic cost and risk cost of maintenance, and achieve a balance between the economic operation of the power grid and the needs of timely maintenance of equipment, but Example A does not consider the assistance of resources such as mobile energy storage, so the economic cost is relatively high. Compared with Example A, Example C reduces the economic cost of maintenance by 13.30%; compared with Example B, Example C reduces the maintenance risk cost by 53.93%.

[0138] Combination Figure 8From the analysis, it can be seen that the economically optimal maintenance plan obtained in Example B will arrange the maintenance work of the energy storage power station near the peak photovoltaic power generation period. At this time, the new energy output can be used to the maximum extent to meet the power demand shortage caused by the arrangement of equipment maintenance in the distribution network, and the power purchase and demand response adjustment of the upper power grid can be reduced as much as possible, thereby improving the overall economy of the distribution network.

[0139] In case A and case C, in order to reduce the risk of failure caused by the failure to repair the battery cluster in time, the battery cluster with higher failure probability and larger capacity will be repaired as early as possible, and the repair order of each device will correspond to the failure probability. In addition, in order to ensure the economy of the maintenance work, case A and case C will also arrange some maintenance work to be carried out during the period of high photovoltaic power generation, which will reduce the risk of failure to repair the battery cluster in time and avoid excessive power shortage in the distribution network due to large-scale shutdown of the battery cluster for maintenance.

[0140] In summary, the present invention can improve the economy of power grid maintenance work while reducing the risk cost caused by untimely maintenance of energy storage equipment as much as possible, and has certain reference value for actual projects.

[0141] See also Fig. 9 The present invention also provides a distribution network electrochemical energy storage maintenance optimization device considering multiple flexible resources, which is applied to the above-mentioned distribution network electrochemical energy storage maintenance optimization method considering multiple flexible resources, and the device comprises:

[0142] A distribution network operation model construction module is used to construct a distribution network operation model that takes into account multiple types of flexible resources. The distribution network operation model includes multiple types of flexible resource operation constraints consisting of temporal and spatial movement constraints of mobile power sources, energy output constraints of mobile power sources, and operation constraints and regulation constraints of air-conditioning loads; the mobile power sources include mobile energy storage and emergency power supply vehicles;

[0143] The electrochemical energy storage maintenance optimization model construction module is used to construct an electrochemical energy storage maintenance optimization model with the minimum sum of the maintenance economic cost and the maintenance risk cost within the maintenance cycle as the optimization goal. The constraints of the electrochemical energy storage maintenance optimization model include distribution network operation constraints, maintenance plan constraints, and multi-type flexible resource operation constraints;

[0144] The optimal maintenance strategy acquisition module is used to solve the electrochemical energy storage maintenance optimization model using a tolerant hierarchical sequence method to obtain the optimal maintenance strategy.

[0145] See also Fig.10 , the present invention also provides a distribution network electrochemical energy storage maintenance optimization device considering multiple flexible resources, including a memory and a processor;

[0146] The memory is used to store computer program code and transmit the computer program code to the processor;

[0147] The processor is used to execute the above-mentioned distribution network electrochemical energy storage maintenance optimization method considering multiple flexible resources according to the instructions in the computer program code.

[0148] The present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the above-mentioned method for optimizing the maintenance of electrochemical energy storage in a distribution network taking into account multiple flexible resources is implemented.

[0149] Generally speaking, the computer instructions for implementing the method of the present invention may be carried in any combination of one or more computer-readable storage media. Non-transitory computer-readable storage media may include any computer-readable media, except for the signal itself that is temporarily propagating.

[0150] The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EKROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device, or device.

[0151] Computer program code for performing the operation of the present invention can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages, in particular, Python suitable for neural network computing and platform frameworks based on TensorFlow, PyTorch, etc. can be used. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer or to an external computer (for example, using an Internet service provider to connect via the Internet) through any type of network, including a local area network (LAN) or a wide area network (WAN).

[0152] The above-mentioned device and non-temporary computer-readable storage medium can be found in the specific description of a distribution network electrochemical energy storage maintenance optimization method considering multiple flexible resources and its beneficial effects, which will not be repeated here.

[0153] Although the embodiments of the present invention have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A method for optimizing the maintenance of electrochemical energy storage in distribution networks considering multiple flexible resources, characterized in that: include: Construct a distribution network operation model that considers multiple types of flexible resources. The distribution network operation model includes multiple types of flexible resource operation constraints consisting of temporal and spatial movement constraints of mobile power sources, energy output constraints of mobile power sources, and operation constraints and regulation constraints of air-conditioning loads. The mobile power sources include mobile energy storage and emergency power supply vehicles. The space-time movement constraints of the movable power source are: Where N CE N is the set of nodes in the distribution network that can be connected to a mobile power source; MPS A collection of removable power sources; is the access state variable of the mobile power source m and the accessible node i; is the mobile state variable of the movable power source m; τ i,j is the time required for the mobile power source to travel from the accessible node i to the accessible node j; τ is the time when the mobile power source starts to move; is the access state variable of the mobile power source m and the accessible node j; The energy output constraint of the mobile energy storage is: In the formula, and are the charging and discharging state variables of mobile energy storage respectively; N CM A collection of mobile energy storage; and are the actual values ​​of charging and discharging power of mobile energy storage respectively; and They are the upper limits of charging and discharging power of mobile energy storage respectively; SOC m,t is the charge state of the mobile energy storage at time t; Δt is the duration of the adjacent scheduling period; and They are the charging and discharging efficiency of mobile energy storage respectively; is the mobile power source, m is the power consumption per unit time when the mobile energy storage is moving; EC m is the total capacity of mobile energy storage; and They are the upper and lower limits of the state of charge of the mobile energy storage, respectively; The energy output constraint of the emergency power supply vehicle is: In the formula, u m,t P is the output status of the emergency power supply vehicle; m,t and Q m,t are the actual values ​​of active and reactive power output of the emergency power supply vehicle; P m,max and Q m,max They are the upper limits of active and reactive output of the emergency power supply vehicle respectively; P m,min and Q m,min It is the lower limit of active and reactive power output of emergency power supply vehicle; v m,max The maximum climbing rate of the emergency power supply vehicle; is the power consumption per unit time when the mobile power source m is an emergency power supply vehicle; δ m is the fuel coefficient of the emergency power supply vehicle; q m,t is the remaining fuel of the emergency power supply vehicle; q m,max The maximum amount of fuel that can be carried by the emergency power supply vehicle; The operating constraints of the air conditioning load are: E SOC,t =μ1E SOC,t-1 +μ2P IAC,t +μ3-μ4T env,t ; In the formula, E SOC,t The generalized energy storage equivalent state of charge for the air conditioner and its building rooms; and are the upper and lower limits of room temperature change respectively; is the actual room temperature at time t; μ1, μ2, μ3 and μ4 are all parameters of the generalized energy storage model; T env,t is the temperature of the external environment; P IAC,t is the power consumed by the air conditioning cluster; Δt is the duration of the adjacent scheduling period; R a is the equivalent thermal resistance of the air-conditioned room; C a is the equivalent heat capacity of the air-conditioned room; k1, b1, k2 and b2 are the corresponding parameters of the air-conditioning thermoelectric conversion model; P IAC,max and P IAC,min are the upper and lower limits of the generalized energy storage active power respectively; Q IAC,t is the reactive power of generalized energy storage; is the power factor of generalized energy storage; The control constraint of the air conditioning load is: -ΔE SOC,max ≤E SOC,t -E SOC,t-1 ≤ΔE SOC,max ; In the formula, ΔE SOC,max is the maximum value of the range of variation of the generalized energy storage equivalent state of charge; is the base power of the air conditioning cluster at time t; E SOC,ini is the initial value of the generalized energy storage equivalent state of charge; An electrochemical energy storage maintenance optimization model is constructed with the optimization objective of minimizing the sum of the maintenance economic cost and the maintenance risk cost within the maintenance cycle. The constraints of the electrochemical energy storage maintenance optimization model include distribution network operation constraints, maintenance plan constraints, and multi-type flexible resource operation constraints. The distribution network operation constraints include power purchase constraints of the upper power grid, operation constraints of conventional units, operation constraints of distributed power sources, operation constraints of electrochemical energy storage power stations, and power balance and reserve constraints: 0≤P sup,t ≤P sup,max ; Where P sup,t and P sup,max are the actual value and maximum value of the power purchased by the distribution network from the upper power grid; P l,min and P l,max are the minimum and maximum active output of dispatchable unit l respectively; Q l,min and Q l,max is the minimum and maximum value of the reactive power output of the dispatchable unit l; P l,t and Q l,t is the actual value of active and reactive output of dispatchable unit l; v l,max is the maximum ramp rate of the dispatchable unit; N REG is the set of distributed units; P h,t , and δ h,t are the actual value, predicted value, prediction error, maximum prediction error and error interval adjustment coefficient of the active output of distributed power source h at time t; Γ t is the robust cost coefficient of distributed generation; Q h,t is the actual value of the reactive power output of the distributed generation h at time t; is the power factor of the distributed power source h; N BES,e It is a collection of battery clusters in an electrochemical energy storage power station e; and They are the charging and discharging state variables of the electrochemical energy storage power station e as a whole; and are the charge and discharge state variables of the battery cluster b in the electrochemical energy storage power station e, respectively; The start time of maintenance work of maintenance team Z on battery cluster b to be repaired; The duration of the maintenance work for the battery cluster b to be repaired; and are the actual values ​​of the charging and discharging power of the battery cluster b to be repaired; and are the actual values ​​of the charging and discharging power of the electrochemical energy storage power station e, respectively; The actual power delivered to the grid by the electrochemical energy storage power station e; is the maximum discharge power of the electrochemical energy storage power station e; and are the charging and discharging efficiency of the electrochemical energy storage power station e; I e,max is the maximum amount of electric energy transferred by the electrochemical energy storage power station on day e; L is the prediction error of the distribution network load; λ 1,t and λ 2,t is the Lagrange dual variable; N T is the set of scheduling periods; N DU is the set of dispatchable units; N ESPS It is a collection of electrochemical energy storage power stations; The time when the maintenance work of the battery cluster b to be repaired starts; The maintenance plan constraints are: Where N IMR N is the set of battery clusters to be repaired; MC For the assembly of maintenance teams; is the maintenance state variable of the battery cluster b to be repaired; The working status of the maintenance team z for the battery cluster b to be repaired; is the time when the maintenance work of the maintenance team Z on the battery cluster b to be repaired ends; τ z,max The upper limit of continuous working time of maintenance team Z; The tolerant hierarchical sequence method is used to solve the electrochemical energy storage maintenance optimization model and obtain the optimal maintenance strategy.

2. A method for optimizing the maintenance of electrochemical energy storage in a distribution network considering multiple flexible resources according to claim 1, characterized in that: The objective function of the electrochemical energy storage maintenance optimization model is: min C=min{C econ ,C risk }; C econ =C DU +C ESPS +C sup +C DR +C MPS +C IMR ; e s,f =f(e 1,t ,he 2,t ,...eh b,t ); Where C is the objective function of the electrochemical energy storage maintenance optimization model; C econ The economic cost of maintenance, including the equipment maintenance cost and operation cost of the distribution network during the maintenance process; C risk The cost of maintenance risk; C DU , C ESPS , C sup , C DR , C MPS and C IMR They are the operating cost of dispatchable units, the operating cost of electrochemical energy storage power stations, the power purchase cost of the upper power grid, the demand response subsidy cost, the mobile power purchase cost and the maintenance cost; N T is the set of scheduling periods; N DU 、N ESPS 、N DR 、N MPS 、N IMR and N MC are the set of dispatchable units, electrochemical energy storage power stations, air conditioning cluster demand response, mobile power sources, battery clusters to be repaired, and maintenance teams; c l 、c e 、c sup,t 、c DR,t and c MPS,t are the fuel cost coefficient of the dispatchable unit, the charging and discharging cost coefficient of the electrochemical energy storage power station, the power purchase cost of the upper power grid, the demand response subsidy cost coefficient and the mobile power purchase cost coefficient; P l,t is the actual value of the active output of the dispatchable unit l; and are the actual values ​​of charging and discharging power of the energy storage station e; P sup,t P is the actual value of the power purchased by the distribution network from the upper power grid; i,t is the actual power demand of the air conditioning cluster at node i; is the theoretical power demand of the air conditioning cluster at node i; P m,t It is the actual value of the active power output of the emergency power supply vehicle; The working status of the maintenance team z for the battery cluster b to be repaired; and are equipment maintenance costs and maintenance personnel work costs respectively; N Fail is a collection of failure events of equipment to be repaired; is the expected value of the power loss of the distribution network caused by the failure event S of the equipment to be repaired at time t; Δt is the duration of the scheduling period; ε s,t is the probability of occurrence of the equipment failure event s at time t; f(·) is the calculation formula for the probability of failure event occurrence; ε b,t is the failure rate of the battery cluster b to be repaired at time t; γ1, γ2 and γ3 are characteristic parameters of the failure rate of the battery cluster to be repaired; ε b,ini is the initial failure rate of the battery cluster b to be repaired; is the maintenance state variable of the battery cluster b to be repaired; The time when the maintenance work of battery cluster b to be repaired starts.

3. The method for optimizing the maintenance of electrochemical energy storage in a distribution network considering multiple flexible resources according to claim 1 is characterized in that: The method of using the tolerant hierarchical sequence method to solve the electrochemical energy storage maintenance optimization model to obtain the optimal maintenance strategy includes: First, the maintenance risk cost is set as the first-level optimization target, and the maintenance economic cost is set as the second-level optimization target. Then, the optimal solution of the maintenance risk cost is solved, and the solution is relaxed as a constraint for solving the maintenance economic cost. The optimal tolerance coefficient is searched. According to the optimal tolerance coefficient, the maintenance risk cost is used as a constraint condition, and the maintenance economic cost is used as the optimization target. The electrochemical energy storage maintenance optimization model is solved by mathematical programming method to obtain the optimal maintenance strategy for electrochemical energy storage.

4. A distribution network electrochemical energy storage maintenance optimization device considering multiple flexible resources, characterized in that: The device is applied to the method described in any one of claims 1 to 3, and the device comprises: A distribution network operation model construction module is used to construct a distribution network operation model that takes into account multiple types of flexible resources. The distribution network operation model includes multiple types of flexible resource operation constraints consisting of temporal and spatial movement constraints of mobile power sources, energy output constraints of mobile power sources, and operation constraints and regulation constraints of air-conditioning loads; the mobile power sources include mobile energy storage and emergency power supply vehicles; The electrochemical energy storage maintenance optimization model construction module is used to construct an electrochemical energy storage maintenance optimization model with the minimum sum of the maintenance economic cost and the maintenance risk cost within the maintenance cycle as the optimization goal. The constraints of the electrochemical energy storage maintenance optimization model include distribution network operation constraints, maintenance plan constraints, and multi-type flexible resource operation constraints; The optimal maintenance strategy acquisition module is used to solve the electrochemical energy storage maintenance optimization model using a tolerant hierarchical sequence method to obtain the optimal maintenance strategy.

5. A distribution network electrochemical energy storage maintenance optimization device considering multiple flexible resources, characterized in that: including memory and processor; The memory is used to store computer program code and transmit the computer program code to the processor; The processor is configured to execute the method according to any one of claims 1 to 3 according to instructions in the computer program code.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.