Simulation method and device of intelligent substation, electronic equipment and storage medium

By modeling and simulation processing of electronic equipment in smart substations, the problem of difficulty in quantitative analysis in the existing technology is solved, and the simulation and performance analysis of the operating status and characteristics of smart substations is realized, which reduces research and testing costs and increases the cost of The accuracy and efficiency of the analysis were found.

CN119180144APending Publication Date: 2024-12-24BEIJING ANBOTONG DIGITAL ENERGY TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411245461.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-12-24

AI Technical Summary

Technical Problem

The lack of effective analysis tools in the prior art makes it difficult to conduct quantitative simulation and performance analysis of the communication network, algorithm logic and data interaction of smart substations, resulting in high cost and high risk problems in research and testing.

Method used

By modeling multiple electronic devices in the intelligent substation, generating simulation data, determining the transmission mechanism based on preset protocols, and controlling the equipment model for simulation processing, realizing simulation and quantitative analysis of the operating status and characteristics of the intelligent substation.

Benefits of technology

Quantitative analysis of smart substations and simulation of actual performance of electronic equipment are realized, which reduces research and testing costs and improves analysis accuracy and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119180144A_ABST
    Figure CN119180144A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of power systems, and discloses a simulation method and device of an intelligent substation, electronic equipment and a storage medium, and the method comprises the steps: carrying out the modeling of each piece of electronic equipment in a plurality of pieces of electronic equipment, and obtaining an equipment model corresponding to each piece of electronic equipment; wherein each equipment model comprises at least one of a receiving device, a sending device, a processing device and a data link layer; generating simulation data, and determining a preset sending mechanism based on a preset protocol; and controlling each equipment model to perform simulation processing based on the simulation data and a preset sending mechanism, and obtaining a simulation result. According to the invention, the operation state and characteristics of the intelligent substation can be simulated, and quantitative analysis of the intelligent substation can be realized by simulating the actual data processing process in the intelligent substation; moreover, the algorithm and logic of the electronic equipment in the intelligent substation are modeled in detail, so that the actual performance of the electronic equipment can be simulated.
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 systems, and in particular to a simulation method, device, electronic equipment and storage medium for a smart substation. Background Art

[0002] With the continuous development of power systems and the increasing requirements for intelligence, smart substations have become an important part of power systems. However, in practical applications, the research, development and testing of smart substations often face many challenges, such as high cost, high risk and lack of practical environment restrictions. Due to the lack of effective analysis tools, there is almost no performance analysis and research evaluation of application systems such as relay protection in smart substations. Therefore, it is urgent to realize quantitative simulation of communication networks, algorithm logic and data interaction of smart substations through simulation software. Summary of the invention

[0003] The embodiments of the present application provide a simulation method, device, electronic device and storage medium for a smart substation, which can simulate the operating status and characteristics of the smart substation and realize quantitative analysis of the smart substation. Specifically, the embodiments of the present application disclose the following technical solutions:

[0004] A first aspect of an embodiment of the present application provides a simulation method for a smart substation, the method comprising: modeling each of the above-mentioned electronic devices among a plurality of electronic devices to obtain a device model corresponding to each of the above-mentioned electronic devices; wherein each of the above-mentioned device models comprises at least one of a receiving device, a sending device, a processing device and a data link layer; generating simulation data, and determining a preset sending mechanism based on a preset protocol; controlling each of the above-mentioned device models to perform simulation processing based on the above-mentioned simulation data and the above-mentioned preset sending mechanism, and obtaining a simulation result.

[0005] In some embodiments, the above-mentioned multiple electronic devices include a first electronic device, a second electronic device and a third electronic device, and the above-mentioned device models include a first device model corresponding to the above-mentioned first electronic device, a second device model corresponding to the above-mentioned second electronic device, and a third device model corresponding to the above-mentioned third electronic device; the above-mentioned control of each of the above-mentioned device models performs simulation processing based on the above-mentioned simulation data and the above-mentioned preset sending mechanism, and obtains simulation results, including: controlling the above-mentioned first device model to process the above-mentioned simulation data to obtain a first message, and sending the above-mentioned first message to the above-mentioned second device model based on the above-mentioned preset sending mechanism; controlling the above-mentioned second device model to process the above-mentioned first message to obtain a second message, and sending the above-mentioned second message to the above-mentioned third device model based on the above-mentioned preset sending mechanism; controlling the above-mentioned third device model to execute the target instruction in the above-mentioned second message, and obtain the above-mentioned simulation result.

[0006] In some embodiments, the first device model includes a first sending device, a first processing device and a first data link layer; the first device model is controlled to process the simulation data to obtain a first message, and the first message is sent to the second device model based on the preset sending mechanism, including: controlling the first data link layer to process the simulation data to obtain the first data to be encapsulated; controlling the first processing device to encapsulate the first data to be encapsulated to obtain the first message; controlling the first sending device to send the first message to the second device model based on the first preset sending mechanism; wherein the preset sending mechanism includes the first preset sending mechanism.

[0007] In some embodiments, the second device model includes a second receiving device, a second sending device, a second processing device and a second data link layer; the second device model is controlled to process the first message to obtain a second message, and the second message is sent to the third device model based on the preset sending mechanism, including: controlling the second receiving device to receive the first message, and controlling the second data link layer to filter the first message to obtain a first message to be parsed; controlling the second processing device to obtain the simulation data from the first message to be parsed, and processing the simulation data based on a preset protection algorithm to obtain a processing result; controlling the second processing device to generate the second message based on the processing result, and controlling the second sending device to send the second message to the third device model based on a second preset sending mechanism; wherein the preset sending mechanism includes the second preset sending mechanism.

[0008] In some embodiments, the third device model includes a third receiving device, a third processing device and a third data link layer; the control of the third device model to execute the target instruction in the second message and obtain the simulation result includes: controlling the third receiving device to receive the second message, and controlling the third data link layer to filter the second message to obtain a second message to be parsed; controlling the third processing device to obtain and execute the target instruction from the second message to be parsed to obtain the simulation result.

[0009] In some embodiments, the third device model includes a third data link layer and a third processing device; the control of the third device model to process the historical simulation results to obtain a third message includes: controlling the third data link layer to process the historical simulation results to obtain second data to be encapsulated; controlling the third processing device to encapsulate the second data to be encapsulated to obtain the third message.

[0010] A second aspect of an embodiment of the present application provides a simulation device for a smart substation, comprising: a modeling module, configured to model each of the above-mentioned electronic devices among a plurality of electronic devices, and obtain a device model corresponding to each of the above-mentioned electronic devices; wherein each of the above-mentioned device models includes at least one of a receiving device, a sending device, a processing device and a data link layer; a generation module, configured to generate simulation data, and determine a preset sending mechanism based on a preset protocol; a control module, configured to control each of the above-mentioned device models to perform simulation processing based on the above-mentioned simulation data and the above-mentioned preset sending mechanism, and obtain a simulation result.

[0011] A third aspect of an embodiment of the present application provides an electronic device, comprising: a processor and a memory, the memory being used to store computer executable instructions; the processor being used to read the instructions from the memory and execute the instructions to implement the simulation method of the smart substation described in the first aspect.

[0012] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the storage medium stores computer program instructions. When a computer reads the instructions, the simulation method for the smart substation described in the first aspect is executed.

[0013] A fifth aspect of an embodiment of the present application provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the simulation method of the smart substation described in the first aspect above.

[0014] The simulation method of the smart substation provided in the embodiment of the present application can model each electronic device among multiple electronic devices to obtain a device model corresponding to each electronic device; wherein each device model includes at least one of a receiving device, a sending device, a processing device and a data link layer; and can generate simulation data, and determine a preset sending mechanism based on a preset protocol; and can also control each device model to perform simulation processing based on the simulation data and the preset sending mechanism, and obtain simulation results. By applying the technical solution of the present application, the operating status and characteristics of the smart substation can be simulated, and by simulating the actual data processing process in the smart substation, the quantitative analysis of the smart substation can be achieved; and the present application can simulate the actual performance of the electronic equipment by modeling the algorithms and logics of the electronic equipment in the smart substation in detail. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0016] Figure 1 A simulation system for a smart substation provided in some embodiments of the present application;

[0017] Figure 2 A flowchart of a simulation method for a smart substation provided in some embodiments of the present application;

[0018] Figure 3 A schematic diagram of a device model provided for some embodiments of the present application;

[0019] Figure 4 A flowchart of another simulation method of a smart substation provided in some embodiments of the present application;

[0020] Figure 5 A flowchart of another simulation method for a smart substation provided in some embodiments of the present application;

[0021] Figure 6 A schematic diagram of a simulation device for a smart substation provided in some embodiments of the present application;

[0022] Figure 7 A schematic diagram of an electronic device according to some embodiments of the present application. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention and to make the above-mentioned purposes, features and advantages of the embodiments of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention are further described in detail below with reference to the accompanying drawings.

[0024] OPNET Modeler is a mainstream and authoritative simulation software in the world and is widely used in the design, development and research of communication networks, equipment, protocols and applications. In recent years, relevant research at home and abroad has introduced OPNET into the communication network analysis of substation automation systems, showing good development prospects. As a key standard for smart substations, the IEC61850 protocol is of great significance for realizing information interaction between intelligent electronic devices (IEDs). However, when simulating substations based on the IEC 61850 standard in the prior art, the actual data processing process in the substation is not modeled in the prior art, making it difficult to analyze the substation at a quantitative level; and the prior art does not model IEDs and algorithm logic based on OPNET, making it difficult to describe the actual performance of IEDs.

[0025] Based on the above technical problems, the present application provides a simulation method, device, electronic device and storage medium for a smart substation, which can simulate the operating status and characteristics of the smart substation, and by simulating the actual data processing process in the smart substation, can realize quantitative analysis of the smart substation; and, the present application can simulate the actual performance of the electronic equipment by detailed modeling of the algorithms and logic of the electronic equipment in the smart substation.

[0026] The simulation method of the smart substation provided in the present application is described in detail below with reference to the accompanying drawings.

[0027] Figure 1 A simulation system for a smart substation is provided in some embodiments of the present application. Figure 1 As shown, the simulation system 100 of the smart substation includes a model building module 110 , a protocol simulation module 120 and a simulation control module 130 .

[0028] Exemplarily, the model building module 110 is used to model multiple electronic devices in the smart substation to obtain a device model corresponding to each of the multiple electronic devices. The device model may include at least one of a receiving device, a sending device, a processing device, and a data link layer.

[0029] The protocol simulation module 120 is used to generate simulation data and determine the preset sending mechanism based on the preset protocol. The simulation data may include data such as voltage and current. The preset protocol may be the IEC 61850 standard protocol; the preset sending mechanism may be determined based on the preset protocol and the message type. For example, when the preset protocol is the IEC 61850 standard protocol, if the message type is a sampled value (SV) message, the preset sending mechanism may be a periodic sending mechanism; if the message type is a Generic Object Oriented Substation Events (GOOSE) message, the preset sending mechanism may be a retransmission mechanism for a heartbeat message.

[0030] The simulation control module 130 is used to control each device model to perform simulation processing based on simulation data and a preset sending mechanism, and obtain simulation results to achieve accurate control of the simulation process. In addition, the simulation system 100 of the smart substation can also display the simulation results through a visual interface.

[0031] Figure 2 A flowchart of a simulation method for a smart substation provided in some embodiments of the present application, which can be applied to Figure 1 The simulation system 100 of the smart substation shown in FIG. Figure 2 As shown, the simulation method of the smart substation may include steps 210 to 230.

[0032] Step 210 , modeling each electronic device among the multiple electronic devices to obtain a device model corresponding to each electronic device.

[0033] In some embodiments, multiple electronic devices in the smart substation can be modeled by a model building module in the simulation system of the smart substation to obtain a device model corresponding to each of the multiple electronic devices. The electronic devices may include merging units, relay protection devices of the bay layer (hereinafter referred to as protection devices), and smart operation boxes.

[0034] refer to Figure 3 A schematic diagram of a device model is shown in FIG. Figure 3 As shown, it can be based on Figure 3 The device model shown models each electronic device in the smart substation. The device model corresponding to each electronic device may include at least one of a receiving device, a sending device, a processing device, and a data link layer; the processing device may include a sending processing device and a receiving processing device. The receiving device, the sending device, and the processing device may be a virtual network card or a switch, etc.

[0035] Exemplarily, the receiving device is used to receive messages sent by an electronic device; the sending device is used to send messages to the electronic device; the data link layer is used to convert, filter, and perform other processing on the data or messages; and the processing device is used to parse and perform other processing on the data or messages.

[0036] Exemplarily, the device model corresponding to each electronic device may further include an interface module, wherein the interface module is used to call the sending processing device and the receiving processing device so that the sending processing device and the receiving processing device perform related simulation operations.

[0037] For example, based on Figure 3 The device model shown models a first electronic device (such as a merging unit) to obtain a first device model corresponding to the first electronic device; wherein the first device model may include a first sending device, a first sending processing device, a first receiving processing device, a first data link layer and a first interface module.

[0038] For example, based on Figure 3 The device model shown models a second electronic device (such as a protection device) to obtain a second device model corresponding to the second electronic device; wherein the second device model may include a second sending device, a second sending processing device, a second receiving processing device, a second data link layer and a second interface module.

[0039] For example, based on Figure 3 The device model shown models a third electronic device (such as a smart operation box) to obtain a third device model corresponding to the third electronic device; wherein the third device model may include a third sending device, a third sending processing device, a third receiving processing device, a third data link layer and a third interface module.

[0040] Step 220, generating simulation data, and determining a preset sending mechanism based on a preset protocol.

[0041] In some embodiments, simulation data may be generated by a protocol simulation module in a simulation system of a smart substation, and the simulation data may include voltage, current and other data.

[0042] For example, simulation data can be generated by a function generator based on an analytical expression of electrical quantities. Taking a three-phase short circuit fault in a constant potential power supply circuit as an example, the voltage value of phase A before the fault occurs can be determined according to formula (1), and the current value of phase A before the fault occurs can be determined according to formula (2):

[0043] u=Emsin(ot+α); (1)

[0044] i=Imsin(ωt+α-ψ); (2)

[0045] Where, u is the voltage value without fault, i is the current value without fault, t is the time, E m is the maximum value of electromotive force, I m is the peak current, α is the electrical power factor angle deviation, ω is the electrical angle, and ψ is the power factor angle before the fault.

[0046] Exemplarily, based on the voltage value of the phase A without fault and the current value of the phase A without fault, the current value of the phase A with fault can be determined. For example, the current value of the phase A with fault can be determined according to formula (3):

[0047]

[0048] Where i1 is the current value when no fault occurs, is the impedance angle, is the current value of the fault, e is the natural constant, R1 is the resistance, L1 is the length of the conductor, and t0 is the change time.

[0049] In some embodiments, the preset sending mechanism can be determined by the protocol simulation module in the simulation system of the smart substation. The preset sending mechanism can be determined based on the preset protocol and the message type. For example, when the preset protocol is the IEC61850 standard protocol, if the message type is an SV message, the preset sending mechanism can be a periodic sending mechanism (i.e., a first preset sending mechanism); if the message type is a GOOSE message, the preset sending mechanism can be a retransmission mechanism for a heartbeat message (i.e., a second preset sending mechanism), or a periodic sending mechanism.

[0050] Exemplarily, the SV message includes multiple application data protocol units (APDU), each of which includes at least one application service data unit (ASDU). The SV message can be sent at a fixed period in a publish-subscribe mode. For example, the SV message can be sent at a fixed period in a multicast mode based on a virtual local area network identifier (VLAN ID, VID), or in a multicast mode based on MAC multicast address filtering.

[0051] Exemplarily, when the GOOSE message stores simulation data of a fault and target instructions (such as switch opening and closing, equipment launching and withdrawing, gear switching, etc.), the GOOSE message can be sent in the form of a heartbeat message. The sending period of the GOOSE message can gradually increase from a preset initial period (such as 2ms, the preset initial period is less than the preset maximum period) until the sending period can be converted back to the preset maximum period (such as 1s) when the event state stabilizes. When the GOOSE message stores simulation data of no fault, the GOOSE message can be sent according to a fixed period (such as 1s).

[0052] Step 230, controlling each device model to perform simulation processing based on the simulation data and the preset sending mechanism, and obtaining the simulation result.

[0053] In some embodiments, in the process of simulating the smart substation through the simulation system of the smart substation, the simulation control module in the simulation system of the smart substation can be used to control each device model to perform simulation processing and obtain the simulation result of the smart substation. The following is an example in which the first device is a merging unit, the second device is a protection device, and the third device is an intelligent operation box.

[0054] Figure 4 A flowchart of another simulation method of a smart substation provided in some embodiments of the present application. Figure 4 As shown, the above step 230 may include steps 410 to 430 .

[0055] Step 410: Control the first device model to process the simulation data to obtain a first message, and send the first message to the second device model based on a preset sending mechanism.

[0056] In some embodiments, the simulation control module can control the first device model corresponding to the merging unit to process the simulation data generated by the protocol simulation module to obtain a first message, wherein the first message can be an SV message. Afterwards, the first device model can send the first message to the second device model corresponding to the protection device based on a preset sending mechanism.

[0057] Exemplarily, the above-mentioned step 410 may include: controlling the first data link layer to process the simulation data to obtain the first data to be encapsulated; controlling the first processing device to encapsulate the first data to be encapsulated to obtain the first message; controlling the first sending device to send the first message to the second device model based on the first preset sending mechanism; wherein the preset sending mechanism includes the first preset sending mechanism.

[0058] In some embodiments, the simulation control module can control the first data link layer in the first device model to process the simulation data to obtain the simulation data to be encapsulated (i.e., the first data to be encapsulated). Then, the first interface module in the first device model can be controlled to call the first sending processing device so that the first sending processing device encapsulates the first data to be encapsulated, that is, packages it into a data frame format to obtain an SV message. Afterwards, the first sending device in the first device model is controlled to send the SV message to the second device model based on a first preset sending mechanism (e.g., a periodic sending mechanism).

[0059] Step 420: Control the second device model to process the first message to obtain a second message, and send the second message to the third device model based on a preset sending mechanism.

[0060] In some embodiments, after the second device model corresponding to the protection device receives the SV message sent by the first device model, the simulation control module can control the second device model to process the SV message to obtain a second message. The second message can be a GOOSE message. Then the second device model is controlled to send the GOOSE message to the third device model corresponding to the intelligent operation box based on a preset sending mechanism.

[0061] Exemplarily, the above-mentioned step 420 may include: controlling the second receiving device to receive the first message, and controlling the second data link layer to filter and process the first message to obtain a first message to be parsed; controlling the second processing device to obtain simulation data from the first message to be parsed, and processing the simulation data based on a preset protection algorithm to obtain a processing result; controlling the second processing device to generate a second message based on the processing result, and controlling the second sending device to send the second message to the third device model based on a second preset sending mechanism; wherein the preset sending mechanism includes a second preset sending mechanism.

[0062] In some embodiments, the simulation control module can control the second receiving device in the second device model to receive the SV message. At this time, the SV message is in the form of a framed bit stream, so the second data link layer in the second device model can be controlled to convert the SV message into a data frame format, and filter the SV message (for example, filter the MAC address, IP address and other data in the SV message) to obtain the SV message to be parsed (i.e., the first message to be parsed), so as to convert the SV message into data that can be parsed by the second receiving and processing device.

[0063] Then, the simulation control module can control the second interface module to call the second receiving and processing device so that the second receiving and processing device parses and processes the first message to be parsed, that is, the second receiving and processing device obtains the target field (such as the application service data unit ASDU field) from the first message to be parsed, and extracts the simulation data from the target field.

[0064] After the second receiving and processing device obtains the simulation data, the second receiving and processing device can be controlled to process the simulation data based on the preset protection algorithm to obtain the processing result of the simulation data. The processing result may include the judgment result of the logical judgment of the simulation data based on the preset protection algorithm, such as whether the simulation data meets the preset value (such as the preset current threshold, the preset voltage threshold, etc.), and whether the protection instruction (i.e., the target instruction, such as the tripping instruction) needs to be triggered.

[0065] Exemplarily, the preset protection algorithm may include an overcurrent protection algorithm, a low voltage protection algorithm, etc. For example, for the overcurrent protection algorithm, the second receiving and processing device may check whether the current value in the current simulation data is higher than the preset current threshold value. If so, the protection device may trigger a trip command to protect the device; for the low voltage protection algorithm, the second receiving and processing device may check whether the voltage value in the simulation data is higher than the preset voltage threshold value. If so, the protection device may trigger a trip command to prevent the device from being damaged due to overvoltage. The specific content of the preset protection algorithm is not limited in this embodiment.

[0066] After the second receiving processing device obtains the processing result of the simulation data, the simulation control module can control the second interface module to call the second sending processing device, so that the second sending processing device generates a second message (i.e., a GOOSE message) based on the processing result, and encapsulates the GOOSE message. Then the second sending device is controlled to send the GOOSE message to the third device model corresponding to the intelligent operation box based on the periodic sending mechanism or the retransmission mechanism of the heartbeat message.

[0067] Figure 5 The following is a flow chart of another method for simulating a smart substation provided in some embodiments of the present application. Figure 5 As shown, the method further includes steps 510 to 520.

[0068] Step 510: Control the third device model to process the historical simulation results to obtain a third message.

[0069] In some embodiments, the simulation control module may also control the second receiving device in the second device model to receive a third message (i.e., a GOOSE message) sent by the third device model. The GOOSE message is generated by the third device model based on historical simulation results (such as the last simulation result corresponding to the current simulation result) and is used to feed back the simulation result of the third device model to the second device model.

[0070] Exemplarily, the above step 510 may include: controlling the third data link layer to process the historical simulation result to obtain the second data to be encapsulated; and controlling the third processing device to encapsulate the second data to be encapsulated to obtain the third message.

[0071] In some embodiments, the simulation control module can control the third data link layer in the third device model to process the historical simulation results to obtain the historical simulation results to be encapsulated (i.e., the second data to be encapsulated), and then control the third sending processing device in the third device model to encapsulate the second data to be encapsulated to obtain a GOOSE message.

[0072] Step 520: Control the third device model to send a third message to the second device model based on a preset sending mechanism.

[0073] In some embodiments, after the third device model obtains the GOOSE message, the simulation control module may control the third device model to send the third message to the second device model based on a periodic sending mechanism or a retransmission mechanism of the heartbeat message.

[0074] For example, Figure 5 As shown, in step 410, "controlling the second device model to process the first message to obtain the second message" may include: controlling the second device model to process the first message and the third message to obtain the second message.

[0075] In some embodiments, after the second device model receives the GOOSE message fed back by the third device model, the simulation control module can control the second data link layer in the second device model to filter the GOOSE message (for example, filtering the MAC address, IP address and other data in the GOOSE message) to obtain the GOOSE message to be parsed, so as to convert the GOOSE message into data that can be parsed by the second receiving and processing device.

[0076] Then, the simulation control module can control the second interface module to call the second receiving processing device, so that the second receiving processing device can parse the GOOSE message to be parsed, that is, the second receiving processing device obtains the historical simulation result of the third device model from the GOOSE message to be parsed. Therefore, the second device model can judge whether the third device model successfully executes the historical target instruction based on the historical simulation result, and obtain the processing result by combining the historical simulation result and the current simulation data based on the protection algorithm through the second receiving processing device; then the second sending processing device generates a second message based on the processing result and sends it to the third device model.

[0077] Step 430, controlling the third device model to execute the target instruction in the second message and obtaining a simulation result.

[0078] In some embodiments, after the third device model corresponding to the intelligent operation box receives the GOOSE message, the simulation control module can control the third device model to execute the target instruction (such as switch opening and closing instruction, equipment launching and retreating instruction, gear switching instruction, etc.) in the GOOSE message, and obtain the simulation result. The simulation result may include whether the third device model successfully executes the target instruction.

[0079] Exemplarily, the above step 430 may include: controlling the third receiving device to receive the second message, and controlling the third data link layer to filter the second message to obtain a second message to be parsed; controlling the third processing device to obtain and execute the target instruction from the second message to be parsed to obtain a simulation result.

[0080] In some embodiments, the simulation control module can control the third receiving device in the third device model to receive the GOOSE message sent by the second device model, and control the third data link layer in the third device model to filter and process the GOOSE message (for example, filter the MAC address, IP address and other data in the GOOSE message) to obtain the GOOSE message to be parsed (i.e., the second message to be parsed). Afterwards, the simulation control module can control the third receiving and processing device in the third device model to extract the target instruction from the second message to be parsed, and control the third receiving and processing device to execute the target instruction to obtain the simulation result. After the third device model obtains the simulation result, the simulation system of the smart substation can display the simulation result through a visual interface.

[0081] In some embodiments, after the third device model obtains the simulation result, the simulation control module can also control the third device model to generate a GOOSE message based on the simulation result, and send the GOOSE message to the second device model to feedback the execution result of the target instruction (such as successful execution or failed execution) to the second device model. Thus, the second device model can generate a GOOSE message (i.e., the fourth message) containing a new target instruction based on the GOOSE message and the SV message sent by the first device model next time during the next simulation process. For example, in the case where the execution result of the third device model is an execution failure, the new target instruction in the GOOSE message sent by the second device model to the third device model may include the target instruction that failed to execute, as well as the target instruction generated based on the SV message sent next time.

[0082] By applying the technical solution of this application, the operation status and characteristics of the smart substation can be simulated based on the IEC 61850 standard protocol. In addition, this application can realize quantitative analysis of the smart substation by simulating the actual data processing process and data transmission process in the smart substation; in addition, this application can realize simulation of the actual performance of the electronic equipment by detailed modeling of the algorithms and logic of the electronic equipment in the smart substation.

[0083] Figure 6 A schematic diagram of a simulation device for a smart substation provided in some embodiments of the present application. Figure 6 As shown, the simulation device 600 of the smart substation includes a modeling module 610 , a generating module 620 and a control module 630 .

[0084] The modeling module 610 is configured to model each electronic device among the multiple electronic devices to obtain a device model corresponding to each electronic device.

[0085] Each device model includes at least one of a receiving device, a sending device, a processing device and a data link layer.

[0086] The generation module 620 is configured to generate simulation data and determine a preset sending mechanism based on a preset protocol.

[0087] The control module 630 is configured to control each device model to perform simulation processing based on simulation data and a preset sending mechanism, and obtain simulation results.

[0088] In some embodiments, the multiple electronic devices include a first electronic device, a second electronic device, and a third electronic device, and the device models include a first device model corresponding to the first electronic device, a second device model corresponding to the second electronic device, and a third device model corresponding to the third electronic device; the control module 630 is specifically configured to: control the first device model to process the simulation data to obtain a first message, and send the first message to the second device model based on a preset sending mechanism; control the second device model to process the first message to obtain a second message, and send the second message to the third device model based on a preset sending mechanism; control the third device model to execute the target instruction in the second message and obtain the simulation result.

[0089] In some embodiments, the first device model includes a first sending device, a first processing device and a first data link layer; the control module 630 is specifically configured to: control the first data link layer to process the simulation data to obtain first data to be encapsulated; control the first processing device to encapsulate the first data to be encapsulated to obtain a first message; control the first sending device to send the first message to the second device model based on a first preset sending mechanism; wherein the preset sending mechanism includes a first preset sending mechanism.

[0090] In some embodiments, the second device model includes a second receiving device, a second sending device, a second processing device and a second data link layer; the control module 630 is specifically configured to: control the second receiving device to receive the first message, and control the second data link layer to filter the first message to obtain a first message to be parsed; control the second processing device to obtain simulation data from the first message to be parsed, and process the simulation data based on a preset protection algorithm to obtain a processing result; control the second processing device to generate a second message based on the processing result, and control the second sending device to send the second message to the third device model based on a second preset sending mechanism; wherein the preset sending mechanism includes a second preset sending mechanism.

[0091] In some embodiments, the third device model includes a third receiving device, a third processing device and a third data link layer; the control module 630 is specifically configured to: control the third receiving device to receive the second message, and control the third data link layer to filter the second message to obtain a second message to be parsed; control the third processing device to obtain and execute the target instruction from the second message to be parsed to obtain a simulation result.

[0092] like Figure 6 As shown, the simulation device 600 of the smart substation further includes a processing module 640 and a sending module 650 .

[0093] In some embodiments, the processing module 640 is configured to: control the third device model to process the historical simulation results to obtain a third message; the sending module 650 is configured to: control the third device model to send the third message to the second device model based on a preset sending mechanism; the control module 630 is specifically configured to: control the second device model to process the first message and the third message to obtain a second message.

[0094] In some embodiments, the third device model includes a third data link layer and a third processing device; the processing module 640 is specifically configured to: control the third data link layer to process the historical simulation results to obtain the second data to be encapsulated; control the third processing device to encapsulate the second data to be encapsulated to obtain a third message.

[0095] Figure 7 A schematic diagram of an electronic device provided for some embodiments of the present application. In some embodiments, the electronic device includes one or more processors and a memory. The memory is configured to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the simulation method of the smart substation in the above embodiment.

[0096] like Figure 7As shown, the electronic device 700 includes: a processor (processor) 701 and a memory 702. Exemplarily, the electronic device 700 may also include: a communication interface (Communications Interface) 703 and a communication bus 704.

[0097] The processor 701, the memory 702 and the communication interface 703 communicate with each other via a communication bus 704. The communication interface 703 is used to communicate with other devices such as a client or a network element of another server.

[0098] In some embodiments, the processor 701 is used to execute the program 705, and specifically can execute the relevant steps in the above-mentioned smart substation simulation method embodiment. Specifically, the program 705 can include program code, and the program code includes computer executable instructions.

[0099] Exemplarily, the processor 701 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement some embodiments of the present application. The electronic device 700 may include one or more processors, which may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0100] In some embodiments, the memory 702 is used to store the program 705. The memory 702 may include a high-speed RAM memory, and may also include a non-volatile memory (NVM), such as at least one disk memory.

[0101] Program 705 can be specifically called by processor 701 to enable electronic device 700 to perform the simulation method operation of the smart substation.

[0102] Some embodiments of the present application provide a computer-readable storage medium storing at least one executable instruction. When the executable instruction is executed on an electronic device 700, the electronic device 700 executes the simulation method of the smart substation in the above embodiment.

[0103] The executable instructions can be specifically used to enable the electronic device 700 to perform the simulation method operation of the smart substation.

[0104] For example, the computer readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.

[0105] The beneficial effects that can be achieved by the readable storage medium provided in some embodiments of the present application can be referred to the beneficial effects in the corresponding intelligent substation simulation method provided above, and will not be repeated here.

[0106] It should be noted that, in the application, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0107] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0108] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.

[0109] For the purposes of this specification, a "computer-readable medium" can be any apparatus that can contain, store, communicate, propagate, or transport the program for use by an instruction execution system, apparatus, or device or in conjunction with such instruction execution system, apparatus, or device.

[0110] More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection having one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM).

[0111] In addition, the computer readable medium can even be a paper or other suitable medium on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other medium, and then editing, interpreting or processing in other suitable ways as necessary, and then storing it in the computer memory. It should be understood that various parts of the present application can be implemented in hardware, software, firmware or a combination thereof.

[0112] In the above embodiments, multiple steps or methods may be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it may be implemented by any one of the following technologies known in the art or a combination thereof: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0113] The above-described embodiments of the present application do not constitute a limitation on the protection scope of the present application.

Claims

1. A simulation method for a smart substation, characterized in that: include: Modeling each of the electronic devices in the plurality of electronic devices to obtain a device model corresponding to each of the electronic devices; wherein each of the device models includes at least one of a receiving device, a sending device, a processing device, and a data link layer; Generate simulation data and determine a preset sending mechanism based on a preset protocol; Each of the device models is controlled to perform simulation processing based on the simulation data and the preset sending mechanism, and a simulation result is obtained.

2. The method according to claim 1, characterized in that The multiple electronic devices include a first electronic device, a second electronic device, and a third electronic device, and the device model includes a first device model corresponding to the first electronic device, a second device model corresponding to the second electronic device, and a third device model corresponding to the third electronic device; The controlling each of the device models to perform simulation processing based on the simulation data and the preset sending mechanism, and obtaining simulation results, includes: Controlling the first device model to process the simulation data to obtain a first message, and sending the first message to the second device model based on the preset sending mechanism; Control the second device model to process the first message to obtain a second message, and send the second message to the third device model based on the preset sending mechanism; The third device model is controlled to execute the target instruction in the second message, and obtain the simulation result.

3. The method according to claim 2, characterized in that The first device model includes a first sending device, a first processing device and a first data link layer; the controlling the first device model to process the simulation data to obtain a first message, and sending the first message to the second device model based on the preset sending mechanism includes: Controlling the first data link layer to process the simulation data to obtain first data to be encapsulated; Controlling the first processing device to perform encapsulation processing on the first data to be encapsulated to obtain the first message; Control the first sending device to send the first message to the second device model based on a first preset sending mechanism; wherein the preset sending mechanism includes the first preset sending mechanism.

4. The method according to claim 2, characterized in that: The second device model includes a second receiving device, a second sending device, a second processing device, and a second data link layer; the controlling the second device model to process the first message to obtain a second message, and sending the second message to the third device model based on the preset sending mechanism includes: Controlling the second receiving device to receive the first message, and controlling the second data link layer to filter the first message to obtain a first message to be parsed; Controlling the second processing device to obtain the simulation data from the first message to be parsed, and processing the simulation data based on a preset protection algorithm to obtain a processing result; Control the second processing device to generate the second message based on the processing result, and control the second sending device to send the second message to the third device model based on a second preset sending mechanism; wherein the preset sending mechanism includes the second preset sending mechanism.

5. The method according to any one of claims 2 to 4, characterized in that: The third device model includes a third receiving device, a third processing device and a third data link layer; The controlling the third device model to execute the target instruction in the second message and obtaining the simulation result includes: Controlling the third receiving device to receive the second message, and controlling the third data link layer to filter the second message to obtain a second message to be parsed; The third processing device is controlled to obtain and execute the target instruction from the second message to be parsed to obtain the simulation result.

6. The method according to any one of claims 2 to 4, characterized in that: The method further comprises: Controlling the third device model to process the historical simulation result to obtain a third message; Controlling the third device model to send the third message to the second device model based on the preset sending mechanism; The controlling the second device model to process the first message to obtain a second message includes: The second device model is controlled to process the first message and the third message to obtain the second message.

7. The method according to claim 6, characterized in that The third device model includes a third data link layer and a third processing device; The controlling the third device model to process the historical simulation result to obtain a third message includes: Controlling the third data link layer to process the historical simulation result to obtain second data to be encapsulated; The third processing device is controlled to perform encapsulation processing on the second data to be encapsulated to obtain the third message.

8. A simulation device for a smart substation, characterized in that: include: A modeling module, configured to model each of the electronic devices in the plurality of electronic devices to obtain a device model corresponding to each of the electronic devices; wherein each of the device models includes at least one of a receiving device, a sending device, a processing device, and a data link layer; A generation module is configured to generate simulation data and determine a preset sending mechanism based on a preset protocol; The control module is configured to control each of the device models to perform simulation processing based on the simulation data and the preset sending mechanism, and obtain simulation results.

9. An electronic device, characterized in that: include: one or more processors; and A memory configured to: store one or more programs; Wherein, when the one or more programs are executed by the one or more processors, the one or more processors implement the simulation method of the smart substation according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, a simulation method for a smart substation according to any one of claims 1-7 is implemented.