Simulation method and computer equipment for wide-area protection control of power system

By configuring the simulation component model library and simulation projects, the simulation and performance testing of wide-area protection control of power systems are realized, the problem of lack of effective simulation solutions in the existing technology is solved, and the research and promotion of wide-area protection control technology is promoted.

CN117977570BActive Publication Date: 2024-11-19GUANGDONG UNIV OF TECH
View PDF 15 Cites 0 Cited by

Patent Information

Application Number
CN202410121464.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-29
Publication Date
2024-11-19
Estimated Expiration
2044-01-29

AI Technical Summary

Technical Problem

The existing technology lacks effective simulation solutions for wide-area protection control systems for power systems, which has affected the research and promotion of wide-area protection control technology.

Method used

Provide a simulation method for wide-area protection control of power system. By configuring a simulation component model library, including simulation models of intelligent electronic devices such as main station, sub-station, router, gateway, etc., it configures wide-area protection according to the connection method of the project to be tested. Control simulation projects to realize simulation and performance testing of wide-area protection control process.

Benefits of technology

Simulation and performance testing of the wide-area protection control process are realized, which facilitates users to study and understand wide-area protection control technology and fills the gap in the existing technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117977570B_ABST
    Figure CN117977570B_ABST
Patent Text Reader

Abstract

The present invention provides a simulation method and computer equipment for wide-area protection control of an electric power system. The method comprises: obtaining a simulation model component library, including a master station simulation model, a substation simulation model, a router simulation model, a gateway machine simulation model, a phasor data concentrator simulation model, a synchronous phasor measurement device simulation model, a switch simulation model, a multifunctional measurement and control device simulation model, an acquisition execution unit simulation model, a merging unit simulation model, an intelligent terminal simulation model, a mutual inductor simulation model, and a communication link simulation model. According to the connection mode of the project to be tested, a simulation model in the simulation model component library is selected, and a wide-area protection control simulation project is configured for simulation testing. The process simulation and performance test of the wide-area protection control can be realized, and the simulation research of the wide-area protection control by the user is convenient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power system communication simulation, and in particular to a simulation method and computer equipment for wide-area protection control of a power system. Background Art

[0002] With the development of a new generation of autonomous controllable substations, new technical requirements are put forward for the wide-area protection control system of the power system according to the specifications, and the functions of the wide-area protection control system of the power system are simulated;

[0003] Related technologies There is no good simulation solution for the wide-area protection and control system of the power system, which affects the research, testing and promotion of the wide-area protection and control technology. Summary of the invention

[0004] The embodiments of the present application provide a simulation method and computer equipment for wide-area protection control of an electric power system, which can simulate the wide-area protection control function of the electric power system, realize process simulation and performance testing of the wide-area protection control, and facilitate users to simulate and study the wide-area protection control process.

[0005] In a first aspect, the present application provides a simulation method for wide-area protection control of a power system, comprising:

[0006] Configure the simulation component model library, including simulation models of all intelligent electronic devices that realize wide area protection and control business simulation testing, including: master station simulation model, router simulation model, substation simulation model, gateway simulation model, phasor data concentrator simulation model, synchronous phasor measurement device simulation model, switch simulation model, multi-function measurement and control device simulation model, acquisition execution unit simulation model, merging unit simulation model, intelligent terminal simulation model, electronic transformer simulation model, and communication link simulation model.

[0007] According to the wide area connection mode of the project to be tested, the wide area protection control simulation project is configured using the simulation component model library;

[0008] According to the site domain connection mode of the project to be tested, the site domain simulation model is configured using the simulation component model library.

[0009] It realizes the simulation of wide area protection control process, which is convenient for users to study the wide area protection control process.

[0010] In a second aspect, the present application provides a computer device, including a memory and a processor;

[0011] The memory is used to store computer programs;

[0012] The processor is used to execute the computer program and implement the steps of the simulation method for wide-area protection control of the power system when executing the computer program.

[0013] In a third aspect, the present application 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 wide-area protection control of a power system.

[0014] The present application discloses a simulation method and computer equipment for wide-area protection control of an electric power system. The method comprises: obtaining a simulation model component library, including a master station simulation model, a substation simulation model, a router simulation model, a gateway machine simulation model, a phasor data concentrator simulation model, a synchronous phasor measurement device simulation model, a switch simulation model, a multifunctional measurement and control device simulation model, an acquisition execution unit simulation model, a merging unit simulation model, an intelligent terminal simulation model, a mutual inductor simulation model, and a communication link simulation model. According to the connection mode of the project to be tested, a simulation model in the simulation model component library is selected, and a wide-area protection control simulation project is configured for simulation testing. It is possible to realize process simulation and performance testing of wide-area protection control, and facilitate users to conduct simulation research on wide-area protection control. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0016] Figure 1 It is a flow chart of a simulation method of a power system wide-area protection control system provided in an embodiment of the present application;

[0017] Figure 2 is a schematic diagram of a wide area protection control system in one embodiment;

[0018] Figure 3 is a schematic diagram of a bay configuration in a station domain simulation model in one embodiment;

[0019] Figure 4 is a schematic diagram of a master station simulation model in one implementation mode;

[0020] Figure 5 is a schematic diagram of a substation simulation model in one implementation mode;

[0021] Figure 6 is a schematic diagram of a gateway simulation model in one implementation mode;

[0022] Figure 7 is a schematic diagram of a simulation model of a phasor data concentrator in one implementation mode;

[0023] Figure 8 is a schematic diagram of a simulation model of a synchronized phasor measurement device in one implementation mode;

[0024] Fig. 9 is a schematic diagram of a model of an application layer module of a simulation model in one implementation mode;

[0025] Fig.10 is a schematic diagram of a structure variable storing attribute setting parameters in one implementation;

[0026] Fig.11 A schematic diagram of a structure variable storing related attributes of supported services in one implementation

[0027] Fig.12 is a schematic diagram of a process domain of an application layer protocol management process of a master station simulation model in one implementation mode;

[0028] Fig.13 is a schematic diagram of a process domain of an application layer protocol management process of a substation simulation model in an implementation manner;

[0029] Fig.14 A schematic diagram of a process domain of an application layer protocol management process of a gateway machine simulation model in an implementation mode;

[0030] Fig.15 is a process domain schematic diagram of an application layer protocol management process of a phasor data concentrator simulation model in one implementation mode;

[0031] Fig.16 A schematic diagram of a process domain of an application layer protocol management process of a synchronized phasor measurement device simulation model in an implementation manner;

[0032] Fig.17 It is a schematic block diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0034] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0035] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0036] See also Figure 1 , Figure 1 It is a flow chart of a simulation method for wide-area protection control of an electric power system provided in an embodiment of the present application. The simulation method can be applied in computer equipment for simulation of wide-area protection control processes of electric power systems in professional fields and other processes. By way of example, the delay, reliability and other performance of the smart grid / smart substation network can be obtained by simulating the communication system of the smart grid / smart substation.

[0037] The computer device may be a terminal device or a server, wherein the terminal device includes, for example, a mobile phone, a tablet computer, a laptop computer, a desktop computer, and a personal digital assistant; the server may be an independent server or a server cluster. For ease of explanation, the embodiment of the present application is mainly described by applying the simulation of the intelligent substation field to the terminal device, but it is certainly not limited to this.

[0038] In some implementations, the simulation method may use OPNET simulation software as a platform, but is not limited to using OPNET simulation software. The simulation method of the embodiment of the present application may also be implemented using other network simulation software, such as MATLAB.

[0039] like Figure 1 As shown, the simulation method for wide-area protection control of a power system according to an embodiment of the present application includes steps S110 to S140.

[0040] Step S110: The application layer protocol generation process of the intelligent electronic device model obtains property setting parameters, and the property setting parameters at least include model type information.

[0041] Step S120: According to the wide area connection mode of the project to be tested, the wide area simulation model is configured using the simulation component model library.

[0042] Step S130: According to the site domain connection mode of the project to be tested, the site domain simulation model is configured using the simulation component model library.

[0043] Step S140: simulate the wide area protection control simulation project to obtain a simulation result of the project to be tested.

[0044] In some implementations, the wide area protection control system structure configured in step S120 is as follows: Figure 2 As shown, the interval configuration in the station domain simulation model configured in step S130 is as follows Figure 3 As shown in the figure, the internal structure models of the master station, substation, gateway, phasor data concentrator, and synchronous phasor measurement device simulation model are respectively as follows Figure 4 , Figure 5 , Figure 6 , Figure 7 , Figure 8 As shown, it includes: an application layer module, a transport layer module, a network layer module, several data link layer submodules and a corresponding physical layer module, wherein the physical layer module includes at least one pair of sending / receiving ports, and can realize a TCP / IP-based intelligent electronic device model architecture. The structural model shown can be called a seven-layer structural model framework.

[0045] See also Fig. 9 , Fig. 9 The model of the application layer module of the master station, substation, gateway, phasor data concentrator, and synchronized phasor measurement device simulation model in one embodiment is shown. In some embodiments, the model type information includes a protocol identifier and a model identifier. The protocol identifier is used to indicate the type of the application layer communication protocol management process, and the model identifier is used to indicate whether the simulation model is a client or server type in a certain protocol application.

[0046] Exemplarily, the protocol identifier is used to indicate that the application protocol corresponding to the target interaction process is the DL / T860 protocol, the IEEEC37.118 protocol or the GB / T 33602 protocol, but is of course not limited to this; wherein the DL / T860 protocol is used for communication between station control layer devices and between station control layer devices and interval layer devices, such as constant value modification, control command transmission, etc.; the GB / T 26865.2-2023 protocol is used for data transmission of the real-time dynamic monitoring system of the power system between the substation master station (which can be called the dispatching end) and the substation substation synchronous phasor measurement device PMU (which can be called the substation end).

[0047] The simulation model of the embodiment of the present application generates a corresponding application layer communication protocol management process according to the attribute setting parameters through the application layer module, and determines that the simulation model is a client working mode or a server working mode according to the application layer business attribute configuration information and the application layer support service attribute configuration information, and further determines that in the client working mode, the application layer communication protocol management process is a client communication protocol management process, and in the server working mode, the application layer communication protocol management process is a server communication protocol management process. The application layer communication protocol management process can act as a client or a server.

[0048] The client / server model is a distributed application structure that is used to divide tasks or workloads between service providers (called servers) and service requesters (called clients). A server provides a function or service to one or more clients, who are able to initiate requests for such services.

[0049] For example, the server / client device interaction based on the TCP / IP communication protocol is as follows: first, the client's application layer sends a request to the underlying transport layer to establish a session connection, and then the client and server's transport layers establish a connection through a three-way handshake. After the connection is successfully established, the transport layer will inform the application layer, and the client and server's application layers can then interact with each other. After the application layer's interaction requirements are completed, the session connection is closed by waving four times. The client-server model is a distributed application structure that is used to divide tasks or workloads between service providers (called servers) and service requesters (called clients). The server provides a function or service to one or more clients, which can initiate requests for such services.

[0050] In some embodiments, the application layer communication protocol management process of the simulation model of the master station, substation, gateway, phasor data concentrator, and synchronous phasor measurement device obtains configuration information, including: when the simulation starts, the application layer communication protocol management process obtains the application layer communication protocol properties set by the user, and stores the application layer communication protocol properties in a shared database.

[0051] See also Fig. 9 In the embodiment of the present application, the application layer module generates an application layer communication protocol management process that implements different application layer protocols according to attribute setting parameters, and the application layer communication protocol management process can act as a client or a server.

[0052] like Fig. 9 As shown, the application layer module data storage module includes an attribute storage unit and a data storage unit. The application layer communication protocol management process can store the acquired attribute setting parameters in the attribute storage unit.

[0053] Optionally, the data storage unit is used to store data received from other device simulation models or preset data parsed and read from a computer device, such as data of the corresponding protocol in a real substation. The preset data can be used for framing and filling of data packets so that data similar to or identical to that of a real substation can be transmitted during simulation.

[0054] Exemplarily, a data repository is created for the application layer data storage module to store the received service request / response data and provide corresponding service response data when responding to the service request data of other simulation models. In OPNET simulation, the data repository can be created by creating a data list AG; for example, when receiving service request data from a certain client working mode simulation model, the data content is parsed and the data is saved in the corresponding data list: when receiving a data call service request instruction from another client in a certain application, the required data is searched from the data list according to the instruction requirements and framed and encapsulated into the corresponding protocol, such as the gateway machine acting as a data phasor concentrator to store and merge the collected synchronous phasor measurement data, and send it to the control master station (client) through the data frame of the GB / T 26865.2-2023 protocol.

[0055] See also Fig.10 and Fig.11 , the structure type variables added in the system file of the OPNET simulation platform are used to create data storage libraries for attribute storage units and data storage units. Fig.10 The structure variables shown are used to set the property parameters of the application layer protocol generation process, such as the properties of application protocols such as DL / T860, IEC104, and GB / T 26865.2-2023; Fig.11 The structure variables shown are used to store the relevant properties of the services supported by the simulation model.

[0056] like Fig.10The structure variables shown include at least one of the following: request type (request_type), request size (request_size), server name (server_name), service quality (tos), service module ID (such as threerec_id), record content sequence number (j), CFG-1 file interaction time (cfgone_inter_time), CFG-1 file interaction count (cfgone_count). The request size can be used to indicate the size of the received data response packet; the server name is used to indicate the name of the server device instance in this application protocol interaction; the service quality is used to define the service priority of the application; the service module ID includes, for example, a three-layer protocol application layer receiving module ID, namely three_rec_id, which is used to store the ID of the three-layer receiving module so as to request data from the three-layer application layer module. The three-layer protocol application layer refers to the application layer that is only mapped to the link layer and the physical layer: in other implementations, the seven-layer protocol application layer receiving module ID may also be included: the CFG-1 file interaction time is used to indicate the interval time between storing two cfg-1 commands in an application; the CFG-1 file interaction count is used to indicate the number of cfg-1 commands in this application.

[0057] Fig.11 The structure variable shown is used to provide services for the activated client protocol process model of other device models, and the structure variable includes at least one of the following: service name (name), transport layer protocol (Protocol) of the provided service, and service port (Port);

[0058] For example, when the service name defined for this device is DL / T860, IEC104, GB / T 26865, it can be determined that this device model supports the services of DL / T860, IEC104, and GB / T 26865 protocols; the transport layer protocol of the service provided can be TCP protocol or UDP protocol; generally speaking, simulation needs to set a new service port for the new protocol, such as the protocol port number of IEC104 is usually specified as 2404, which has become the dedicated port number for protocol 104.

[0059] In some embodiments, the simulation method provides a parameter attribute setting interface, allowing the user to control the reading of data and the behavior of the model through parameter settings, and setting external attributes that can be customized by the user for the simulation model. Exemplarily, the application layer communication protocol management process can obtain the attribute setting parameters set by the user through the parameter attribute setting interface, and can obtain the aforementioned structure variable as an attribute setting instance. For example, the application layer module can call this structure variable during initialization and store the read parameters into the structure, which is further obtained by the generated application layer communication protocol management process.

[0060] Taking the simulation model of GB / T 26865 protocol as an example, when the property setting parameters include Supportservice, that is, the services supported by this device model, the device model is defined as a server, and multiple application protocols can be set, such as DL / T860, IEC104 application protocol, etc., and stored in Fig.10 In the structure variable shown in the figure, when the property setting parameters include Support applications, that is, the applications supported by this device model, the device model is defined as a client, and multiple application protocols can be set, such as DL / T860, IEC104 application protocol, etc. The protocol properties can also be further set, such as: application protocol start time (Start time), application protocol duration (Applicationduration), interval time between two adjacent repetitions of the application protocol (Inter_repetition time), number of application protocol repetitions (Number of repetition), interval time of application interaction requests (Inter-request time), and size of the response data packet (Filesize, the unit can be bytes).

[0061] See also Fig. 9 The application layer module generates an application layer communication protocol management process according to the application layer communication protocol attribute configuration and the application layer supported service attribute configuration information; the application layer communication protocol management process at least includes a sending / receiving subprocess for protocol service request data and a sending / receiving subprocess for protocol service response data; and the protocol type of the application layer communication protocol management process is identified according to the protocol in the model type information, such as protocol A, protocol B...protocol n, and the application layer communication protocol management process is determined to be a client protocol interaction process or a server protocol interaction process according to the model identifier in the model type information.

[0062] In some implementations, a simulation model can act as a client of one application and also as a server of another application. For example, if the main station simulation model needs to obtain a service of a substation, the main station simulation model needs to send service request data to the gateway machine simulation model, and then the gateway machine simulation model sends the service request response to the corresponding interval layer device simulation model. In this process, the first half of the gateway machine receives the service request data of the main station simulation model and acts as a server, and the second half of the gateway machine sends the service request data to the corresponding interval layer device simulation model and acts as a client.

[0063] In some embodiments, the configuration information also includes the application protocol startup time and / or application protocol startup sequence corresponding to the application protocol information. The application layer module determines the relevant operating parameters of the application layer communication protocol management process of the simulation model according to the simulation model attribute setting parameters, including: the application layer module determines the application layer communication protocol management process of the intelligent electronic device according to the application protocol startup time and / or application protocol startup sequence according to the model type information. For example, the application layer module can generate and call different application layer communication protocol management processes according to the set startup time and / or startup sequence of each protocol, and the application layer communication protocol management process generates, receives, and sends application layer communication protocol data, and the application layer communication protocol data includes protocol service request data or protocol service response data; that is, the application layer module implements the interaction process of different protocols through multiple application layer communication protocol management processes.

[0064] Exemplarily, the application layer protocol startup time and / or the application layer protocol startup sequence may be determined according to the interaction process between the master and substations in an actual wide area protection control scenario.

[0065] Exemplarily, the application layer communication protocol attributes include application protocols such as IEC61850 protocol, IEC60870 protocol, DL / T860 protocol, GB / T33602 protocol, GB / T26865 protocol, IEEE Std C37.118 protocol, DL / T634.5101 protocol, DL / T634.5104 protocol, DL / T476 protocol, Modbus protocol, etc. Of course, it is not limited to this; among them, the GB / T33602 protocol (GSP protocol-General service protocol) is used to specify the architecture, interaction mode, service primitives and communication protocols of the general service of the power system, which is applicable to the predefined and customized service data interaction within and between various power grid dispatching control centers at all levels, various power plants, substations, and various links of the design, development, construction, operation and maintenance of various power monitoring systems and equipment; the IEC61850 protocol and DL / T860 protocol are used for communication between master / substations, between station control layer devices, and between station control layer devices and bay layer devices, such as fixed value modification, control command transmission, etc.; the GB / T26865 protocol and IEEE Std The C37.118 protocol is used to define the communication between the master station (which can be called the dispatching end) and the substation in the real-time dynamic monitoring system of the power system, such as data upload and command transmission; the DL / T634.5101 protocol ("Telecontrol Equipment and Systems Part 5-101: Transmission Protocol Basic Telecontrol Task Supporting Standard") is applicable to telecontrol equipment and systems with encoded bit serial data transmission, which are used to monitor and control geographical wide-area processes. The purpose of formulating this set of telecontrol supporting standards is to achieve interoperability between compatible telecontrol equipment. The document adopts the IEC 60870-5 series of documents, and the specification proposes a functional protocol subset of basic telecontrol tasks, defines the actual communication functions and the most important user functions, but it cannot guarantee full compatibility and interoperability between equipment from different manufacturers; the DL / T634.5104 protocol ("Telecontrol Equipment and Systems Part 5-104: Transmission Protocol Adopting IEC Standard Transmission Protocol Set") is applicable to telecontrol equipment and systems with encoded bit serial data transmission, which are used to monitor and control geographical wide-area processes. The purpose of formulating this set of telecontrol supporting standards is to achieve interoperability between compatible telecontrol equipment. The document adopts the IEC 60870-5 series of documents, and the specification proposes a functional protocol subset of basic telecontrol tasks, defines the actual communication functions and the most important user functions, but it cannot guarantee full compatibility and interoperability between equipment from different manufacturers; 60870-5-101 Network Access) specifies the message format for data transmission between the dispatching master station and the substation communication gateway in client / server mode. The IEC104 protocol changes the open OSI seven-layer communication model to a five-layer model based on actual application needs. The TCP protocol is used for communication below the application layer. The protocol port number is usually specified as 2404, which has become the dedicated port number for the 104 protocol. The DL / T476 protocol defines the application layer protocol for real-time data communication in the power system, and describes the data format, control sequence and service primitives.This standard applies to real-time data communications between power system dispatching (control) centers and between dispatching (control) centers and power plants; the Modbus protocol is used for communication between monitoring computers and remote terminal control systems, such as communication between monitoring computers and remote terminal control systems in data acquisition and monitoring control systems;.

[0066] Exemplarily, according to the connection mode of the project to be tested, the simulation model in the simulation model component library is selected to configure the wide area protection control simulation project, and the detailed process is as follows: the wide area protection control simulation project deploys at least one of the master station simulation model, one of the router simulation model, one of the substation simulation model or the station domain simulation model, and the master station simulation model is connected to the router simulation model, and the router simulation model is connected to the substation simulation model / station domain simulation model; the station domain simulation model deploys at least one of the gateway machine simulation model, one of the switch simulation model, and one interval simulation model, and the station domain simulation model is connected to the router simulation model through the gateway machine simulation model;

[0067] Master station simulation model: The application layer module of the master station simulation model includes a data receiving submodule, a wide area protection control algorithm submodule, and a control instruction generation and sending submodule;

[0068] The wide-area protection control algorithm submodule has a preset wide-area protection algorithm, which can parse and perform relevant operations on the received combined synchronous phasor measurement data, and determine whether to start the protection in combination with the preset protection setting. When the protection is started, the fault location data, control instruction generation and sending module generates a data packet containing fault location data and control instructions.

[0069] Exemplarily, the process domain model of the application layer protocol management process of the master station simulation model can be expressed as follows: Fig.12 As shown in the state transition diagram, the execution logic of the application layer protocol management process includes:

[0070] 1) When the OPNET simulation starts, the simulation start interrupt is triggered to enter the "initialization" state, initialize the data storage unit, simulation model parameters, etc., and wait for the completion of other simulation process initialization of the device model: read the attribute setting parameters of the master station simulation model, including the application protocol run and supported by the device, application session connection frequency, data packet size, etc. After reading the attribute setting parameters, the preset data that can also be parsed and read from the computer device is stored in the data storage unit. After the "initialization" state is completed, it directly enters the "data reception" state.

[0071] 2) In the "data receiving" state, each time the master station completes receiving application layer protocol data, it plans an interrupt to transfer from the "data receiving" state to the "protection algorithm determination" state. In the "protection algorithm determination" state, the built-in protection algorithm is executed to parse the application layer protocol data received from the substation. If the algorithm protection conditions are met according to the parsing results, the location of the fault is located through the execution results of the protection algorithm, precisely to a certain device in a substation or a certain line within or between stations, and an interrupt is planned to jump to the "control instruction generation and sending" state. If the data is judged to be normal according to the parsing results, it jumps back to the "data receiving" state and waits for the next interrupt.

[0072] 3) In the "control instruction generation and transmission" state, a control instruction is generated and sent according to the fault location determined by the protection algorithm. After the transmission is completed, it jumps back to the "data reception" state and waits for the next flow interruption.

[0073] Substation simulation model: The application layer module of the substation simulation model includes a data generation submodule, a data sending submodule, and a control instruction receiving submodule. It can generate all business data of the substation and send data to the main station simulation model by the data sending submodule, and the control instruction receiving and sending submodule accepts the control instructions sent by the main station simulation model.

[0074] Exemplarily, the process domain model of the application layer protocol management process of the substation simulation model can be expressed as follows: Fig.13 As shown in the state transition diagram, the execution logic of the application layer protocol management process includes:

[0075] 1) When the OPNET simulation starts, the simulation start interrupt is triggered to enter the "initialization" state, initialize the data storage unit, simulation model parameters, etc., and wait for the completion of other simulation process initialization of the device model: read the attribute setting parameters of the master station simulation model, including the application protocol run and supported by the device, application session connection frequency, data packet size, etc. After reading the attribute setting parameters, the preset data that can also be parsed and read from the computer device is stored in the data storage unit. After the "initialization" state is completed, it directly enters the "data reception" state.

[0076] 2) In the "data generation submodule" state, each time the substation completes the generation of the substation application layer protocol data, an interrupt is planned to transfer from the "data generation submodule" state to the "data transmission submodule" state. In the "data transmission submodule" state, the data generation action is executed to send the generated application layer protocol data to the main station simulation model. After the transmission is completed, if the algorithm protection conditions are met according to the analysis results, the location of the fault is located through the execution results of the protection algorithm, accurately to a certain device in which substation or a certain line within or between stations, and an interrupt is planned to jump to the "control instruction generation and transmission" state. If the data is normal according to the analysis results, it jumps back to the "data reception" state and waits for the next interrupt.

[0077] 3) In the "data generation" state, if a control instruction is received from the master station at this time, an interrupt is planned to jump from the "data generation submodule" to the "control instruction reception" state, complete the corresponding device control action according to the control instruction, and then jump back to the "data generation" state to wait for the next interrupt.

[0078] The application layer module of the gateway machine simulation model generates an application layer communication protocol management process according to the corresponding application layer communication protocol attribute configuration and the client / server working mode; the application layer communication protocol management process includes a sending / receiving subprocess for protocol service request data, a sending / receiving subprocess for protocol service response data, and a protocol conversion subprocess;

[0079] Exemplarily, the process domain model of the application layer protocol management process of the gateway machine simulation model can be expressed as follows: Fig.14 As shown in the state transition diagram, the execution logic of the application layer protocol management process includes:

[0080] 1) When the OPNET simulation starts, the simulation start interrupt is triggered to enter the "initialization" state, initialize the data storage unit, simulation model parameters, etc., and wait for the completion of other simulation process initialization of the device model: read the attribute setting parameters of the master station simulation model, including the application protocol run and supported by the device, application session connection frequency, data packet size, etc. After reading the attribute setting parameters, the preset data that can also be parsed and read from the computer device is stored in the data storage unit. After the "initialization" state is completed, it directly enters the "wait" state.

[0081] 2) In the "waiting" state, when the gateway machine simulation model completes the reception of application layer protocol data from other simulation models each time and completes the data parsing, it jumps from the "waiting" state to the corresponding "protocol service request data send / receive" state or "protocol service response data send / receive" state according to the stream interruption corresponding to the received data type. If the gateway machine receives protocol service request data, it jumps to the "protocol service request data send / receive" state, and the data needs to be further processed and sent to the server working mode device by the "protocol service request data send / receive" state. The same applies to the protocol service response data.

[0082] 3) In the "Protocol Service Request Data Send / Receive" state, comprehensively judge the source and type of the protocol data. When it is judged that the data has not been converted to protocol, jump to the "Protocol Conversion" state, map and convert the protocol data in the "Protocol Conversion" state, and then return to the "Protocol Service Request Data Send / Receive" state to further perform the sending action, send the mapped and converted protocol service request data to the server working mode device, set the "Data Sending Completed" global variable to "true", and plan an interrupt. When the "Judgment Data Sending Completed" condition is met, jump from the "Protocol Service Request Data Send / Receive" state back to the "Waiting" state, waiting for the next protocol service data to arrive at the corresponding stream interrupt. The state work of the "Protocol Service Response Data Send / Receive" state is similar.

[0083] The application layer module of the phasor data concentrator simulation model comprises a synchronized phasor data receiving submodule, a synchronized phasor data merging submodule, and a synchronized phasor data sending submodule;

[0084] The application layer module of the synchronized phasor measurement device simulation model comprises a synchronized phasor data generation submodule and a synchronized phasor data transmission submodule;

[0085] The synchronized phasor data receiving submodule of the phasor data concentrator simulation model receives the phasor data sent by the synchronized phasor data sending submodule of the synchronized phasor measurement device simulation model, and the synchronized phasor data merging submodule merges the phasor data of each interval, and the synchronized phasor data sending submodule sends the phasor data to the master station simulation model;

[0086] The synchronized phasor data generating submodule of the synchronized phasor measurement device simulation model generates an interval phasor data source, and the synchronized phasor data sending submodule sends the phasor data to the phasor data concentrator simulation model.

[0087] Exemplarily, the process domain model of the application layer protocol management process of the phasor data concentrator simulation model can be expressed as follows: Fig.15As shown in the state transition diagram, the execution logic of the application layer protocol management process includes:

[0088] 1) When the OPNET simulation starts, the simulation start interrupt is triggered to enter the "initialization" state, initialize the data storage unit, simulation model parameters, etc., and wait for the completion of other simulation process initialization of the device model: read the attribute setting parameters of the master station simulation model, including the application protocol run and supported by the device, application session connection frequency, data packet size, etc. After reading the attribute setting parameters, the preset data that can also be parsed and read from the computer device is stored in the data storage unit. After the "initialization" state is completed, it directly enters the "synchronous phasor measurement data reception" state.

[0089] 2) In the "synchronized phasor measurement data reception" state, the synchronized phasor measurement data reception action of the synchronized phasor measurement device connected to it at a certain moment is executed, and the value of the "received" flag variable is increased by 1 each time the reception is completed, and a self-interrupt is planned to jump from the "synchronized phasor measurement data reception" state back to this state to continue to complete the data reception of the next synchronized phasor measurement device. When this process is repeated until the data reception of all connected synchronized phasor measurement devices is completed, an interrupt is planned to jump from the "synchronized phasor measurement data reception" state to the "synchronized phasor measurement data merging" state.

[0090] 3) In the "synchronized phasor measurement data merging" state, all synchronized phasor measurement data at a certain moment are merged to form a new merged synchronized phasor measurement data packet. When the merging is completed, an interrupt is planned to jump from the "synchronized phasor measurement data merging" state to the "synchronized phasor measurement data sending" state.

[0091] 4) In the "synchronized phasor measurement data sending" state, the packet sending action of sending the merged synchronized phasor measurement data to the master station is executed. After the execution is completed, the "synchronized phasor measurement data sending" state jumps to the "synchronized phasor measurement data receiving" state, and continues to wait for the synchronized phasor measurement data at the next moment to arrive at the corresponding self-interrupt.

[0092] Exemplarily, the process domain model of the application layer protocol management process of the synchronized phasor measurement device simulation model can be expressed as follows: Fig.16 As shown in the state transition diagram, the execution logic of the application layer protocol management process includes:

[0093] 1) When the OPNET simulation starts, the simulation start interrupt is triggered to enter the "initialization" state, initialize the data storage unit, simulation model parameters, etc., and wait for the completion of other simulation process initialization of the device model: read the attribute setting parameters of the master station simulation model, including the application protocol run and supported by the device, application session connection frequency, data packet size, etc. After reading the attribute setting parameters, the preset data that can also be parsed and read from the computer device is stored in the data storage unit. After the "initialization" state is completed, it directly enters the "synchronous phasor measurement data generation" state.

[0094] 2) In the "synchronized phasor measurement data generation" state, the synchronized phasor measurement device simulation model calculates and generates synchronized phasor measurement data based on the collected electrical quantity data. After the synchronized phasor measurement data at the same time is generated, it is planned to generate a self-interrupt and set the value of the global variable "synchronized phasor measurement data generation completed" to "true". In the exit function of this state, the interrupt judgment function is executed to judge that the interrupt type is self-interrupt and the interrupt code meets the condition "synchronized phasor measurement data generation completed", and the "synchronized phasor measurement data generation" state jumps to the "synchronized phasor measurement data sending" state.

[0095] 3) In the "synchronized phasor measurement data sending" state, the synchronized phasor measurement data sending action is executed. After the execution is completed, the value of "synchronized phasor measurement data generation completed" is set to "false" and jumps back to the "synchronized phasor measurement data generation" state, waiting for the next self-interruption.

[0096] Please refer to the above examples. Fig.17 , Fig.17 1 is a schematic block diagram of a computer device 500 provided in an embodiment of the present application. The computer device 500 includes one or more processors 501, and the one or more processors 501 work individually or together to implement the steps of the simulation method of wide area protection control.

[0097] For example, the computer device 500 may further include a memory 502 .

[0098] Exemplarily, the processor 501 and the memory 502 are connected via a bus 503 , which is, for example, an I2C (Inter-integrated Circuit) bus.

[0099] Specifically, the processor 501 may be a micro-controller unit (MCU), a central processing unit (CPU) or a digital signal processor (DSP).

[0100] Specifically, the memory 502 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a mobile hard disk.

[0101] The processor 501 is used to run the computer program stored in the memory 502, and implement the steps of the simulation method of wide area protection control when executing the computer program.

[0102] Exemplarily, the processor 501 is used to run a computer program stored in the memory 502, and implement the following steps when executing the computer program:

[0103] Configure the simulation component model library, including simulation models of all intelligent electronic devices that implement wide area protection and control service simulation tests;

[0104] According to the wide area connection mode of the project to be tested, the wide area simulation model is configured using the simulation component model library;

[0105] According to the site domain connection mode of the project to be tested, the site domain simulation model is configured using the simulation component model library;

[0106] The wide area protection control simulation project is simulated to obtain a simulation result of the project to be tested.

[0107] The specific principles and implementation methods of the computer device provided in the embodiments of the present application are similar to the simulation methods in the aforementioned embodiments and will not be repeated here.

[0108] An embodiment of the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the computer program is executed by a processor, the processor implements the steps of the simulation method provided in the above embodiment.

[0109] The computer-readable storage medium may be an internal storage unit of the computer device described in any of the above embodiments, such as a hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc., equipped on the computer device.

[0110] It should be understood that the terminology used in this application is for the purpose of describing particular embodiments only and is not intended to limit the application.

[0111] It is also to be understood that the terms "and / or" as used in this application and the appended claims refer to a conjunctive listing.

[0112] It should be noted that the descriptions of "first", "second", etc. in this application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features.

[0113] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A simulation method for wide-area protection control of a power system, characterized in that: include: Acquire a simulation model component library, wherein the simulation model component library includes the following simulation models: a master station simulation model, a substation simulation model, a router simulation model, a gateway simulation model, a phasor data concentrator simulation model, a synchronous phasor measurement device simulation model, a switch simulation model, a multifunctional measurement and control device simulation model, an acquisition execution unit simulation model, a merging unit simulation model, an intelligent terminal simulation model, a mutual inductor simulation model, and a communication link simulation model; According to the connection mode of the project to be tested, the simulation model in the simulation model component library is selected to configure a wide area protection control simulation project, wherein the wide area protection control simulation project deploys at least one of the master station simulation model, one of the router simulation model, and one of the substation simulation model or one of the station domain simulation model, and the master station simulation model is connected to the router simulation model, and the router simulation model is connected to the substation simulation model / station domain simulation model; wherein the station domain simulation model deploys at least one of the gateway machine simulation model, one of the switch simulation model, and one of the interval simulation model, and the station domain simulation model is connected to the router simulation model through the gateway machine simulation model; The master station simulation model, the substation simulation model, the gateway simulation model, the phasor data concentrator simulation model, the synchronized phasor measurement device simulation model, and the multifunctional measurement and control device simulation model each include: an application layer module, a transport layer module, a network layer module, a plurality of data link layer submodules and corresponding physical layer modules, and the physical layer module includes at least one pair of sending / receiving ports; The application layer module of the gateway machine simulation model generates an application layer communication protocol management process according to the corresponding application layer communication protocol attribute configuration and the client / server working mode; the application layer communication protocol management process includes a sending / receiving subprocess for protocol service request data, a sending / receiving subprocess for protocol service response data, and a protocol conversion subprocess; When the gateway machine simulation model is in the client working mode, the sending / receiving subprocess of the protocol service request data is used to send the protocol service request data, and the sending / receiving subprocess of the protocol service response data is used to receive the protocol service response data; When the gateway machine simulation model is in the server working mode, the sending / receiving subprocess of the protocol service request data is used to receive the protocol service request data, and the sending / receiving subprocess of the protocol service response data is used to send the protocol service response data; The application layer protocol management process of the gateway machine simulation model enters a waiting state after initialization execution is completed at the beginning of the simulation. In the waiting state, it jumps to the protocol service request data sending / receiving state or the protocol service response data sending / receiving state according to the type of data received; when jumping to the protocol service request data sending / receiving state, the data is sent to the server working mode device, and when the protocol service request data is sent, it jumps back to the waiting state; when jumping to the protocol service response data sending / receiving state, the data is sent to the client working mode device, and when the protocol service response data is sent, it jumps back to the waiting state; In the protocol service request data sending / receiving state or the protocol service response data sending / receiving state, it is determined whether the protocol conversion is completed. If it is determined that the protocol conversion has not been completed, it jumps to the protocol conversion state, and the protocol conversion subprocess is used to perform protocol conversion on the protocol service request data and the protocol service response data. After the protocol conversion action is completed, it jumps back to the protocol service request data sending / receiving state or the protocol service response data sending / receiving state; The wide area protection control simulation project is simulated to obtain a simulation result of the project to be tested.

2. The simulation method according to claim 1, characterized in that: The simulation method further comprises: Configure m interval simulation models of intervals, wherein the m interval simulation models include one or more of the following interval simulation models: an interval including the merging unit simulation model and the intelligent terminal simulation model, an interval including the acquisition execution unit simulation model, an interval including the mutual inductor simulation model and the intelligent terminal simulation model, an interval including the multifunctional measurement and control device simulation model, and an interval including the synchronous phasor measurement device simulation model; According to the site domain connection mode of the project to be tested, the site domain simulation model is configured using the gateway machine simulation model, the switch simulation model, the communication link simulation model and the interval simulation models of the m intervals, wherein each of the interval simulation models is connected to the gateway machine simulation model through the switch simulation model.

3. The simulation method according to claim 1, characterized in that: The simulation method further comprises: Determine configuration information of each simulation model in the wide area protection control simulation project, wherein the configuration information includes at least one of the following: communication parameter configuration information, application layer business attribute configuration information, and application layer support service attribute configuration information, wherein the communication parameter configuration information includes communication address parameters; The simulation model generates an application layer communication protocol management process according to the application layer business attribute configuration information and the application layer support service attribute configuration information; when simulating the wide area protection control simulation project, the application layer communication protocol management process generates, receives and sends application layer communication protocol data, and the application layer communication protocol data includes protocol service request data and / or protocol service response data; According to the application layer business attribute configuration information and the application layer supported service attribute configuration information, it is determined that the simulation model is a client working mode or a server working mode. The application layer business attribute configuration information determines that the simulation model is a client working mode, and the application layer supported service attribute configuration information determines that the simulation model is a server working mode. In the client working mode, the application layer communication protocol management process is a client communication protocol management process, and in the server working mode, the application layer communication protocol management process is a server communication protocol management process.

4. The simulation method according to any one of claims 1 to 3, characterized in that: The application layer module of the master station simulation model includes a data receiving submodule, a wide area protection control algorithm submodule, and a control instruction generation and sending submodule; The application layer module of the substation simulation model includes a data generation submodule, a data transmission submodule, and a control instruction receiving submodule; The data receiving submodule of the master station simulation model receives the data sent by the data sending submodule of the substation simulation model, analyzes and calculates the received data through the wide area protection control algorithm submodule, determines whether to start the wide area protection control according to the preset judgment logic, and generates the control instruction for the corresponding substation through the control instruction generation and sending submodule when it is necessary to start; The data generation submodule of the substation simulation model generates the data source of the substation, the data sending submodule sends data to the main station simulation model, and the control instruction receiving and sending submodule receives the control instruction sent by the main station simulation model.

5. The simulation method according to any one of claims 1 to 3, characterized in that: The application layer module of the phasor data concentrator simulation model comprises a synchronized phasor data receiving submodule, a synchronized phasor data merging submodule, and a synchronized phasor data sending submodule; The application layer module of the synchronized phasor measurement device simulation model comprises a synchronized phasor data generation submodule and a synchronized phasor data transmission submodule; The synchronized phasor data receiving submodule of the phasor data concentrator simulation model receives the phasor data sent by the synchronized phasor data sending submodule of the synchronized phasor measurement device simulation model, and the synchronized phasor data merging submodule merges the phasor data of each interval, and the synchronized phasor data sending submodule sends the phasor data to the master station simulation model; The synchronized phasor data generating submodule of the synchronized phasor measurement device simulation model generates an interval phasor data source, and the synchronized phasor data sending submodule sends the phasor data to the phasor data concentrator simulation model.

6. The simulation method according to claim 3, characterized in that: The application layer service attribute configuration information includes application layer communication protocol attributes, or the application layer support service attribute configuration information includes application layer communication protocol attributes; The master station simulation model, the substation simulation model, the gateway machine simulation model, the phasor data concentrator simulation model, the synchronous phasor measurement device simulation model, and the multifunctional measurement and control device simulation model are configured with at least one application layer communication protocol according to the application layer communication protocol attributes.

7. A computer device, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is used to execute the computer program and implement the steps of the simulation method for wide-area protection control of a power system according to any one of claims 1 to 6 when executing the computer program.

Citation Information

Patent Citations

  • Layering protective system

    CN102769278A

  • Hierarchical protection control system facing regional power grid

    CN103151842A

  • Power grid wide area protection and control system

    CN104319886A

  • Real-time simulation platform modeling and simulation method based on an IEC61850 standard

    CN109388903A

  • Simulation design method for process level equipment of intelligent substation

    CN111884851A