Power system digital twin simulation training method and system

Through digital twin simulation technology, virtual models of power systems are generated and filled, solving the problems of security risks and inefficiency in existing training methods, achieving a more efficient and immersive training experience.

CN118942307BActive Publication Date: 2025-03-04QINGDAO NEW GREEN ENERGY DATA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411412108.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2025-03-04
Estimated Expiration
2044-10-11

AI Technical Summary

Technical Problem

The existing power system training mainly relies on on-site practical or theoretical learning, and there are problems such as safety risks, low training efficiency and lack of practical operation experience.

Method used

The digital twin simulation real training method of the power system is adopted, through the collaborative work between the practical training management end and the user end, a correction display model is generated, the initial repair image is obtained, the scaling ratio is determined, the supplementary display area is generated, the edge unit is filled, the current repair image is formed, and the training management end is sent to the practical training management end.

Benefits of technology

It improves the efficiency and safety of power system training, enhances users' understanding of the operating principles and operating procedures of power system, and improves the demonstration effect of practical training and users' learning enthusiasm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118942307B_ABST
    Figure CN118942307B_ABST
Patent Text Reader

Abstract

This invention provides a digital twin simulation training method and system for power systems. It integrates substation digital simulation technology, data flow visualization technology, protocol simulation technology, virtual-real integration technology, and digital twin technology to construct a comprehensive training platform for protection and automation. Based on the IEC 61850 standard and using SCD files as the model construction basis, a simulation operating environment consistent with the actual field technology is built. With power flow calculation as the underlying data support, configuration algorithms to construct equipment models, and virtual terminal and virtual circuit connection relationships as the basis, a three-dimensional twin is used for display, dynamically and completely simulating the substation's operating logic, achieving digital twin simulation training with high training effectiveness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to data processing technology, and in particular to a power system digital twin simulation training method and system. Background Art

[0002] The inventors found in their research that the current power system training mainly adopts on-site practice or theoretical learning, but both methods have some limitations. On-site practice has certain safety risks, and is limited by conditions such as site and equipment, so the training efficiency is low. Theoretical learning lacks practical operation experience, making it difficult for users to deeply understand the operating principles and operation procedures of the power system. Summary of the invention

[0003] Based on the above problems, the present invention is proposed to provide a power system digital twin simulation training method and system that overcomes the above problems or at least partially solves the above problems.

[0004] According to one aspect of the present invention, a power system digital twin simulation training method is provided, comprising the following steps:

[0005] In response to a training signal sent by the training management terminal, an initial training model configured by training is sent to the training user terminal, and all power cells are respectively filled into the revised display model based on the cell positions of all power cells selected by the training user terminal;

[0006] In response to the training user terminal determining any power unit in the modified display model as a reference unit, an image of a VR perspective frame is acquired for the modified display model with the reference unit as the center to obtain an initial repaired image;

[0007] When it is determined that any power cell located in the modified display model is not included in the initial restoration image, the power cell is determined as an edge cell, and a scaling ratio corresponding to the initial restoration image is determined based on a relative positional relationship between all existing edge cells and the reference cell;

[0008] Scaling the initial repaired image with a first size based on the scaling ratio, and generating a supplementary display area around the scaled repaired area with a second size obtained by scaling, to obtain a supplementary repaired image with the first size;

[0009] Based on the supplementary display strategy, the edge unit is filled into the supplementary display area to obtain a current repaired image corresponding to the VR perspective frame, and the current repaired image is sent to the training management end for display.

[0010] Optionally, in the method according to the present invention, in response to the training signal sent by the training management terminal, the initial training model configured by the training is sent to the training user terminal, and all the power units are respectively filled into the revised display model based on the unit positions of all the power units selected by the training user terminal, including:

[0011] Creating an initial training model including each power unit and sending it to the training management end for display, and in response to the configuration interaction of any power unit by the training management end, changing the state of the power unit to complete the training configuration of the power unit;

[0012] In response to a configuration completion signal sent by the training management terminal, the initial training model is sent to the training user terminal for display;

[0013] In response to the training user terminal performing a selection interaction on any power unit for a first preset time, determining the power unit as a selection determination group;

[0014] In response to a selection completion signal sent by the training user terminal, determining a model framework corresponding to the initial training model, and generating a revised presentation model based on the model framework;

[0015] The initial training model is processed by coordinate conversion, and the unit positions corresponding to the power cells in the selected determination group are determined, and the corresponding power cells are generated in the modified display model based on the unit positions.

[0016] Optionally, in the method according to the present invention, in response to the configuration interaction performed by the training management end on any power unit, the state of the power unit is changed to complete the training configuration of the power unit, including:

[0017] In response to the training management terminal performing a selection interaction on any power unit for a second preset time, determining the power unit as a configuration unit;

[0018] Retrieving an operation interaction interface corresponding to the configuration unit and displaying it to the training management terminal, wherein the operation interaction interface includes a first operation area corresponding to a correct interaction operation and a second operation area corresponding to an incorrect interaction operation;

[0019] Determine the selection of the operation area performed by the training management end based on the operation interaction interface, and change the state of the configuration unit corresponding to the interactive operation.

[0020] Optionally, in the method according to the present invention, the method further comprises:

[0021] When the training management terminal selects the first operation area based on the operation interaction interface, the state of the configuration unit is changed based on the correct interaction operation, and a label of the configuration unit is set with a correct label;

[0022] When the training management terminal selects the second operation area based on the operation interaction interface, the configuration unit is changed in state based on the erroneous interaction operation, and an error label is set for the configuration unit;

[0023] Generate a rectangular-shaped power contour surrounding each power cell, and configure the power contour corresponding to the power cell with a correct label with a first pixel value, and configure the power contour corresponding to the power cell with an incorrect label with a second pixel value;

[0024] The power profile is configured to be profile-hidden in the initial training model, and is configured to be profile-displayed in the revised presentation model.

[0025] Optionally, in the method according to the present invention, acquiring an image of a VR perspective frame of the modified display model with the reference unit as the center to obtain an initial repaired image includes:

[0026] Acquire a first VR display interface corresponding to the training user terminal and a second VR display interface corresponding to the training management terminal, and respectively determine a first center point corresponding to the first VR display interface and a second center point corresponding to the second VR display interface;

[0027] Overlaying the first VR display interface on the second VR display interface in a manner that the first center point coincides with the second center point;

[0028] Based on the overlapping portion of the first VR display interface and the second VR display interface, an image is captured to obtain a VR captured image corresponding to the overlapping portion, and an image frame of the VR captured image is determined as a VR viewing angle frame;

[0029] Acquire a top view corresponding to the modified display model, and determine a contour center point based on a power contour corresponding to the reference unit,

[0030] In the top view, an initial repaired image corresponding to the VR viewing angle frame is determined with the contour center point as the center.

[0031] Optionally, in the method according to the present invention, determining the scaling ratio corresponding to the initial repaired image based on the relative position relationship between all existing edge units and the reference unit includes:

[0032] Dividing the upper view into regions based on the power contour corresponding to the reference unit to obtain an upper view region corresponding to the north, an upper view region corresponding to the east, an upper view region corresponding to the south, and an upper view region corresponding to the west;

[0033] Respectively obtain the first contour widths of the power contours respectively corresponding to the edge units located in the upper viewing area corresponding to the north direction in the vertical direction, and obtain the second contour widths of the power contours respectively corresponding to the edge units located in the upper viewing area corresponding to the south direction in the vertical direction;

[0034] Respectively obtain the first contour lengths of each power contour corresponding to each edge unit located in the upper viewing area corresponding to the west in the horizontal direction, and obtain the second contour lengths of each power contour corresponding to each edge unit located in the upper viewing area corresponding to the east in the vertical direction;

[0035] The first contour widths and the second contour widths are summed up to obtain a first width total value and a second width total value, and the width total value with the largest corresponding width is determined as a reference scaling width;

[0036] The first contour lengths and the second contour lengths are summed up to obtain a first length total value and a second length total value, and the total length value with the largest corresponding length is determined as a reference scaling length;

[0037] Obtaining the image width in the vertical direction and the image length in the horizontal direction of the initial restoration image, and determining the proportions based on the image width, the reference zoom width, the image length, and the reference zoom length, respectively, to obtain the width proportion and the length proportion;

[0038] The ratio of the width ratio and the length ratio with the largest corresponding value is determined as the scaling ratio.

[0039] Optionally, in the method according to the present invention, the upper view is divided into regions based on the power profile corresponding to the reference unit to obtain an upper view region corresponding to the north, an upper view region corresponding to the east, an upper view region corresponding to the south, and an upper view region corresponding to the west, including:

[0040] Acquire each contour vertex located on the power contour, wherein each contour vertex includes an upper left contour point, an upper right contour point, a lower right contour point, and a lower left contour point;

[0041] Establish upper left contour points, upper right contour points, lower right contour points and lower left contour points and connect them with the image frame of the top view based on horizontal or vertical line segments respectively, and divide the top view into regions based on the obtained connecting lines of each region to obtain an upper viewing area corresponding to the north, an upper viewing area corresponding to the east, an upper viewing area corresponding to the south and an upper viewing area corresponding to the west.

[0042] Optionally, in the method according to the present invention, filling the edge unit into the supplementary display area based on a supplementary display strategy to obtain a current repaired image corresponding to the VR perspective frame includes:

[0043] Determine the unit distances between each edge unit located in the same upper viewing area and the reference unit in the upper view, and sort the distances from near to far based on the unit distances to obtain edge sequences corresponding to different upper viewing areas;

[0044] Determine, in the supplementary display area, display sub-areas corresponding to the same direction as the upper viewing areas, and determine edge units corresponding to the display sub-areas;

[0045] Extending the power contours corresponding to the edge units respectively away from the contour lines of the zoom repair area to obtain first reference positioning lines;

[0046] Determine the area connection lines corresponding to different display sub-areas as second reference positioning lines, and determine the contour lines of the power contours corresponding to the edge units and close to the zoom repair area as moving positioning lines;

[0047] Mapping each leading edge unit in each edge sequence to a corresponding display sub-area along a corresponding direction, so that a moving positioning line of the leading edge unit coincides with a corresponding second reference positioning line;

[0048] The remaining edge units in each edge sequence are mapped to the corresponding display sub-area in sequence along the corresponding direction according to the edge sequence, so that the moving positioning line of the corresponding front edge unit coincides with the first reference positioning line of the corresponding rear edge unit, and a current repaired image corresponding to the VR viewing angle frame is obtained.

[0049] Optionally, in the method according to the present invention, the method further comprises:

[0050] Determine each contour line of the zoom repair area as each reference display line, and determine a first endpoint and a second endpoint located at both ends of the reference display line;

[0051] Based on the first endpoint and the second endpoint, a first reference limit line and a second reference limit line are generated, which are located on both sides of the reference display line and are perpendicular to the reference display line, and an area between the two reference limit lines is determined as a reference area;

[0052] Determine whether each edge unit in the display sub-area is in the corresponding reference area, and determine each edge unit that is not in the corresponding reference area as a unit adjustment group;

[0053] Grouping the unit adjustment groups to obtain a first adjustment group close to the first reference limit line and a second adjustment group close to the second reference limit line;

[0054] Each edge unit in the first adjustment group is adjusted to be located in the reference area and aligned with the first reference limit line, and each edge unit in the second adjustment group is adjusted to be located in the reference area and aligned with the second reference limit line.

[0055] According to another aspect of the present invention, there is provided a power system digital twin simulation training system, comprising:

[0056] A training configuration module is configured to send the initial training model after training configuration to the training user terminal in response to the training signal sent by the training management terminal, and fill all power cells into the revised display model based on the cell positions of all power cells selected by the training user terminal;

[0057] An image acquisition module is configured to acquire an image of a VR perspective frame of the modified display model with the reference unit as the center in response to the training user terminal determining any power unit in the modified display model as a reference unit, to obtain an initial repaired image;

[0058] a ratio determination module configured to, when determining that any power unit located in the modified display model is not included in the initial restoration image, determine the power unit as an edge unit, and determine a scaling ratio corresponding to the initial restoration image based on a relative positional relationship between all existing edge units and the reference unit;

[0059] An image scaling module is configured to scale the initial repaired image having a first size based on the scaling ratio, and generate a supplementary display area around the scaled repaired area having a second size obtained by scaling, to obtain a supplementary repaired image having the first size;

[0060] The supplementary display module is configured to fill the edge unit into the supplementary display area based on the supplementary display strategy, obtain a current repaired image corresponding to the VR perspective frame, and send the current repaired image to the training management end for display.

[0061] Optionally, in the system according to the present invention, the system further comprises:

[0062] Equipment simulation algorithm power flow model engine, used to introduce power flow calculation, realize equipment operation data simulation and parameter automatic configuration, improve the authenticity of virtual environment, analyze the physical laws of protection, measurement and control, switches, switches and transformers, and build algorithm models of equipment;

[0063] The three-dimensional digital twin module is used to build a virtual twin that is highly consistent with the actual substation, providing trainees with an immersive training experience, placing them in a highly simulated practical training environment, combining AI-generated power large models, integrating basic data and monitoring information of operating power stations, building a power system model that accurately reflects the real world, and simulating operating status and system principles;

[0064] The full-loop visualization module is used to obtain the virtual terminals of the equipment and the virtual loop connection relationship based on the SCD file, and through the process layer virtual loop modeling, the data flow is completely reproduced to show the impact of the physical fiber connection loop failure on the secondary system, and to achieve full-link data monitoring;

[0065] The virtual-reality combination module is used for actual protection / measurement and control devices to provide real operation experience of the devices and enhance practical operation capabilities.

[0066] According to the solution of the present invention, the training management end can perform training configuration on each power unit through the server, and the present invention is provided with an operation interaction interface. The training management end only needs to select the first operation area or the second operation area, and the server can automatically change the state of the configuration unit to the corresponding interactive operation. The interface is clear and the operation is simple. The present invention will also configure power units in different states to different pixel values, so that the training management end can quickly perform preliminary recognition on the power unit selected by the training user end. In order for the training management end and the training user end to see the same interface, the present invention will determine the initial repair image and based on all the existing edge units and The relative position relationship between the reference units determines the scaling ratio corresponding to the initial repair image and scales it, thereby obtaining a scaled repair area, and then generating a supplementary display area outside the scaled repair area, and the edge units can be filled into the supplementary display area. This ensures that all power units selected by the training user end can be included in the current repair image, and then the current repair image is sent to the training management end for display. It can be seen that the present invention not only improves the corresponding training effect, but also increases the training communication between different terminal users, improves the training user end's enthusiasm for learning, and the training management end's display effect for training. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 A flow chart of a power system digital twin simulation training method according to an embodiment of the present invention is shown;

[0068] Figure 2 A schematic diagram of the operation interaction interface is shown;

[0069] Figure 3 Shows the interface schematic diagram of different models of VR devices;

[0070] Figure 4 A schematic diagram showing contour width and contour length;

[0071] Figure 5 A schematic diagram showing the area division of the top view is shown;

[0072] Figure 6 A schematic diagram of the current repaired image is shown;

[0073] Figure 7 A schematic diagram of position adjustment of a unit adjustment group is shown;

[0074] Figure 8 A structural block diagram of a power system digital twin simulation training system according to another embodiment of the present invention is shown;

[0075] Fig. 9 The physical device structure diagram of the power system digital twin simulation training system in this embodiment is shown;

[0076] Fig.10 The figure shows the background equipment structure diagram of the power system digital twin simulation training system in this embodiment. DETAILED DESCRIPTION

[0077] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0078] The inventors found in their research that the current power system training mainly adopts on-site practice or theoretical learning, but both methods have some limitations. On-site practice has certain safety risks, and is limited by conditions such as site and equipment, so the training efficiency is low. Theoretical learning lacks practical operation experience, making it difficult for users to deeply understand the operating principles and operation procedures of the power system.

[0079] Figure 1 A flowchart of a power system digital twin simulation training method according to an embodiment of the present invention is shown, and the method is suitable for execution in a computing device, wherein the computing device can be understood as a terminal with data processing capabilities, such as a mobile phone or a computer.

[0080] like Figure 1 As shown, the purpose of this embodiment is to implement a power system digital twin simulation training method, which starts with step S102. In step S102, the following contents are included:

[0081] In response to the training signal sent by the training management end, the initial training model after training configuration is sent to the training user end, and all power cells are filled into the revised display model based on the cell positions of all power cells selected by the training user end.

[0082] For example, in this embodiment, the training manager can pre-configure the training for each power unit in the server, and then the server will establish a corresponding initial training model. When the training manager wants to start the training, he can first send a training signal through the training management terminal. When the server receives the training signal, it will send the initial training model after the training configuration to the training user terminal, and then fill all the power units into the corresponding positions in the modified display model according to the unit positions of all the power units selected by the training user terminal.

[0083] The modified display model in this embodiment only displays the power units selected by the training user terminal, which not only improves the identification of the corresponding power units and facilitates the subsequent training management terminal to perform related operations, but also reduces a certain amount of data processing by the server.

[0084] It should be noted that the establishment of the initial training model can be achieved based on digital twin technology, that is, through the corresponding digital twin visualization presentation, a virtual digital twin that is exactly the same as the real scene of the power station can be constructed, including plant model, primary equipment model, personnel model and safety tool model, to achieve perfect mapping of the real scene in the virtual model.

[0085] Furthermore, the above-mentioned "in response to the training signal sent by the training management terminal, sending the initial training model configured by the training to the training user terminal, and filling all the power units into the modified display model based on the unit positions of all the power units selected by the training user terminal" also includes the following steps:

[0086] Creating an initial training model including each power unit and sending it to the training management end for display, and in response to the configuration interaction of any power unit by the training management end, changing the state of the power unit to complete the training configuration of the power unit;

[0087] In response to a configuration completion signal sent by the training management terminal, the initial training model is sent to the training user terminal for display;

[0088] In response to the training user terminal performing a selection interaction on any power unit for a first preset time, determining the power unit as a selection determination group;

[0089] In response to a selection completion signal sent by the training user terminal, determining a model framework corresponding to the initial training model, and generating a revised presentation model based on the model framework;

[0090] The initial training model is processed by coordinate conversion, and the unit positions corresponding to the power cells in the selected determination group are determined, and the corresponding power cells are generated in the modified display model based on the unit positions.

[0091] For example, in this embodiment, the server will first create an initial training model containing all power units, and send the initial training model to the training management terminal for display. The training management personnel can configure and interact with any power unit through the training management terminal to change the state of the power unit, such as configuring a circuit to a closed state or an open state, thereby obtaining the initial training model. When training and configuring the power units, the training management personnel can deliberately configure some power units as incorrect, and subsequent users need to find and correct them through the training user terminal to verify the user's learning effect.

[0092] When the training management end completes the training configuration of the power unit, it can send a configuration completion signal. When the server receives the configuration completion signal sent by the training management end, it will send the initial training model to the training user end and display it. When the training user end receives the initial training model, it can select the power unit that is considered to be misconfigured. The specific selection method is that the training user end selects the power unit for a first preset time, which can avoid the situation where the training user end accidentally touches. At this time, the server will determine the power unit as a selection determination group.

[0093] When the training user terminal selects all the power units that are considered to be incorrectly configured, a selection completion signal can be sent. After the server receives the selection completion signal, it will be determined that the user has completed the selection of all the power units that it believes to be incorrectly configured. The server will then determine the model framework corresponding to the initial training model and generate a corrected display model in the model framework. Here, the model framework can be understood as the remaining framework portion after all the power units in the initial training model are deleted.

[0094] At this time, the server will coordinate the initial training model to determine the unit coordinates corresponding to each power unit in the selected group, that is, the unit position, and then generate the corresponding power units at each unit position in the corrected display model.

[0095] This embodiment can generate only the power units selected by the training user end in the revised display model, which can not only reduce the data processing volume of the server to a certain extent, but also facilitate the subsequent teacher VR end to view the various power units of the revised display model, thereby improving work efficiency to a certain extent.

[0096] For example, in this embodiment, it can be seen from the above content that since the training management personnel can deliberately configure some power units as incorrect when performing training configuration on the power units, subsequent users are required to find and correct them through the training user terminal to verify the user's learning effect. In order to improve the user's risk assessment ability, the corresponding five-protection interlocking logic can be embedded in the corresponding training configuration to improve the risk assessment ability of trainees, including preventing accidental entry into live intervals, preventing accidental separation and closing of circuit breakers, preventing pulling and closing of disconnectors with load, preventing live hanging (closing) of grounding wires (grounding switches), and preventing closing circuit breakers (disconnectors) with grounding wires (grounding switches).

[0097] Here, through in-depth simulation of various operations and fault conditions, users participating in the training can quickly learn in a risk-free environment, master the necessary skills while making the training content more comprehensive and in-depth. By using corresponding VR technology, the operating status and operating procedures of the power system can be presented more intuitively, thereby improving the training effect.

[0098] Furthermore, the above-mentioned “in response to the configuration interaction performed by the training management terminal on any power unit, changing the state of the power unit to complete the training configuration of the power unit” also includes the following steps:

[0099] In response to the training management terminal performing a selection interaction on any power unit for a second preset time, determining the power unit as a configuration unit;

[0100] Retrieving an operation interaction interface corresponding to the configuration unit and displaying it to the training management terminal, wherein the operation interaction interface includes a first operation area corresponding to a correct interaction operation and a second operation area corresponding to an incorrect interaction operation;

[0101] Determine the selection of the operation area performed by the training management end based on the operation interaction interface, and change the state of the configuration unit corresponding to the interactive operation.

[0102] For example, in this embodiment, since there are multiple power units in the initial training model, when the training manager configures the power unit, he needs to select and interact with any power unit for a second preset time through the training management terminal, so as to avoid the situation where the training management terminal accidentally touches. At this time, the server will determine the power unit as a configuration unit.

[0103] Then, the server will retrieve the operation interaction interface corresponding to the configuration unit and display it to the training management terminal. In the operation interaction interface, there is a first operation area corresponding to the correct interaction operation and a second operation area corresponding to the incorrect interaction operation, such as Figure 2When the training management end wants to configure the configuration unit as a correct power unit, it only needs to select the first operation area, and the server will automatically configure the configuration unit as a correct one; conversely, the training management end only needs to select the second operation area, and the server will automatically configure the configuration unit as an incorrect one, until the training management end changes the state of all configuration units to the corresponding interactive operation.

[0104] In this embodiment, an operation interaction interface is provided. The training management end only needs to select the first operation area or the second operation area, and the server can automatically change the state of the configuration unit to the corresponding interactive operation. The interface is clear and easy to operate, which can improve the corresponding work efficiency of the training management end.

[0105] Furthermore, the above method further comprises the following steps:

[0106] When the training management terminal selects the first operation area based on the operation interaction interface, the state of the configuration unit is changed based on the correct interaction operation, and a label of the configuration unit is set with a correct label;

[0107] When the training management terminal selects the second operation area based on the operation interaction interface, the configuration unit is changed in state based on the erroneous interaction operation, and an error label is set for the configuration unit;

[0108] Generate a rectangular-shaped power contour surrounding each power cell, and configure the power contour corresponding to the power cell with a correct label with a first pixel value, and configure the power contour corresponding to the power cell with an incorrect label with a second pixel value;

[0109] The power profile is configured to be profile-hidden in the initial training model, and is configured to be profile-displayed in the revised presentation model.

[0110] For example, in this embodiment, when the training management end is performing training configuration on a configuration unit, if the first operation area in the operation interaction interface is selected, the server will configure the configuration unit as correct and set a correct label for the configuration unit; if the second operation area in the operation interaction interface is selected, the server will configure the configuration unit as incorrect and set an error label for the configuration unit until the training configuration of all configuration units is completed. At this time, each configuration unit has a corresponding label setting.

[0111] Then, the server generates a rectangular outline around each power unit, namely, the power outline. Then, the power outline corresponding to the power unit with the correct label is configured with a first pixel value, and the power outline corresponding to the power unit with the wrong label is configured with a second pixel value to improve the identification.

[0112] Since the initial training model will be sent to the training user end, the user needs to independently determine whether the configuration of the power unit is correct or not, so there is no need to show the training user end which power units are correctly configured and which power units are incorrectly configured. Therefore, the server will configure the power profile as a hidden profile in the initial training model to facilitate the training user end to independently select the incorrectly configured power unit. However, the revised display model is sent to the training management end, and the training management personnel need to determine whether the power unit selected by the user is incorrectly configured. Therefore, the server will configure the power profile as a displayed profile in the revised display model.

[0113] This embodiment will configure power units in different states to different pixel values, which is convenient for training managers to make preliminary identification of the power units selected by users. It can quickly identify whether the configuration state of the power units selected by users is incorrect, thereby reducing a certain amount of working time and reducing the subsequent server computing power.

[0114] In step S104, the following contents are included:

[0115] In response to the training user terminal determining any power unit in the modified display model as a reference unit, an image of a VR perspective frame is acquired for the modified display model with the reference unit as the center to obtain an initial repaired image.

[0116] For example, in this embodiment, since the viewing angle range of the training user terminal is limited, the user can determine any power unit in the corrected display model as a reference unit through the training user terminal, and the server will generate a rectangular VR viewing frame with the reference unit as the center, and then obtain the image in the corrected display model located in the VR viewing frame, that is, obtain the top view of the power unit located in the VR viewing frame, so as to obtain the initial repair image.

[0117] Furthermore, the above-mentioned “acquiring an image of the VR perspective frame of the modified display model with the reference unit as the center to obtain an initial repaired image” further includes the following steps:

[0118] Acquire a first VR display interface corresponding to the training user terminal and a second VR display interface corresponding to the training management terminal, and respectively determine a first center point corresponding to the first VR display interface and a second center point corresponding to the second VR display interface;

[0119] Overlaying the first VR display interface on the second VR display interface in a manner that the first center point coincides with the second center point;

[0120] Based on the overlapping portion of the first VR display interface and the second VR display interface, an image is captured to obtain a VR captured image corresponding to the overlapping portion, and an image frame of the VR captured image is determined as a VR viewing angle frame;

[0121] Acquire a top view corresponding to the modified display model, and determine a contour center point based on a power contour corresponding to the reference unit,

[0122] In the top view, an initial repaired image corresponding to the VR viewing angle frame is determined with the contour center point as the center.

[0123] For example, in this embodiment, the sizes of interfaces viewed by different models of VR devices may be different. For example, the interface of one VR device is close to a square, while the interface of another VR device is close to a rectangle. Figure 3 shown.

[0124] Therefore, in order to ensure that the training user end and the training management end can see the same interface, the server will obtain the display interface that the training user end can see, that is, the first VR display interface, and the display interface that the training management end can see, that is, the second VR display interface, and determine the center point of the first VR display interface, that is, the first center point, and the center point of the second VR display interface, that is, the second center point. Then, the first VR display interface is superimposed on the second VR display interface in a way that the first center point and the second center point coincide with each other.

[0125] Then, the server will capture the overlapping area of ​​the first VR display interface and the second VR display interface to obtain a VR captured image, and determine the image frame of the VR captured image as the VR perspective frame. Then, the top view of the modified display model is obtained, the contour center point of the power contour corresponding to the reference unit is determined, and the initial repair image in the VR perspective frame is determined in the top view with the contour center point as the center.

[0126] In step S106, the following contents are included:

[0127] When it is determined that any power cell located in the modified display model is not included in the initial repair image, the power cell is determined as an edge cell, and the scaling ratio corresponding to the initial repair image is determined based on the relative position relationship between all existing edge cells and the reference cell.

[0128] For example, in this embodiment, since the viewing angle of the training user terminal is limited, it will not be possible to fully see all the power units in the corrected display model when viewing through the VR terminal, that is, the initial repair image obtained by the server may only contain part of the power units and lack integrity.

[0129] Therefore, in this embodiment, the server will determine whether all the power units in the revised display model are included in the initial repair image. When the server determines that the power units in the revised display model are not completely included in the initial repair image, these power units will be determined as edge units, and the scaling ratio of the initial repair image will be determined according to the relative position relationship between all edge units and reference units, so that after scaling the initial repair image, all the power units in the revised display model can be included, ensuring a certain degree of integrity, which is convenient for subsequent training user terminals and training management terminals to view.

[0130] Furthermore, the above-mentioned “determining the scaling ratio corresponding to the initial repaired image based on the relative position relationship between all existing edge units and the reference unit” further includes the following steps:

[0131] Dividing the upper view into regions based on the power contour corresponding to the reference unit to obtain an upper view region corresponding to the north, an upper view region corresponding to the east, an upper view region corresponding to the south, and an upper view region corresponding to the west;

[0132] Respectively obtain the first contour widths of the power contours respectively corresponding to the edge units located in the upper viewing area corresponding to the north direction in the vertical direction, and obtain the second contour widths of the power contours respectively corresponding to the edge units located in the upper viewing area corresponding to the south direction in the vertical direction;

[0133] Respectively obtain the first contour lengths of each power contour corresponding to each edge unit located in the upper viewing area corresponding to the west in the horizontal direction, and obtain the second contour lengths of each power contour corresponding to each edge unit located in the upper viewing area corresponding to the east in the vertical direction;

[0134] The first contour widths and the second contour widths are summed up to obtain a first width total value and a second width total value, and the width total value with the largest corresponding width is determined as a reference scaling width;

[0135] The first contour lengths and the second contour lengths are summed up to obtain a first length total value and a second length total value, and the total length value with the largest corresponding length is determined as a reference scaling length;

[0136] Obtaining the image width in the vertical direction and the image length in the horizontal direction of the initial restoration image, and determining the proportions based on the image width, the reference zoom width, the image length, and the reference zoom length, respectively, to obtain the width proportion and the length proportion;

[0137] The ratio of the width ratio and the length ratio with the largest corresponding value is determined as the scaling ratio.

[0138] For example, in this embodiment, after the server determines each edge unit, in order to prevent the subsequent omission of a certain edge unit, the server divides the upper view into regions according to the power contour corresponding to the reference unit, thereby obtaining four upper viewing areas, namely, the upper viewing area corresponding to the north, the upper viewing area corresponding to the east, the upper viewing area corresponding to the south, and the upper viewing area corresponding to the west. Through this division method, the server can determine all edge units located in each upper viewing area, avoid omissions, and facilitate the subsequent server to calculate the contour width or contour length of the edge units in each upper viewing area.

[0139] Then, the server will obtain the width of each power contour corresponding to each edge unit in the upward viewing area located in the north direction, that is, each first contour width; and obtain the width of each power contour corresponding to each edge unit in the upward viewing area located in the south direction, that is, each second contour width. The server will also obtain the length of each power contour corresponding to each edge unit in the upward viewing area located in the west direction, that is, each first contour length; and obtain the length of each power contour corresponding to each edge unit in the upward viewing area located in the east direction, that is, each second contour length, as shown in FIG. Figure 4 shown.

[0140] Then, the server will sum up the widths of each first contour and each second contour respectively to obtain the total value of the first width and the total value of the second width, and determine the total value of the width with the largest corresponding width as the reference zoom width, so as to ensure that the subsequent image can accommodate all edge units in the upper viewing area in the north and south after zooming. For example, there are three edge units located in the upper viewing area in the north, and the first contour widths of the power contours of these three edge units in the vertical direction are 1, 1, and 1 respectively, then the total value of the first width is 3; there are also two edge units located in the upper viewing area in the south, and the first contour widths of the power contours of these two edge units in the vertical direction are 2 and 2 respectively, then the total value of the second width is 4. Since the total value of the second width is greater than the total value of the first width, the total value of the second width is the reference zoom width.

[0141] Next, the server will sum up the lengths of each first contour and each second contour respectively to obtain the total value of the first length and the total value of the second length, and determine the total value of the corresponding maximum length as the benchmark scaling length. This ensures that subsequent images can accommodate all edge units in the upper viewing area to the east and west after scaling is completed.

[0142] Then, the server obtains the image width in the vertical direction and the image length in the horizontal direction of the initial repaired image, and calculates the ratio of the image width to the reference zoom width to obtain the width ratio; and then calculates the ratio of the image length to the reference zoom length to obtain the length ratio.

[0143] For example, if the image width is 2 and the image length is 3, the width ratio is 2 / 3 and the length ratio is 3 / 4. In order to ensure that all edge units can be included in the initial repaired image after scaling, the server will determine the maximum corresponding ratio of the width ratio and the length ratio as the scaling ratio.

[0144] This embodiment calculates the sum of the outline lengths or outline widths of all edge units in each upper viewing area, further determines the largest value as the reference zoom length and reference zoom width, and then calculates the corresponding proportions to finally determine the zoom ratio. This ensures that after the subsequent initial restoration image is zoomed, the corresponding supplementary display area generated later can accommodate all edge units corresponding to the same upper viewing area, ensuring a certain degree of integrity.

[0145] Furthermore, the above-mentioned “dividing the upper view into regions based on the power profile corresponding to the reference unit to obtain an upper view region corresponding to the north, an upper view region corresponding to the east, an upper view region corresponding to the south, and an upper view region corresponding to the west” further includes the following steps:

[0146] Acquire each contour vertex located on the power contour, wherein each contour vertex includes an upper left contour point, an upper right contour point, a lower right contour point, and a lower left contour point;

[0147] Establish upper left contour points, upper right contour points, lower right contour points and lower left contour points and connect them with the image frame of the top view based on horizontal or vertical line segments respectively, and divide the top view into regions based on the obtained connecting lines of each region to obtain an upper viewing area corresponding to the north, an upper viewing area corresponding to the east, an upper viewing area corresponding to the south and an upper viewing area corresponding to the west.

[0148] For example, in this embodiment, when the server divides the upper view into regions, it first obtains each vertex on the power contour, that is, each contour vertex, which are the upper left contour point, the upper right contour point, the lower right contour point and the lower left contour point.

[0149] Then, the server will establish upper left contour points, upper right contour points, lower right contour points and lower left contour points and connect them with the image frame of the upper view based on horizontal or vertical line segments, so as to generate connecting lines for each area, and divide the upper view into regions based on this, so as to obtain the upper view area corresponding to the north, the upper view area corresponding to the east, the upper view area corresponding to the south and the upper view area corresponding to the west, such as Figure 5 shown.

[0150] In step S108, the following contents are included:

[0151] The initial repaired image with a first size is scaled based on the scaling ratio, and a supplementary display area is generated around a scaled repaired area with a second size obtained by scaling, so as to obtain a supplementary repaired image with the first size.

[0152] For example, in this embodiment, the current size of the initial repaired image is the first size. After determining the scaling ratio, the server will scale the initial repaired image of the first size according to the scaling ratio. After the scaling is completed, the size of the initial repaired image is the second size. Then, the server will generate a supplementary display area outside the scaled repair area of ​​the second size, thereby obtaining a supplementary repaired image of the first size.

[0153] In step S110, the following contents are included:

[0154] Based on the supplementary display strategy, the edge unit is filled into the supplementary display area to obtain a current repaired image corresponding to the VR perspective frame, and the current repaired image is sent to the training management end for display.

[0155] For example, in this embodiment, the server will fill the edge units into the supplementary display area based on the supplementary display strategy, so that both the training management end and the training user end can completely see all the power units selected by the training user end, thereby obtaining the current repair image corresponding to the VR perspective frame, and sending the current repair image to the training management end for display for the training management personnel to view.

[0156] Furthermore, the above-mentioned “filling the edge unit into the supplementary display area based on the supplementary display strategy to obtain a current repaired image corresponding to the VR perspective frame” further includes the following steps:

[0157] Determine the unit distances between each edge unit located in the same upper viewing area and the reference unit in the upper view, and sort the distances from near to far based on the unit distances to obtain edge sequences corresponding to different upper viewing areas;

[0158] Determine, in the supplementary display area, display sub-areas corresponding to the same direction as the upper viewing areas, and determine edge units corresponding to the display sub-areas;

[0159] Extending the power contours corresponding to the edge units respectively away from the contour lines of the zoom repair area to obtain first reference positioning lines;

[0160] Determine the area connection lines corresponding to different display sub-areas as second reference positioning lines, and determine the contour lines of the power contours corresponding to the edge units and close to the zoom repair area as moving positioning lines;

[0161] Mapping each leading edge unit in each edge sequence to a corresponding display sub-area along a corresponding direction, so that a moving positioning line of the leading edge unit coincides with a corresponding second reference positioning line;

[0162] The remaining edge units in each edge sequence are mapped to the corresponding display sub-area in sequence along the corresponding direction according to the edge sequence, so that the moving positioning line of the corresponding front edge unit coincides with the first reference positioning line of the corresponding rear edge unit, and a current repaired image corresponding to the VR viewing angle frame is obtained.

[0163] For example, in this embodiment, the server will determine the distance between each edge unit and the reference unit in the same upper viewing area in the upper view, that is, the unit distance, and sort the edge units from near to far according to the size of the unit distance, thereby obtaining edge sequences corresponding to different upper viewing areas.

[0164] Then, the server will generate line segments in the supplementary display area in the same manner as the area connection lines, thereby establishing each display sub-area corresponding to each upper viewing area, and then determining each edge unit located in each upper viewing area corresponding to each display sub-area, and then the server will extend the contour line farthest from the zoom repair area in each edge unit to both sides, thereby obtaining each first reference positioning line. Then, each area connection line of each display sub-area is determined as each second reference positioning line, and the contour line closest to the zoom repair area in each edge unit is determined as the moving positioning line.

[0165] Next, the server will map the leading edge unit in each edge sequence to the display sub-area corresponding to the edge unit along the corresponding direction. The specific mapping position is that the moving positioning line of the edge unit coincides with the second reference positioning line of the corresponding display sub-area. Then, the remaining edge units in each edge sequence are mapped to the corresponding display sub-area in sequence according to the edge sequence along the corresponding direction. The final mapping effect is that the moving positioning line of the leading edge unit coincides with the first reference positioning line of the trailing edge unit. This can not only shorten the mutual distance between the edge units, but also reflect the relative position between the edge units, such as Figure 6 At this point, the server obtains the current repaired image corresponding to the VR perspective frame.

[0166] Furthermore, the above method further comprises the following steps:

[0167] Determine each contour line of the zoom repair area as each reference display line, and determine a first endpoint and a second endpoint located at both ends of the reference display line;

[0168] Based on the first endpoint and the second endpoint, a first reference limit line and a second reference limit line are generated, which are located on both sides of the reference display line and are perpendicular to the reference display line, and an area between the two reference limit lines is determined as a reference area;

[0169] Determine whether each edge unit in the display sub-area is in the corresponding reference area, and determine each edge unit that is not in the corresponding reference area as a unit adjustment group;

[0170] Grouping the unit adjustment groups to obtain a first adjustment group close to the first reference limit line and a second adjustment group close to the second reference limit line;

[0171] Each edge unit in the first adjustment group is adjusted to be located in the reference area and aligned with the first reference limit line, and each edge unit in the second adjustment group is adjusted to be located in the reference area and aligned with the second reference limit line.

[0172] For example, in this embodiment, since one or more edge units may appear in the upper left corner, upper right corner, lower left corner or lower right corner of the current repaired image, this will cause the training management end to be unable to distinguish the specific area locations where these edge units are located when performing corresponding viewing. Therefore, the server will determine the contour lines of the scaled repair area as respective baseline display lines, and determine the first endpoint and the second endpoint located at both ends of the baseline display line, and then generate line segments located on both sides of the baseline display line and perpendicular to the baseline display line at the first endpoint and the second endpoint, respectively, namely the first baseline limit line and the second baseline limit line.

[0173] Then, the server will determine the area between the two baseline limit lines as the baseline area, thereby determining whether each edge unit in the display sub-area is in the baseline area, and determine each edge unit that is not in the baseline area as a unit adjustment group. Next, the server will group the unit adjustment groups to obtain a first adjustment group that is closer to the first baseline limit line and a second adjustment group that is closer to the second baseline limit line. Thus, each edge unit in the first adjustment group is adjusted to a position in the baseline area that fits the first baseline limit line, and each edge unit in the second adjustment group is adjusted to a position in the baseline area that fits the second baseline limit line. Figure 7 shown.

[0174] The adjustment of the edge units in this embodiment enables the training management end to clearly identify the specific area where each edge unit is located when performing corresponding checks, thereby improving corresponding work efficiency.

[0175] Furthermore, after the current repair image is sent to the corresponding training management end, the training management end needs to perform corresponding training inspections on each power unit and each edge unit in the current repair image. In order to greatly improve the inspection efficiency of the corresponding training inspection, in this embodiment, the following solutions may also be included:

[0176] Determine the zoom repair area as an automatic verification area, and determine the supplementary display area located outside the zoom repair area as a manual verification area;

[0177] In the initial training model, all power units corresponding to correct operation interactions are hidden, and operation adjustments are made to all remaining power units corresponding to incorrect operation interactions from incorrect operation interactions to correct operation interactions;

[0178] Capturing images of the initial training model to obtain inspection and comparison images;

[0179] Determine a unit area corresponding to a reference unit in the inspection and comparison image, and determine an area of ​​the VR viewing angle frame for the inspection and comparison image with the unit area as the center to obtain a first comparison area;

[0180] Determine other remaining areas outside the first comparison area in the inspection comparison image as a second comparison area, and scale the first comparison area based on the scaling ratio to obtain a third comparison area;

[0181] Compare the third comparison area with the automatic verification area to determine a first power unit difference value between the two, and send the second comparison area to the training management end to obtain a second power unit difference value determined by the training management end based on the regional comparison between the second comparison area and the manual verification area;

[0182] The first unit difference value and the second power unit difference value are numerically fused to obtain a difference evaluation value.

[0183] For example, in this embodiment, in order to realize the rapid verification of the current repair image uploaded by the training user terminal, the current repair image can be divided based on the image characteristics of the current repair image. Since the zoom repair area in the current repair image does not undergo other image processing except for the corresponding size scaling, and the supplementary display area in the current repair image is filled with corresponding edge units through the supplementary display strategy, that is, the corresponding image processing is performed, therefore, the zoom repair area can be determined as the corresponding automatic verification area (that is, the server is used to verify each power unit of the erroneous interactive operation), and the supplementary display area is determined as the corresponding manual verification area (that is, the training management terminal, for example, manually performs the verification of each power unit of the interactive operation);

[0184] When performing corresponding checks based on different areas, in order to determine the power units corresponding to the erroneous interaction operations in the initial training model, the other power units corresponding to the correct interaction operations can be hidden, and all the remaining power units can be adjusted, that is, the original erroneous interaction operations are converted into correct interaction operations;

[0185] At the same time, the initial training model is imaged to obtain a corresponding inspection and comparison image. Here, the inspection and comparison image can be obtained based on an upward viewing angle;

[0186] After obtaining the corresponding inspection comparison image, since the reference unit selected by the training user may correspond to a correct interactive operation or an incorrect interactive operation, it is necessary to determine the unit area corresponding to the reference unit in the inspection comparison image, and further determine the area corresponding to the aforementioned VR perspective frame of the inspection comparison image with the unit area as the center to obtain the first comparison area;

[0187] The obtained first comparison area can be further scaled based on the scaling ratio to obtain a third comparison area corresponding to the automatic verification area, and the remaining area other than the first comparison area in the inspection comparison image can also be determined as the second comparison area;

[0188] Here, since the third comparison area has the same size as the automatic verification area, and all power units included in the third comparison area are adjusted accordingly, the server can perform an automatic regional comparison based on each power unit located in the third comparison area and each power unit located in the automatic verification area, and then determine the first power unit difference value based on the comparison result between the two;

[0189] At the same time, since the size of the second comparison area is different from that of the manual verification area, the second comparison area needs to be sent to the training management end for manual area comparison to obtain the corresponding second power unit difference value;

[0190] Finally, by numerically fusing the first power unit difference value with the second power unit difference value, a difference evaluation value corresponding to the training user end is obtained;

[0191] It should be noted that, in the present embodiment, the acquisition of the difference value of the first power unit and the difference value of the second power unit can be completed based on the same evaluation strategy. For example, the same evaluation coefficient can be set for each power unit, such as 1. When the power unit selected by the training user terminal is correct, or the modification to the power unit is wrong, the evaluation scores will be accumulated. That is, the better the training results of the training user terminal, the lower the corresponding evaluation score. By determining the difference evaluation value corresponding to each training user terminal in a reverse manner, the calculation method is relatively simple and can reduce the corresponding data processing amount.

[0192] In summary, in this embodiment, the training management end can perform training configuration on each power unit through the server, and the present invention is provided with an operation interaction interface. The training management end only needs to select the first operation area or the second operation area, and the server can automatically change the state of the configuration unit to the corresponding interactive operation. The interface is clear and the operation is simple. The present invention will also configure power units in different states to different pixel values, so that the training management end can quickly perform preliminary identification on the power unit selected by the training user end. In order for the training management end and the training user end to see the same interface, the present invention will determine the initial repair image and based on all existing edge units The relative position relationship with the reference unit determines the scaling ratio corresponding to the initial repair image and scales it, so as to obtain the scaled repair area, and then generates a supplementary display area outside the scaled repair area, and the edge unit can be filled into the supplementary display area. In this way, it can be ensured that all power units selected by the training user end can be included in the current repair image, and then the current repair image is sent to the training management end for display; it can be seen that the present invention not only improves the corresponding training effect, but also increases the training communication between different terminal users, improves the enthusiasm of the training user end for learning, and the display effect of the training management end for training.

[0193] Another embodiment of the present invention provides a power system digital twin simulation training system, Figure 8 As the corresponding system block diagram, the system includes:

[0194] A training configuration module is configured to send the initial training model after training configuration to the training user terminal in response to the training signal sent by the training management terminal, and fill all power cells into the revised display model based on the cell positions of all power cells selected by the training user terminal;

[0195] An image acquisition module is configured to acquire an image of a VR perspective frame of the modified display model with the reference unit as the center in response to the training user terminal determining any power unit in the modified display model as a reference unit, to obtain an initial repaired image;

[0196] a ratio determination module configured to, when determining that any power unit located in the modified display model is not included in the initial restoration image, determine the power unit as an edge unit, and determine a scaling ratio corresponding to the initial restoration image based on a relative positional relationship between all existing edge units and the reference unit;

[0197] An image scaling module is configured to scale the initial repaired image having a first size based on the scaling ratio, and generate a supplementary display area around the scaled repaired area having a second size obtained by scaling, to obtain a supplementary repaired image having the first size;

[0198] The supplementary display module is configured to fill the edge unit into the supplementary display area based on the supplementary display strategy, obtain a current repaired image corresponding to the VR perspective frame, and send the current repaired image to the training management end for display.

[0199] For example, in this embodiment, the above-mentioned power system digital twin simulation training system can also be based on the following Fig. 9 The physical equipment structure diagram shown in the figure is used to achieve this, where the equipment structure diagram includes motion equipment, background machines, MMS switches, SV / GOOSE switches, virtual intelligent terminals, virtual merging units and simulation underlying support. The power system digital twin simulation training system can be integrated into the corresponding comprehensive panel cabinet, which cleverly integrates digital technology, virtual and real combinations, simulation technology and three-dimensional models. It has the functions of smart substation renovation and expansion verification, automation training, protection training, etc., and highly restores the actual operation and operation scenarios of smart substations, creating a comprehensive and efficient training environment for automation and protection maintenance personnel, and also creating an accurate and reliable learning verification platform for power professionals.

[0200] For example, in this embodiment, based on the above-mentioned power system digital twin simulation training system, one or more actual devices among corresponding protection devices, measurement and control devices, merging units, and intelligent terminals are also provided, so that the simulation devices can be linked to build a single-bay or cross-bay virtual and real cabinet for users, where, for example Fig.10 As shown, the power system digital twin simulation training system of this embodiment can abstractly model the power equipment according to its equipment attributes and internal logical characteristics, so that it can support GOOSE, SV, MMS, analog output and hard node input and output signal interaction, and also freely support the download and upload of CCD and CID files; and the corresponding power data simulation engine can also provide a primary data source for the simulation equipment through flow calculation and fault simulation, realize its data linkage, and can also support the simulation of primary and secondary faults.

[0201] The present invention also includes the following features:

[0202] 1) Equipment simulation algorithm flow model engine: introduces flow calculation to realize equipment operation data simulation and parameter automatic configuration, and improves the authenticity of the virtual environment. Analyze the physical laws of protection, measurement and control, switches, knife switches, mutual inductors and other equipment, and build the algorithm model of the equipment; it has an advanced configuration platform, a calculation step of 20ms, a built-in real-time database, and is efficient and stable; introduces advanced flow simulation technology, supports the calculation scale of millions of nodes; has built-in five-protection locking logic; and has built-in one-button sequential control model.

[0203] 2) 3D digital twin: Digital twin technology builds a virtual twin that is highly consistent with the actual substation, providing trainees with an immersive training experience and a highly simulated practical training environment. Combined with AI-generated power models, it integrates basic data and monitoring information of operating power stations to build a power system model that accurately reflects the real world and simulates the operating status and system principles.

[0204] 3) Full loop visualization: Based on the SCD file, obtain the virtual terminals of the equipment and the virtual loop connection relationship; through the process layer virtual loop modeling, fully reproduce the data flow, show the impact of the physical fiber connection loop failure on the secondary system, and realize full link data monitoring. Centered on the device, display the virtual terminal connection relationship between devices, and support viewing the connection details between virtual terminals; based on the virtual loop, fully reproduce the data flow between virtual terminals, and support viewing the data details of any virtual terminal, including voltage, current, switch status, temperature, etc.; support multiple virtual loop fault playback, such as virtual terminal association errors, virtual terminal association omissions, virtual terminal duplicate subscription and other common faults; support equipment maintenance mechanism and secondary safety measures preview.

[0205] 4) Combination of virtual and real: virtual and real technology is used to introduce actual protection / measurement and control devices, provide real operation experience of the devices, and enhance practical operation ability. The physical interval is connected to the actual protection device through digital-to-analog conversion and voltage and current amplifier plug-in, and other secondary devices are digitally simulated. Through power flow calculation and fault simulation, the action signal of the actual protection and the telemetry and telesignaling values ​​of the measurement and control device and the simulation data of other secondary devices are sent to the monitoring background and telecontrol device through MMS, realizing simulation, testing and operation training of the whole station.

[0206] The practical exercises include the following scenarios:

[0207] Reconstruction and expansion plan preview: supports comparison of differences in SCD files before and after reconstruction and expansion; adopts digital-analog hybrid technology, supports linkage with actual protection and measurement and control devices, and dynamically verifies the connection relationship of secondary virtual terminals. It is suitable for testing and verification of telecontrol devices and monitoring backgrounds of new or expanded substations to ensure the reliability of equipment and systems; supports remote sequential control of master and substations, and one-key sequential control at the station end without power outage test verification, reducing power outage time and improving verification accuracy.

[0208] Primary and secondary equipment principle structure and operation training: Through 3D visualization technology, highly realistic power equipment models are constructed, so that trainees can accurately grasp the appearance, internal working principles, specific locations of various components and the relationship between primary and secondary power equipment. Highlight the smallest maintenance unit, simulate the circuit breaker opening and closing operation, observe the changes in the internal electrical connections of the circuit breaker, the movement of mechanical components, etc. in real time, and analyze and deal with various problems that may arise during the operation.

[0209] Inspection training: Build a highly realistic substation virtual environment, accurately restore the equipment layout, building structure and surrounding environment in the station. Trainees can conduct immersive inspection practice in this virtual scene to check equipment failures, appearance defects and abnormal operating parameters.

[0210] Simulation training on the use of safety tools: Through digital twin technology, trainees can simulate and learn to use tools such as insulating shoes, insulating gloves, grounding wires, testers, and other electrical safety tools and mechanical safety devices in a virtual environment.

[0211] Practical training on the integration of automation technology: Conduct practical training on the linkage operation of the integrated automation background, remote control and anti-error host, train on station-side and remote sequential control, and strengthen maintenance and troubleshooting training on the integrated automation system.

[0212] The present invention integrates a variety of advanced technologies, such as digital twin technology, data flow visualization technology, virtual-reality combination technology, etc., to construct a highly realistic and comprehensive power system simulation training environment, which is relatively novel in the existing technology.

[0213] The introduction of power flow calculation and advanced configuration platform realizes equipment operation data simulation and parameter automatic configuration, which improves the authenticity of the virtual environment and the training effect, and is creative.

[0214] The three-dimensional digital twin technology combined with the large power model accurately reflects the real-world power system model and provides students with an immersive experience. This innovative application method is unique in the field of power system training.

[0215] The technical features of full-loop visualization and combination of virtual and real can fully reproduce the data flow and demonstrate the impact of physical fiber connection loop failures on the secondary system. At the same time, it provides a real operating experience of the actual protection / measurement and control device, enhances practical operation capabilities, and is significantly innovative.

[0216] In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the examples of the present invention. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages ​​can be utilized to implement the content of the present invention described herein, and the above description of specific languages ​​is for the purpose of disclosing the preferred embodiment of the present invention.

[0217] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0218] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof.

[0219] Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in the devices described in the embodiment, or alternatively may be located in one or more devices different from the devices in the examples. The modules in the foregoing examples may be combined into one module or may be divided into multiple submodules.

[0220] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of submodules or subunits or subcomponents.

[0221] Furthermore, those skilled in the art will appreciate that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features from different embodiments is meant to be within the scope of the present invention and to form different embodiments.

[0222] In addition, some of the embodiments are described herein as methods or combinations of method elements that can be implemented by a processor of a computer system or by other devices that perform the functions. Therefore, a processor with necessary instructions for implementing the method or method elements forms a device for implementing the method or method elements. In addition, the elements described herein of the device embodiments are examples of devices for implementing the functions performed by the elements for the purpose of implementing the invention.

[0223] As used herein, unless otherwise specified, the use of ordinal numbers "first," "second," "third," etc. to describe common objects merely indicates that different instances of similar objects are involved, and is not intended to imply that the objects so described must have a given order in time, space, order, or in any other manner.

[0224] Although the present invention has been described according to a limited number of embodiments, it will be apparent to those skilled in the art, with the benefit of the above description, that other embodiments may be envisioned within the scope of the invention thus described. In addition, it should be noted that the language used in this specification is primarily selected for readability and instructional purposes, rather than for explaining or limiting the subject matter of the present invention.

Claims

1. A power system digital twin simulation training method, characterized in that: The following steps are involved: In response to a training signal sent by the training management terminal, an initial training model configured by training is sent to the training user terminal, and all power cells are respectively filled into the revised display model based on the cell positions of all power cells selected by the training user terminal; In response to the training user terminal determining any power unit in the modified display model as a reference unit, an image of a VR perspective frame is acquired for the modified display model with the reference unit as the center to obtain an initial repaired image; When it is determined that any power cell located in the modified display model is not included in the initial restoration image, the power cell is determined as an edge cell, and a scaling ratio corresponding to the initial restoration image is determined based on a relative positional relationship between all existing edge cells and the reference cell; Scaling the initial repaired image with a first size based on the scaling ratio, and generating a supplementary display area around the scaled repaired area with a second size obtained by scaling, to obtain a supplementary repaired image with the first size; Based on the supplementary display strategy, the edge unit is filled into the supplementary display area to obtain a current repaired image corresponding to the VR perspective frame, and the current repaired image is sent to the training management end for display.

2. The power system digital twin simulation training method according to claim 1 is characterized in that: In response to the training signal sent by the training management terminal, the initial training model configured by the training is sent to the training user terminal, and all the power units are filled into the revised display model based on the unit positions of all the power units selected by the training user terminal, including: Creating an initial training model including each power unit and sending it to the training management end for display, and in response to the configuration interaction of any power unit by the training management end, changing the state of the power unit to complete the training configuration of the power unit; In response to a configuration completion signal sent by the training management terminal, the initial training model is sent to the training user terminal for display; In response to the training user terminal performing a selection interaction on any power unit for a first preset time, determining the power unit as a selection determination group; In response to a selection completion signal sent by the training user terminal, determining a model framework corresponding to the initial training model, and generating a revised presentation model based on the model framework; The initial training model is processed by coordinate conversion, and the unit positions corresponding to the power units in the selected determination group are determined, and the corresponding power units are generated in the modified display model based on the unit positions.

3. The power system digital twin simulation training method according to claim 2 is characterized in that: In response to the configuration interaction performed by the training management end on any power unit, the state of the power unit is changed to complete the training configuration of the power unit, including: In response to the training management terminal performing a selection interaction on any power unit for a second preset time, determining the power unit as a configuration unit; Retrieving an operation interaction interface corresponding to the configuration unit and displaying it to the training management terminal, wherein the operation interaction interface includes a first operation area corresponding to a correct interaction operation and a second operation area corresponding to an incorrect interaction operation; Determine the selection of the operation area performed by the training management end based on the operation interaction interface, and change the state of the configuration unit corresponding to the interactive operation.

4. The power system digital twin simulation training method according to claim 3 is characterized in that: The method further comprises: When the training management terminal selects the first operation area based on the operation interaction interface, the state of the configuration unit is changed based on the correct interaction operation, and a label of the configuration unit is set with a correct label; When the training management terminal selects the second operation area based on the operation interaction interface, the configuration unit is changed in state based on the erroneous interaction operation, and an error label is set for the configuration unit; Generate a rectangular-shaped power contour surrounding each power cell, and configure the power contour corresponding to the power cell with a correct label with a first pixel value, and configure the power contour corresponding to the power cell with an incorrect label with a second pixel value; The power profile is configured to be profile-hidden in the initial training model, and is configured to be profile-displayed in the revised presentation model.

5. The power system digital twin simulation training method according to claim 4 is characterized in that: The image of the modified display model is acquired in a VR perspective frame with the reference unit as the center to obtain an initial repaired image, including: Acquire a first VR display interface corresponding to the training user terminal and a second VR display interface corresponding to the training management terminal, and respectively determine a first center point corresponding to the first VR display interface and a second center point corresponding to the second VR display interface; Overlaying the first VR display interface on the second VR display interface in a manner that the first center point coincides with the second center point; Based on the overlapping portion of the first VR display interface and the second VR display interface, an image is captured to obtain a VR captured image corresponding to the overlapping portion, and an image frame of the VR captured image is determined as a VR viewing angle frame; Acquire a top view corresponding to the modified display model, and determine a contour center point based on a power contour corresponding to the reference unit, In the top view, an initial repaired image corresponding to the VR viewing angle frame is determined with the contour center point as the center.

6. The power system digital twin simulation training method according to claim 5 is characterized in that: Determining a scaling ratio corresponding to the initial repaired image based on a relative position relationship between all existing edge units and the reference unit includes: Dividing the upper view into regions based on the power contour corresponding to the reference unit to obtain an upper view region corresponding to the north, an upper view region corresponding to the east, an upper view region corresponding to the south, and an upper view region corresponding to the west; Respectively obtain the first contour widths of the power contours respectively corresponding to the edge units located in the upper viewing area corresponding to the north direction in the vertical direction, and obtain the second contour widths of the power contours respectively corresponding to the edge units located in the upper viewing area corresponding to the south direction in the vertical direction; Respectively obtain the first contour lengths of each power contour corresponding to each edge unit located in the upper viewing area corresponding to the west in the horizontal direction, and obtain the second contour lengths of each power contour corresponding to each edge unit located in the upper viewing area corresponding to the east in the vertical direction; The first contour widths and the second contour widths are summed up to obtain a first width total value and a second width total value, and the width total value with the largest corresponding width is determined as a reference scaling width; The first contour lengths and the second contour lengths are summed up to obtain a first length total value and a second length total value, and the total length value with the largest corresponding length is determined as a reference scaling length; Obtaining the image width in the vertical direction and the image length in the horizontal direction of the initial restoration image, and determining the proportions based on the image width, the reference zoom width, the image length, and the reference zoom length, respectively, to obtain the width proportion and the length proportion; The ratio of the width ratio and the length ratio with the largest corresponding value is determined as the scaling ratio.

7. The power system digital twin simulation training method according to claim 6 is characterized in that: The upper view is divided into regions based on the power contour corresponding to the reference unit to obtain an upper view region corresponding to the north, an upper view region corresponding to the east, an upper view region corresponding to the south, and an upper view region corresponding to the west, including: Acquire each contour vertex located on the power contour, wherein each contour vertex includes an upper left contour point, an upper right contour point, a lower right contour point, and a lower left contour point; Establish upper left contour points, upper right contour points, lower right contour points and lower left contour points and connect them with the image frame of the top view based on horizontal or vertical line segments respectively, and divide the top view into regions based on the obtained connecting lines of each region to obtain an upper viewing area corresponding to the north, an upper viewing area corresponding to the east, an upper viewing area corresponding to the south and an upper viewing area corresponding to the west.

8. The power system digital twin simulation training method according to claim 7 is characterized in that: Filling the edge unit into the supplementary display area based on the supplementary display strategy to obtain a current repaired image corresponding to the VR perspective frame includes: Determine the unit distances between each edge unit located in the same upper viewing area and the reference unit in the upper view, and sort the distances from near to far based on the unit distances to obtain edge sequences corresponding to different upper viewing areas; Determine, in the supplementary display area, display sub-areas corresponding to the same direction as the upper viewing areas, and determine edge units corresponding to the display sub-areas; Extending the power contours corresponding to the edge units respectively away from the contour lines of the zoom repair area to obtain first reference positioning lines; Determine the area connection lines corresponding to different display sub-areas as second reference positioning lines, and determine the contour lines of the power contours corresponding to the edge units and close to the zoom repair area as moving positioning lines; Mapping each leading edge unit in each edge sequence to a corresponding display sub-area along a corresponding direction, so that a moving positioning line of the leading edge unit coincides with a corresponding second reference positioning line; The remaining edge units in each edge sequence are mapped to the corresponding display sub-area in sequence along the corresponding direction according to the edge sequence, so that the moving positioning line of the corresponding front edge unit coincides with the first reference positioning line of the corresponding rear edge unit, and a current repaired image corresponding to the VR viewing angle frame is obtained.

9. The power system digital twin simulation training method according to claim 8 is characterized in that: The method further comprises: Determine each contour line of the zoom repair area as each reference display line, and determine a first endpoint and a second endpoint located at both ends of the reference display line; Based on the first endpoint and the second endpoint, a first reference limit line and a second reference limit line are generated, which are located on both sides of the reference display line and are perpendicular to the reference display line, and an area between the two reference limit lines is determined as a reference area; Determine whether each edge unit in the display sub-area is in the corresponding reference area, and determine each edge unit that is not in the corresponding reference area as a unit adjustment group; Grouping the unit adjustment groups to obtain a first adjustment group close to the first reference limit line and a second adjustment group close to the second reference limit line; Each edge unit in the first adjustment group is adjusted to be located in the reference area and aligned with the first reference limit line, and each edge unit in the second adjustment group is adjusted to be located in the reference area and aligned with the second reference limit line.

10. A power system digital twin simulation training system, characterized in that: include: A training configuration module is configured to send the initial training model after training configuration to the training user terminal in response to the training signal sent by the training management terminal, and fill all power cells into the revised display model based on the cell positions of all power cells selected by the training user terminal; An image acquisition module is configured to acquire an image of a VR perspective frame of the modified display model with the reference unit as the center in response to the training user terminal determining any power unit in the modified display model as a reference unit, to obtain an initial repaired image; a ratio determination module configured to, when determining that any power unit located in the modified display model is not included in the initial restoration image, determine the power unit as an edge unit, and determine a scaling ratio corresponding to the initial restoration image based on a relative positional relationship between all existing edge units and the reference unit; An image scaling module is configured to scale the initial repaired image having a first size based on the scaling ratio, and generate a supplementary display area around the scaled repaired area having a second size obtained by scaling, to obtain a supplementary repaired image having the first size; The supplementary display module is configured to fill the edge unit into the supplementary display area based on the supplementary display strategy, obtain a current repaired image corresponding to the VR perspective frame, and send the current repaired image to the training management end for display.

Citation Information

Patent Citations

  • APP application method for electric power system simulation model

    CN103729494A

  • Power skill training platform based on virtual reality technology

    CN106485973A