A collaborative optimization configuration method for primary and secondary equipment considering multiple scenarios
Through Monte Carlo simulation and adaptive bat algorithm, typical fault operation scenarios and optimal configuration models are generated, which solves the problem of low credibility of collaborative optimization configuration of primary and secondary equipment in the existing technology, and improves the safety, reliability and safety of the power grid. Economy.
Patent Information
- Application Number
- CN202410917083.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-07-10
AI Technical Summary
The existing technology fails to comprehensively examine multiple operating scenarios, resulting in low credibility of the collaborative optimization configuration results of primary and secondary equipment, making it difficult to meet the safe and reliable operation needs of the power grid.
Monte Carlo simulation scenario clustering and reduction are used to generate typical fault operation scenarios. Combined with normal operation scenarios and typical main transformer N-1 scenarios, a primary and secondary equipment collaborative optimization configuration model is established, and the adaptive bat algorithm is used to solve to determine the equipment configuration results. .
The reliability of the collaborative optimization configuration of primary and secondary equipment is improved. By comprehensively considering the impact of different operating scenarios, the total system cost is reduced, and the power supply capacity and user reliability are improved.
Smart Images

Figure CN118472944B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of collaborative optimization configuration of power grids, and in particular to a collaborative optimization configuration method for primary and secondary equipment that comprehensively considers multiple scenarios. Background Art
[0002] With the continuous increase in electricity demand and the rapid growth of load, today's society has put forward higher requirements for the safe and reliable operation of distribution networks. Distribution automation equipment can remotely obtain distribution network operation data, quickly identify distribution network faults, and improve power supply reliability. At the same time, distribution automation equipment can realize the automation of system operation and management, save labor costs, and improve system economy.
[0003] Traditional distribution terminal optimization mainly considers the configuration of distribution automation equipment under normal conditions, but does not consider the impact of typical fault operation scenarios and typical main transformer N-1 scenarios. As a result, the credibility of the results of the coordinated optimization configuration of primary and secondary equipment is low, making it difficult to apply them in practice. Summary of the invention
[0004] In view of the above analysis, an embodiment of the present invention aims to provide a method for collaborative optimization configuration of primary and secondary equipment that comprehensively considers multiple scenarios, so as to solve the problem in the prior art that the credibility of the collaborative optimization configuration results of primary and secondary equipment is low due to the failure to comprehensively examine the possible operating scenarios of the multi-energy coupling system.
[0005] The present invention discloses a method for collaborative optimization configuration of primary and secondary equipment taking multiple scenarios into consideration, including:
[0006] Generate multiple typical fault operation scenarios through Monte Carlo simulation scenario clustering and reduction; and determine the multi-energy coupling power outage loss cost based on the generated multiple typical fault operation scenarios;
[0007] Determine the maximum power supply capacity release benefits based on normal operation scenarios and typical main transformer N-1 scenarios;
[0008] Determine the response benefits of multi-energy coupling resources based on normal operation scenarios;
[0009] The goal is to minimize the total system cost by comprehensively considering the equipment investment cost of the entire life cycle, the response benefits of multi-energy coupling resources, the benefits of releasing the maximum power supply capacity, and the loss costs of multi-energy coupling power outages. The primary and secondary equipment collaborative optimization configuration model is established with the constraints of meeting the charging and discharging constraints of the energy storage power station under normal operation scenarios, the power balance constraints of the multi-energy coupling system, the maximum power supply capacity constraints, the radial topology constraints, and the user reliability / resilience index constraints.
[0010] The adaptive bat algorithm is used to solve the primary and secondary equipment collaborative optimization configuration model to obtain the primary and secondary equipment collaborative optimization configuration result.
[0011] On the basis of the above scheme, the present invention also makes the following improvements:
[0012] Furthermore, the primary and secondary equipment collaborative optimization configuration results include the installation type of the primary equipment connected to each user in the multi-energy coupling system, the installation capacity of the primary equipment, and the installation type of the secondary equipment; wherein,
[0013] Primary equipment includes gas turbines, energy storage power stations, gas boilers and absorption chillers;
[0014] The secondary equipment includes the second remote distribution terminal and the third remote distribution terminal.
[0015] Furthermore, the charging and discharging constraints of the energy storage power station under normal operation scenarios are expressed as:
[0016] (1)
[0017] (2)
[0018] (3)
[0019] , (4)
[0020] In the formula, For energy storage power station exist State of charge during the time period; For energy storage power station The initial state of charge; For energy storage power station exist Charging decision for each time period; Indicates charging. Indicates not charging; For energy storage power station exist Discharge decision for each time period; Indicates discharge, Indicates no discharge; For energy storage power station The charge and discharge efficiency; For energy storage power station Rated power; Indicates the time scale; Energy storage power station Capacity; , Energy storage power station The lower and upper limits of the state of charge.
[0021] Furthermore, the power balance constraint of the multi-energy coupling system under normal operation scenario is expressed as:
[0022] (5)
[0023] In the formula, for Power purchased by the power grid during the period, For users exist Load demand during the time period; , Respectively represent energy storage power stations exist Discharge power and charge power in each time period; For gas turbines exist The power supplied to the load during the period; For gas boilers exist The electrical power replaced during the period; Absorption Refrigeration Machine exist The load replaced by the time period, , , , They are a collection of gas turbines, energy storage power stations, gas boilers, and absorption chillers.
[0024] Furthermore, the maximum power supply capacity constraint under normal operation scenario is expressed as:
[0025] (6)
[0026] (7)
[0027] (8)
[0028] (9)
[0029] (10)
[0030] (11)
[0031] (12)
[0032] (13)
[0033] (14)
[0034] (15)
[0035] (16)
[0036] In the formula, For users In the The load growth factor of a typical main transformer N-1 scenario; For users Load growth base; , For users The parent node set and child node set of , Line The active and reactive currents, , For separate lines The resistance and reactance of For line The current, , , Substation ,gas turbine , Energy Storage Power Station The active power, , , Substation ,gas turbine , Energy Storage Power Station Reactive power; , , Connect users separately A subset of substations, gas turbines, and energy storage plants, , For users Reactive load, growth base, For users The node voltage, , For users The voltage lower and upper limits, For line The maximum current, , Line The running status and connection status of , Line The upper limit of active and reactive power flow, , , Substation ,gas turbine , Energy Storage Power Station The upper limit of active power, , , Substation ,gas turbine , Energy Storage Power Station The upper limit of reactive power; , Respectively represent users In the The lower and upper limits of the load growth factor for a typical main transformer N-1 scenario; Represents a constant.
[0037] Furthermore, the primary and secondary equipment collaborative optimization configuration model is constructed with the minimum system total cost as the objective function; the system total cost It is expressed as:
[0038] (17)
[0039] In the formula, is the multi-energy coupling power outage loss cost, The investment cost of equipment over the entire life cycle is For the multi-energy coupling resource response benefits, Unleash benefits for maximum power supply capacity.
[0040] Furthermore, the total life cycle equipment investment cost It is expressed as:
[0041] (18)
[0042] in, is the investment cost of the power distribution terminal, is the investment cost of the gas turbine, is the investment cost of the energy storage power station, The investment cost of the gas boiler is is the investment cost of the absorption chiller;
[0043] (19)
[0044] In the formula, is the discount rate, For the planned economic cycle, is the set of all lines, is the operation and maintenance cost coefficient of the power distribution terminal; is the unit price of the second remote power distribution terminal, The unit price of the three remote power distribution terminals; Indicates line The installation status variable of the upper two remote power distribution terminals is a 0-1 binary variable. Indicates line Install two remote power distribution terminals on the Indicates line No second remote power distribution terminal is installed; Indicates line The installation status variable of the upper three remote power distribution terminals is a 0-1 binary variable. Indicates line Install three remote power distribution terminals on the Indicates line Three remote power distribution terminals are not installed;
[0045] (20)
[0046] (twenty one)
[0047] (twenty two)
[0048] (twenty three)
[0049] In the formula, , , , are the initial investment costs of the gas turbine, energy storage power station, gas boiler, and absorption chiller per unit capacity, respectively. , , , They are the operation and maintenance costs of gas turbines, energy storage power stations, gas boilers, and absorption chillers per unit capacity; Gas Turbine The capacity, Energy storage power station The capacity, Indicates gas boiler The capacity, Absorption Refrigeration Machine capacity.
[0050] Furthermore, the multi-energy coupling resource response benefits It is expressed as:
[0051] (twenty four)
[0052] In the formula, The total number of time periods included in the normal operation scenario; for Time-of-use electricity prices; , The unit calorific value price of natural gas is For gas turbines efficiency; For gas boilers efficiency; is the unit heat energy cost of the absorption chiller, For gas boiler efficiency.
[0053] Further, maximum power supply capacity releases benefits It is expressed as:
[0054] (25)
[0055] In the formula, is a collection of users; The capacity of a typical new grid; The cost of building a new transformer, The cost of building a new line, is a collection of typical main transformer N-1 scenarios;
[0056] Multi-energy coupling power outage loss cost It is expressed as:
[0057] (26)
[0058] In the formula, is the total number of typical fault operation scenarios, For the The weight of a typical fault operation scenario; For the Annual power outage loss for users under a typical fault operation scenario: For the Load restoration cost of multi-energy coupling equipment under a typical fault operation scenario.
[0059] Further, the adaptive bat algorithm is used to solve the primary and secondary equipment collaborative optimization configuration model to obtain the primary and secondary equipment collaborative optimization configuration result, and execute:
[0060] Initialize the parameters of the bat population; set the bat position matrix; initialize the parameters of the multi-energy coupling system; wherein the bat position matrix is used to represent the installation type of the primary equipment connected to each user in the multi-energy coupling system, the installation capacity of the primary equipment, and the installation type of the secondary equipment in a coded manner;
[0061] Randomly generate the initial bat position matrix of each bat population as the first generation bat position matrix;
[0062] In the first generation, the objective function corresponding to the corresponding bat is calculated according to the bat position matrix of each bat in the first generation bat population and the parameters of the multi-energy coupling system, which is used as the fitness of the corresponding bat in the first generation bat population; and the bat with the smallest fitness is selected as the optimal bat of the first generation;
[0063] In the generation, , update The pulse frequency of the generation, and the The flight speed and bat position matrix of each bat in the first generation bat population; and calculate the The fitness of each bat in the bat population;
[0064] Determine Whether each bat in the next generation performs local search; if so, update the The bat position matrix and fitness of the corresponding bats in the first generation bat population; otherwise, no local search is performed; then, the first The best bat of the generation;
[0065] Determine whether the termination condition is met. If the maximum number of iterations is reached, stop the iteration and output the bat position matrix corresponding to the bat with the smallest fitness as the primary and secondary equipment collaborative optimization configuration model; otherwise, take , then jump to Update The pulse frequency of the generation, and the The steps of generating the flight speed and bat position matrix of each bat in the bat population.
[0066] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:
[0067] The method for collaborative optimization configuration of primary and secondary equipment that comprehensively considers multiple scenarios provided by the present invention comprehensively considers the impact of various operating scenarios on the operation of the multi-energy coupling system, and gives relevant representations of the impact on the collaborative optimization configuration of primary and secondary equipment under different responses. On this basis, the goal is to minimize the total system cost that comprehensively considers the equipment investment cost of the entire life cycle, the response benefit of multi-energy coupling resources, the maximum power supply capacity release benefit, and the multi-energy coupling power outage loss cost, and to meet the energy storage power station charging and discharging constraints under normal operating scenarios, the power balance constraints of the multi-energy coupling system, the maximum power supply capacity constraints and the radial topology constraints, and the user reliability / resilience index constraints. Constraints, establish a collaborative optimization configuration model for primary and secondary equipment. Finally, the adaptive bat algorithm is used to solve the collaborative optimization configuration model of the primary and secondary equipment to obtain the collaborative optimization configuration results of the primary and secondary equipment. Since the entire process comprehensively considers the impact of different operating scenarios and the specific impact methods, the reliability of the final collaborative optimization configuration results of the primary and secondary equipment is higher.
[0068] In the present invention, the above-mentioned technical solutions can also be combined with each other to achieve more preferred combination solutions. Other features and advantages of the present invention will be described in the subsequent description, and some advantages can become obvious from the description, or can be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] The accompanying drawings are only used for the purpose of illustrating specific embodiments and are not to be considered as limiting the present invention. In the entire drawings, the same reference symbols represent the same components;
[0070] Figure 1 A flowchart of a method for collaborative optimization configuration of primary and secondary devices taking into account multiple scenarios provided by an embodiment of the present invention;
[0071] Figure 2 A flow chart of an adaptive bat algorithm for solving an embedded model provided by an embodiment of the present invention;
[0072] Figure 3 The electrical topology diagram of the 94-node system provided by the embodiment of the present invention;
[0073] Figure 4 The configuration of the distributed power supply, UPS and power distribution terminal provided in the embodiment of the present invention. DETAILED DESCRIPTION
[0074] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.
[0075] A specific embodiment of the present invention discloses a method for collaborative optimization configuration of primary and secondary devices taking into account multiple scenarios. The flowchart is as follows: Figure 1 shown.
[0076] Step S1: Generate multiple typical fault operation scenarios through Monte Carlo simulation scenario clustering and reduction; and determine the multi-energy coupling power outage loss cost based on the generated multiple typical fault operation scenarios;
[0077] Step S2: Determine the maximum power supply capacity release benefit according to the normal operation scenario and the typical main transformer N-1 scenario;
[0078] Step S3: Determine the response benefits of multi-energy coupling resources according to the normal operation scenario;
[0079] Step S4: Taking the lowest total system cost that comprehensively considers the equipment investment cost of the entire life cycle, the response benefits of multi-energy coupling resources, the benefits of releasing the maximum power supply capacity, and the multi-energy coupling power outage loss costs as the goal, and satisfying the energy storage power station charging and discharging constraints under normal operation scenarios, the power balance constraints of the multi-energy coupling system, the maximum power supply capacity constraints and the radial topology constraints, and the user reliability / resilience index constraints as constraints, a primary and secondary equipment collaborative optimization configuration model is established;
[0080] Step S5: using the adaptive bat algorithm to solve the primary and secondary equipment collaborative optimization configuration model to obtain the primary and secondary equipment collaborative optimization configuration result.
[0081] Specifically, the collaborative optimization configuration results of the primary and secondary equipment include the installation type of the primary equipment connected to each user in the multi-energy coupling system, the installation capacity of the primary equipment, and the installation type of the secondary equipment; wherein the primary equipment includes gas turbines, energy storage power stations, gas boilers and absorption chillers; and the secondary equipment includes two remote distribution terminals and three remote distribution terminals.
[0082] In this embodiment, the calculation method of the equipment investment cost of the whole life cycle, the response benefit of multi-energy coupling resources, the benefit of releasing the maximum power supply capacity, and the cost of multi-energy coupling power outage loss is first introduced as follows. Then, the expressions of the objective function and constraints in the established primary and secondary equipment collaborative optimization configuration model are given. It should be noted that when conducting comprehensive planning, this implementation needs to consider different scenarios and calculate various costs and benefits; at the same time, because the planning is oriented to the whole life cycle, when calculating costs and benefits, the results need to be converted to annual situations.
[0083] (1) Equipment investment cost over the entire life cycle
[0084] In this embodiment, the full life cycle equipment investment cost includes the investment cost of primary and secondary equipment. Specifically, the investment cost of primary and secondary equipment includes the investment cost of the power distribution terminal, the investment cost of the gas turbine, the investment cost of the energy storage power station, the investment cost of the gas boiler and the investment cost of the absorption chiller. Each investment cost is divided into initial investment cost and operation and maintenance cost. Full life cycle equipment investment cost It is expressed as:
[0085] (1)
[0086] in, is the investment cost of the power distribution terminal, is the investment cost of the gas turbine, is the investment cost of the energy storage power station, The investment cost of the gas boiler is is the investment cost of the absorption chiller.
[0087] (2)
[0088] In the formula, is the discount rate, For the planned economic cycle, is the set of all lines, is the operation and maintenance cost coefficient of the power distribution terminal; is the unit price of the second remote power distribution terminal, The unit price of the three remote power distribution terminals; Indicates line The installation status variable of the upper two remote power distribution terminals is a 0-1 binary variable. Indicates line Install two remote power distribution terminals on the Indicates line No second remote power distribution terminal is installed; Indicates line The installation status variable of the upper three remote power distribution terminals is a 0-1 binary variable. Indicates line Install three remote power distribution terminals on the Indicates line The three remote power distribution terminals are not installed.
[0089] (3)
[0090] (4)
[0091] (5)
[0092] (6)
[0093] In the formula, , , , are the initial investment costs of the gas turbine, energy storage power station, gas boiler, and absorption chiller per unit capacity, respectively. , , , They are the operation and maintenance costs of gas turbines, energy storage power stations, gas boilers, and absorption chillers per unit capacity; Gas Turbine The capacity, Energy storage power station The capacity, Indicates gas boiler The capacity, Absorption Refrigeration Machine capacity.
[0094] In formulas (1)-(6), , , , , , are all decision variables.
[0095] (2) Multi-energy coupling resource response benefits
[0096] Consider the normal operating scenario and calculate the response benefit of multi-energy coupling resources. During the specific implementation process, multiple typical days in which the system is in a normal operating scenario are selected as normal operating scenarios, and each typical day is divided into multiple time periods according to the time scale. Different time periods correspond to different user load values and time-of-use electricity prices. The response benefit of multi-energy coupling resources is calculated based on the load in a typical day and the output of cold, hot and gas multi-energy coupling resources. During the specific implementation process, the construction of multi-energy coupling equipment on the demand side and the supply side can assist in supplying loads, reduce the cost of purchasing electricity from the power grid and thus improve economic benefits. Response benefits of multi-energy coupling resources It is expressed as:
[0097] (7)
[0098] In the formula, The total number of time periods included in the normal operation scenario; for Time-of-use electricity prices; For gas turbines exist The power supplied to the load during the period; , The unit calorific value price of natural gas is For gas turbines efficiency; For gas boilers exist The electrical power replaced during the period; For gas boilers efficiency; Absorption Refrigeration Machine exist The load (electric power) replaced during the period, is the unit heat energy cost of the absorption chiller, For gas boiler efficiency; Indicates the time scale. Preferably, in this embodiment, four typical days are set, each of which is 24 hours, for a total of 96 hours. Therefore, , Take 1h. In the above formula, the objective function is the annualized multi-energy coupling response benefit.
[0099] In formula (7), , , As intermediate variables in the model solving process, they are respectively related to the corresponding decision variables , , There is a definite size relationship that can be used as a reference for determining decision variables.
[0100] (3) Maximum power supply capacity releases benefits
[0101] When calculating the maximum power supply capacity release benefit, select the normal operation scenario and the typical main transformer N-1 scenario, and calculate the maximum power supply capacity release benefit respectively. The determination method of the typical main transformer N-1 scenario can be implemented using the existing method, which will not be repeated here. Since the system needs to meet the maximum power supply capacity under all typical N-1 scenarios, the N-1 scenario with the smallest maximum power supply capacity is selected to calculate the maximum power supply capacity release benefit.
[0102] Building gas turbines, energy storage power stations and other equipment in the system can improve the flow and increase the maximum power supply capacity of the system. The increase in the maximum power supply capacity can reduce the number of new grids, thereby reducing the investment cost of new grids and increasing economic benefits. The maximum power supply capacity releases benefits It is expressed as:
[0103] (8)
[0104] In the formula, For users In the The load growth factor of a typical main transformer N-1 scenario, is a collection of users; For users Load growth base, The capacity of a typical new grid; The cost of building a new transformer. The cost of building a new line, is a collection of typical main transformer N-1 scenarios; user refers to a node in the system, where a gas turbine, energy storage power station, gas boiler or absorption chiller is installed. It should be noted that the numerator in formula (8) represents the maximum load that the grid can withstand after the primary and secondary equipment in this embodiment is added, and the total amount after the increase is expressed by multiplying the load increase coefficient by the increase base.
[0105] (4) Multi-energy coupling power outage loss cost
[0106] Secondly, typical fault operation scenarios are considered to calculate the multi-energy coupling power outage loss costs. The non-sequential Monte Carlo simulation method is used to generate multiple typical fault operation scenarios, cluster and reduce the typical fault operation scenarios, generate multiple typical fault operation scenarios and corresponding weights, and calculate the annual power outage loss costs under each typical fault operation scenario.
[0107] The annual power outage loss of multi-energy users is analyzed as follows: when a power grid failure occurs, the multi-energy coupling equipment on the demand side can restore a certain load and reduce the power outage loss. According to the power outage duration of the user and the load that has not been restored by the multi-energy coupling equipment on the demand side, the user's load loss can be calculated. Then, according to the user's load loss and the power outage loss per unit load loss of multiple types of users, the annual power outage loss of the user under a typical fault operation scenario can be obtained. Specifically, Annual power outage loss for users under typical fault operation scenarios It is expressed as:
[0108] (9)
[0109] In the formula, For the Typical fault operation scenarios The duration of the power outage, For users The load demand, , For users The gas boilers and absorption chillers at the site can restore their loads. The power outage losses caused by lack of power supply to the user unit.
[0110] However, since gas boilers need to consume natural gas, absorption chillers need to consume heat, and using multi-energy coupling equipment to restore loads also requires a certain cost, Load restoration cost of multi-energy coupling equipment under typical fault operation scenarios It is expressed as:
[0111] (10)
[0112] In the formula, , They are the costs required to restore unit electricity for gas boilers and absorption chillers respectively.
[0113] After calculating the sum of the user's annual power outage loss and the load restoration cost of the multi-energy coupling equipment under each typical fault operation scenario, the multi-energy coupling power outage loss cost (system annual power outage loss) is calculated according to the weight of the corresponding scenario. It is expressed as:
[0114] (11)
[0115] In the formula, is the total number of typical fault operation scenarios, For the The weight of a typical fault operation scenario.
[0116] In this implementation, Typical fault operation scenarios Duration of power outage , determined in the following way. When quantifying the power outage losses of users using the multi-energy coupling distribution system power outage loss quantification method considering conventional faults and extreme weather, it is necessary to first determine the type of fault. The fault may be in the user's main path or sub-path. The main path is defined as the shortest path from the user to the power source point. When the fault line is located in the user's main circuit, the fault will affect the user's power supply path. Therefore, the user can only resume power supply after the fault line is repaired or the load is transferred. The sub-path is a path other than the main path. When the fault line is in the user's sub-path, the fault will not affect the power supply path from the power source to the user. Therefore, when a fault occurs on the user's sub-path, a circuit breaker can be used to isolate the fault and restore the user's power supply.
[0117] 1) Analysis of power outage duration due to main path failure
[0118] Since when the fault line is a main path fault, the fault will affect the user's power supply path. Only after the fault line is repaired or the load is transferred, can the user resume power supply. This method considers two modes of distributed power supply: island power supply and interconnection line transfer when transferring load after a fault. When calculating the duration of power outage for users in the interconnection line transfer mode, the fault must be isolated using a section switch before transferring the load. In order to determine which section switch needs to be searched to isolate the fault and confirm the power outage duration based on the terminal conditions installed on the section switch, the main path terminal search set (MPTSS) is defined, and the MPTSS is obtained through the following steps:
[0119] a) Find the intersection of the main path of the terminal user of the faulty line and the main path of the head-end user of the tie line used for transmission;
[0120] b) Take the shortest path from the intersection point obtained in the first step to the faulty line, and search for the existence of a circuit breaker. The set of all searched lines is part of the MPTSS. The other part of the MPTSS is the shortest path from the intersection point of the user's main path and the main path of the user at the end of the tie line for transmission (if any) to the faulty line or the line from the end of the faulty line to the user.
[0121] When the fault line is located in the user's main path, the calculation method for the specific user outage duration is as follows, taking into account single and multiple fault scenarios, and considering island recovery and network reconstruction:
[0122] When the user is not in the island and no circuit breaker is installed on the lines in the MPTSS, the user needs to wait for the fault to be repaired and the power to be restored, as shown in formula (12). When the user is on the DG island, but the island switch is not equipped with a distribution terminal, the user needs to wait for the fault to be located and manually operate the island switch to form an island to obtain power supply. Alternatively, when a circuit breaker is installed on a line in both parts of the MPTSS, but no distribution terminal is installed, it is necessary to wait for the fault area to be located and manually isolate the fault, as shown in formula (13). When the user is in the DG island, the island switch is installed with a two-remote distribution terminal, but no three-remote distribution terminal is installed, the user needs to manually operate the island switch to form an island to obtain power supply. Alternatively, when a line in both parts of the MPTSS is installed with a two-remote distribution terminal, but no three-remote distribution terminal is installed, it is necessary to manually isolate the fault, as shown in formula (14). When the user is in the DG island and the island switch is installed on a three-remote distribution terminal, the user can quickly restore power supply. Alternatively, when a line in both parts of the MPTSS has a three-remote distribution terminal installed, the fault can be quickly isolated, as shown in equation (15). After the fault is isolated, if a tie line is available, the load can be transferred by closing the tie switch.
[0123] (12)
[0124] (13)
[0125] (14)
[0126] (15)
[0127] In the formula, For users On the line The duration of power outage in case of failure; , , They are fault repair, fault location, and manual switch action time respectively; For users On the line The first part of the main circuit terminal search set in case of fault; For users On the line The second part of the main circuit terminal search set during a fault; It is a 0-1 binary variable, indicating the line The installation status of the upper circuit breaker (1 means installed, 0 means not installed); It is a 0-1 binary variable, indicating that the user The power supply status of the distributed power source (energy storage power station, gas turbine) (1 means the user is inside the island, 0 means the user is outside the island); It is a 0-1 binary variable, indicating that the user Installation status of the second remote power distribution terminal on the island switch (1 means the island switch is installed with the second remote power distribution terminal, 0 means it is not installed); It is a 0-1 binary variable, indicating that the user The installation status of the three-remote distribution terminal on the island switch (1 means the island switch is installed with the three-remote distribution terminal, 0 means it is not installed).
[0128] 2) Analysis of power outage duration due to sub-path failure
[0129] When the fault line is a sub-path fault, the fault will not affect the power supply path from the power source to the user. Therefore, the section switch can be used to isolate the fault and restore the power supply to the user. The distribution terminal is located on the section switch. In order to determine which section switches need to be searched to isolate the fault and configure the distribution terminal when calculating the power outage time of the user, the sub-path terminal search set (SPTSS) is defined and the SPTSS is obtained by the following steps:
[0130] a) Find the intersection of the user main path at the end of the fault line and the user main path;
[0131] b) Using the shortest path, from the intersection point obtained in the first step to the faulty line, search for the existence of a section switch. The set of all searched lines is defined as the SPTSS.
[0132] When the fault line is located in the user's sub-path, the calculation method for the specific user outage duration is as follows, taking into account single and multiple fault scenarios, and considering island recovery and network reconstruction:
[0133] When the user is not in an island and no circuit breaker is installed on the lines in the SPTSS, the user can only restore power supply after the fault is repaired, as shown in formula (16). When the user is on the DG island, but the island switch is not equipped with a distribution terminal, the user needs to wait for the fault to be located and manually operate the island switch to form an island to obtain power supply. Alternatively, when a circuit breaker is installed on a line in the SPTSS but no distribution terminal is installed, it is necessary to manually isolate the fault in the fault area to obtain power supply, as shown in formula (17). When the user is in the DG island, the island switch is installed with a two-remote distribution terminal, but the three-remote distribution terminal is not installed, the user needs to manually operate the island switch to form an island to obtain power supply. Alternatively, when a line in the SPTSS is installed with a two-remote distribution terminal, but the three-remote distribution terminal is not installed, it is necessary to manually isolate the fault to obtain power supply, as shown in formula (18). When the user is in the DG island and the island switch is installed on a three-remote distribution terminal, the user can quickly restore power supply. Alternatively, when a line in the SPTSS is installed with three remote distribution terminals, the user can quickly isolate the fault to obtain power supply, as shown in formula (19).
[0134] (16)
[0135] (17)
[0136] (18)
[0137] (19)
[0138] In the formula, For users On the line Sub-circuit terminal search set in case of failure.
[0139] In the case of multiple line failures during extreme weather, power supply to users cannot be restored until all line failures are resolved, as shown below:
[0140] (20)
[0141] in, Indicates The set of faulty lines under a typical fault operation scenario, for , function.
[0142] (5) Coordinated optimization configuration model of primary and secondary equipment considering the cost-effectiveness of the entire life cycle
[0143] Considering the reliability index requirements of users, the investment cost of equipment throughout the life cycle, the response benefits of multi-energy coupling resources, the benefits of releasing the maximum power supply capacity, and the loss costs of multi-energy coupling power outages, a collaborative optimization configuration model for primary and secondary equipment is established to solve the minimum total cost of the system, as shown below:
[0144] 1) Objective function
[0145] Total system cost It is expressed as:
[0146] (twenty one)
[0147] In the formula, is the multi-energy coupling power outage loss cost, The investment cost of equipment over the entire life cycle is For the multi-energy coupling resource response benefits, Unleash benefits for maximum power supply capacity.
[0148] 2) Constraints:
[0149] (a) Energy storage power station charging and discharging constraints under normal operation scenarios
[0150] Construct the charging and discharging constraints of the energy storage power station under the normal operation scenario, as shown in formulas (22)-(25). Among them, constraint (22) is the real-time state of charge equation, constraint (23) represents the energy balance of the energy storage power station in a typical day during the optimization process, and constraint (24) is the upper and lower limit constraints of the state of charge of the energy storage power station; constraint (25) indicates that the charging and discharging decisions of the energy storage power station are binary variables, and the energy storage power station cannot charge and discharge at the same time.
[0151] (twenty two)
[0152] (twenty three)
[0153] (twenty four)
[0154] , (25)
[0155] In the formula, For energy storage power station exist State of charge during the time period; For energy storage power station The initial state of charge; For energy storage power station exist Charging decision for each time period; Indicates charging. Indicates not charging; For energy storage power station exist Discharge decision for each time period; Indicates discharge, Indicates no discharge; For energy storage power station The charge and discharge efficiency; For energy storage power station Rated power; Take 1h; , Energy storage power station The lower and upper limits of the state of charge.
[0156] (b) User reliability / resilience indicator constraints
[0157] (26)
[0158] (27)
[0159] (28)
[0160] (29)
[0161] (30)
[0162] (31)
[0163] (32)
[0164] (33)
[0165] (34)
[0166] In the formula, The annual power outage time for users, The annual power outage time limit for users; The maximum single power outage duration under normal circumstances for users. The maximum duration of a single power outage under normal circumstances for users; The minimum interval between two power outages for users. The upper limit of the minimum interval between two power outages for users; The annual power shortage for users, The upper limit of annual power shortage for users; The maximum power outage in a single event under normal circumstances. The upper limit of the maximum power outage in a single time under normal circumstances for users; The power outage frequency of the user, Upper limit on power outage frequency for users; The power outage rate due to disasters for users, The upper limit of the disaster power outage rate for users; The maximum single power outage duration in extreme disaster situations for users. The maximum duration of a single power outage in the event of an extreme disaster for the user; The maximum single power shortage in extreme disaster situations for users. It is the upper limit of the maximum single power shortage in case of extreme disaster for users.
[0167] (c) Power balance constraints of multi-energy coupling systems under normal operation scenarios
[0168] In the multi-energy coupling system, the power balance constraint aims to balance the power supplied by the gas turbine, the charging and discharging power of the energy storage power station, the electric load replaced by the heating and cooling load of the gas boiler and the absorption chiller, and the user load, as shown below:
[0169] (35)
[0170] In the formula, for Power purchased by the power grid during the period, For users exist Load demand during the time period; , Respectively represent energy storage power stations exist Discharge power and charge power in each time period; , , , All are known quantities.
[0171] (d) Maximum power supply capacity constraints under normal operation scenarios
[0172] When calculating the maximum power supply capacity constraint, the power flow balance constraint, distribution network safe operation constraint, equipment capacity constraint and load growth constraint must be met, as shown below:
[0173] (36)
[0174] (37)
[0175] (38)
[0176] (39)
[0177] (40)
[0178] (41)
[0179] (42)
[0180] (43)
[0181] (44)
[0182] (45)
[0183] (46)
[0184] In the formula, , For users The parent node set and child node set of , Line The active and reactive currents, , For separate lines The resistance and reactance of For line The current, , , Substation ,gas turbine , Energy Storage Power Station The active power, , , Substation ,gas turbine , Energy Storage Power Station Reactive power; , , Connect users separately A subset of substations, gas turbines, and energy storage plants, , For users Reactive load, growth base, For users The node voltage, , For users The voltage lower and upper limits, For line The maximum current, , Line The running status and connection status of , Line The upper limit of active and reactive power flow, , , Substation ,gas turbine , Energy Storage Power Station The upper limit of active power, , , Substation ,gas turbine , Energy Storage Power Station The upper limit of reactive power; , Respectively represent users In the The lower and upper limits of the load growth factor for a typical main transformer N-1 scenario. Represents a constant (a fixed parameter of the big-M method, a very large number).
[0185] (e) Radial topology constraints under normal operation scenarios
[0186] (47)
[0187] (48)
[0188] (49)
[0189] In the formula, is the set of transformer nodes; For the Fault line set in a typical main transformer N-1 scenario.
[0190] For the above primary and secondary equipment collaborative optimization configuration model, this embodiment uses an adaptive bat algorithm with an embedded model to solve the model. The adaptive bat algorithm has the advantages of high accuracy and strong robustness, and is suitable for solving the research model in this embodiment. When solving the maximum power supply capacity release benefit, the max problem is converted into a min problem by duality; in the process of using the bat algorithm to solve, since the objective function has two objectives, cost and benefit, the benefit is dualized when calculating the fitness function.
[0191] The solution process of the adaptive bat algorithm is as follows:
[0192] Step S51: Initialize the parameters of the bat population; set the bat position matrix; initialize the parameters of the multi-energy coupling system.
[0193] Specifically, the parameters of the bat population are initialized, including: the number of bat populations, the number of iterations , Pulse Loudness Reduction Factor , Pulse emission frequency increase coefficient , pulse frequency , Pulse Loudness , initial pulse emission frequency wait.
[0194] Initialize the multi-energy coupling system parameters, including: distribution system load, line parameters, energy storage power station, gas turbine, gas boiler, absorption chiller related parameters, normal operation scenario, typical main transformer N-1 scenario, typical fault operation scenario.
[0195] The bat position matrix is set as a multi-dimensional vector, which is used to represent the installation type, installation capacity and installation type of the primary equipment connected to each user in the multi-energy coupling system in a coded form, that is, the installation of the energy storage power station, gas turbine, gas boiler, absorption chiller and distribution terminal in the above model. The bat position set in this embodiment consists of three parts; among which:
[0196] The first part indicates the installation location and type of the primary equipment. The corresponding bats are encoded according to the type of primary equipment connected to each user: each dimension corresponds to a possible installation location of a primary equipment. Each dimension in the first part of the bat position has four possible codes: if greater than or equal to 0 and less than 1, it means that the corresponding user is not connected to any primary equipment; if greater than or equal to 1 and less than 2, it means that the corresponding user is connected to a storage power supply; if greater than or equal to 2 and less than 3, it means that the corresponding user installs a gas turbine; if greater than or equal to 3 and less than 4, it means that the corresponding user is connected to a gas boiler; if greater than or equal to 4 and less than or equal to 5, it means that the corresponding user is connected to an absorption chiller.
[0197] The second part indicates the installed capacity of the primary equipment. The corresponding bats are encoded according to the type of primary equipment connected to each user: each dimension corresponds to the capacity of a primary equipment, and the encoded value of each dimension in the second part of the bat position corresponds to the capacity of the primary equipment installed in the first part.
[0198] The third part indicates the installation status of the secondary equipment. The corresponding bats are encoded according to the type of distribution terminal configured for each section switch: each dimension corresponds to a possible installation position of a distribution terminal. Each dimension in the third part of the bat position has four possible codes: if it is equal to 0, it means that the corresponding line has no section switch; if it is greater than 0 and less than or equal to 1, it means that the corresponding line has a section switch but no distribution terminal is installed; if it is greater than 1 and less than or equal to 2, it means that the corresponding line is installed with a "two remote distribution terminal" distribution terminal; if it is greater than 2 and less than or equal to 3, it means that the corresponding line is installed with a "three remote distribution terminal" distribution terminal.
[0199] Therefore, the bat position matrix can be expressed as:
[0200] in, , , Respectively represent The installation type of the primary equipment connected to the user, the installation capacity of the primary equipment, and the installation type of the secondary equipment; Represents the total number of heavy users in the system. That is, the subscript of each dimension element in the initial bat position matrix corresponds to the installation location of the distributed power source or terminal, and the value of each dimension element in the initial bat position matrix is the installation type and capacity of the primary equipment connected by the corresponding user or the installation type of the corresponding line distribution terminal.
[0201] Step S52: randomly generate an initial bat position matrix for each bat population as the first generation bat position matrix.
[0202] A random number string between 0 and 4 with uniform distribution is randomly generated as the installation type matrix of the initial primary equipment, thereby obtaining the first part of the initial bat position matrix; a random number string that satisfies the constraints is randomly generated as the installation capacity matrix of the initial primary equipment, thereby obtaining the second part of the initial bat position matrix; a random number string between 0 and 3 with uniform distribution is randomly generated as the installation type matrix of the initial secondary equipment, thereby obtaining the third part of the initial bat position matrix.
[0203] Step S53: In the first generation, the objective function corresponding to the corresponding bat is calculated according to the bat position matrix of each bat in the first generation bat population and the parameters of the multi-energy coupling system, as the fitness of the corresponding bat in the first generation bat population; and the bat with the smallest fitness is selected as the optimal bat of the first generation.
[0204] Specifically, taking into account the complexity of the objective function, in this embodiment, first, according to the bat position matrix of each bat in the first generation bat population and the parameters of the multi-energy coupling system, a commercial solver is called to solve the multi-energy coupling resource response benefit and the maximum power supply capacity release benefit; then, according to the solved multi-energy coupling resource response benefit and the maximum power supply capacity release benefit, the objective function corresponding to the corresponding bat is calculated.
[0205] Step S54: generation, , update The pulse frequency of the generation, and the The flight speed and bat position matrix of each bat in the first generation bat population; and calculate the The fitness of each bat in the bat population.
[0206] Specifically, no. The pulse frequency of the generation It is expressed as:
[0207] (50)
[0208] In the formula, , are the lower and upper limits of the pulse frequency respectively. Indicated in , Pick a random number within the range.
[0209] No. Bats in the bat population Flight speed , bat position matrix Respectively expressed as:
[0210] (51)
[0211] (52)
[0212] In the formula, For the Bats in the bat population The flight speed, For the Bats in the bat population The bat position matrix, For the The bat position matrix of the optimal bat of the generation.
[0213] Specifically, in generation, respectively, according to The bat position matrix of each bat in the first generation bat population and the parameters of the multi-energy coupling system are used to calculate the objective function corresponding to the corresponding bat as the first The fitness of the corresponding bats in the first generation bat population is calculated; and the bat with the smallest fitness is selected as the first The best bat of the generation.
[0214] Specifically, considering the complexity of the objective function, in this embodiment, firstly according to the The bat position matrix of each bat in the bat population and the parameters of the multi-energy coupling system are generated, and the commercial solver is called to solve the multi-energy coupling resource response benefit and the maximum power supply capacity release benefit. Then, the objective function corresponding to the corresponding bat is calculated based on the solved multi-energy coupling resource response benefit and the maximum power supply capacity release benefit.
[0215] Step S55: Determine Whether each bat in the next generation performs local search; if so, update the The bat position matrix and fitness of the corresponding bats in the first generation bat population; otherwise, no local search is performed; then, the first The best bat of the generation.
[0216] If the bat The random number between 0 and 1 selected is greater than the bat's The pulse transmission frequency of the generation , then perform local search and update the first Bats in the bat population The bat position matrix:
[0217] (53)
[0218] In the formula, is a random number between 0 and 1. For the bat The echo loudness of the generation.
[0219] If the bat The random number between 0 and 1 is smaller than the bat's The bat pulse loudness of the first Bats in the bat population The fitness is less than If the fitness of the best bat in the next generation of bat population is not obtained, no local search is performed and the newly obtained bat is accepted. The pulse loudness and pulse emission frequency are updated as follows:
[0220] (54)
[0221] (55)
[0222] In the formula, is the pulse loudness attenuation coefficient, For the bat The pulse emission frequency of the generation.
[0223] Step S56: Determine whether the termination condition is met. If the maximum number of iterations is reached, the iteration is stopped, and the bat position matrix corresponding to the bat with the smallest fitness is output as the primary and secondary equipment collaborative optimization configuration model; otherwise, , then jump to step S54.
[0224] In summary, the method for collaborative optimization configuration of primary and secondary equipment provided by this embodiment comprehensively considers multiple scenarios, comprehensively considers the power outage loss costs of multi-energy users, the response costs of multi-energy resources, the benefits of improving the maximum power supply capacity, and the investment costs of equipment throughout the life cycle, and also considers relevant constraints to form a collaborative optimization configuration model for primary and secondary equipment, and uses the adaptive bat algorithm to solve the model to obtain the collaborative optimization configuration results of primary and secondary equipment. Through this method, the planning of multi-energy coupling primary equipment and distribution terminal secondary equipment on the supply and demand sides of the distribution network can be realized, and the system cost over the entire life cycle can be reduced while ensuring the reliability requirements of users, thereby improving the economic benefits of the system.
[0225] To facilitate those skilled in the art to better understand and implement the solutions in the present application, the specific process of generating multiple typical fault operation scenarios through Monte Carlo simulation scenario clustering and reduction is divided into three parts, which are specifically described as follows.
[0226] (1) System fault set generation method
[0227] First, according to the failure rate of the line under extreme disasters, a non-sequential Monte Carlo simulation is performed on the system to generate a large number of fault scenario sets; the non-sequential Monte Carlo simulation determines the status of each line in the area by sampling the line failure rate. The sampling method is shown in the following formula:
[0228] (56)
[0229] In the formula, is a binary 0-1 variable, indicating the line status generated by the Monte Carlo simulation (1 indicates normal operation of the line, 0 indicates line failure). For the corresponding line A random number between 0 and 1; Indicates the failure rate.
[0230] (2) Fault scenario clustering method
[0231] In order to reduce the complexity of subsequent calculations, it is necessary to cluster and reduce the generated fault scenarios to extract typical fault scenarios. First, calculate the similarity between every two fault scenarios. The steps are as follows:
[0232] 1) Calculate the electrical distance between every two users based on the length of each line in the area, as follows:
[0233] (57)
[0234] In the formula, It is a line and lines The electrical distance between From the line To line The set of shortest routes passed, It is a line Length.
[0235] 2) Generate the electrical distance matrix (EDM) as follows:
[0236] (58)
[0237] 3) Calculate the similarity between each two fault scenarios based on the Most Similar Fault Distance (MSFD). The MSFD is calculated by EDM.
[0238] Hierarchical clustering is performed using the similarity between every two fault scenarios as the distance between clustering variables. After the fault scenarios are divided into several categories, the proportion of each type of fault scenario in the total number of fault scenarios is calculated and used as the weight of the fault scenario, as shown below:
[0239] (59)
[0240] In the formula, For the The weight of the fault-like scenario, For the The number of class failure scenarios, is the number of all failure scenarios.
[0241] (3) Fault scenario reduction method
[0242] The scenario reduction method based on total similarity distance within the class (TSDWC) is adopted. TSDWC refers to the sum of the similarities between a fault scenario and all other fault scenarios in the same category. The calculation method is shown in the following formula:
[0243] (60)
[0244] In the formula, For the In the fault scenario The total similarity distance within the class of each fault scenario is It is The collection of failure scenarios in the class failure scenario, For failure scenarios and The similarities between.
[0245] For Among all the fault scenarios in the fault scenario class, select the fault scenario with the smallest TSDWC as the typical fault operation scenario Finally, all the lines in the typical fault scenario are used to generate the typical fault scenario line set By analyzing the consequences of these lines, we can quantify the power outage losses of users under extreme disasters. Indicates Typical fault operation scenarios: Indicates The fault line set under a typical fault operation scenario.
[0246] In order to further verify the effectiveness of the primary and secondary equipment coordinated optimization configuration method and its solution strategy proposed in this embodiment that comprehensively considers multiple scenarios, this embodiment uses a 94-node distribution network as an example for calculation verification. Its electrical topology diagram is shown in Figure 3 shown.
[0247] (1) Parameter setting
[0248] Considering UPS, energy storage power station, and three reliability improvement methods of multi-energy coupling conversion, the customized user reliability indicators of nodes 6, 23, and 58 are improved. Among them, the reliability / resilience indicator requirements of each customized user are shown in Table 1.
[0249] Table 1 Customized user reliability / resilience indicator constraints
[0250]
[0251] When calculating the response benefits of multi-energy coupling resources, the impact of time-of-use electricity prices on the operation costs of the power grid is considered, as shown in Table 2:
[0252] Table 2 Time-of-use electricity prices
[0253]
[0254] The objective function includes the costs of uninterruptible power supply UPS (equivalent to a special energy storage power station), energy storage power station, multi-energy coupling equipment and distribution terminal equipment. When calculating the maximum power supply capacity release benefit, the IEEE33 node system is used as the standard to measure the number of new grids that can be reduced. The investment and operation and maintenance costs of various types of equipment are shown in Table 3.
[0255] Table 3 Equipment cost
[0256]
[0257] (2) Results analysis
[0258] Five typical fault operation scenarios were generated. The typical fault operation scenarios are shown in the following table:
[0259] Table 4 Typical fault operation scenarios
[0260]
[0261] According to the typical fault operation scenario set, the system is optimized for the coordinated configuration of primary and secondary equipment. The configuration results of primary and secondary equipment are shown in Table 5. The configuration of distributed power supply, UPS and distribution terminal is shown in Figure 5. Figure 4 shown.
[0262] Table 5 Configuration results of primary and secondary equipment
[0263]
[0264] Through the above primary and secondary equipment configuration scheme, the total cost can be guaranteed to be minimized while meeting various constraints. After planning, the equipment investment cost is 663,920 yuan, the annual power outage loss cost is 10,255,010 yuan, the multi-energy coupling response benefit is 3,308,060 yuan, the maximum power supply capacity release benefit is 14,277,602 yuan, and the total system cost is -6,666,732 yuan, that is, through primary and secondary collaborative planning, the system obtains an annual benefit of 6,666,732 yuan. The planning results show that compared with individual planning, the collaborative planning of primary and secondary equipment in the multi-energy coupling distribution system significantly reduces the system power outage loss cost, improves the multi-energy coupling response benefit, and improves the maximum power supply capacity release benefit, thereby significantly optimizing the system operation economy and sustainable power supply capacity.
[0265] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0266] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A method for collaborative optimization configuration of primary and secondary equipment taking into account multiple scenarios, characterized in that: include: Generate multiple typical fault operation scenarios through Monte Carlo simulation scenario clustering and reduction; And based on the generated multiple typical fault operation scenarios, determine the multi-energy coupling power outage loss cost; Determine the maximum power supply capacity release benefits based on normal operation scenarios and typical main transformer N-1 scenarios; Determine the response benefits of multi-energy coupling resources based on normal operation scenarios; The goal is to minimize the total system cost by comprehensively considering the equipment investment cost of the entire life cycle, the response benefits of multi-energy coupling resources, the benefits of releasing the maximum power supply capacity, and the loss costs of multi-energy coupling power outages. The primary and secondary equipment collaborative optimization configuration model is established under the constraints of meeting the charging and discharging constraints of the energy storage power station under normal operation scenarios, the power balance constraints of the multi-energy coupling system, the maximum power supply capacity constraints, the radial topology constraints, and the user reliability resilience index constraints. Using an adaptive bat algorithm to solve the primary and secondary equipment collaborative optimization configuration model, and obtain the primary and secondary equipment collaborative optimization configuration result; The primary and secondary equipment collaborative optimization configuration results include the installation type of the primary equipment connected to each user in the multi-energy coupling system, the installation capacity of the primary equipment, and the installation type of the secondary equipment; wherein, Primary equipment includes gas turbines, energy storage power stations, gas boilers and absorption chillers; The secondary equipment includes two remote distribution terminals and three remote distribution terminals; The adaptive bat algorithm is used to solve the primary and secondary equipment collaborative optimization configuration model to obtain the primary and secondary equipment collaborative optimization configuration result, and execute: Initialize the parameters of the bat population; set the bat position matrix; initialize the parameters of the multi-energy coupling system; wherein the bat position matrix is used to represent the installation type of the primary equipment connected to each user in the multi-energy coupling system, the installation capacity of the primary equipment, and the installation type of the secondary equipment in a coded manner; Randomly generate the initial bat position matrix of each bat population as the first generation bat position matrix; In the first generation, the objective function corresponding to the corresponding bat is calculated according to the bat position matrix of each bat in the first generation bat population and the parameters of the multi-energy coupling system, which is used as the fitness of the corresponding bat in the first generation bat population; and the bat with the smallest fitness is selected as the optimal bat of the first generation; In the generation, , update The pulse frequency of the generation, and the The flight speed and bat position matrix of each bat in the first generation bat population; and calculate the The fitness of each bat in the bat population; Determine Whether each bat in the next generation performs local search; if so, update the The bat position matrix and fitness of the corresponding bats in the first generation bat population; otherwise, no local search is performed; then, the first The best bat of the generation; Determine whether the termination condition is met. If the maximum number of iterations is reached, stop the iteration and output the bat position matrix corresponding to the bat with the smallest fitness as the primary and secondary equipment collaborative optimization configuration model; otherwise, take , then jump to Update The pulse frequency of the generation, and the The steps of generating the flight speed and bat position matrix of each bat in the bat population.
2. The method for collaborative optimization configuration of primary and secondary equipment taking multiple scenarios into consideration according to claim 1 is characterized in that: The charging and discharging constraints of the energy storage power station under normal operation are expressed as: (1) (2) (3) , (4) In the formula, For energy storage power station exist State of charge during the time period; For energy storage power station The initial state of charge; For energy storage power station exist Charging decision for each time period; Indicates charging. Indicates not charging; For energy storage power station exist Discharge decision for each time period; Indicates discharge, Indicates no discharge; For energy storage power station The charge and discharge efficiency; For energy storage power station Rated power; Indicates the time scale; Energy storage power station Capacity; , Energy storage power station The lower and upper limits of the state of charge.
3. The method for collaborative optimization configuration of primary and secondary equipment taking into account multiple scenarios according to claim 2 is characterized in that: The power balance constraint of the multi-energy coupling system under normal operation scenario is expressed as: (5) In the formula, for Power purchased by the power grid during the period, For users exist Load demand during the time period; , Respectively represent energy storage power stations exist Discharge power and charge power in each time period; For gas turbines exist The power supplied to the load during the period; For gas boilers exist The electrical power replaced during the period; Absorption Refrigeration Machine exist The load replaced by the time period, , , , They are a collection of gas turbines, energy storage power stations, gas boilers, and absorption chillers.
4. The method for collaborative optimization configuration of primary and secondary equipment taking multiple scenarios into consideration according to claim 3 is characterized in that: The maximum power supply capacity constraint under normal operation is expressed as: (6) (7) (8) (9) (10) (11) (12) (13) (14) (15) (16) In the formula, For users In the The load growth factor of a typical main transformer N-1 scenario; For users Load growth base; , For users The parent node set and child node set of , Line The active and reactive currents, , For separate lines The resistance and reactance of For line The current, , , Substation ,gas turbine , Energy Storage Power Station The active power, , , Substation ,gas turbine , Energy Storage Power Station Reactive power; , , Connect users separately A subset of substations, gas turbines, and energy storage plants, , For users Reactive load, growth base, For users The node voltage, , For users The voltage lower and upper limits, For line The maximum current, , Line The running status and connection status of , Line The upper limit of active and reactive power flow, , , Substation ,gas turbine , Energy Storage Power Station The upper limit of active power, , , Substation ,gas turbine , Energy Storage Power Station The upper limit of reactive power; , Respectively represent users In the The lower and upper limits of the load growth factor for a typical main transformer N-1 scenario; Represents a constant.
5. The method for collaborative optimization configuration of primary and secondary equipment taking multiple scenarios into consideration according to claim 4 is characterized in that: The primary and secondary equipment collaborative optimization configuration model is constructed with the minimum total system cost as the objective function; the total system cost It is expressed as: (17) In the formula, is the multi-energy coupling power outage loss cost, The investment cost of equipment over the entire life cycle is For the multi-energy coupling resource response benefits, Unleash benefits for maximum power supply capacity.
6. The method for collaborative optimization configuration of primary and secondary equipment taking multiple scenarios into consideration according to claim 5 is characterized in that: Life cycle equipment investment cost It is expressed as: (18) in, is the investment cost of the power distribution terminal, is the investment cost of the gas turbine, is the investment cost of the energy storage power station, The investment cost of the gas boiler is is the investment cost of the absorption chiller; (19) In the formula, is the discount rate, For the planned economic cycle, is the set of all lines, is the operation and maintenance cost coefficient of the power distribution terminal; is the unit price of the second remote power distribution terminal, The unit price of the three remote power distribution terminals; Indicates line The installation status variable of the upper two remote power distribution terminals is a 0-1 binary variable. Indicates line Install two remote power distribution terminals on the Indicates line No second remote power distribution terminal is installed; Indicates line The installation status variable of the upper three remote power distribution terminals is a 0-1 binary variable. Indicates line Install three remote power distribution terminals on the Indicates line Three remote power distribution terminals are not installed; (20) (21) (22) (23) In the formula, , , , are the initial investment costs of the gas turbine, energy storage power station, gas boiler, and absorption chiller per unit capacity, respectively. , , , They are the operation and maintenance costs of gas turbines, energy storage power stations, gas boilers, and absorption chillers per unit capacity; Gas Turbine The capacity, Energy storage power station The capacity, Indicates gas boiler The capacity, Absorption Refrigeration Machine capacity.
7. The method for collaborative optimization configuration of primary and secondary equipment taking multiple scenarios into consideration according to claim 6 is characterized in that: Multi-energy coupling resource response benefits It is expressed as: (24) In the formula, The total number of time periods included in the normal operation scenario; for Time-of-use electricity prices; , The unit calorific value price of natural gas is For gas turbines efficiency; For gas boilers efficiency; is the unit heat energy cost of the absorption chiller, For gas boiler efficiency.
8. The method for collaborative optimization configuration of primary and secondary equipment taking multiple scenarios into consideration according to claim 7 is characterized in that: Maximum power supply capacity releases benefits It is expressed as: (25) In the formula, is a collection of users; The capacity of a typical new grid; The cost of building a new transformer, The cost of building a new line, is a collection of typical main transformer N-1 scenarios; Multi-energy coupling power outage loss cost It is expressed as: (26) In the formula, is the total number of typical fault operation scenarios, For the The weight of a typical fault operation scenario; For the Annual power outage loss for users under a typical fault operation scenario: For the Load restoration cost of multi-energy coupling equipment under a typical fault operation scenario.
