Simulation method of centralized feeder automation system and computer device
Patent Information
- Application Number
- CN202611160224.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-31
- Publication Date
- 2026-10-09
AI Technical Summary
[0004]在集中式馈线自动化系统建设和调试过程中,直接在真实配电网中制造故障或频繁进行遥控试验存在安全风险和成本问题
第一,能够在同一仿真环境中建立配电主站、配电子站、配电终端、路由器和通信链路模型,便于按照待测试项目的电网拓扑及通信拓扑配置集中式馈线自动化仿真项目;
Smart Images

Figure CN122884794A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power system communication simulation technology, and in particular to a simulation method, computer equipment, and storage medium for a centralized feeder automation system. Background Technology
[0002] Distribution networks directly serve electricity users. With numerous branching lines and frequent changes in operating modes, events such as line short circuits, grounding faults, switch malfunctions, and communication anomalies can all lead to power outages. Feeder automation is used to detect, locate, and isolate faults in the distribution network, restoring power to non-faulty areas. It is a crucial technical means to improve power supply reliability.
[0003] Feeder automation typically falls into two categories: local and centralized. Local feeder automation relies primarily on the local protection and coordination logic of field devices such as circuit breakers and sectionalizers to handle faults. While it offers fast response times, it struggles to fully utilize network-wide information. Centralized feeder automation, on the other hand, centrally receives electrical quantities, switch statuses, and event messages from distribution terminals at the distribution master station. It then combines this information with the distribution network topology and fault location algorithms to generate isolation and recovery control strategies, enabling optimization of the fault handling process on a global scale.
[0004] During the construction and commissioning of centralized feeder automation systems, directly inducing faults in the actual distribution network or frequently conducting remote control tests poses safety risks and cost issues. On the other hand, the effectiveness of centralized feeder automation is affected by factors such as the distribution network topology, the type of controlled switching equipment, the master station fault location algorithm, the terminal local protection logic, communication link latency, and message loss. Simple static algorithm verification or simple communication simulation is insufficient to reflect the entire fault handling process.
[0005] Among existing simulation methods, some focus on communication network performance evaluation, some on local intelligent switch state transitions, and some on message transmission of single-type intelligent electronic devices. There is still a lack of a simulation method for the entire process of centralized feeder automation services that can simultaneously simulate the collaborative relationship between the distribution master station, distribution substation, distribution terminal, communication network, and controlled switchgear, and provide unified simulation of time-stamped message synchronization, dynamic waiting, fault location, fault isolation, power supply restoration, and communication anomaly alarms. Summary of the Invention
[0006] The purpose of this invention is to provide a simulation method, computer equipment, and storage medium for a centralized feeder automation system, which can simulate the fault handling process of a centralized feeder automation system under different distribution network topologies, different configurations of controlled switching equipment, and different communication states, and realize the full-process verification of fault location, isolation, power restoration, and the impact of communication delay.
[0007] To achieve the above objectives, the present invention provides a simulation method for a centralized feeder automation system, comprising:
[0008] Construct a simulation model library that includes simulation models of distribution master stations, distribution substations, distribution terminals, routers, and communication links; configure and run simulation projects based on the power grid topology and communication topology of the project to be tested. Electrical quantity data is collected through the power distribution terminal simulation model and anomaly detection is performed, and communication messages carrying time stamps are sent up. The power distribution master station simulation model receives the communication messages and calculates the communication delay of the communication messages. It then performs fault location, generates fault isolation and power supply restoration strategies, and sends remote control command messages to the power distribution terminal simulation model. The power distribution terminal simulation model receives and executes the remote control command messages. If the simulation project is configured with the power distribution substation simulation model, the power distribution substation simulation model is used to aggregate and forward messages between the power distribution terminal simulation model and the power distribution master station simulation model; During the simulation process, evaluation results are generated based on the time-series interaction data between the power distribution master station simulation model and the power distribution terminal simulation model.
[0009] This invention offers at least the following advantages: By constructing a simulation model library of distribution master stations, distribution substations, distribution terminals, routers, and communication links within the same simulation project, and establishing model connection relationships according to the power grid topology and communication topology of the project under test, the power grid environment and communication environment of centralized feeder automation services can be reproduced without relying on real distribution network fault tests. The distribution terminal simulation model sends up electrical quantity messages carrying time stamps. Based on this, the distribution master station simulation model calculates communication delays and completes fault location, fault isolation, and power restoration decisions. Then, the distribution terminal simulation model executes remote control commands, forming a closed-loop simulation link of "terminal perception and transmission—master station centralized decision-making—terminal execution and feedback." Therefore, under conditions where both the power grid topology and communication topology change, the collaborative effect between the master station and the terminal can be verified. Based on the time-series interaction data between the two parties, a repeatable overall evaluation of the fault handling process, the impact of communication delays, and the strategy execution results can be performed, thereby improving the completeness and reliability of centralized feeder automation system testing and verification.
[0010] In some implementations, the simulation method includes: constructing a simulation model library comprising a distribution master station simulation model, a distribution substation simulation model, a distribution terminal simulation model, a router simulation model, and a communication link simulation model; configuring and running a centralized feeder automation system simulation project based on the power grid topology and communication topology of the project under test; having the distribution terminal simulation model perform anomaly judgment on the collected electrical quantity data at the current moment, configuring different data transmission rates according to normal and abnormal settings based on the anomaly judgment results, and performing state transitions and actions in conjunction with the corresponding controlled switch equipment type attributes, and generating time-stamped communication messages to be sent to the distribution master station simulation model, receiving and executing remote control commands issued by the distribution master station simulation model, and feeding back execution result messages; having the distribution master station simulation model receive communication messages sent by each distribution terminal simulation model, for distribution terminals where the controlled switch is a circuit breaker. The fault tripping message sent by the simulation model enters a waiting confirmation state. The nature of the fault is determined based on whether a reclosing message or a reclosing failure message is received. For permanent faults, the electrical quantity data of the target terminal set required for this fault location is synchronized through time-stamp alignment, and the dynamic waiting time for data collection is dynamically calculated based on historical communication delay statistics. The fault section is determined by combining the synchronized electrical quantity data with the preset fault location algorithm. Based on the fault section determination result, the controlled switch equipment type attribute corresponding to the fault section boundary switch, and the current open / closed status, a fault isolation strategy is generated and a remote control command is issued. After the fault isolation is completed, the current status of the boundary circuit breaker upstream of the fault section, the section breaker at the boundary of the fault section, and the tie switch downstream is identified. Power restoration operation is performed according to the fault section boundary switch type and the transfer conditions of non-fault power loss areas. During the simulation, evaluation results are generated based on the time-series interaction data between the distribution master station simulation model and the distribution terminal simulation model. The time-stamped communication messages include electrical quantity messages, switch status messages reflecting local protection and reclosing results, and confirmation or refusal messages for remote control commands.
[0011] In some implementations, the simulation model library includes simulation models of distribution master stations, distribution substations, distribution terminals, routers, and communication links. Users select the appropriate simulation model based on the power grid topology and communication topology of the project under test, and configure the connection relationships between models, communication parameters, terminal numbers, controlled switchgear types, electrical quantity data sources, fault scenarios, and simulation statistics.
[0012] In some implementations, the simulation models in the centralized feeder automation system simulation project are deployed one-to-one with the primary equipment and communication nodes of the distribution network under test. Each simulation model runs based on a unified simulation clock and executes simulation logic according to a preset sampling period, communication period, or event triggering method. The simulation project deploys at least one distribution master station simulation model, one router simulation model, and multiple distribution terminal simulation models. At least one distribution substation simulation model can also be deployed according to the hierarchical architecture of the project under test.
[0013] In some implementations, the distribution terminal simulation model achieves differentiated actions through multiple convertible states, including normal acquisition state, anomaly detection state, local action state, reclosing waiting state, data reporting state, command execution state, and lockout state. The distribution terminal simulation model can determine electrical quantity anomalies based on fault criteria such as current amplitude exceeding limits, current mutation rate exceeding limits, and zero-sequence current component exceeding limits, and performs different state transitions depending on whether the corresponding controlled switching equipment is a circuit breaker, sectionalizer, or tie switch. For circuit breakers configured with reclosing function, a fault message is immediately reported after local protection trips, followed by a reclosing waiting state. Based on the reclosing result, a reset message or reclosing failure message is sent to the master station, achieving differentiated reporting of instantaneous and permanent faults.
[0014] In some implementations, the distribution master station simulation model maintains a time-scaled data collection structure, such as a linked list structure. Each time node in the data collection structure corresponds to a data collection container, and each data collection container has a set field for recording the distribution terminal simulation model of the received data. The distribution master station simulation model determines the target terminal set required for this fault location and judges whether data collection is complete based on the matching result between the set field and the target terminal set.
[0015] In some implementations, for each target distribution terminal simulation model in the target terminal set required for this fault location, when the amount of its historical communication delay data reaches a preset sample size, the sum of its mean delay and a preset multiple of the delay standard deviation is determined as the corresponding statistical waiting value; when its historical communication delay data is less than the preset sample size, a preset initial waiting time is determined as the corresponding statistical waiting value. The maximum value among the statistical waiting values corresponding to each target distribution terminal simulation model is superimposed with a preset margin time to obtain a candidate waiting time, and the candidate waiting time is limited between a preset minimum waiting time and a preset maximum waiting time to obtain the dynamic waiting time for this fault location.
[0016] In some implementations, the preset fault location algorithms include matrix fault location algorithms and fault location algorithms based on power grid topology traversal. The distribution master station simulation model can switch the corresponding fault location algorithm according to the simulation requirements.
[0017] In some implementations, during the fault isolation phase, the distribution master station simulation model, based on the type attributes and current open / closed status of the boundary switches on both sides of the fault section, issues a remote tripping command to the corresponding distribution terminal simulation model of the controlled switchgear that needs to be tripped but is not in a tripped state. After executing the tripping command, the corresponding distribution terminal simulation model enters a blocked state and updates the simulation state variables of the local controlled switchgear, and generates a tripping confirmation message based on the updated state variables, which is then sent to the distribution master station simulation model. For circuit breakers that have already been tripped by local protection and have returned a confirmation message, the tripping command is not issued again. After the distribution terminal simulation models corresponding to the boundary switches on both sides of the fault section have returned tripping confirmation messages, the distribution master station simulation model determines that the fault section has been isolated.
[0018] In some implementations, during the power restoration phase, after confirming that the faulty section has been isolated and the transfer path meets preset restoration conditions, the power distribution master station simulation model performs power restoration operations on the non-faulty power-loss area. The preset restoration conditions include at least one of the following: the transfer path is available, the tie switch is ready to close, the line current or capacity after transfer does not exceed a preset limit, and the boundary switches on both sides of the faulty section remain in a locked-out state.
[0019] In some implementations, the simulation method also includes a full-process communication management mechanism. When the power distribution master station simulation model receives a communication message from a power distribution terminal simulation model for the first time, it obtains the communication session identifier or connection handle from the communication connection context of the simulation project and stores it in association with the terminal number of the corresponding power distribution terminal. When issuing a remote control command, it retrieves the corresponding communication session identifier or connection handle according to the terminal number of the target power distribution terminal and sends the remote control command message to the target power distribution terminal simulation model.
[0020] In some implementations, during the simulation process, the power distribution master station simulation model calculates the current communication delay of each power distribution terminal simulation model in real time based on the sending and receiving times of communication messages, and compares the current communication delay with the historical communication delay distribution of the power distribution terminal. When the current communication delay exceeds the sum of the historical communication delay mean and a preset multiple of the historical communication delay standard deviation for a consecutive preset number of sampling periods, the corresponding communication link is determined to be abnormal, and a communication fault alarm message is output.
[0021] In some implementations, during the simulation process, the timing interaction data between the power distribution master station simulation model and the power distribution terminal simulation model is recorded. The timing interaction data includes at least the sending and receiving times of communication messages, the issuing time of remote control commands, the switching action time, and the return time of acknowledgment messages. Based on the timing interaction data, the fault location time, fault isolation time, power supply restoration time, and communication delay are calculated, and an evaluation result is generated by combining the fault location result, the switching action result, and the communication anomaly alarm information.
[0022] The present invention also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described simulation method for a centralized feeder automation system.
[0023] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the above-described simulation method for a centralized feeder automation system.
[0024] In some embodiments, the present invention has at least one of the following beneficial effects: First, it can establish distribution master station, distribution substation, distribution terminal, router and communication link models in the same simulation environment, which makes it easy to configure centralized feeder automation simulation projects according to the power grid topology and communication topology of the project to be tested; Second, it can simulate the differentiated state transitions and action logic of power distribution terminals under different controlled switching equipment such as circuit breakers, sectionalizers and tie switches. In particular, it can simulate the complete process of reporting immediately after the circuit breaker local protection trips, waiting for reclosing, and sending reset or failure messages according to the reclosing result, so as to realize the simulation of distinguishing between transient faults and permanent faults. Third, through the waiting control mechanism of time-stamped messages, time-stamp alignment, and dynamic waiting time calculated based on historical communication delay statistics, it can adapt to the delay jitter of heterogeneous communication networks, overcome the barrel effect of multi-terminal data synchronization, ensure the integrity of the data required for fault location while avoiding unnecessary waiting, and scientifically assess the impact of communication delay, jitter and message loss on the entire fault location process. Fourth, it can simulate the entire process control of fault location, isolation, blocking and power transfer restoration on the main station side, which is convenient for verifying the correctness of the centralized feeder automation strategy; Fifth, through communication session management and latency alarm mechanisms, the impact of communication link anomalies on centralized feeder automation services can be assessed during simulation. Attached Figure Description
[0025] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the embodiments are briefly described below. The following drawings are only some embodiments of the present invention; those skilled in the art can obtain other drawings based on these drawings without creative effort.
[0026] Figure 1 This is a schematic diagram of a simulation method for a centralized feeder automation system provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of a simulation project structure for a centralized feeder automation system provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the state transition relationship of a power distribution terminal simulation model provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of the time-scale alignment and dynamic waiting control process of a power distribution master station simulation model provided in an embodiment of the present invention; Figure 5 This is a schematic diagram of a fault isolation and power restoration execution process provided by an embodiment of the present invention; Figure 6 This is a schematic diagram of a communication session management and latency monitoring process provided in an embodiment of the present invention; Figure 7 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present invention. Detailed Implementation
[0027] 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, not all, of the embodiments of the present invention. Other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are all within the scope of protection of the present invention.
[0028] The flowcharts shown in the accompanying diagrams are for illustrative purposes only and do not necessarily include all content, operations, or steps, nor do they necessarily need to be performed in the order described. Depending on the needs of the actual simulation project, some steps may be split, combined, or their execution order may be adjusted.
[0029] The simulation method for the centralized feeder automation system in this embodiment can be applied to computer equipment for modeling, simulation, fault handling strategy verification, and communication performance evaluation of the centralized feeder automation system in the power distribution network. The computer equipment can be a desktop computer, a laptop computer, a server, or a server cluster.
[0030] In some implementations, the simulation method can be implemented using OPNET simulation software as a platform, utilizing OPNET's node model, process model, link model, and statistical data acquisition functions to establish simulation models of distribution master stations, distribution substations, distribution terminals, routers, and communication links. However, this invention is not limited to OPNET and can also be implemented on other simulation platforms with discrete event simulation and communication network modeling capabilities.
[0031] The simulation method for the centralized feeder automation system in this embodiment includes: constructing a simulation model library comprising a distribution master station simulation model, a distribution substation simulation model, a distribution terminal simulation model, a router simulation model, and a communication link simulation model; configuring and running a simulation project based on the power grid topology and communication topology of the project under test; collecting electrical quantity data and performing anomaly detection through the distribution terminal simulation model, and sending communication messages carrying time stamps; receiving the communication messages through the distribution master station simulation model and calculating the communication delay of the communication messages, executing fault location, generating fault isolation and power supply restoration strategies, and sending remote control command messages to the distribution terminal simulation model, which receives and executes the remote control command messages; if the simulation project is configured with the distribution substation simulation model, aggregating and forwarding messages between the distribution terminal simulation model and the distribution master station simulation model through the distribution substation simulation model; and generating evaluation results based on the timing interaction data between the distribution master station simulation model and the distribution terminal simulation model during the simulation process.
[0032] See Figure 1 The simulation method for the centralized feeder automation system in this embodiment includes steps S110 to S130.
[0033] S110, Build a simulation model library.
[0034] The simulation model library includes simulation models of power distribution master stations, power distribution substations, power distribution terminals, routers, and communication links.
[0035] The power distribution master station simulation model is used to receive communication messages sent by the power distribution terminal simulation model or the power distribution substation simulation model, and to perform time stamp alignment, data synchronization, fault location, isolation strategy generation, power supply restoration strategy generation, remote control command issuance, acknowledgment message reception, communication delay statistics, and alarm output.
[0036] The distribution substation simulation model is used to implement data forwarding, data aggregation, and command forwarding in a distribution automation architecture with substation hierarchies. The distribution substation simulation model can act as a server on the distribution terminal simulation model side or as a client on the distribution master station simulation model side; the specific operating mode is configured by attribute parameters.
[0037] The distribution terminal simulation model is used to simulate the sampling, anomaly detection, state transition, message generation, remote control command execution, and acknowledgment feedback functions of FTU, DTU, or other distribution automation terminals. The distribution terminal simulation model is associated with a corresponding primary controlled switchgear, which includes at least one of circuit breakers, sectionalizers, and tie switches.
[0038] Router simulation models and communication link simulation models are used to simulate forwarding paths, link bandwidth, link latency, latency jitter, packet loss, queuing, and statistical data collection in power distribution automation communication networks. By configuring different communication link parameters, simulation environments for various communication networks, such as fiber optic private networks and wireless private networks, can be created.
[0039] In the OPNET platform, the simulation models of the distribution master station, distribution substation, and distribution terminal can include application layer modules, transport layer modules, network layer modules, data link layer modules, and physical layer modules. The application layer module generates corresponding service processing processes based on attribute setting parameters; the transport layer, network layer, data link layer, and physical layer are used to implement the transmission of communication messages in the simulated communication network.
[0040] S120: Configure and run a centralized feeder automation system simulation project based on the power grid topology and communication topology of the project to be tested.
[0041] Users select simulation models from the simulation model library based on the primary wiring and communication topology of the project under test, and establish the connection relationships between the distribution master station, distribution substation, distribution terminal, router, and communication link. The simulation models are deployed one-to-one with the primary equipment and communication nodes of the distribution network under test, and each simulation model runs based on a unified simulation clock.
[0042] In one implementation, the centralized feeder automation system simulation project includes at least one distribution master station simulation model, multiple router simulation models, and multiple distribution terminal simulation models. The multiple distribution terminal simulation models correspond to circuit breakers, sectionalizing devices, and tie switches on the feeder, respectively. The distribution master station simulation model communicates with the multiple distribution terminal simulation models through the router simulation models and communication link simulation models.
[0043] In another implementation, the centralized feeder automation system simulation project also includes at least one distribution substation simulation model. This distribution substation simulation model is deployed between the distribution master station simulation model and the distribution terminal simulation model to achieve the aggregation and forwarding of distribution terminal data, as well as the forwarding of remote control commands from the distribution master station.
[0044] The simulation project configuration parameters may include: the terminal number of the power distribution terminal, communication address, link bandwidth, link fixed delay, delay jitter, packet loss probability, sampling period, data transmission period, controlled switch equipment type, switch initial state, fault location, fault occurrence time, fault current data file path, fault location algorithm type, remote control command timeout time and statistical output items.
[0045] See Figure 2 The centralized feeder automation system simulation project can establish a distribution master station layer, a distribution substation layer, a communication network layer, and a terminal layer according to the actual distribution network topology. The distribution terminal simulation model in the terminal layer corresponds to the feeder section boundary switch, the router simulation model and the communication link simulation model in the communication network layer provide the message transmission path, the distribution master station simulation model in the distribution master station layer completes centralized decision-making, and the distribution substation simulation model in the distribution substation layer completes message forwarding.
[0046] S130, Simulate the centralized feeder automation system simulation project to obtain the simulation results of the project to be tested.
[0047] When the power distribution terminal simulation model is in normal acquisition mode, it reads the electrical quantity data corresponding to the current simulation moment according to the preset electrical quantity data timing configuration scheme, or calls the internal data generation logic to calculate the electrical quantity data corresponding to the current simulation moment. When the electrical quantity data is normal, the power distribution terminal simulation model generates and sends a normal state electrical quantity data message carrying a time stamp at a first transmission rate to simulate the real terminal's operation mechanism of saving communication bandwidth under non-fault conditions. When the electrical quantity data is abnormal, the power distribution terminal simulation model generates and sends an abnormal state electrical quantity data message carrying a time stamp at a second transmission rate, wherein the second transmission rate is higher than the first transmission rate. The electrical quantity data can come from actual operation records, offline simulation software output files, or data generated internally by the simulation model, and includes at least current data, and may also include voltage, zero-sequence current, switch status, and fault indication information.
[0048] When the power distribution terminal simulation model reads a current sampling value that meets the preset fault criteria and continues for more than a set delay time, it determines that the electrical quantity is abnormal and jumps to the abnormal detection state. The preset fault criteria include at least one of the following: current amplitude exceeding the limit, current change rate exceeding the limit, and zero-sequence current component exceeding the limit.
[0049] When in anomaly detection mode, the distribution terminal simulation model acquires the type attributes of the corresponding controlled switchgear. If the controlled switchgear is a circuit breaker configured with local protection tripping function, the distribution terminal simulation model jumps to local action mode, generates a local tripping signal, triggers the corresponding controlled switchgear to open, and immediately generates a switch status message containing the opening status and fault occurrence time stamp, which is then sent to the distribution master station simulation model. Afterwards, if the circuit breaker is configured with reclosing function, it enters reclosing waiting mode and performs a reclosing operation after a preset reclosing delay: if the current returns to normal after reclosing, it is determined to be a momentary fault, reclosing is successful, a fault reset message is generated and sent to the distribution master station simulation model, and the model returns to normal acquisition mode; if the fault current still exists after reclosing, it is determined to be a permanent fault, reclosing fails, a switch status message containing reclosing failure information is generated and sent to the distribution master station simulation model, and the model jumps to data reporting mode. If the circuit breaker is not configured with reclosing function, the model directly jumps to data reporting mode. If the controlled switchgear is a sectionalizer or tie switch, the power distribution terminal simulation model will switch to the data reporting state and wait for the remote control command issued by the power distribution master station simulation model.
[0050] When in data reporting mode, the distribution terminal simulation model switches to a second transmission rate, which is higher than the first transmission rate. The distribution terminal simulation model sends time-stamped abnormal electrical quantity messages and switch status messages to the distribution master station simulation model at the second transmission rate. The time stamp can be in CP56Time2a format, or it can be a mapping between the unified time stamp format within the simulation platform and the time stamp field of the IEC60870-5-104 message.
[0051] When the data is in the normal acquisition state or the data reporting state and not in the locked state, if a remote control command is received from the power distribution master station simulation model, the current acquisition or reporting process is interrupted and the process jumps to the command execution state. When in command execution mode, the distribution terminal simulation model receives and executes remote control commands issued by the distribution master station simulation model. For example, when the remote control command is a trip command, the distribution terminal simulation model remotely trips the corresponding controlled switchgear; after confirming the tripping execution is completed, the distribution terminal simulation model immediately enters a lockout state, locking the tripping state of the corresponding controlled switchgear; when the remote control command is a closing command, the distribution terminal simulation model remotely closes the corresponding controlled switchgear if it is not in a lockout state and the closing conditions are met. After the command is executed, the distribution terminal simulation model updates the status of the controlled switchgear and sends a confirmation message back to the distribution master station simulation model.
[0052] When in the locked state, the distribution terminal simulation model locks the open state of the corresponding controlled switchgear, does not execute received closing commands, and sends a locked-out failure message back to the distribution master station simulation model. This state can simulate the action logic of maintaining the open lockout after the boundary switches on both sides of the fault section are isolated.
[0053] The electrical quantity messages, switch status messages, remote control command messages, and acknowledgment messages all conform to the IEC60870-5-104 specification format.
[0054] See Figure 3 The state transition relationships of the power distribution terminal simulation model include: normal acquisition state, abnormal detection state, local action state, reclosing waiting state, data reporting state, command execution state, and interlocking state. The reclosing waiting state only applies to circuit breakers configured with reclosing functionality and is used to simulate the complete process of delayed reclosing after tripping and sending a reset or failure message based on the reclosing result. After the command execution state completes the tripping action, it enters the interlocking state to set the opening and closing lockout. When the system receives a remote control command, it first performs a preliminary judgment based on "whether it is already interlocked." If the terminal is already in the interlocked state, it directly enters the interlocking state and generates a refusal-to-operate feedback to prevent subsequent closing commands from being executed. Through the above state and judgment logic settings, different controlled switchgear types correspond to different state transition paths, thereby achieving differentiated simulation of circuit breakers (including reclosing logic), sectionalizers, and tie switches.
[0055] After receiving communication messages from the simulation models of each distribution terminal, the distribution master station simulation model parses the terminal number, message type, electrical quantity data, switch status, and time stamp information in the communication messages. The distribution master station simulation model then categorizes messages from the same fault process into their corresponding data collection containers according to the time stamp.
[0056] It should be noted that for circuit breakers configured with reclosing functionality, the distribution master station simulation model does not immediately initiate the fault location algorithm upon receiving the first fault trip message. Instead, it enters a waiting confirmation state, starting a waiting timer that matches the reclosing delay. If a fault reset message is received from the same terminal before the waiting timer expires, it is determined to be an instantaneous fault, and only the event is recorded without initiating the centralized FA process. If a reclosing failure message is received or no reset message is received after the waiting timer expires, it is determined to be a permanent fault, and the fault handling process of the distribution master station simulation model is initiated. This mechanism accurately simulates the "receive first, confirm later, then decide" coordination logic of the master station in an actual centralized feeder automation system.
[0057] The power distribution master station simulation model maintains a data collection structure sorted by time scale, such as a linked list structure. Each time node in the data collection structure corresponds to a data collection container, and each data collection container is set with a set field for recording the power distribution terminal simulation models that have received data. The power distribution master station simulation model determines the target terminal set required for this fault location, and matches the set field with the target terminal set to determine whether the electrical quantity data of each power distribution terminal simulation model in the target terminal set has been collected. If the electrical quantity data of each power distribution terminal simulation model in the target terminal set is collected within the dynamic waiting time corresponding to the target terminal set, the data synchronization is completed in advance, and the fault section is determined based on the collected electrical quantity data and the preset fault location algorithm.
[0058] The set of target terminals required for this fault location is determined based on the correlation between the distribution network topology and the fault location algorithm. Specifically, when configuring the simulation project, a mapping relationship between each feeder section and the distribution terminals required for fault location is pre-established. When the distribution master station simulation model starts fault location for a target feeder section, the corresponding set of target terminals is obtained according to the mapping relationship. The set of target terminals includes at least the distribution terminal simulation models corresponding to the boundary switches on both sides of the target feeder section, and may also include the distribution terminal simulation models corresponding to feeder sections adjacent to the target feeder section. In other embodiments, the set of target terminals can also be determined in real time based on the fault current information sent by each distribution terminal simulation model at the time of the fault occurrence.
[0059] For each target power distribution terminal simulation model in the target terminal set, when the amount of historical communication delay data of the target power distribution terminal simulation model reaches a preset sample number, the sum of the mean of the historical communication delay and the standard deviation of the delay by a preset multiple is determined as the corresponding statistical waiting value; when the amount of historical communication delay data is lower than the preset sample number, a preset initial waiting time is determined as the corresponding statistical waiting value; the maximum value of the statistical waiting values corresponding to each target power distribution terminal simulation model is superimposed with a preset margin time to obtain a candidate waiting time; the candidate waiting time is limited between a preset minimum waiting time and a preset maximum waiting time to obtain the dynamic waiting time.
[0060] To avoid prolonged waiting times for fault location due to delayed individual messages, the power distribution master station simulation model calculates dynamic waiting time based on historical communication delay statistics. The specific derivation process is as follows: Let S be the set of target terminals required for this fault location. For any target distribution terminal i in S, the distribution master station simulation model maintains its historical communication delay sequence and calculates the average delay. and delay standard deviation Among them, the mean The standard deviation reflects the average delay level of the communication link where terminal i is located. This reflects the amplitude of latency fluctuations. In communication networks, the actual latency under normal network fluctuations usually falls within a certain range centered on the mean. It is obtained by summing the mean latency with k times the standard deviation of the latency (where k is a pre-set positive number, such as 2 or 3). It can serve as the reasonable maximum expected latency of terminal i under normal circumstances, that is, the latency value that the terminal is unlikely to exceed under the current network conditions.
[0061] Since centralized fault location requires waiting for data from all terminals in set S to arrive before accurate determination can be made, and the synchronization completion time depends on the "slowest" terminal in the set, the base waiting time is... Take as all target terminals The maximum value, i.e. .
[0062] Furthermore, considering the additional time overhead that may occur in the simulation environment, such as sporadic network congestion and low-level task scheduling delays in the operating system, in An additional preset margin time is then added on top of that. Get candidate waiting time .
[0063] Finally, to avoid uncontrolled waiting times under extreme network conditions that could severely impact the real-time performance of fault handling, or to prevent normal latency jitter from being misjudged as packet loss due to excessively short waiting times in excellent network conditions, the final dynamic waiting time will be adjusted. Limit to the system's preset minimum waiting time With maximum waiting time Between, that is .
[0064] When the amount of historical communication delay data for a target power distribution terminal is lower than the preset sample size, it is difficult to reliably calculate its mean and standard deviation. In this case, the preset initial waiting time is determined as the statistical waiting value corresponding to the target power distribution terminal, i.e., the terminal's... The system directly uses the preset initial waiting time to participate. The calculation is as follows: After the historical communication delay data of the target power distribution terminal reaches the preset sample size, the sum of its delay mean and the delay standard deviation of the preset multiple is used as the corresponding statistical waiting value.
[0065] Calculating the dynamic waiting time using the above derivation process has at least the following technical advantages: (1) Delay jitter in adaptive heterogeneous communication networks: In power distribution networks, multiple communication methods such as fiber optic, carrier, and wireless are often used together, and the quality of each terminal link varies significantly. The above method uses the historical mean and standard deviation of each terminal to independently calculate its expected upper limit of delay, so that the waiting time can be accurately adapted to the actual fluctuation characteristics of each communication link, avoiding the defects of fixed waiting time being too long for high-quality links and too short for weak network links.
[0066] (2) Overcoming the "barrel effect" of multi-source data synchronization: The maximum expected latency of all target terminals in the set is used as the basic waiting time, which truly reflects the physical limitation that multi-source synchronization must wait for the slowest node. Compared with using the average latency of the entire network, this strategy will not cause global data loss or location failure due to poor communication quality of individual edge terminals, and the robustness of the synchronization mechanism is significantly improved.
[0067] (3) Scientifically balance the real-time performance and accuracy of fault location: through coefficient k and margin time The reasonable settings establish an objective boundary between the normal fluctuation range of latency and actual message loss. This ensures that necessary data is collected with a very high probability to guarantee positioning accuracy, while avoiding fault isolation delays caused by unlimited waiting. This achieves a good balance between "data integrity" and "processing speed" at the communication simulation level for centralized feeder automation services.
[0068] If the data for the target terminal set required for this fault location is collected within the dynamic waiting time, the synchronization is completed ahead of schedule; if the data is not collected by the end of the dynamic waiting time, the data collection is terminated, and fault location is performed based on the received data and the preset missing data processing strategy.
[0069] The pre-defined missing data processing strategy specifically includes: identifying distribution terminal simulation models in the target terminal set that have not received communication messages and marking them as data-missing terminals; for each data-missing terminal, checking the received fault information of its directly adjacent distribution terminal simulation models in the distribution network topology; if the received fault information of all adjacent terminals of the data-missing terminal is consistent, then the fault information of the data-missing terminal is filled with the same fault information as the adjacent terminals, and the fault section is determined based on the filled fault information combined with a pre-defined fault location algorithm; if the received fault information of adjacent terminals of the data-missing terminal is inconsistent, then a data acquisition command is resent to the distribution terminal simulation model corresponding to the data-missing terminal to reacquire its fault information, and the fault section is determined based on the reacquired fault information combined with a pre-defined fault location algorithm. This strategy utilizes the spatial correlation of fault information in the distribution network, i.e., adjacent distribution terminals near the fault section usually detect fault currents in the same direction, while distribution terminals far from the fault point do not detect fault currents. Based on this physical law, by checking whether the received fault information of the data-missing terminal is consistent with that of its adjacent terminals, the missing data can be inferred with high confidence.
[0070] See Figure 4 The time-scale alignment and dynamic waiting control process of the power distribution master station simulation model includes message reception, time-scale parsing, data collection container matching, set update, dynamic waiting time calculation, collection judgment, timeout judgment, and fault location triggering.
[0071] The fault location algorithm can employ a matrix fault location algorithm. For example, the distribution master station simulation model generates an association matrix between feeder sections and distribution terminals based on the distribution network topology. It then forms a fault information vector based on the fault current, switch status, and fault indication information transmitted from each distribution terminal. By matching the association matrix with the fault information vector, it is determined that the fault occurs in the feeder section between adjacent boundary switches.
[0072] In other implementations, the fault location algorithm can also employ a fault location algorithm based on grid topology traversal. For example, the distribution master station simulation model starts from the beginning of the main feeder and sequentially checks the fault current signal of the distribution terminal at each switch along the power flow direction. If a switch detects a fault current signal while its adjacent downstream switch does not detect a fault current signal, then the fault point is determined to be located in the feeder section between the two switches.
[0073] The distribution master station simulation model acquires the faulty section determined through fault location, identifies the controlled switch equipment type attributes and current open / closed status of the boundary switches on both sides of the determined faulty section, wherein the controlled switch equipment type is a circuit breaker, sectionalizer, or tie switch; for boundary switches that are not currently in the open state, if it is determined that they need to be opened, a remote tripping command is issued to the corresponding distribution terminal simulation model; the distribution terminal simulation model executes the remote tripping command, and immediately enters the blocking state after the tripping is completed, generates a tripping confirmation message, and sends it to the distribution master station simulation model; after the distribution terminal simulation models corresponding to the boundary switches on both sides of the faulty section return tripping confirmation messages, the distribution master station simulation model determines that the faulty section has been isolated.
[0074] During the fault isolation phase, for controlled switchgear that requires remote tripping but is not currently in a tripped state, the distribution master station simulation model sends a remote tripping command to the corresponding distribution terminal simulation model. For circuit breakers that have already been tripped by local protection and have returned an acknowledgment message, the distribution master station simulation model does not send a tripping command again. After executing the tripping command, the corresponding distribution terminal simulation model enters a blocked state and updates the simulation state variables of the local controlled switchgear. Based on the updated state variables, it generates a tripping acknowledgment message and sends it to the distribution master station simulation model. After the distribution terminal simulation models corresponding to the boundary switches on both sides of the fault section return tripping acknowledgment messages, the distribution master station simulation model determines that the fault section has been isolated.
[0075] During the power restoration phase, after confirming that the faulty section has been isolated and the power transfer path meets the preset restoration conditions, the distribution master station simulation model identifies the current status of the circuit breaker upstream of the faulty section, the sectionalizer at the boundary of the faulty section, and the tie switch downstream. If the upstream boundary switch of the faulty section is a circuit breaker, the distribution master station simulation model keeps the circuit breaker locked and open, and only issues a remote closing command to the distribution terminal simulation model corresponding to the tie switch downstream of the faulty section to restore power supply to the non-faulty power loss area downstream of the faulty section. If both boundary switches of the faulty section are sectionalizers, and the upstream circuit breaker has been opened due to local protection after the fault occurred, the distribution master station simulation model, after confirming that both boundary sectionalizers of the faulty section are locked and open, issues remote closing commands to the distribution terminal simulation models corresponding to the upstream circuit breaker and the distribution terminal simulation models corresponding to the downstream tie switch, respectively, to restore power supply to the upstream non-faulty area and the downstream non-faulty power loss area.
[0076] Preset recovery conditions may include the downstream tie switch being in a remotely controllable state, the power supply being available, the line current after the power supply not exceeding the line capacity limit, the absence of unisolated fault sections in the power supply path, and the boundary switches on both sides of the fault section being in a locked-out state.
[0077] See Figure 5 The fault isolation and power restoration execution process includes fault section input, boundary switch type judgment, current open / closed status judgment, trip command issuance, local protection action identification, opening confirmation, interlocking setting, power transfer condition judgment, closing command issuance, and restoration result statistics.
[0078] This embodiment also includes a full-process communication management mechanism. See [link / reference] Figure 6 When the power distribution master station simulation model receives a communication message from a power distribution terminal simulation model for the first time, it obtains the communication session identifier or connection handle corresponding to the communication message from the communication connection context of the simulation project, and associates and stores the communication session identifier or connection handle with the terminal number of the corresponding power distribution terminal.
[0079] When the power distribution master station simulation model issues a remote control command, it retrieves the corresponding communication session identifier or connection handle based on the terminal number of the target power distribution terminal. The remote control command message is then routed to the target power distribution terminal simulation model via this identifier or handle. This method avoids command errors caused by relying solely on broadcasting or static address matching, and facilitates simulating the connection session between the real master station and the terminal in the simulated communication network.
[0080] During the simulation, the power distribution master station simulation model calculates the current communication delay of each power distribution terminal simulation model in real time based on the sending and receiving times of communication messages, and compares the current communication delay with the historical communication delay distribution of that power distribution terminal. When the current communication delay exceeds the sum of the historical communication delay mean and a preset multiple of the historical communication delay standard deviation for a consecutive preset number of sampling periods, the power distribution master station simulation model determines that the corresponding communication link is abnormal and outputs a communication fault alarm message.
[0081] The following is a specific simulation example. The distribution network under test includes a main feeder, an upstream circuit breaker, multiple section breakers, and a downstream tie switch. The user deploys a distribution master station simulation model, multiple router simulation models, and multiple distribution terminal simulation models in the simulation platform. The multiple distribution terminal simulation models correspond to the upstream circuit breaker, section breaker, and downstream tie switch, respectively.
[0082] After the simulation begins, each power distribution terminal simulation model enters normal data acquisition mode, reads electrical quantity data according to the preset sampling period, and sends normal operation messages at the first transmission rate. At the preset fault occurrence time, the simulation platform injects fault current data into a certain section. The upstream relevant power distribution terminal simulation model of that section reads that the current amplitude exceeds the limit or the current change rate exceeds the limit, enters the anomaly detection mode, and sends fault data messages at the second transmission rate.
[0083] If the upstream circuit breaker is configured with local protection tripping function, the corresponding distribution terminal simulation model enters the local action state, triggers the circuit breaker to trip, and immediately generates a time-stamped switch status message and sends it to the distribution master station simulation model. If the circuit breaker is configured with reclosing function, it enters the reclosing waiting state and performs the reclosing operation after a preset delay. If the injected fault is a transient fault, the current returns to normal after reclosing, the distribution terminal simulation model generates a fault reset message and sends it to the distribution master station simulation model and returns to the normal acquisition state. The simulation platform records the end of this fault handling and does not enter the subsequent FA process. If the injected fault is a permanent fault, reclosing fails, the distribution terminal simulation model generates a reclosing failure message and sends it to the distribution master station simulation model and jumps to the data reporting state. The distribution terminal simulation models corresponding to the section sectionalizer and tie switch enter the data reporting state after detecting the fault current and send a time-stamped abnormal electrical quantity message to the distribution master station simulation model.
[0084] The distribution master station simulation model receives communication messages from the simulation models of each distribution terminal, establishes a data collection container based on the time stamp, and calculates the dynamic waiting time. After collecting the data of the target terminal set required for this fault location or after the waiting timeout, the distribution master station simulation model executes the matrix fault location algorithm to determine that the faulty section is located between two adjacent sectioners.
[0085] The distribution master station simulation model sends a remote trip command to the distribution terminal simulation model corresponding to the sectionalizers on both sides of the fault section. After the sectionalizers on both sides confirm the trip, they enter the interlocked state. If the upstream circuit breaker has already tripped due to local protection, after confirming that the sectionalizers on both sides of the fault section are interlocked, the distribution master station simulation model sends a closing command to the upstream circuit breaker to restore power supply to the upstream non-faulty area, and sends a closing command to the downstream tie switch to restore power supply to the downstream non-faulty power-loss area.
[0086] During the simulation, the timing interaction data between the power distribution master station simulation model and the power distribution terminal simulation model is recorded. The timing interaction data includes at least the sending and receiving times of communication messages, the issuing time of remote control commands, the switching action time, and the return time of acknowledgment messages. Based on the timing interaction data, the fault location time, fault isolation time, power restoration time, and communication delay are calculated, and the evaluation results are generated by combining the fault location results, switching action results, and communication anomaly alarm information.
[0087] After the simulation is completed, the simulation platform can output simulation results such as fault location results, the action time of each switch, the time of remote control command issuance, the time of confirmation message return, fault isolation time, power restoration time, communication delay statistics, communication anomaly alarm records, and recovery success flags. Users can use these results to evaluate the performance of the centralized feeder automation system under different topologies, different communication delays, and different fault locations.
[0088] Please refer to the above embodiments. Figure 7 , Figure 7 This is a schematic block diagram of a computer device 600 provided in an embodiment of this application. The computer device 600 includes one or more processors 601, which operate individually or jointly to perform the steps of the aforementioned simulation method.
[0089] For example, computer device 600 also includes memory 602.
[0090] For example, processor 601 and memory 602 are connected via bus 603, such as an I2C (Inter-integrated Circuit) bus.
[0091] Specifically, the processor 601 can be a microcontroller unit (MCU), a central processing unit (CPU), or a digital signal processor (DSP), etc.
[0092] Specifically, the memory 602 can be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a portable hard drive, etc.
[0093] The processor 601 is used to run a computer program stored in the memory 602, and to implement the steps of the aforementioned simulation method when executing the computer program.
[0094] The memory 602 stores a computer program. When the processor 601 executes the computer program, it implements the steps of the simulation method for the above-mentioned centralized feeder automation system, including building a simulation model library, configuring and running simulation projects according to the power grid topology and communication topology of the project to be tested, executing the business interaction of each simulation model, executing the abnormal judgment and state transition of the distribution terminal, executing the master station time scale alignment and dynamic waiting, executing fault location, executing fault isolation and power supply restoration, executing communication session management and latency monitoring, and generating evaluation results based on the time-series interaction data between the distribution master station simulation model and the distribution terminal simulation model.
[0095] This invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, enables the processor to implement the steps of the simulation method for the centralized feeder automation system described above.
[0096] It should be understood that the terminology used in this specification is for describing specific embodiments only and is not intended to limit the invention. Unless otherwise expressly defined, the technical terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0097] It should be noted that the terms "first" and "second" used in this invention are for descriptive purposes only and should not be construed as indicating or implying relative importance, nor should they be construed as implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features.
[0098] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the above embodiments, or equivalent substitutions can be made to some of the technical features; these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims
1. A simulation method for a centralized feeder automation system, characterized in that, include: Construct a simulation model library that includes simulation models of distribution master stations, distribution substations, distribution terminals, routers, and communication links; Configure and run the simulation project based on the power grid topology and communication topology of the project to be tested; Electrical quantity data is collected through the power distribution terminal simulation model and anomaly detection is performed, and communication messages carrying time stamps are sent up. The power distribution master station simulation model receives the communication messages and calculates the communication delay of the communication messages. It then performs fault location, generates fault isolation and power supply restoration strategies, and sends remote control command messages to the power distribution terminal simulation model. The power distribution terminal simulation model receives and executes the remote control command messages. If the simulation project is configured with the power distribution substation simulation model, the power distribution substation simulation model is used to aggregate and forward messages between the power distribution terminal simulation model and the power distribution master station simulation model; During the simulation process, evaluation results are generated based on the time-series interaction data between the power distribution master station simulation model and the power distribution terminal simulation model.
2. The simulation method for a centralized feeder automation system according to claim 1, characterized in that, The process of collecting electrical quantity data, performing anomaly detection, and sending communication messages carrying time stamps specifically includes: The power distribution terminal simulation model reads electrical quantity data according to a preset electrical quantity data timing configuration scheme, or calls internal data generation logic to calculate the electrical quantity data corresponding to the current simulation moment. When the electrical quantity data is normal, the power distribution terminal simulation model generates and sends a normal state electrical quantity data message carrying a time stamp at a first sending rate; when the electrical quantity data is abnormal, the power distribution terminal simulation model generates and sends an abnormal state electrical quantity data message carrying a time stamp at a second sending rate, wherein the second sending rate is higher than the first sending rate.
3. The simulation method for a centralized feeder automation system according to claim 1, characterized in that, The fault location process specifically includes: The power distribution master station simulation model maintains a data collection structure sorted by time scale. Each time node in the data collection structure corresponds to a data collection container. Each data collection container is set with a set field for recording the power distribution terminal simulation model that has received data. The power distribution master station simulation model determines the target terminal set required for this fault location, and matches the set field with the target terminal set to determine whether the electrical quantity data of each power distribution terminal simulation model in the target terminal set has been collected; if the electrical quantity data of each power distribution terminal simulation model in the target terminal set is collected within the dynamic waiting time corresponding to the target terminal set, the fault section is determined based on the collected electrical quantity data and the preset fault location algorithm.
4. The simulation method for a centralized feeder automation system according to claim 3, characterized in that, The method for determining the dynamic waiting time specifically includes: For each target power distribution terminal simulation model in the target terminal set, when the amount of historical communication delay data of the target power distribution terminal simulation model reaches the preset sample number, the sum of the mean of the historical communication delay and the standard deviation of the delay by a preset multiple is determined as the corresponding statistical waiting value; when the amount of historical communication delay data is lower than the preset sample number, the preset initial waiting time is determined as the corresponding statistical waiting value. The candidate waiting time is obtained by superimposing the maximum value of the statistical waiting value corresponding to the simulation model of each target power distribution terminal with the preset margin time. The candidate waiting time is limited to between a preset minimum waiting time and a preset maximum waiting time to obtain the dynamic waiting time.
5. The simulation method for a centralized feeder automation system according to claim 1, characterized in that, The fault isolation generation strategy specifically includes: The faulty section determined by fault location is obtained, and the controlled switch equipment type attributes and current open / closed status of the boundary switches on both sides of the determined faulty section are identified. The controlled switch equipment type is a circuit breaker, a sectionalizer, or a tie switch. For boundary switches that are not currently in the tripping state, if it is determined that they need to be tripped, a remote tripping command is sent to the corresponding distribution terminal simulation model. The power distribution terminal simulation model executes the remote tripping command and immediately enters the lockout state after the tripping is completed, generating a tripping confirmation message and sending it to the power distribution master station simulation model. After the simulation models of the distribution terminals corresponding to the boundary switches on both sides of the fault section return trip confirmation messages, the simulation model of the distribution master station determines that the fault section has been isolated.
6. The simulation method for a centralized feeder automation system according to any one of claims 1-5, characterized in that, The power restoration strategy specifically includes: After confirming that the faulty section has been isolated and the transfer path meets the preset recovery conditions, identify the current status of the circuit breaker upstream of the faulty section, the section breaker at the boundary of the faulty section, and the tie switch downstream. If the upstream boundary switch of the fault section is a circuit breaker, then a remote closing command is only sent to the power distribution terminal simulation model corresponding to the downstream tie switch of the fault section. If both boundary switches on both sides of the fault section are sectionalizers, then remote closing commands are sent to the distribution terminal simulation model corresponding to the circuit breaker upstream of the fault section and the distribution terminal simulation model corresponding to the tie switch downstream of the fault section, respectively.
7. The simulation method for a centralized feeder automation system according to any one of claims 1-5, characterized in that, The simulation method also includes a session management mechanism, specifically: When the power distribution master station simulation model receives a communication message from any of the power distribution terminal simulation models for the first time, it obtains the communication session identifier or connection handle corresponding to the communication message from the communication connection context of the simulation project, and stores the communication session identifier or connection handle in association with the terminal number of the corresponding power distribution terminal. When the power distribution master station simulation model issues a remote control command, it retrieves the corresponding communication session identifier or connection handle according to the terminal number of the target power distribution terminal, and sends the remote control command message to the target power distribution terminal simulation model through the communication session identifier or connection handle.
8. The simulation method for a centralized feeder automation system according to any one of claims 1-5, characterized in that, The simulation method also includes a delay monitoring and alarm mechanism, specifically: During the simulation, the power distribution master station simulation model calculates the current communication delay of each power distribution terminal simulation model in real time based on the sending and receiving times of the communication messages. The current communication delay is compared with the historical communication delay distribution of the power distribution terminal simulation model. When the current communication delay exceeds the sum of the historical communication delay mean and a preset multiple of the historical communication delay standard deviation for a consecutive preset number of sampling periods, the corresponding communication link is determined to be abnormal, and a communication fault alarm message is output.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the simulation method for the centralized feeder automation system according to any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the simulation method for the centralized feeder automation system as described in any one of claims 1 to 8.