A method and system for urban terminal power supply collaborative control based on energy storage wall

By introducing the joint operation of energy storage wall and vehicle-mounted high-voltage power supply into the urban power distribution network, a simplified topology and target switching sequence are generated, which solves the problem of insufficient power supply reliability in old residential areas, realizes flexible and safe emergency power supply, and improves the reliability and automation of emergency power supply.

CN121566647BActive Publication Date: 2026-03-31STATE GRID SHANGHAI MUNICIPAL ELECTRIC POWER CO
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-01-16
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

The existing urban power distribution network has insufficient power supply reliability in old residential areas. Traditional methods are difficult to achieve continuous power supply. Vehicle-mounted power supply vehicles and mobile generator sets cannot effectively provide emergency power in narrow areas, and there are also noise and pollution problems.

Method used

By introducing the joint operation of energy storage wall and vehicle-mounted high-voltage power supply, a simplified topology and target switching sequence are generated through the community energy management unit. Each step of the operation is verified by the optimal power flow solver, forming a flexible power supply collaborative control method to ensure the safety and reversibility of the operation.

Benefits of technology

It enables continuous power supply in complex community environments, improves the reliability, safety and flexibility of emergency power supply, has a high degree of automation and high operating efficiency, and is suitable for widespread application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121566647B_ABST
    Figure CN121566647B_ABST
Patent Text Reader

Abstract

The application relates to a city end power supply collaborative control method and system based on an energy storage wall, which comprises the following steps: checking the equipment of a community energy management unit, recording the switch states of a high-voltage side and a low-voltage side, generating a simplified topology and a target switching sequence placeholder list; based on the simplified topology, generating a plurality of action templates, and establishing a plurality of state windows for each step of each action template; checking each state window, if passed, generating a candidate operation strategy, performing role evolution game checking, and obtaining a converged operation strategy; solidifying the converged operation strategy into a target switching sequence, generating a reversible switching shadow sequence, and confirming the final target switching sequence after checking; and based on the target switching sequence, performing the operation of the high-voltage side and the low-voltage side of the community. Compared with the prior art, the application not only solves the problem that a traditional power supply vehicle is difficult to access in the last kilometer of an old community, but also realizes efficient connection of the energy storage wall and external power supply.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power distribution network operation technology, and in particular to a method and system for coordinated control of urban end-point power supply based on energy storage walls. Background Technology

[0002] Currently, the operation and emergency power supply of urban power distribution networks mainly rely on two types of methods: first, traditional power distribution network optimization and ring network power supply, which improve power supply reliability through dual or multiple power source interconnection; second, emergency measures such as vehicle-mounted power supply vehicles, mobile diesel generator sets, and temporary cable laying, used to provide short-term power supply support during power outages or planned maintenance, such as the multi-resource, multi-stage coupled power distribution system resilience enhancement method disclosed in invention publication number CN113872188A. These methods can meet users' basic electricity needs to a certain extent in normal scenarios, but with the expansion of urban scale, the increasing demand for uninterrupted power supply, and the rapid popularization of distributed energy, existing technologies have significant shortcomings in practical applications.

[0003] First, traditional power distribution network interconnection methods place high demands on infrastructure conditions. While ring networks and dual-power supply can improve reliability, in older residential areas in city centers, narrow cable channels and limited substation locations often make it difficult to form a complete backup channel. Once power is interrupted on one side, the backup power cannot be put into operation in time, making it difficult to guarantee power continuity. In addition, the power distribution equipment in older residential areas generally suffers from aging and insufficient capacity, and frequent power outages make traditional methods even more difficult to handle reliably. Second, the use of vehicle-mounted power supply vehicles and mobile generator sets also has limitations. Due to their large size, 10 kV power supply vehicles often cannot travel in urban center blocks, especially in densely populated residential areas with narrow roads, preventing them from reaching the vicinity of the access point and thus hindering emergency power supply for the "last mile." Even if the power supply vehicle can reach the site, the temporary cable laying takes a long time, resulting in insufficient response speed. Furthermore, diesel generators have problems with noise, exhaust emissions, and fuel replenishment, making them unsuitable for long-term deployment in residential areas. Summary of the Invention

[0004] The purpose of this invention is to overcome the shortcomings of the existing technology and provide a method and system for coordinated control of urban end-point power supply based on energy storage wall. In community scenarios, the joint operation of energy storage wall and vehicle-mounted high-voltage power supply is introduced to form a flexible power supply coordinated control method covering both high-voltage and low-voltage sides.

[0005] The objective of this invention can be achieved through the following technical solutions:

[0006] A method for coordinated control of urban end-point power supply based on energy storage wall includes:

[0007] S1: Perform equipment checks on the energy management unit of the community to be configured, record the switching status of the high-voltage side and low-voltage side of the community, and generate a simplified topology and target switching sequence placeholder list including the energy storage wall and vehicle-mounted high-voltage power supply access point.

[0008] S2: Based on the simplified topology, multiple action templates are generated, and multiple state windows are established for each step of each action template. The multiple action templates include a vehicle-mounted high-voltage power supply first template, an energy storage wall first template, and a low-voltage stabilization followed by high-voltage loop closure template. The multiple state windows include windows for the pre-operation state, the post-operation state, and the single-step transition state. Each state window is checked. If it fails, it is marked as an unusable operation step in the corresponding action template for adjustment. If it passes, a candidate operation strategy is generated. The candidate operation strategy is checked using role evolution game to obtain a convergent operation strategy. The convergent operation strategy is solidified into a target switching sequence, and a reversible switching shadow sequence is generated. After the check is passed, the final target switching sequence is confirmed.

[0009] S3: Based on the target handover sequence, perform operations on the high-voltage side and low-voltage side of the cell in sequence.

[0010] Furthermore, in step S1, after the community energy management unit is operated without power supply or the emergency supply is triggered, the equipment is checked. The equipment check includes voltage testing, grounding unlocking and interlocking checks, confirmation of the high-voltage side disconnection position and the low-voltage side bus section position of the community, and recording of the current operating mode, thereby generating a simplified topology.

[0011] The current operating mode includes the status of each switch on the high-voltage side of the community, the status of each segment on the low-voltage side of the community, the grid connection status of the energy storage wall, and the standby status of the vehicle-mounted high-voltage power supply; the simplified topology includes the incoming and outgoing lines on the high-voltage side of the community, the ring network switch and transformer, the busbar, bus tie switch and main feeder on the low-voltage side of the community, and the access points related to the energy storage wall and the vehicle-mounted high-voltage power supply.

[0012] Based on the grounding unlocking and interlocking checks, an interlocking relationship table is generated; according to the simplified topology and interlocking relationship table, possible allowed switch operation actions are enumerated to form two types of switch operation lists: the high-voltage side of the community and the low-voltage side of the community. Operable quantity placeholders are added to generate a target switching sequence placeholder list to be executed.

[0013] Furthermore, the process of generating the action template is as follows:

[0014] Based on the simplified topology, the high-voltage side of the community, the low-voltage side of the community, the transformer, the access point of the energy storage wall, the access point of the vehicle-mounted high-voltage power supply, and the interlocking relationships are read to form a set of operable actions.

[0015] Prioritizing power supply continuity, the operation sequence must keep life-saving loads continuously energized, and unplanned closed loops and cross-defined isolation points are not allowed. A corresponding action template is generated by first determining a fixed sequence framework and then arranging operable placeholders. The action template includes the sequence of action execution and operable placeholders interspersed within the sequence of action execution.

[0016] Furthermore, step S2 also includes classifying and sorting the operable quantity placeholders in the operation template, using a fixed order of reactive power and tap changers first, followed by active power and switches. The reactive power output level of the vehicle-mounted high-voltage power supply and the transformer tap changer are placed in the first order, the active power output level of the vehicle-mounted high-voltage power supply and the charging and discharging level of the energy storage wall are placed in the middle order, and the allowed switch sequence segments on the high-voltage side and low-voltage side of the community are placed in the last order, forming a placeholder list in ascending order of number.

[0017] Furthermore, the pre-operation state is constructed using the current device location information and the determined values ​​of the operable quantity placeholders before executing a certain step.

[0018] The post-operation state is constructed by taking the values ​​of the open or close changes caused by the action and the operable quantity placeholders involved in the current step after completing the expected action.

[0019] The single-step transition state is constructed by injecting only the topological changes and value changes brought about by the current step action between the pre-operation state and the post-operation state.

[0020] Furthermore, each state window is independently verified by the optimal power flow solver. If it fails, it is marked as an unusable operation step in the corresponding template.

[0021] The unavailable operation step is backtracked to the nearest alternative action or alternative value; if an alternative solution exists, the state window is re-established after replacement and the optimal power flow solver is called again for verification; if there is no alternative solution in the current action template, the current action template is marked as an unavailable template and another action template is used to continue generation and verification.

[0022] Furthermore, in step S2, a role evolution game check is performed on the candidate running strategy to obtain the convergent running strategy, specifically as follows:

[0023] Using the candidate operating strategy set as the initial population, four types of roles are set: vehicle-mounted high-voltage power supply, energy storage wall, transformer tap and switch sequence;

[0024] The role evolution game verification is implemented in the following cycle: copying and adjustment are only allowed to modify adjacent gears or states on a single operable quantity of the four types of roles; any two candidate operating strategies are paired up and compared to their respective constraint pass certificates. If both pass, they are adjudicated in a fixed order: first, the number of switching steps is compared; second, whether a new closed loop is introduced is compared; third, the node voltage deviation amplitude and the balance of line and transformer load distribution are compared; finally, whether the energy storage wall has the ability to continue to support during the specified operating period is compared; losers are eliminated and winners are retained.

[0025] If the retained candidate operating strategies no longer produce improvements under the fixed order, and modifying the adjacent gear or state of any role results in a failure entry in the constraint pass certificate, then convergence is determined, and a converged operating strategy is obtained.

[0026] Furthermore, the convergence strategy is solidified into a target switching sequence, and a reversible switching shadow sequence is generated. After verification, the final target switching sequence is confirmed, specifically including:

[0027] In the convergence operation strategy, a target switching sequence and a target coordination list are generated. At the same time, a reversible switching shadow sequence is generated in the reverse order of the target switching sequence, and the state window optimal power flow verification is performed step by step on the reversible switching shadow sequence. The result can be solidified only after all the verifications pass. If the verification of the reversible switching shadow sequence fails, the role evolution game verification is re-executed. Adjustments are made only within one step before and after the operation step that caused the failure, and the verification is re-executed until the target switching sequence and the corresponding generated reversible switching shadow sequence pass simultaneously.

[0028] Furthermore, step S3 specifically includes:

[0029] The community energy management unit performs high-voltage and low-voltage side operations step by step according to the final target switching sequence. After each operation, the AC power flow calculation is called for verification. If the verification is successful, the next step is entered. If the verification fails, the operation step is rolled back one step according to the reversible switching shadow sequence. The role evolution game verification of step S2 is called for recalculation only in the status window of that operation step.

[0030] After the target switching sequence is completed, maintain the settings listed in the target coordination list and repeat the AC power flow calculation and verification at the set time interval. If there is a deviation but no over-limit, prioritize the correction through reactive power and tap adjustment; if there is an over-limit, backtrack according to the reversible switching shadow sequence and re-enter step S2 until all constraints are restored.

[0031] The present invention also provides a city-level end-point power supply collaborative control system based on energy storage wall, comprising a memory and a processor, wherein the memory stores a computer program, and the processor calls the computer program to execute the steps of the method described above.

[0032] Compared with the prior art, the present invention has the following advantages:

[0033] (1) This invention introduces the joint operation of energy storage wall and vehicle-mounted high voltage power supply in community scenarios to form a flexible power supply coordination control method covering both high voltage and low voltage sides. This can effectively break through the bottleneck that traditional power supply vehicles cannot enter old communities due to size limitations, and achieve a smooth connection of the "last mile" of emergency power supply.

[0034] (2) In terms of the method flow, the present invention firstly automatically identifies the switch status and generates a simplified topology through the community energy management unit, ensuring real-time control of the community's electrical structure and avoiding misoperation and blind spots from the source; secondly, an operation template is generated based on the simplified topology, and a state window is established for the pre-operation state, post-operation state, and single-step transition state of each operation step, and each is checked one by one using the optimal power flow solver to ensure that the operation process can be executed under voltage, power flow, and safety constraints, avoiding problems such as overload, voltage exceeding limits, or illegal closed loop; on this basis, by first reactive power and tap changers, and then reactive power... The order of placeholder filling for power and switches enables step-by-step coordination of reactive power support for the energy storage wall, transformer tap adjustment, active power discharge of the energy storage wall, and output of the vehicle-mounted high-voltage power supply, forming a set of candidate operating strategies. A lockstep verification mechanism based on role evolution game theory is then used to screen and converge operating strategies, ensuring that the final target switching sequence balances electrical safety and operational simplicity. Finally, during execution, each step undergoes local confirmation and remote verification, and is rapidly validated through AC power flow calculation. If a step fails, it immediately reverts to a reversible switching shadow sequence, ensuring the reversibility and controllable risk of the operation. Through these technical means, this invention not only enables continuous power supply in complex community environments but also automates, verifies, and makes the strategy generation and execution process reversible, significantly improving the reliability, safety, and flexibility of emergency power supply while maintaining operational efficiency and practical applicability, thus possessing strong promotional and application value. Attached Figure Description

[0035] Figure 1 This is a flowchart illustrating a method for coordinated control of urban end-point power supply based on an energy storage wall, as provided in an embodiment of the present invention.

[0036] Figure 2 This invention provides an experimental curve of the convergence process of the role evolution game in the power collaborative control system of an energy storage wall. Detailed Implementation

[0037] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0038] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.

[0039] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0040] Example 1

[0041] like Figure 1 As shown, this embodiment provides a method for coordinated control of urban end-point power supply based on energy storage walls, including:

[0042] S1: Perform equipment checks on the energy management unit of the community to be configured, record the switching status of the high-voltage side and low-voltage side of the community, and generate a simplified topology and target switching sequence placeholder list including the energy storage wall and vehicle-mounted high-voltage power supply access point.

[0043] In the specific implementation process, the community energy management unit generates a topology structure, including a topology index table containing the community's high-voltage side incoming and outgoing lines, ring network switches, transformers, low-voltage side busbars, bus tie switches, main feeders, energy storage wall access points, and vehicle-mounted high-voltage power supply access points. Based on the mechanical and electrical interlocks of the field devices, an interlocking relationship table is generated, clearly defining prohibited closed-loop and cross-operation pairs, as well as operation pairs that must be executed sequentially. An equipment capacity list is generated according to the equipment nameplate and permissible values, listing discrete values ​​for the active and reactive power output levels of the vehicle-mounted high-voltage power supply, the charging and discharging levels of the energy storage wall, and the transformer tap levels, recording the minimum and maximum levels for each list. Based on the simplified topology and interlocking relationships, possible permitted switch operations are enumerated, forming two types of action lists: one for the community's high-voltage side and one for the community's low-voltage side. Each action record includes the equipment identifier, closing or opening action, the side it belongs to, and the related interlocking prerequisites and prohibition conditions.

[0044] The community energy management unit establishes operable placeholders for the active and reactive power output levels of the vehicle-mounted high-voltage power supply, the charging and discharging levels of the energy storage wall, the transformer tap levels, and the permissible switch sequence segments on the community's high-voltage and low-voltage sides. These operable placeholders only reference the discrete values ​​and actions from the aforementioned discrete value list and switch action list, and do not contain other variables. The switch sequence is a sequential switching instruction, and a switch sequence segment is a part of that sequence.

[0045] Template consistency rules are established, requiring that a fixed sequence of switch operations within any template must not trigger prohibited conditions in the interlocking table, and that the value of any operable quantity placeholder must come from the equipment capacity list and switch action list. Furthermore, adjacent operations must not result in mutually canceling closing and opening actions on the same equipment. The community energy management unit sets safety verification rules for the template generation process, requiring that each inserted switch action or operable quantity placeholder value be checked against the interlocking table and switch action list. If any non-compliance is found, the previous valid step must be immediately rolled back and the candidate action or placeholder value replaced.

[0046] The community energy management unit selects the switching position directly related to the vehicle-mounted high-voltage power supply access point as the starting operation step on the community's high-voltage side. Following the sequence of "local inspection of access point, access point isolation, access point power reception preparation, and access point power reception completion," compliant actions are selected from the switch action list and sequentially filled into a fixed switch operation sequence framework. Safety verification rules and template consistency rules are immediately executed after each action is entered. Between the starting operation step and the power reception completion step, operable placeholders for the active and reactive power output levels of the vehicle-mounted high-voltage power supply are inserted sequentially. After the power reception completion step, operable placeholders for the transformer tap position and the permitted switch sequence segments on the community's high-voltage side are inserted. The insertion order is fixed as follows: first, the reactive power output level of the vehicle-mounted high-voltage power supply; then, the active power output level of the vehicle-mounted high-voltage power supply; then, the transformer tap position; and finally, the permitted switch sequence segments on the community's high-voltage side. At the end of the fixed switching operation sequence framework, add operable quantity placeholders for the allowed switching sequence segments on the low-voltage side of the community, marked as controlled placeholders, for use in the subsequent joint solution stage. During generation, only verify that they do not conflict with the interlocking relationship.

[0047] The community energy management unit selects the bus section and bus tie switch directly related to the energy storage wall access point on the low-voltage side of the community. Following the sequence of "low-voltage side section isolation or segmentation, energy storage wall parallel connection preparation, energy storage wall parallel connection completion, and low-voltage side section merging strategy preparation," it selects compliant actions from the switch action list and fills them into a fixed switch operation sequence framework. Safety verification rules and template consistency rules are executed at each step. Between the energy storage wall parallel connection preparation and energy storage wall parallel connection completion, placeholders for operable quantities of the energy storage wall's charging and discharging positions are inserted. After the low-voltage side section merging strategy preparation, placeholders for operable quantities of transformer tap positions, permitted switch sequence segments on the community's low-voltage side, reactive power output positions of the vehicle-mounted high-voltage power supply, and active power output positions of the vehicle-mounted high-voltage power supply are inserted. The insertion order is fixed as follows: first, energy storage wall charging and discharging positions; then, transformer tap positions; then, permitted switch sequence segments on the community's low-voltage side; then, reactive power output positions of the vehicle-mounted high-voltage power supply; and finally, active power output positions of the vehicle-mounted high-voltage power supply. At the end of the fixed switch operation sequence framework, add the operable quantity placeholders of the allowed switch sequence segments on the high-voltage side of the community, mark them as controlled placeholders, perform only interlocking consistency checks, and leave them to be filled in the subsequent joint solution stage.

[0048] The community energy management unit first fills in compliant actions from the switch action list on the low-voltage side of the community in the order of "low-voltage side section isolation or segmentation, energy storage wall parallel connection preparation, energy storage wall parallel connection completion, and low-voltage side section stability confirmation". Then, on the high-voltage side of the community, it fills in compliant actions in the order of "high-voltage side power receiving preparation, high-voltage side power receiving completion, high-voltage side and existing power supply loop preparation, and loop completion". The above two sequences are connected by "low-voltage side stability confirmation" to ensure that the interlocking relationship is not broken. Before the low-voltage side is stabilized, placeholders for the operable quantities of the energy storage wall's charge / discharge positions and the transformer tap positions are inserted. After the high-voltage side is ready for power reception, placeholders for the operable quantities of the reactive power output positions and the active power output positions of the vehicle-mounted high-voltage power supply are inserted sequentially. Before the loop is closed, placeholders for the operable quantities of the allowed switch sequence segments on the low-voltage side and the allowed switch sequence segments on the high-voltage side of the community are inserted respectively. The above insertion order is fixed as follows: first the energy storage wall's charge / discharge positions, then the transformer tap positions, then the reactive power output positions of the vehicle-mounted high-voltage power supply, then the active power output positions of the vehicle-mounted high-voltage power supply, then the allowed switch sequence segments on the low-voltage side of the community, and finally the allowed switch sequence segments on the high-voltage side of the community. After inserting each action or operable quantity placeholder related to loop closure, the community energy management unit immediately performs a consistency check against the prohibited loop closure entries in the interlocking relationship table. If a potential loop closure risk is found, the high-voltage side action sequence is adjusted or the corresponding switch action is replaced without changing the confirmed low-voltage side action sequence. When the low-voltage side stability confirmation and high-voltage side loop closure completion are both included in the fixed switch operation sequence framework and all operable quantity placeholders are inserted, and the safety check rules and template consistency rules are passed, the low-voltage stabilization first, high-voltage loop closure template is marked as usable. If a prohibition condition occurs, the process reverts to the most recent step for replacement and re-checking until the template is usable or determined to be unusable on-site.

[0049] The community energy management unit generates validity records for the three types of templates. These records include the action sequence of a fixed switch operation sequence framework, the position number of each operable placeholder, the reference entry number of the associated interlocking relationship, and the corresponding allowed switch sequence fragment identifiers for the community's high-voltage and low-voltage sides. Based on the urgency of the interlocking relationship and the number of switch actions, the three types of templates are marked with an attempt sequence number for subsequent solution stages. This number serves only as an identifier for the calling order and does not involve weighting. The three types of usable templates are stored in the result set automatically generated on-site in the operation template library, serving as direct input for subsequent joint solutions of optimal power flow and evolutionary game theory. Before calling, a safety check rule is executed again to confirm that the on-site state has not changed, affecting the template's applicability. When all the above actions and operable placeholders are inserted and pass the safety check rule and template consistency rule, the vehicle-mounted high-voltage power supply first template is marked as usable. If any insertion leads to a prohibition condition, the process reverts to the most recent step, where the switch action is changed or the insertion position of the operable placeholder is adjusted until the template is usable or determined to be unusable on-site.

[0050] S2: Based on a simplified topology, multiple action templates are generated, and multiple state windows are established for each step of each action template. The multiple action templates include a vehicle-mounted high-voltage power supply first template, an energy storage wall first template, and a low-voltage stabilization followed by high-voltage loop closure template. The multiple state windows include windows for the pre-operation state, the post-operation state, and the single-step transition state. Each state window is checked. If it fails, it is marked as an unusable operation step in the corresponding action template for adjustment. If it passes, a candidate operation strategy is generated. The candidate operation strategy is checked by role evolution game to obtain a convergent operation strategy. The convergent operation strategy is solidified into a target switching sequence, and a reversible switching shadow sequence is generated. After the check is passed, the final target switching sequence is confirmed.

[0051] In practical implementation, the simplified topology is used to read the high-voltage side, low-voltage side, transformer, energy storage wall access point, vehicle-mounted high-voltage power supply access point, and interlocking relationships of the community to form a set of operable actions. This set only includes closing and opening actions permitted by interlocking relationships, as well as the operational sequence constraints related to loop closure. Prioritizing power supply continuity, the operational sequence must keep life-saving loads continuously energized, and unplanned closed loops and exceeding designated isolation points are not allowed. These constraints are hard conditions for template generation. Template generation adopts a method of "first determining the fixed sequence framework, then arranging operable quantity placeholders." The fixed sequence framework is used to lock the order of physical actions at each step, while the operable quantity placeholders are used to carry the discrete values ​​that the subsequent optimal power flow solver will provide.

[0052] Vehicle-mounted high-voltage power supply preliminary template: On the high-voltage side where the vehicle-mounted high-voltage power supply access point is located, select an isolation position directly associated with that access point as the starting action to prevent parallel operation before synchronization. This structurally cuts off potential circulating current paths, reducing the impact during subsequent power reception. The actions of power reception preparation, power reception completion, and restoration of the normal power supply path on the high-voltage side are inserted sequentially. Power reception preparation is placed first to complete necessary local confirmations under non-energized conditions, avoiding repetitive operations under energized conditions. Power reception completion follows immediately, ensuring that all prerequisites are met once the access point is closed. Actions related to the low-voltage side are placed at the end of the fixed sequence framework as a buffer for a smooth transition, preventing immediate topological changes on the low-voltage side when the high-voltage side establishes a power supply channel. Place placeholders for the reactive power output levels of the vehicle-mounted high-voltage power supply between power reception preparation and power reception completion, followed by placeholders for the active power output levels of the vehicle-mounted high-voltage power supply. This sequence helps to first set the voltage profile through reactive power regulation, and then use active power output to carry the load, reducing voltage deviation and current surges at the moment of power reception. After power reception is completed, placeholders for transformer tap positions are placed to refine the voltage level after connection, allowing the low-voltage side to enter a stable operating range. At the end of the fixed sequence framework, placeholders for the allowed switching sequence segments on the high-voltage and low-voltage sides of the community are placed to reserve space for subsequent network restoration and segmented optimization.

[0053] Energy Storage Wall Pre-connection Template: On the low-voltage side, preparatory and completion actions related to the parallel connection of the energy storage wall are performed first to ensure stable support on the shortest path. The advantage of stabilizing the low-voltage side first is that critical loads can continuously receive voltage support, and even if the high-voltage side is still in the preparation stage, voltage drop and frequency drift are less likely to occur on the low-voltage side. After the low-voltage side is stabilized, necessary preparatory actions are inserted on the high-voltage side to pave the way for subsequent linkage with the vehicle-mounted high-voltage power supply. Placement markers for the charging and discharging positions of the energy storage wall are placed during the parallel connection process on the low-voltage side. Placing these markers within the parallel connection process allows direct reference to the target state of the parallel system, ensuring it is in a load-bearing state immediately after parallel connection. After the low-voltage side is stabilized, placement markers for transformer tap positions and permissible switch sequence segments on the low-voltage side of the community are placed for fine-tuning the low-voltage bus and optimizing the low-voltage side power supply path. Subsequently, placement markers for the reactive power output and active power output of the vehicle-mounted high-voltage power supply are placed to prepare capacity for the upcoming high-voltage side power reception process. By placing the reactive power output position before the active power output position, the voltage support capacity can be in place before the active load is taken over, thus reducing cross-side impact.

[0054] The low-voltage stabilization-then-high-voltage loop-closing template: First, complete the segmentation or isolation on the low-voltage side, prepare for parallel connection of the energy storage wall, complete the parallel connection of the energy storage wall, and confirm the stability of the low-voltage side. This sequence ensures that a stable power supply baseline is formed on the low-voltage side, avoiding repeated switching during the high-voltage side. After confirming the stability of the low-voltage side, sequentially execute the high-voltage side power receiving preparation, high-voltage side power receiving completion, high-voltage side and existing power source loop-closing preparation, and loop-closing completion. The loop-closing action is placed last because performing loop-closing before a stable low-voltage side and a reliable high-voltage power receiving path are formed will significantly amplify the circulating current risk and the scope of fault impact. Before confirming the stability of the low-voltage side, placeholders for the charging and discharging positions of the energy storage wall and the transformer tap positions are arranged to ensure that the low-voltage side enters the stable range with appropriate voltage and power levels. After the high-voltage side power receiving preparation, placeholders for the reactive power output positions and active power output positions of the vehicle-mounted high-voltage power supply are arranged sequentially to ensure that the necessary voltage support and load-bearing capacity are available when power receiving is completed. Before the loop closure is completed, placeholders for the allowed switch sequence segments on the low-voltage side and high-voltage side of the community are arranged so that path organization can be completed before the loop closure, reducing the uncertainty of circulating current and power flow transfer after the loop closure.

[0055] The establishment of three state windows and the verification of the optimal power flow solver include: Before executing a step, a pre-operation state is constructed using the current device location information and the determined values ​​of operable placeholders. The reason for setting this state is to provide a verifiable starting point for the action, ensuring that all verifications are based on the actual live structure and current values ​​on-site, avoiding cascading misjudgments due to failure in the previous step. After completing the expected action of the step, a post-operation state is constructed based on the opening or closing changes caused by the action and the values ​​of the operable placeholders involved in the step. Setting this state allows direct checking whether the action of the step pushes the network towards the target direction, such as whether the voltage profile converges to the allowable range, whether the current carrying capacity is sufficient, and whether the segments form the desired power supply path. Between the pre-operation state and the post-operation state, only the topology changes and value changes brought about by the action of the step are injected, forming a single-step transition state window. The purpose of setting this window is to capture the impact of transient topology differences caused by single-step actions on power flow. Many switching risks do not occur after the action is completed, but rather during the topology transition period at the moment the action is executed, such as temporary voltage spikes or brief tendency for local loops to close. By independently verifying this window, transition paths that are detrimental to safety can be identified in advance and blocked in a timely manner at the template level.

[0056] The invocation and judgment of the optimal power flow solver includes: for each step, the optimal power flow solver is called to verify the operation in the pre-operation state, post-operation state, and single-step transition state window. If all three conditions are met, the step is marked as ready to proceed within the template. If any state window fails, the step is immediately marked as an unusable operation step, and the reason for failure and the involved values ​​are recorded. This process can solidify the risk at the point where it occurs, preventing it from extending to subsequent actions. Unusable operation steps are traced back to the most recent alternative action or alternative value. If an alternative solution exists, the three state windows are re-established after the replacement, and the optimal power flow solver is called again for verification; if there is no alternative solution within the template, the entire template is marked as an unusable template, and another template is used for generation and verification. The reason for adopting a step-by-step, window-by-window verification method is that during the switching process of the distribution network, the acceptable range of voltage and power flow is often strongly affected by topological transients. Splitting the verification into three state windows allows for the stable elimination of unsafe paths based solely on the current structure and current values, without relying on historical data.

[0057] For unusable operation steps resulting from post-operation status failures, prioritize replacing the operable placeholder values ​​at that step. For example, change the reactive power output setting of the vehicle-mounted high-voltage power supply or the transformer tap setting, and re-establish three status windows for verification. Prioritizing on-site replacement at that step can restore feasibility without altering confirmed steps, reducing disturbance to the existing sequence. For unusable operation steps resulting from single-step transition status window failures, prioritize replacing the switching actions related to the topology change at that step to ensure the transition path avoids constrained areas, and then verify.

[0058] When the on-board high-voltage power supply advance template repeatedly encounters unusable operation steps before completing power reception on the high-voltage side and there is no alternative solution, the system switches to the energy storage wall advance template. The low-voltage side is stabilized first, and then the system returns to the high-voltage side for power reception verification. This narrows the solution space on the high-voltage side by providing steady-state support on the low-voltage side, improving the power reception success rate. When the low-voltage stabilization-then-high-voltage loop-closing template repeatedly fails to pass through the state window before loop closure, the system switches to either the on-board high-voltage power supply advance template or the energy storage wall advance template to complete their respective stabilization processes. The paths on both sides are then organized to a pre-loop-closing state before returning to the loop-closing template for verification. Achieving local stability step by step reduces the uncertainty of power flow transfer at the moment of loop closure.

[0059] The pre-operation state is generated based on the fixed sequence framework and the determined operable placeholder values ​​up to the current step. Any device not touched by this step or previous actions retains its existing position in the simplified topology. The post-operation state is generated only by updating the devices and values ​​involved in this step. This approach minimizes the impact of each step, making it easier to accurately pinpoint the specific changes that cause the check to fail. The single-step transition state window only injects the topology changes of this step, without imposing any additional changes unrelated to it. Constructing the transition window with this single change separates causal relationships and reduces misjudgments. First, the pre-operation state is checked to ensure the current starting point is valid; then, the single-step transition state window is checked to intercept transient problems as early as possible; finally, the post-operation state is checked to confirm the target effect of this step. If the single-step transition state window fails, the risk of this step can be directly determined to be unacceptable, and the process will not continue even if the post-operation state may pass. This approach minimizes the risk of hiding in subsequent steps.

[0060] In the vehicle-mounted high-voltage power supply pre-installation template, the fixed sequence frame can also advance the path preparation action after power reception to the immediate following step, thus shortening the interval between power reception completion and path stabilization. This option is suitable for situations with short on-site paths and simple interlocking relationships. In the energy storage wall pre-installation template, the charge / discharge position placeholders for the energy storage wall can be initialized before parallel connection, so that the state after parallel connection is closer to the target load level, reducing fluctuations caused by readjustment after parallel connection. In the low-voltage stabilization-then-high-voltage loop-closing template, the allowable switch sequence segment placeholders for the high-voltage and low-voltage sides of the community before loop closing can be arranged in segments, placing important segments earlier to prioritize eliminating weak links on long paths.

[0061] In the single-step transition state window verification, the optimal power flow solver can be called in the internal order of voltage first, then power flow, to first determine the acceptability of the voltage level and then confirm the acceptability of the power flow allocation. This order can terminate the calculation as early as possible when voltage problems are obvious, saving time. For the same actions and values ​​that have appeared repeatedly in the same template, the verification results of its three state windows can be cached. When the same combination is encountered again, the cached results are directly reused; when any related value changes, it is automatically invalidated and recalculated. This method can reduce the number of times the optimal power flow solver is repeatedly called.

[0062] If a step is marked as unusable due to a single-step transition state window failing, try splitting it into two steps, each introducing smaller topology changes, and then establishing three state windows for verification. Splitting the steps reduces the magnitude of single-step changes and increases the success rate. If multiple unusable steps appear consecutively in the template, and they are all related to the same type of value (e.g., all related to transformer tap positions), prioritize changing values ​​of that type, then rebuild the three state windows for adjacent steps as a whole to eliminate common-origin issues.

[0063] The community energy management unit reads the simplified topology and interlocking relationships, lists the operable placeholders, prioritizes the reactive power output of the vehicle-mounted high-voltage power supply and the transformer tap positions, prioritizes the active power output of the vehicle-mounted high-voltage power supply and the charging / discharging positions of the energy storage wall, and prioritizes the allowed switching sequence segments on the high-voltage and low-voltage sides of the community, forming a placeholder list in ascending order of numbers. A fixed sequence of reactive power output and tap positions first, followed by active power output and switching positions, is adopted because reactive power output and tap positions directly shape the voltage level and equivalent impedance path. Prioritizing these settings provides a stable voltage base and a restricted power flow path for subsequent active power output and switching, reducing voltage rise, voltage drop, and circulating current tendency during closing or opening. Subsequently, the active power output and switching sequence are determined, allowing for load and channel allocation within a given voltage profile, reducing the probability of overload and accidental closing.

[0064] Assign values ​​to each preceding placeholder. For each assignment, construct three types of state windows for the current template and step: pre-operation state, single-step transition state, and post-operation state. Verify each of these by calling the optimal power flow solver. If all three state windows pass, the value is considered valid; if any state window fails, immediately generate a counter-response receipt, recording the failed entry, the corresponding state window, and the current placeholder number. Based on the counter-response receipt, replace the next value in the discrete value list of the same placeholder and repeat the verification. If all values ​​for the placeholder fail, revert to the previous placeholder, replace the value, and clear the subsequent assignment records. This process limits the causes of failures to the smallest possible value variation range, facilitating location and correction. After all preceding placeholders pass, proceed to the intermediate placeholders. The values ​​of the intermediate placeholders directly affect the current-carrying levels of the lines and transformers; they are still verified by constructing three types of state windows for each single change. This method gradually pushes active power load to within acceptable limits, avoiding a one-time large adjustment that could lead to overload tendencies in a particular line or transformer. After all intermediate-sequence placeholders have passed, the process moves to subsequent-sequence placeholders. For each candidate value of a switch sequence segment, sequences that violate closed-loop restrictions and conflict with the sequence are first eliminated based on interlocking relationships. Then, three types of state windows are constructed before, after, and at the moment of execution of each specific action, and the optimal power flow solver is called for verification. Only when all three types of state windows at each step within the segment pass are the values ​​of that segment confirmed as valid. This allows for early detection of critical action risks at the sequence level and path correction during the template stage.

[0065] The process of candidate execution strategy generation and certificate caching includes: once all placeholder lists have obtained valid values, recording the fixed order of these values ​​with the template forms a candidate execution strategy, which is then written into the candidate execution strategy set. Constraint certificates are generated for the verified status windows and corresponding value combinations, and an index is established. If the same window and combination reappear subsequently, the existing certificate is reused; if any related value changes, it automatically becomes invalid and recalculated. Certificate caching reduces the number of repeated calls to the optimal power flow solver, improving on-site calculation speed.

[0066] The process of performing role evolution game verification on candidate operating strategies to obtain convergent operating strategies includes: using the candidate operating strategy set as the initial population, splitting it into four categories of settings based on roles: vehicle-mounted high-voltage power supply, energy storage wall, transformer tap, and switch sequence, and establishing a one-to-one correspondence between strategies and role settings. The purpose of using role evolution game verification is to explore improveable strategies within the existing feasible domain by modifying the one-step operable difference set of a single role without introducing significant global changes, while maintaining continuous adherence to the interlocking relationships and state window verification results. Several replicas are generated for each strategy, and each time only one operable difference set is modified on one type of role. For active or reactive power taps, they are modified to adjacent taps; for transformer taps, they are modified to adjacent taps; for switch sequence segments, only single-point replacements or adjacent order swaps are performed within the allowed set of sequence variants. The optimal power flow solver is called to verify each replica on the existing state window set of the strategy. If any state window fails, the replica is directly eliminated and does not enter the adversarial stage. The verified replicas and the current retention strategy are paired up for competition, and their superiority is determined in a fixed order: First, the number of switching steps is compared; fewer steps reduce on-site operational risks and execution time. If the number of steps is the same, whether a new closed loop is introduced is compared; the strategy without introducing a new closed loop reduces circulating current and false connection risks. If neither introduces a new closed loop, the node voltage deviation and the load distribution of lines and transformers are compared; the strategy with voltage closer to the allowable center range and more uniform load is more conducive to thermal stability and insulation life. If they still cannot be distinguished, the energy storage wall is compared to whether it has the ability to continue supporting the system within a given time; the strategy with the ability to continue supporting the system is more robust during continuous operation and secondary switching. The winner is retained, and the loser is eliminated. After a round of competition, if multiple strategies with completely identical settings for the four roles appear in the retention set, one of them is selected to implement a one-step operable difference set modification on any role, and the status window is reviewed to maintain population diversity and avoid stagnation in equivalent solutions.

[0067] The convergence detection and convergence operation strategy determination process includes: on the retainer set, attempting one-step operable difference set modifications for each of the four roles and verifying all state windows. Convergence is determined when all attempts result in failed entries in the constraint pass certificate, or when no better strategy based on the fixed order emerges in pairwise adversarial scenarios. The optimal strategy in the retainer set at convergence is denoted as the convergence operation strategy. This strategy meets the fixed order adjudication requirements in terms of step count, closed-loop control, voltage and current carrying capacity, and continuous support capacity of the energy storage wall, and has been verified by the optimal power flow solver on the corresponding state window.

[0068] The convergence operation strategy is solidified into a target switching sequence and a target coordination list, and a reversible switching shadow sequence is generated for full-window verification. Specifically, this includes generating the target switching sequence based on the switching sequence and various position values ​​of the convergence operation strategy. The target switching sequence unfolds in the order of high-voltage side operation first, low-voltage side operation second, and parallel connection last. Each step includes equipment identification, action direction, local confirmation items, and remote verification items. A target coordination list is generated, clarifying the maintenance or transition requirements of the reactive and active output positions of the vehicle-mounted high-voltage power supply, the charging and discharging positions of the energy storage wall, and the transformer tap positions at each stage of the target switching sequence. This ensures a one-to-one correspondence between numerical settings and physical actions at the execution level, avoiding a disconnect between values ​​and actions during execution. The reason for solidifying the target switching sequence first and then the target coordination list is to ensure that the action path and numerical settings match, avoiding premature value locking before the action sequence is determined, which would require repeated verification later. The target switching sequence is then used to generate a reversible switching shadow sequence in reverse execution order. Before and after each reverse step, and at the moment of execution, a pre-operation state, a single-step transition state window, and a post-operation state are established, and the optimal power flow solver is invoked for verification. The purpose of setting up a reversible switching shadow sequence is to provide a definite backtracking path for the execution phase. When a verification fails or external conditions change on-site, it is not necessary to replan the entire system; instead, it can backtrack to the position of the previous passed state window in the nearest reverse order, reducing uncertainty and the risk of additional power outages. Only when all three types of state windows in each step of the reversible switching shadow sequence pass are the target switching sequence and target coordination list confirmed to be valid. If any reverse step fails, the system returns to the role evolution game verification, and only near the step that caused the failure, a one-step operable difference set modification is performed on the relevant role and verified until all state windows in both the forward and reverse directions pass.

[0069] For subsequent switching sequence segments, a segmented method can be used to generate candidate values. First, fix the bus-related segments, and then search within the feeder-related segments. The segmented method can separate the risks related to loop closure and feeder transfer for verification, reducing the number of failures caused by a single combination. For the mid-sequence active power output and energy storage wall charging and discharging, a step amplitude limit can be introduced, allowing only adjacent tap changes. The step limit helps to control each power flow change within a known range, ensuring stable convergence of the state window verification. Paired adversarial strategies can be implemented using a round-robin or small-scale tournament approach. A round-robin approach ensures that each strategy receives a balanced opponent distribution, suitable for scenarios with a small number of strategies; a tournament approach accelerates the retention of winners, suitable for scenarios with a large number of strategies and sufficient computational resources. While maintaining the adversarial adjudication order, a pre-check step can be set for the continuous support capability of the energy storage wall. That is, before entering the adversarial phase, the optimal power flow solver is called to verify whether the continuous support time of the energy storage wall under the current tap combination meets the predetermined requirements. Pre-checking reduces the possibility of invalidation only after entering the adversarial phase, improving computational efficiency.

[0070] In this embodiment, the security verification rules are rapid legality checks performed during the template generation phase for each action or each operable placeholder value. The focus is not on precise power flow values, but on topology security and interlocking constraints. Based on the foregoing description, the security verification rules include at least the following aspects:

[0071] First, the consistency of interlocking relationships is checked. Each inserted switch action and its sequence is checked against the interlocking relationship table to see if it triggers a closed-loop prohibition, a crossing prohibition, or violates the "must be executed sequentially" operation pair. If the addition of an action leads to the formation of a closed loop, crosses a predetermined isolation point, or disrupts the sequence, the safety check is deemed to have failed.

[0072] Second, the consistency of the switch action list is checked. This involves verifying whether the current action belongs to the pre-enumerated set of permitted actions and whether it is consistent with the permitted actions of incoming / outgoing lines, ring network switches, bus tie switches, etc., under on-site mechanical / electrical interlocks. If the current action is not in the switch action list or conflicts with prohibited conditions in the list, the safety check fails.

[0073] Thirdly, the local sequence self-consistency is checked. This involves checking whether adjacent actions create mutually canceling closing and opening actions on the same equipment, whether the same equipment is repeatedly operated more than the allowed number of times within a short period of time, and whether contradictory segmentation and merging occur on the same busbar segment. If any of the above situations occur, it is considered detrimental to the safety of the execution level, and the safety check is also deemed unsuccessful.

[0074] Fourth, it involves verification in conjunction with template consistency rules. Template consistency rules require that the values ​​of operable quantity placeholders must come from discrete values ​​in the equipment capability list and the switch action list, and must not disrupt the fixed order of precedence, intermediate sequence, and successor sequence. Safety verification rules need to check whether each inserted action or placeholder value violates the structural framework defined by the template consistency rules.

[0075] In implementation, whenever a switching action or operable placeholder value is inserted, the community energy management unit immediately invokes the safety verification rules for checking: if none of the above constraints are triggered, the insertion is deemed to have passed the safety verification rules, and this step can be retained; if any constraint is triggered, this step is deemed to have failed, the system immediately reverts to the previous valid step, changes the candidate action or placeholder value for the current step, and performs the safety verification again. Only when all steps in the entire fixed sequence framework can find actions or value combinations that have passed the safety verification are the structure template marked as "available," and the system enters the status window and optimal power flow solution stage of step S2.

[0076] It is important to emphasize that the safety verification rules belong to the rapid filtering mechanism of "structural safety and interlocking safety" in step S1, while the verification of the pre-operation state, single-step transition state, and post-operation state window calling the optimal power flow solver in step S2 belongs to the fine verification of "electrical magnitude". The two are at different levels and complement each other. Step S1 ensures that no obviously illegal or high-risk template skeletons are generated in the structure. Step S2 further eliminates templates that are unacceptable due to voltage, power flow, current carrying level, etc., and finally obtains the operation strategy that can be used as the target switching sequence for solidification and execution.

[0077] In step S1, the community energy management unit, based on simplified topology and interlocking relationships, completes the following tasks: identifying three typical execution modes (vehicle-mounted high-voltage power supply first, energy storage wall first, low-voltage stabilization first followed by high-voltage loop closing), and establishing a fixed switching operation sequence framework for each mode. Various operable quantity placeholders are inserted into the framework according to predetermined rules to form a "structured template." At this point, "template usability" can be defined as "structural usability" or "interlocking usability," meaning that the template does not contain obvious illegal actions or closed-loop risks in terms of topology and interlocking constraints, making it suitable as a structural carrier for subsequent solutions.

[0078] In step S2, based on the structured template obtained in step S1, the community energy management unit further establishes pre-operation state, single-step transition state, and post-operation state windows at each step. It then calls the optimal power flow solver and the role evolution game algorithm to assign values ​​to operable placeholders one by one and filter switching sequence segments one by one. Finally, it generates several specific action templates (i.e., candidate operating strategies with definite gear positions and definite switching segments) under each type of structured template, and solidifies them into target switching sequences after convergence through evolutionary game theory. The "template availability" at this stage is "availability after power flow and game theory verification," which is significantly stronger than the "structure availability" concept in step S1.

[0079] Therefore, the two paragraphs of the problem can be understood as follows: in step S1, a fixed sequence framework and placeholder structure are constructed in advance for the "energy storage wall first template" and the "low voltage first stabilize then high voltage loop template"; in step S2, on these fixed frameworks, specific multiple sets of candidate templates are generated by combining state windows and optimal power flow solvers, and the final convergence operation strategy is selected through evolutionary game.

[0080] The target switching sequence placeholder list refers to an ordered set of indexes formed by instantiating and mapping all control variables to be optimized according to time-series logic based on the generated simplified topology containing energy storage walls and vehicle-mounted high-voltage power supply access points, and according to a fixed switching operation sequence framework. Each placeholder item in this list (i.e., the "operable quantity placeholder" mentioned in the text) corresponds to a specific decision variable, which is used to carry specific discrete values ​​in the subsequent joint solution stage of optimal power flow and evolutionary game.

[0081] The specific process for generating the target switching sequence placeholder list is as follows:

[0082] The first step is to establish discrete value reference sources. Based on the equipment capacity list and switch action list generated in step S1, the community energy management unit defines four types of basic reference sources: discrete value lists of active and reactive power output levels of the vehicle-mounted high-voltage power supply, discrete value lists of charging and discharging levels of the energy storage wall, discrete value lists of transformer tap positions, and the set of allowed switch sequence fragments on the high-voltage side and low-voltage side of the community after being filtered by interlocking relationships.

[0083] The second step is to instantiate operable placeholders. For each of the four types of reference sources mentioned above, an operable placeholder object is instantiated. Each placeholder object contains: a unique location number, the type of equipment it belongs to (e.g., vehicle-mounted high-voltage power supply, energy storage wall, transformer, switchgear), an associated reference source pointer (pointing to the corresponding list of discrete values), and the constraint on the effective time of that location in the operation sequence (e.g., "before power reception is completed" or "after parallel connection preparation").

[0084] The third step is time-series embedding based on template logic. According to the fixed switching operation sequence framework defined in step S1—the vehicle-mounted high-voltage power supply first template, the energy storage wall first template, and the low-voltage stabilization followed by high-voltage loop closing template—the instantiated operable placeholders are filled into the empty positions of the framework according to preset logic rules, forming a sequence structure with specific physical meaning.

[0085] For the vehicle-mounted high-voltage power supply template, between the initial operation step and the power receiving completion step, generate and insert "vehicle-mounted high-voltage power supply reactive power output position placeholder" and "vehicle-mounted high-voltage power supply active power output position placeholder"; after the power receiving completion step, generate and insert "transformer tap position placeholder" and "permitted switch sequence segment placeholder for the high-voltage side of the community"; at the end of the frame, generate and insert "permitted switch sequence segment placeholder for the low-voltage side of the community" (marked as a controlled placeholder).

[0086] For the energy storage wall template, between the preparation and completion of the parallel connection of the energy storage wall, a "energy storage wall charging and discharging position placeholder" is generated and inserted; after the low-voltage side section merging strategy is prepared, "transformer tap position placeholder", "permitted switch sequence segment placeholder for the low-voltage side of the community", "vehicle-mounted high-voltage power supply reactive power output position placeholder" and "vehicle-mounted high-voltage power supply active power output position placeholder" are generated and inserted in a fixed order; at the end of the frame, "permitted switch sequence segment placeholder for the high-voltage side of the community" (marked as a controlled placeholder) is generated and inserted.

[0087] For the low-voltage stabilization-then-high-voltage loop-closing template, before the low-voltage side is stabilized, generate and insert "energy storage wall charging / discharging position placeholder" and "transformer tap position placeholder"; after the high-voltage side is ready to receive power, generate and insert "vehicle-mounted high-voltage power supply reactive power output position placeholder" and "vehicle-mounted high-voltage power supply active power output position placeholder"; before the loop closure is completed, generate and insert "permitted switch sequence fragment placeholder for the low-voltage side of the community" and "permitted switch sequence fragment placeholder for the high-voltage side of the community".

[0088] The fourth step is to generate the list index. Traverse the embedded template structure, extract all located operable placeholders, and categorize them according to a logical strategy of "preceding (reactive power and tap changers), following (active power and energy storage charging / discharging), and subsequent (switching sequence fragments)," or directly according to their chronological order on the template timeline. Assign a globally unique, incrementally increasing index number to each placeholder. The resulting structured list, containing the number, type, reference list range, and template affiliation information, is the target switching sequence placeholder list. This list then directly serves as the input source for the "placeholder list" in step S2, used for traversing and generating candidate operating strategies.

[0089] S3: Based on the target switching sequence, the operation of the high-voltage side and low-voltage side of the cell is executed sequentially. Each step is confirmed locally and verified remotely. After each operation, the AC power flow calculation is called for verification. If it fails, the operation step is rolled back one step according to the reversible switching shadow sequence and recalculated in the status window of that step. After the target switching sequence is completed, the target coordination list is run and the verification is performed at the set time interval.

[0090] Specifically, when AC power flow calculation fails in any state window, a one-step rollback is performed based on the reversible switching shadow sequence, executing the reverse of the previous action. Using a one-step rollback method limits the cause of the failure to a recent single change, narrowing the investigation scope and avoiding secondary disturbances to already stable steps. Before rollback, a local confirmation and remote verification are performed to ensure the rollback action does not introduce new closed paths or incorrect segmentation. After the rollback action is executed, the AC power flow calculation is immediately called back in the post-operation state to confirm that it has recovered to the allowable range. While keeping the equipment positions unchanged after rollback, recalculation is only performed within the state window involved in that step. Specifically, the values ​​and path selections related to this step are replaced in the pre-operation state and single-step transition state windows, keeping other passed steps unchanged. During recalculation, fine-tuning is performed in the order of reactive power and tap changes first, followed by active power and switching. For example, priority is given to finding a passable path on transformer tap changes and reactive power supports, and then active power load and switching segments are adjusted as needed. This arrangement helps to achieve a pass with smaller voltage profile changes, thereby reducing the accumulation of risks in the next step. When all three status windows of the step pass, the target switching sequence is restored to the step number before the rollback and execution continues forward; if multiple adjustments still fail, the reversible switching shadow sequence is used to continue rolling back without changing the existing passing steps, until the nearest passable position is found, and then the process is advanced with small step values ​​and fragment replacements.

[0091] The process of maintaining operation and verifying at set time intervals after the target switching sequence is completed includes: After the entire target switching sequence is completed, maintaining the reactive and active power output levels of the vehicle-mounted high-voltage power supply, the charging and discharging levels of the energy storage wall, the transformer tap positions, and the predetermined segments of the high-voltage and low-voltage sides of the community according to the target coordination list. No temporary modifications conflicting with the target coordination list are made during the operation maintenance phase, unless there is a failure in AC power flow calculation or a significant deviation due to changes in external conditions. Verification is performed by calling AC power flow calculations at set time intervals. These time intervals are predefined by the on-site operation and maintenance strategy and are not adjusted temporarily during execution, ensuring a stable verification rhythm. The verification order is as follows: first, check the voltage distribution and tap position matching relationship; second, check the current load distribution of the lines and transformers; and finally, check whether the load status of the vehicle-mounted high-voltage power supply and energy storage wall is consistent with the target coordination list. This order prioritizes stabilizing the voltage profile before verifying current load and capacity distribution, avoiding adjustments to active power load before voltage stabilization. If a deviation occurs but the limit is not exceeded, make small corrections using reactive power support and tap changers first, and resume the verification process after confirming that the AC power flow calculation is passed. If the limit is exceeded, revert to the nearest passed position using the reversible switching shadow sequence, and recalculate using the small step replacement method in the status window of that position until the calculation is passed again.

[0092] This embodiment provides a specific example of the above solution as follows.

[0093] Power supply target: An old residential community with a total load power of 650kW across three categories. The loads are categorized as follows: life-saving loads (200kW), public safety loads (300kW), and general loads (150kW). Their respective power factors are 0.98, 0.95, and 0.90 (lagging). Equipment parameters: A 1.25MVA 10 / 0.4kV distribution transformer with a short-circuit impedance of 6%, equivalent to an active resistance of 1.5% and a reactance of 5.8%. The on-load tap changer has a step size of 1.25%, allowing taps to switch between -5 and +5 increments. The energy storage wall has a rated power of 500kW and a capacity of 1.00MWh, with an initial charge of 0.70MWh. The vehicle-mounted high-voltage power supply has a capacity of 1.50MVA, allowing an active power step of 50kW from 0 to 1.20MW and a reactive power step of 50kVA from -0.60 to +0.60MWAr. Set operating constraints: The nominal line voltage of the low-voltage bus is 0.4kV, and the allowable range is 0.95 to 1.05 per unit; unplanned closed loops are not allowed; tap changers, reactive power and active power are changed in a predetermined order; after each action, a status window check is performed, and if any window fails, it immediately rolls back a small step and recalculates locally.

[0094] The calculation basis is: a capacity basis of 1.25 MVA and a voltage basis of 0.4 kV on the low-voltage side. Let the power unit be... ;in, Total active power (MW) on the low-voltage side. Let the capacity base be (MVA). Assume the reactive power per unit is... ;in, This represents the total reactive power on the low-voltage side (MVAr). The voltage drop is approximated by linear adjustment of the transformer's parasitic parameters. ;in, The unit value represents the equivalent resistance of a transformer. The per-unit equivalent reactance of the transformer. The per-unit voltage of the tap changer is... ;in, This is the tap position relative to zero. The per-unit voltage of the low-voltage bus is approximately... The corresponding line voltage value is ;in, It is 0.4kV.

[0095] Calculate the reactive power for each type of load. For each type of load, use... ;in, The power factor is calculated as follows: Reactive power for life support is approximately 40.61 kVAr, reactive power for public safety is approximately 98.61 kVAr, and reactive power for general purposes is approximately 72.65 kVAr. The total reactive power is... Total merit ; Corresponding per-unit quantity ; at the tap Furthermore, without energy storage and reactive power support, the voltage drop... Low-voltage bus per-unit voltage Line voltage The readings are within the allowable range but slightly low. We will adjust the reactive power and tap changer first.

[0096] A vehicle-mounted high-voltage power supply template is used. Under this template, the reactive power of the energy storage wall is first set, then the tap changer is set, followed by the active power sharing, and finally, the allowed switching sequence segments are processed. The reactive power and tap changer placeholder filling includes: setting the reactive power support of the energy storage wall as... ;in, This is to compensate for reactive power on the energy storage wall. This measure compensates for reactive power locally on the low-voltage side, reducing reactive power flow through the transformer channel and preventing excessive reactive power flow on the transformer due to reactive power injection on the high-voltage side. At this time, there is reactive power on the transformer side. ; Corresponding to the unit number ;Keep When constant, voltage drop Raise the tap to At this time, the per-unit voltage of the low-voltage bus is... Line voltage It meets the upper voltage limit requirements and provides a margin for subsequent active power sharing.

[0097] Active power and switch placeholder filling includes: assuming the active power discharge of the energy storage wall is... ;in, Active power for the energy storage wall (positive value indicates discharge). Maintain full supply for life-saving and public safety categories, and full supply for general categories. Low-voltage side active power balance is... ;in, This refers to the active power output from the transformer to the low-voltage side. It is provided by the vehicle-mounted high-voltage power supply. ;in, and This relates to the active and reactive power of the vehicle-mounted high-voltage power supply. The operating point of the vehicle-mounted high-voltage power supply is within a 1.50MVA capacity, with a power factor of approximately 0.98, which meets the equipment's requirements. Calculate the apparent power of the transformer. It accounts for approximately 41% of the transformer capacity, satisfying the current-carrying constraints. The switching sequence segment adopts a conservative path of "high-voltage side energization completed, low-voltage side maintaining existing segmentation, and no loop closing" to avoid triggering circulating current during the initial connection phase. The optimal power flow solver is called for the pre-operation state, single-step transition state window, and post-operation state of each step in this sequence. Both voltage and current are within allowable ranges, and no new closed loops are added.

[0098] The process of verifying candidate running strategies and role evolution game includes: constructing candidate running strategies based on the current values, and attempting one-step operable difference sets for the four types of roles: attempting to upgrade the split-joint to... .at this time Increasing voltage offers limited benefits and increases the proximity of the upper edge, which is detrimental to margin management during load increases, leading to its elimination in a paired competition. An attempt was made to... Increased to 0.15MVAr. At this point... Although the voltage has increased slightly, the reactive power utilization of the energy storage wall has risen, reducing its adjustable margin during sudden power fluctuations. Furthermore, it makes no positive contribution to the "fewer steps and no introduction of new closed loops" principle of paired countermeasures, and is therefore eliminated. An attempt was made to... Reduced to 0.10MW and accordingly It increased to 0.55MW. At this point... As the transformer load increased, the voltage drop increased slightly, making it less effective than the original strategy in paired operations. After multiple rounds of operations, the original strategy remained optimal under the following four criteria: no increase in the number of switching steps, no introduction of new closed loops, node voltage closer to the nominal value and more balanced transformer current carrying capacity, and energy storage wall with continuous support capability. This strategy was then used as the convergence operation strategy.

[0099] The target switching sequence is executed in the following order: high-voltage side power reception completed, tap position established. The system issues reactive and active power settings, and maintains the predetermined segmentation on the low-voltage side. It verifies the three state windows for the "High-voltage side power reception complete" step: Pre-operation state: Only the energy storage wall supports reactive and active power temporarily at 150kW; the remaining load is suppressed from the planned side to below 500kW, and the voltage meets the lower limit; Single-step transition state window: The vehicle-mounted high-voltage power supply is introduced, and reactive power is gradually increased to 100kVAr, while active power gradually increases from 0kW to 500kW; during the gradual increase... ; Calculate the instantaneous voltage drop and maintain The minimum voltage obtained is not lower than 0.99 per unit; Post-operation status: achieved The voltage is approximately 1.01268 per unit, and the verification passed. AC power flow calculation is invoked after each action. If any step fails, the operation step is rolled back one step according to the reversible switching shadow sequence, and only reactive power and tap changers are adjusted in the status window of that step before re-verification. No failures occurred in this example. After the target switching sequence is completed, it continues to run according to the target coordination list. The energy storage wall power is calculated using a 30-minute verification window: ;in, Initial energy (MWh) The amount of electricity after 30 minutes (MWh) Operating time (h). Meets continuous support capacity requirements. Verification is performed at set time intervals, prioritizing voltage maintenance between 1.00 and 1.03 per unit through reactive power and tap adjustment.

[0100] Key quantities for convergent execution strategy: Verification results: The low-voltage bus voltage is approximately 405V, within the allowable range; the transformer apparent power is approximately 0.512MVA, and the current carrying capacity is approximately 41%; no new closed loop is introduced; the energy storage wall has continuous support capability within the given time. Reversible switching shadow sequence: The rollback path, executing in the opposite order to the target switching sequence, passes through all three state windows and can be safely rolled back when needed. If it is desired to further raise the low-voltage bus to around 410V, it can be maintained... Under the premise of no change, in the short term Increase to +3 and monitor load fluctuations; return to +2 once it approaches the upper limit. If on-site restrictions on the active power output of the energy storage wall are stricter, it can be... Reduced to 0.10MW and Increased to 0.55MW, while at the same time To offset the increase in voltage drop, all three state window checks must pass. During periods when the voltage drop at the feeder end is excessive, maintain... Keep it unchanged, first put Increase the voltage from 0.10MVAr to 0.12MVAr, and then fine-tune it based on the current carrying capacity once the voltage returns to the 1.01 to 1.03 per-unit range. .

[0101] Figure 2This is an experimental curve showing the convergence process of the role evolution game in the energy storage wall power collaborative control system. The graph, calculated through 80 iterations, details the convergence characteristics and optimization effect of the role evolution game verification algorithm of this invention. The horizontal axis represents the number of game iterations, ranging from 0 to 80; the left vertical axis represents the fitness percentage of the four roles, ranging from 0% to 110%; and the right vertical axis represents the number of constraint violations, ranging from 0 to 30. The graph contains six key curves: the blue solid line represents the fitness of the vehicle-mounted high-voltage power supply role, the green solid line represents the fitness of the energy storage wall role, the purple solid line represents the fitness of the transformer tap changer role, the orange solid line represents the fitness of the switching sequence role, the red dashed line represents the overall convergence, and the gray dashed line represents the change in the number of constraint violations. The experiment was conducted entirely according to the role evolution game verification process of this invention. In the initial random search phase (0-15 iterations), the fitness values ​​of the four roles fluctuated randomly within the range of 50%-75%, reflecting the global exploration characteristics of the algorithm in its early stages. The high number of constraint violations, around 25, indicates that many schemes in the initial candidate operating strategy set do not meet the power system operating constraints. This stage verifies the correctness of the placeholder classification and sorting and discrete value list generation mechanism, laying the foundation for subsequent optimization. The rapid exploration and improvement stage (15-35 iterations) demonstrates the rapid convergence capability of the game theory algorithm. The fitness of all four roles shows a significant upward trend, with the switch sequence role showing the most significant improvement, increasing from 45% to 80%, reflecting the effectiveness of the pairwise adversarial and fixed-order adjudication mechanism. The number of constraint violations rapidly decreases to below 10, proving that the optimal power flow solver verification plays a key role in eliminating infeasible schemes. The synergistic improvement of the fitness of the vehicle-mounted high-voltage power supply and energy storage wall roles verifies the technical advantages of the multi-role coordinated optimization of this invention. The fine-tuning and optimization stage (35-55 iterations) demonstrates the algorithm's local search capability. The fitness of the four roles enters a high-level range of 80%-95%, and the curve fluctuations gradually decrease, indicating that the algorithm begins to make fine-tuning within the feasible region. This stage strictly follows the decision-making sequence of "first comparing the number of switching steps, then comparing whether a new closed loop is introduced, and finally comparing the node voltage deviation magnitude with the load distribution balance of the lines and transformers." The number of constraint violations is further reduced to below two, and the overall system convergence reaches over 90%. The convergence stabilization stage (55-80 iterations) signifies that the algorithm has reached its optimal solution. The fitness of all four roles remains stable at an excellent level above 95%, with the switching sequence role achieving the highest fitness of 98%, indicating that the role's operating strategy is close to the theoretical optimum. The number of constraint violations drops to near zero, and the overall convergence remains stable above 98%, demonstrating that the role evolution game algorithm of this invention has excellent convergence performance and solution quality.Experimental results show that after a complete game process, each role can achieve convergence under the condition that no further constraints are generated by adjacent gear positions or state modifications, which fully verifies the scientific nature and effectiveness of the technical solution of this invention.

[0102] The preferred embodiments of the present invention have been described in detail above. It should be understood that those skilled in the art can make numerous modifications and variations based on the concept of the present invention without creative effort. Therefore, all technical solutions that can be obtained by those skilled in the art based on the concept of the present invention through logical analysis, reasoning, or limited experimentation on the basis of existing technology should be within the scope of protection defined by the claims.

Claims

1. A method for collaborative control of urban end-of-grid power supply based on energy storage walls, characterized in that, The method comprises the following steps: S1: performing equipment inspection on a cell energy management unit of a cell to be configured, recording switch states of a high-voltage side and a low-voltage side of the cell, and generating a simplified topology and a target switching sequence placeholder list of a simplified topology including an energy storage wall and a vehicle-mounted high-voltage power supply access point; S2: based on the simplified topology, a plurality of action templates are generated, and a plurality of state windows are established for each step of each action template, the plurality of action templates include a vehicle-mounted high-voltage power supply first template, an energy storage wall first template, and a low-voltage first stable and high-voltage combined loop template, and the plurality of state windows include windows of pre-operation state, post-operation state, and single-step transition state; each state window is checked, if it fails, it is marked as an unusable operation step in the corresponding action template for adjustment, if it passes, a candidate running strategy is generated; the role evolution game checking is performed on the candidate running strategy to obtain a converged running strategy; The converged running strategy is solidified into a target switching sequence, and a reversible switching shadow sequence is generated, and the final target switching sequence is confirmed after the checking passes; S3: based on the target switching sequence, the operation of the high-voltage side and the low-voltage side of the cell is performed in sequence; The generation process of the action template is specifically: According to the simplified topology, the cell high-voltage side, the cell low-voltage side, the transformer, the energy storage wall access point, the vehicle-mounted high-voltage power supply access point and the interlocking relationship are read to form an operable action set; With power continuity as the priority target, the operation sequence must maintain the life support load continuously powered, unplanned closed loops are not allowed, and crossing the established isolation point is not allowed, and by first determining a fixed sequence framework and then arranging an operable quantity placeholder, the corresponding action template is generated; the action template includes a sequence of action execution and an operable quantity placeholder interspersed in the sequence of action execution; In step S2, the role evolution game checking is performed on the candidate running strategy to obtain a converged running strategy, which is specifically: Taking the candidate running strategy set as the initial population, four types of roles are set, which are vehicle-mounted high-voltage power supply, energy storage wall, transformer tap and switch sequence; The role evolution game checking is implemented in the following cycle: copying and adjusting are only allowed to modify adjacent gears or states on a single operable quantity of the four types of roles; any two candidate running strategies are paired and opposed, and the constraint pass certificates of each other are compared, if both pass, a fixed order is followed for arbitration, first comparing the number of switching steps, then comparing whether a new closed loop is introduced, then comparing the node voltage deviation amplitude and the line and transformer load distribution balance, and finally comparing whether the energy storage wall has the ability to continue to support within the specified running period; the loser is eliminated and the winner is retained; If the retained candidate running strategy no longer produces improvement under the fixed order, and modifying adjacent gears or states of any role will cause the constraint pass certificate to appear a non-pass item, it is determined that the convergence is obtained, and the converged running strategy is obtained.

2. The urban terminal power supply collaborative control method based on energy storage wall according to claim 1, characterized in that, In step S1, after the cell energy management unit is not powered off or emergency power supply is triggered, a device check is performed, which includes checking the electricity, grounding unlocking and interlocking, confirming the high-voltage side opening position of the cell and the bus section position of the low-voltage side of the cell and recording the current operation mode, thereby generating a simplified topology; The current operation mode includes the state of each switch on the high-voltage side of the cell, the state of each section on the low-voltage side of the cell, the grid-connected state of the energy storage wall, and the standby state of the vehicle-mounted high-voltage power supply; The simplified topology includes the high-voltage side of the cell, the ring network switch and the transformer, the low-voltage side of the cell, the bus, the bus switch and the main feeder, and the access point related to the energy storage wall and the vehicle-mounted high-voltage power supply; Based on the grounding unlocking and interlocking check, an interlocking relationship table is generated; according to the simplified topology and the interlocking relationship table, the possible allowed switch operation actions are enumerated, the switch action list of the high-voltage side of the cell and the low-voltage side of the cell is formed, and the operation amount placeholder is added, and the target switching sequence placeholder list to be executed is generated.

3. The urban terminal power supply collaborative control method based on energy storage wall according to claim 1, characterized in that, Step S2 also includes classifying and sorting the operation templates, fixing the order of reactive and tap first, active and switch second, placing the reactive output stage of the vehicle-mounted high-voltage power supply and the transformer tap position in the front sequence, placing the active output stage of the vehicle-mounted high-voltage power supply and the charge and discharge stage of the energy storage wall in the middle sequence, placing the allowed switch sequence fragments of the high-voltage side of the cell and the low-voltage side of the cell in the rear sequence, and forming a placeholder list in ascending order.

4. The urban terminal power supply collaborative control method based on energy storage wall according to claim 1, characterized in that, The pre-operation state is constructed using the current device position information and the determined value of the operation amount placeholder before a certain step is executed; The post-operation state is constructed according to the opening or closing changes caused by the action and the operation amount placeholder value involved in the current step after the action is completed; The single-step transition state is constructed between the pre-operation state and the post-operation state by only injecting the topology changes and value changes brought by the current step action.

5. The urban terminal power supply collaborative control method based on energy storage wall according to claim 1, characterized in that, Each state window is independently checked by an optimal power flow solver, and if it fails, it is marked as an unusable operation step in the corresponding template; Backtrack the unusable operation step to the nearest alternative action or alternative value; if there is an alternative solution, replace it and re-establish the state window and call the optimal power flow solver again for checking; If there is no alternative solution in the current action template, mark the current action template as an unusable template as a whole, and continue to generate and check another action template.

6. The urban terminal power supply collaborative control method based on energy storage wall according to claim 1, characterized in that, The convergence operation strategy is solidified into a target switching sequence, and a reversible switching shadow sequence is generated, and the final target switching sequence is confirmed after passing the check, which specifically includes: In the convergence operation strategy, the target switching sequence and the target coordination list are generated; at the same time, the reversible switching shadow sequence is generated in the order opposite to the target switching sequence, and the state window optimal power flow check is performed on the reversible switching shadow sequence step by step, and the result is solidified after all passing; if the reversible switching shadow sequence check fails, the role evolution game check is re-executed, and only the operation step range of the operation step leading to failure is adjusted and rechecked, until the target switching sequence and the corresponding generated reversible switching shadow sequence pass at the same time.

7. The urban terminal power supply collaborative control method based on energy storage wall according to claim 1, characterized in that, Step S3 specifically comprises: The cell energy management unit executes high-voltage side and low-voltage side operations step by step according to the final target switching sequence, and calls the alternating current power flow calculation for checking after each operation step, and enters the next step after the checking passes, and if the checking does not pass, it is rolled back to the previous operation step according to the reversible switching shadow sequence, and only the role evolution game check of step S2 is called for recalculation in the state window of the operation step; After the target switching sequence is completed, the settings listed in the target coordination list are maintained, and the alternating current power flow calculation check is repeated at a set time interval, if there is a deviation but no out-of-bound, it is corrected by adjusting the reactive power and the tap changer; if it is out-of-bound, it is rolled back according to the reversible switching shadow sequence and re-enters step S2 until all constraints are restored.

8. A city end power supply collaborative control system based on energy storage wall, characterized in that, The computer program is stored in the memory and the processor calls the computer program to execute the steps of the method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Multi-resource multi-stage coupled power distribution system toughness improving method

    CN113872188A

  • Charging management system and method of district electric automobile based on queue management

    CN102655335A

  • Credibility measurement method and system for private network

    CN111756731A