A virtual reality simulation method and system for power substations

Through virtual reality technology, the simulation scenarios and processes of the power station area are dynamically created, and the problem of solidification of existing simulation tasks is solved, flexible updates and multi-dimensional assessments of simulation tasks are realized, and training efficiency and quality are improved.

CN119045692BActive Publication Date: 2025-02-28STATE GRID SHANGHAI MUNICIPAL ELECTRIC POWER CO
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411545295.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-02-28
Estimated Expiration
2044-11-01

AI Technical Summary

Technical Problem

The simulation tasks and assessment items in the existing power station area are solidified and cannot be flexibly updated. The assessment dimension is simple and cannot fully reflect the training effect of the training users.

Method used

Provide a virtual reality simulation method for power station areas, dynamically deploy and update simulation tasks by creating simulation scenarios and simulation processes, configuring multi-dimensional assessment items, and immersive training through virtual reality technology.

Benefits of technology

It realizes dynamic deployment and real-time update of simulation tasks, improves simulation training efficiency, flexibly configures multi-dimensional assessment items, truly reflects the training effect of training users, and reduces training costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The present invention relates to a virtual reality simulation method and system for an electric power substation, which belongs to the field of virtual reality simulation technology and solves the problem that existing simulation tasks and assessment items are solidified and cannot be flexibly updated. It includes: creating a simulation scene in a simulation project, obtaining multiple scene objects by importing a three-dimensional model of power equipment and simulation resources; dragging multiple task nodes in an extended process editor and connecting them through lines to obtain a simulation process; writing scene objects and simulation processes into a configuration file through an extended deployment window, and uploading the executable file generated by compiling the simulation project to a server to generate simulation task information; downloading simulation task information according to the selected simulation task, parsing the scene objects and simulation processes therein, generating a virtual scene by rendering the simulation scene and superimposing and displaying the task nodes in the simulation process; ending the simulation task when all task nodes have been executed. Flexible editing and updating of simulation tasks are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of virtual reality simulation technology, and in particular to a virtual reality simulation method and system for a power substation. Background Art

[0002] Electricity is the foundation of economic construction and provides services for production and life. With the construction and development of new power systems, the demand for power talents is growing, and more and more new power talents with high-level theoretical and practical abilities need to be trained.

[0003] Simulation systems based on three-dimensional simulation and virtual reality have emerged, which solve the problems of high cost, high risk and difficulty in simulating complex operations in traditional textbook teaching and physical operation training.

[0004] However, the simulation content and assessment items of existing power substations are fixed, the simulation task managers are complex and inflexible in adjusting the simulation content, and the simulation task update cycle is long; moreover, the assessment dimensions are simple and cannot fully reflect the training effect of the training users. Summary of the invention

[0005] In view of the above analysis, an embodiment of the present invention aims to provide a virtual reality simulation method and system for a power substation, so as to solve the problem that existing simulation tasks and assessment items are fixed and cannot be flexibly updated.

[0006] On the one hand, an embodiment of the present invention provides a virtual reality simulation method for a power substation, comprising the following steps:

[0007] Create a simulation scene in the created simulation project, and obtain multiple scene objects by importing the 3D model of the power equipment and simulation resources;

[0008] Drag various task nodes in the extended process editor and connect them through lines to get the simulation process; in the task node, set its properties by introducing the scene object in the simulation scene, and promote the flow of simulation process through the output and connection of the task node;

[0009] Write the scene objects and simulation process into the configuration file through the extended deployment window, upload it to the server together with the executable file generated by compiling the simulation project, and generate simulation task information;

[0010] Download simulation task information according to the simulation task selected in the virtual training environment, and parse the scene objects and simulation process; generate a virtual scene by rendering the simulation scene and superimposing the task nodes in the simulation process; end the simulation task when all the task nodes are executed.

[0011] Based on the further improvement of the above method, the method also includes: configuring assessment standards in the task nodes of the simulation process, and recording the execution status of the task nodes in the simulation task; when the simulation task is ended in the assessment mode, the execution status of each task node is compared with the corresponding assessment standards to obtain the assessment results; the assessment standards include: valid actions, standard number of actions and standard execution time.

[0012] Based on the further improvement of the above method, the extended process editor is opened by using the first menu of the extension and is obtained by customizing the editor canvas and various task nodes.

[0013] Based on the further improvement of the above method, the first menu is obtained by creating a simulation process class that inherits NodeGraph and defining it using the CreateAssetMenu annotation; the editor canvas is obtained by creating a canvas editing class that inherits NodeGraphEditor, setting the canvas style by overriding the OnGUI method, and setting the styles of nodes, ports and connections in the canvas by overriding the OnNodeGUI method.

[0014] Based on the further improvement of the above method, task nodes include start nodes, condition nodes, action execution nodes, calculation nodes and value nodes; each type of task node is obtained by creating a node class that inherits Node, and setting the width and color of the node by defining the NodeWidth annotation and NodeTint annotation in the node class, and defining the input port, output port and connection properties of the node respectively.

[0015] Based on the further improvement of the above method, the conditional node is used to dynamically perform branch routing of subsequent task nodes according to the results of logical judgment. The input port and output port of the conditional node are dynamic input ports and dynamic output ports of the list type, which are dynamically added through the corresponding adding methods respectively; the GetValue method is rewritten in the node class of the conditional node, logical judgment is performed according to the value of the dynamic input port, and the logical judgment result is output as the value of the dynamic output port through the adding method of the dynamic output port.

[0016] Based on the further improvement of the above method, the action execution node and the value node also create a node editing class that inherits NodeEditor, and add controls for configuring scene objects and assessment standards on the node UI interface by overriding the OnBodyGUI method, and use the CustomNodeEditor property to associate the node editing class with the corresponding node class.

[0017] Based on the further improvement of the above method, the extended deployment window is opened using the extended second menu and is obtained through a customized build information entry interface and upload operation; the build information includes: project name, encryption or not, file format, build content, server environment and target platform; the upload operation is to obtain the full package or patch package of the simulation task according to the build information and upload it to the server.

[0018] Based on the further improvement of the above method, the scene objects and simulation process are written into the configuration file, including:

[0019] Obtain a list of scene objects in the simulation scene, traverse the list of scene objects to obtain components and attributes of each scene object, combine the data according to the hierarchical relationship of the scene objects, and write them into the first configuration file;

[0020] Obtain a list of task nodes in the simulation process, traverse the list of task nodes to obtain the properties of each task node and connection, and write all the obtained data into the second configuration file.

[0021] On the other hand, an embodiment of the present invention provides a virtual reality simulation system for a power substation, including:

[0022] The scene editing module is used to create simulation scenes in the created simulation project, and obtain multiple scene objects by importing the three-dimensional model of the power equipment and simulation resources;

[0023] The process editing module is used to drag various task nodes in the extended process editor and connect them through lines to obtain the simulation process; in the task node, the scene object in the simulation scene is introduced to set its properties, and the simulation process is promoted through the output and connection of the task node;

[0024] The simulation deployment module is used to write the scene objects and simulation processes into the configuration file through the extended deployment window, upload them to the server together with the executable file generated by compiling the simulation project, and generate simulation task information;

[0025] The simulation execution module is used to download the simulation task information according to the simulation task information selected in the virtual training environment, and parse the scene objects and simulation process therein; generate a virtual scene by rendering the simulation scene and superimposing the task nodes in the simulation process; and end the simulation task when all the task nodes are executed.

[0026] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:

[0027] 1. It provides a complete set of methods from simulation task production, simulation task distribution to terminal simulation operation. It creates simulation processes in a visual way, which is convenient and flexible, with strong scalability and suitable for different simulation training needs. It also realizes dynamic deployment and real-time update of simulation tasks, shortens the update cycle and improves the efficiency of simulation training.

[0028] 2. While designing the simulation process, you can also flexibly configure multi-dimensional assessment items and specify different assessment standards for tasks of different difficulty levels to avoid a one-size-fits-all assessment method and enhance the enthusiasm of training users. The assessment results of multiple dimensions can truly reflect the training effect of the training users. According to the assessment results and convenient simulation task design methods, the simulation tasks can be dynamically adjusted to achieve true teaching in accordance with students' aptitude.

[0029] 3. Through virtual reality technology, immersive training is provided for the skills required in high-risk, invisible, and unpresentable scenarios of power equipment, thereby improving training quality, improving training efficiency, and reducing training cost investment.

[0030] In the present invention, the above-mentioned technical solutions can also be combined with each other to achieve more preferred combination solutions. Other features and advantages of the present invention will be described in the subsequent description, and some advantages can become obvious from the description, or can be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The accompanying drawings are only used for the purpose of illustrating specific embodiments and are not to be considered as limiting the present invention. In the entire drawings, the same reference symbols represent the same components;

[0032] Figure 1 A flowchart of a virtual reality simulation method for a power substation in Embodiment 1 of the present invention;

[0033] Figure 2 This is a schematic diagram of the structure of a virtual reality simulation system for a power substation in Example 2 of the present invention. DETAILED DESCRIPTION

[0034] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.

[0035] Example 1

[0036] A specific embodiment of the present invention discloses a virtual reality simulation method for a power substation. Figure 1 As shown, the following steps are included:

[0037] S1. Create a simulation scene in the created simulation project, and obtain multiple scene objects by importing the three-dimensional model and simulation resources of the power equipment.

[0038] It should be noted that this embodiment uses existing 3D graphics development tools, such as Unity3D, to create a simulation scene of a power substation, including: three-dimensional models and simulation resources of one or more power equipment, where the simulation resources include: a three-dimensional model of the simulation site, text, images, audio and video and animation information of the power equipment simulation.

[0039] Specifically, first create a 3D simulation project in the 3D image development tool, then create a scene, import the three-dimensional model and simulation resources of the power equipment into it, and then generate multiple scene objects. For example: import the three-dimensional model of the high-voltage switchgear, and use each component of the switchgear as a scene object; import the three-dimensional model of the distribution room in the simulation resources, and use the walls and tables of the distribution room as a scene object; import the operation animation and sound audio in the simulation resources.

[0040] Furthermore, multiple components are added to the scene objects. For example, the position, rotation, and scale of the scene objects are configured in the Transform component; the collider of the component is added in the Collider component to associate the imported audio, video, or animation; the geometric shapes are configured in the Mesh component, etc.

[0041] It should be noted that if the 3D model of the power equipment contains the above component information, the component information will be automatically added to the corresponding scene object when it is imported. For example, if some components in the 3D model include vertex positions, normals, texture coordinates and other information, the Mesh component of the scene object will be generated at the same time as the scene object corresponding to the component is generated.

[0042] S2. Drag various task nodes in the extended process editor and connect them through lines to obtain the simulation process; in the task node, set its properties by introducing the scene object in the simulation scene, and promote the flow of the simulation process through the output and connection of the task node.

[0043] It should be noted that in order to design different simulation tasks for the same power equipment, or to design simulation tasks for one or more power equipment at the same time, this embodiment introduces the xNode framework and expands it to obtain a process editor. The simulation task manager introduces scenario objects in the task node to flexibly design simulation tasks and assessment tasks, and updates and publishes new simulation tasks at any time according to actual needs. It is simple, efficient and adaptable to different simulation scenarios. Each simulation task designed using the process editor can be managed and distributed as various training courses.

[0044] Specifically, the extended process editor is opened using the first menu of the extension and is obtained by customizing the editor canvas and various task nodes.

[0045] The first menu is obtained by creating a simulation process class that inherits NodeGraph and defining it using the CreateAssetMenu annotation.

[0046] For example, [CreateAssetMenu(fileName = "MyGraph", menuName = "Custom / CourseGraph")] means that the menu name is "MyGraph" and the menu is displayed in the "Custom / CourseGraph" path.

[0047] Furthermore, the editor canvas is obtained by creating a canvas editing class that inherits NodeGraphEditor and setting the canvas style by overriding the OnGUI method, including: whether to display a grid in the canvas, the canvas color and the toolbar; the toolbar on the canvas is used to select different types of task nodes and save simulation processes; and by overriding the OnNodeGUI method to set the styles of nodes and ports in the canvas, such as the colors of nodes and ports.

[0048] It should be noted that this embodiment extracts the task nodes in the simulation process by analyzing the operation of the power equipment.

[0049] Specifically, the operation of power equipment includes: starting and shutting down power equipment, such as transformers, generators or circuit breakers; checking the status of equipment and replacing parts; completing operations in the correct sequence, such as energy storage operation, opening and closing operations of circuit breakers; inputting equipment operating parameters or adjusting performance parameters, such as the voltage level of the transformer, the output frequency, voltage and current of the generator, etc.; inputting calibration values ​​to adjust power equipment to ensure that it operates as expected.

[0050] Furthermore, based on the above operations, the task nodes of this embodiment are divided into: start nodes, condition nodes, action execution nodes, calculation nodes and value nodes. Among them, the start node is used to indicate the starting point of the simulation process, and there must be one start node; the action execution node is used to perform specific operations, such as pressing, rotating, moving, displaying and hiding the components of the power equipment; the value node is used to input the values ​​related to the power equipment; the calculation node is used to perform mathematical calculations on the input values; the condition node is used to dynamically perform branch routing of subsequent task nodes according to the results of logical judgment.

[0051] Specifically, each type of task node is obtained by creating a node class that inherits Node, defining the NodeWidth annotation and the NodeTint annotation in the node class to set the width and color of the node, and defining the input port, output port and connection properties of the node respectively.

[0052] Furthermore, the input port and output port of the conditional node are both dynamic input ports and dynamic output ports of the list type, which are dynamically added through the corresponding adding methods respectively; the conditional node overrides the GetValue method in its node class, performs logical judgment based on the value of the dynamic input port or other numerical values, and outputs the logical judgment result as the value of the dynamic output port through the adding method of the dynamic output port.

[0053] The input port of the calculation node is also set as a dynamic input port. By overriding the GetValue method in its node class, mathematical calculations are performed based on the value of the dynamic input port and the calculation results are output as the value of the output port.

[0054] A numeric node can perform some action when the value of its input port changes by overriding the OnInputChanged method in its node class.

[0055] It should be noted that, considering that action execution nodes and value nodes are usually used to operate power equipment, and in order to facilitate operation assessment of training users, this embodiment customizes the UI interface of the action execution node.

[0056] Specifically, action execution nodes and value nodes also create node editing classes that inherit NodeEditor, and add controls for configuring scene objects and assessment standards on the node UI interface by overriding the OnBodyGUI method, and use the CustomNodeEditor property to associate the node editing class with the corresponding node class.

[0057] It should be noted that the control for configuring the scene object includes two cascaded drop-down boxes. The first drop-down box is used to select the scene object in the current simulation scene, and the second drop-down box is used to select the operation action of the scene object. The assessment criteria of this embodiment include: valid actions, standard number of actions, and standard execution time. The control for configuring the assessment criteria includes a drop-down box and two text boxes, which are used to select valid operation actions and input the standard number of actions and standard execution time. Different assessment criteria are specified for action execution nodes of different difficulty levels to avoid a one-size-fits-all assessment method and enhance the enthusiasm of training users.

[0058] It should be noted that a connection is to connect the output port of a task node to the input port of another task node, and the connection style is set by overriding the OnConnectionGUI method in the canvas editing class.

[0059] After the simulation process is designed, it can be temporarily saved through the Save Simulation Process option in the toolbar on the canvas. Saving the simulation process is to write the simulation process to a file, including: obtaining the task node list in the simulation process, traversing the task node list to obtain the properties of each task node and connection, and writing all the data into the file.

[0060] S3. Write the scene objects and simulation process into the configuration file through the extended deployment window, upload it to the server together with the executable file generated by compiling the simulation project, and generate simulation task information.

[0061] It should be noted that although the 3D graphics development tool itself has the functions of saving and compiling, and can compile simulation projects according to the selected target platform, on the one hand, the existing construction form is not enough to meet the project requirements, and on the other hand, the simulation process and simulation scene saved by the 3D graphics development tool can only be imported and used in the tool itself, and cannot be flexibly processed by external programs. Therefore, this embodiment customizes the construction information entry interface and upload operation by extending the deployment window, and obtains separate simulation process and scene objects while building the simulation project, which is convenient for parsing and using in virtual reality applications; and the construction content can be flexibly selected according to the changed content.

[0062] Specifically, the build information entry interface is obtained by creating a window editing class that inherits EditorWindow and defining the build information entry controls and upload operations by overriding the OnGUI method; the extended deployment window is opened using the extended second menu, and the second menu is created in the window editing class using the MenuItem attribute.

[0063] It should be noted that the build information includes: project name, encryption or not, file format, build content, server environment and target platform; among them, the file formats include: JSON and XML; the build content includes: all, configuration information and art resources; the server environment includes: development environment, test environment, verification environment and operation environment; the target platforms include: Android-based all-in-one VR platform and PC-based VR platform.

[0064] The upload operation includes:

[0065] Get the corresponding server address according to the server environment in the build information; get the compilation package format according to the target platform in the build information;

[0066] If the build content is configuration information, it means that only the simulation process and / or scene objects are changed. Then, according to the file format in the build information, the scene objects and simulation process are written into the configuration file corresponding to the file format; the configuration file is used as a patch package for the simulation task;

[0067] If the build content is art resources, it means that the resources associated with the simulation scene objects, such as text, images, audio, video or animation, have changed; then the build interface provided by the 3D graphics development tool is called according to the compilation package format to generate an executable file locally; the executable file is used as a patch package for the simulation task;

[0068] If the build content is all, both the executable file and the configuration file are obtained as the full package of the simulation task;

[0069] Depending on whether it is encrypted or not, the patch package or full package of the simulation task will be encrypted or not and uploaded to the preset directory corresponding to the current project according to the server address. At the same time, a simulation task information is generated in the database, recording the project name, upload time, upload directory, simulation task package format and version number.

[0070] Among them, the scene objects and simulation processes are written into the configuration file, including:

[0071] Obtain a list of scene objects in the simulation scene, traverse the scene object list to obtain the components and attributes of each scene object, combine the data according to the hierarchical relationship of the scene objects, and write them into the first configuration file; obtain a list of task nodes in the simulation process, traverse the task node list to obtain the attributes of each task node and connection, and write all the obtained data into the second configuration file.

[0072] It is worth noting that when a simulation task is built for the first time, it is uploaded in the form of a full package. If the simulation task manager subsequently makes changes to the simulation task, it can be updated in the form of a patch package based on the actual changes to improve the building and updating efficiency.

[0073] It should be noted that in this embodiment, the construction API included in the 3D graphics development tool is directly called in the upload operation to complete the construction function of the 3D graphics development tool itself; the executable file can also be generated by the build button of the 3D graphics development tool, and then the executable file in the compilation directory is obtained in the upload operation and uploaded together with the generated configuration file. For example, the Addressable Asset System is used in the Unity3D tool to manage the resources of the simulation project and build the simulation project.

[0074] Preferably, the simulation task information generated during uploading is authorized to the corresponding training user through the authority configuration of the back-end management platform.

[0075] S4. Download simulation task information according to the simulation task selected in the virtual training environment, and parse the scene objects and simulation process therein; generate a virtual scene by rendering the simulation scene and superimposing the task nodes in the simulation process; end the simulation task when all the task nodes are executed.

[0076] It should be noted that the virtual training environment includes user interfaces and interactive operations suitable for virtual reality devices, which can be developed through a variety of software tools and platforms, including but not limited to Unity, Unreal Engine, etc., which provide a wealth of development tools and resources to meet the needs of various education and training projects. Training users wear virtual reality headsets and handles, and use the handles to interact with UI controls in the user interface, such as menus and information panels, to complete corresponding operations.

[0077] Specifically, the training user enters the system by entering the correct user name and password, selects the simulation task to be trained from the authorized simulation task list, downloads the simulation task information to be trained and parses the scene objects and simulation processes therein, that is, reads the scene objects and simulation processes in the configuration file, and instantiates them into data objects for easy processing in the virtual training environment.

[0078] Preferably, when the training user starts the simulation task, he / she verifies whether the version of the downloaded simulation task information is consistent with the version of the simulation task information recorded in the database. If they are inconsistent, the simulation task package is updated according to the form: if it is a full package, the executable file is downloaded again and the configuration file is parsed again; if it is a patch package, the patch package content is identified and the executable file is downloaded again or the configuration file is parsed. This method realizes the real-time update of the simulation task, shortens the update cycle, and improves the efficiency of simulation training.

[0079] In a virtual training environment, a virtual scene is generated by rendering a simulation scene and superimposing the task nodes in the simulation process, wherein the superimposed display of the task nodes in the simulation process obtains the start node and its attributes from the data object of the simulation process, and obtains the next task node in sequence according to the connection attributes of the start node, until all task nodes and their attributes are obtained, and the action execution nodes and value nodes therein are displayed in sequence in a table form as training tasks, and each training task corresponds to a start button and an end button.

[0080] It should be noted that the training modes in the virtual training environment include free learning and assessment modes, and the training users use the handles to perform operation training of the power equipment according to the training tasks.

[0081] In the assessment mode, the execution status of each task node will be recorded. For the task nodes that serve as training tasks, when the start button of a training task is clicked, the operation start time is recorded, and the operation actions and the actual number of actions are recorded according to the handle actions; when the corresponding end button is clicked, the operation end time is recorded, and the UpdateNodeStates method in the simulation process class is executed to update the status of all task nodes in the simulation process, triggering the GetValue method in each node class to obtain the latest output, and transferring to the next node according to the output and connection flow.

[0082] When the simulation task is finished in the assessment mode, the execution of each training task is compared with the corresponding assessment standard to obtain the assessment results, including: action accuracy, action efficiency and action proficiency.

[0083] Specifically, the assessment results are obtained through the following methods:

[0084] If the operation actions in the execution situation do not include valid actions in the assessment criteria, the action accuracy rate is 0, and no other judgment is made; otherwise, the action accuracy rate is full marks, and continue to judge whether the actual number of actions is less than the standard number of actions. If it is less, the action effectiveness rate is full marks, if it is greater, then corresponding points will be deducted according to the excess number; calculate the actual operation time based on the operation end time and the operation start time, and judge whether the actual operation time is less than the standard execution time. If it is less, the action proficiency is full marks, otherwise corresponding points will be deducted according to the excess time.

[0085] Feedback the assessment results to the training users and the back-end management platform. The assessment results in multiple dimensions truly reflect the training effect of the training users. The simulation task manager dynamically adjusts the simulation tasks according to the assessment results and convenient simulation task design methods to achieve true teaching in accordance with students' aptitude.

[0086] Compared with the prior art, the virtual reality simulation method of a power substation provided in this embodiment provides a complete set of methods from simulation task production, simulation task distribution to terminal operation simulation, and creates a simulation process in a visual way, which is convenient and flexible, with strong scalability, and is suitable for different simulation training needs; and it realizes the dynamic deployment and real-time update of simulation tasks, shortens the update cycle, and improves the efficiency of simulation training. While designing the simulation process, you can also flexibly configure multi-dimensional assessment items, specify different assessment standards for tasks of different difficulty levels, avoid a one-size-fits-all assessment method, and enhance the enthusiasm of training users; through the assessment results of multiple dimensions, the training effect of the training users is truly reflected, and the simulation tasks are dynamically adjusted according to the assessment results and the convenient simulation task design method, so as to realize true teaching in accordance with the students' aptitude. Through virtual reality technology, immersive training is carried out on the skills required in high-risk, invisible, and unpresentable scenarios of power equipment, which improves the quality of training, improves the efficiency of training, and reduces the investment in training costs.

[0087] Example 2

[0088] Another embodiment of the present invention discloses a virtual reality simulation system for a power substation, thereby realizing the virtual reality simulation method for a power substation in Embodiment 1. The specific implementation of each module refers to the corresponding description in Embodiment 1. Figure 2 As shown, the system includes:

[0089] The scene editing module 101 is used to create a simulation scene in the created simulation project, and obtain multiple scene objects by importing a three-dimensional model of the power equipment and simulation resources;

[0090] The process editing module 102 is used to drag various task nodes in the extended process editor and connect them through lines to obtain the simulation process; in the task node, the scene object in the simulation scene is introduced to set its properties, and the simulation process is promoted through the output and connection of the task node;

[0091] The simulation deployment module 103 is used to write the scene objects and simulation processes into the configuration file through the extended deployment window, upload them to the server together with the executable file generated by compiling the simulation project, and generate simulation task information;

[0092] The simulation execution module 104 is used to download simulation task information according to the simulation task selected in the virtual training environment, and parse the scene objects and simulation process therein; generate a virtual scene by rendering the simulation scene and superimposing the task nodes in the simulation process; and end the simulation task when all the task nodes are executed.

[0093] Furthermore, the system of this embodiment also includes: a simulation management module 105, which is used to manage and authorize simulation task information, and to check the completion status of the simulation tasks of the training users.

[0094] It should be noted that the scenario editing module 101, the process editing module 102, the simulation deployment module 103 and the simulation management module 105 are for simulation task managers, and the simulation execution module 104 is for training users.

[0095] Specifically, the scene editing module 101, the process editing module 102 and the simulation deployment module 103 belong to the simulation design end, the simulation management module 105 belongs to the simulation management end, and the simulation execution module 104 belongs to the virtual training end. The simulation task manager creates simulation tasks through the simulation design end and uploads them to the simulation management end, and authorizes the simulation tasks to designated training users through authority management. The training users run the virtual training environment through head-mounted virtual reality devices and handles, obtain corresponding simulation tasks and their resources, learn the use and maintenance methods of power equipment in an immersive way, interact with the three-dimensional model of the power equipment in the virtual training environment, and conduct assessments based on the execution status after the training users complete the corresponding simulation tasks, and feedback the assessment results and upload them to the simulation management end.

[0096] Since the present embodiment and the aforementioned virtual reality simulation method of a power substation can be mutually referenced, it is a repeated description here, so it will not be repeated here. Since the present system embodiment and the aforementioned method embodiment have the same principle, the present system embodiment also has the corresponding technical effects of the aforementioned method embodiment.

[0097] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

[0098] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.

Claims

1. A virtual reality simulation method for a power substation, characterized in that: The following steps are involved: Create a simulation scene in the created simulation project, and obtain multiple scene objects by importing the 3D model of the power equipment and simulation resources; Drag various task nodes in the extended process editor and connect them through lines to obtain the simulation process; in the task node, set its properties by introducing the scene object in the simulation scene, and promote the flow of the simulation process through the output and connection of the task node; the task node includes a start node, a condition node, an action execution node, a calculation node and a value node; Write the scene objects and simulation process into the configuration file through the extended deployment window, upload it to the server together with the executable file generated by compiling the simulation project, and generate simulation task information; The extended deployment window is opened using the extended second menu and is obtained by customizing the build information entry interface and uploading operations; The build information includes: project name, encryption or not, file format, build content, server environment and target platform; the upload operation is to obtain the full package or patch package of the simulation task according to the build information and upload it to the server; Download simulation task information according to the simulation task selected in the virtual training environment, and parse the scene objects and simulation process therein; generate a virtual scene by rendering the simulation scene and superimposing the task nodes in the simulation process; end the simulation task when all the task nodes are executed; superimpose the task nodes in the simulation process to obtain the start node and its attributes from the data object of the simulation process, and obtain the next task node in turn according to the connection attributes of the start node, until all the task nodes and their attributes are obtained, and then display the action execution nodes and value nodes therein in order in a table as training tasks, and each training task corresponds to a start button and an end button.

2. The virtual reality simulation method for power substations according to claim 1, characterized in that: The method also includes: configuring assessment standards in the task nodes of the simulation process, and recording the execution status of the task nodes in the simulation task; when the simulation task is ended in the assessment mode, comparing the execution status of each task node with the corresponding assessment standard to obtain an assessment result; the assessment standard includes: valid actions, standard number of actions and standard execution time.

3. The virtual reality simulation method for power substations according to claim 2 is characterized in that: The extended process editor is opened using the first menu of the extension and is obtained by customizing the editor canvas and various task nodes.

4. The virtual reality simulation method for power substations according to claim 3 is characterized in that: The first menu is obtained by creating a simulation process class that inherits NodeGraph and defining it using the CreateAssetMenu annotation; the editor canvas is obtained by creating a canvas editing class that inherits NodeGraphEditor, setting the canvas style by overriding the OnGUI method, and setting the styles of nodes, ports and connections in the canvas by overriding the OnNodeGUI method.

5. The virtual reality simulation method for power substations according to claim 3 is characterized in that: Each type of task node is obtained by creating a node class that inherits Node, defining the NodeWidth annotation and NodeTint annotation in the node class to set the width and color of the node, and defining the input port, output port and connection properties of the node respectively.

6. The virtual reality simulation method for power substations according to claim 5 is characterized in that: The conditional node is used to dynamically perform branch routing of subsequent task nodes according to the logical judgment result. The input port and output port of the conditional node are dynamic input ports and dynamic output ports of the list type, which are dynamically added by corresponding adding methods respectively; Rewrite the GetValue method in the node class of the conditional node, perform logical judgment based on the value of the dynamic input port, and output the logical judgment result as the value of the dynamic output port through the addition method of the dynamic output port.

7. The virtual reality simulation method for power substations according to claim 5, characterized in that: The action execution node and the value node also create a node editing class that inherits NodeEditor, and add controls for configuring scene objects and assessment standards on the node UI interface by overriding the OnBodyGUI method, and use the CustomNodeEditor property to associate the node editing class with the corresponding node class.

8. The virtual reality simulation method for power substations according to claim 1, characterized in that: The step of writing the scene object and the simulation process into the configuration file includes: Obtain a list of scene objects in the simulation scene, traverse the list of scene objects to obtain components and attributes of each scene object, combine the data according to the hierarchical relationship of the scene objects, and write them into the first configuration file; Obtain a list of task nodes in the simulation process, traverse the list of task nodes to obtain the properties of each task node and connection, and write all the obtained data into the second configuration file.

9. A virtual reality simulation system for a power substation, characterized in that: include: The scene editing module is used to create simulation scenes in the created simulation project, and obtain multiple scene objects by importing the three-dimensional model of the power equipment and simulation resources; A process editing module is used to drag various task nodes in the extended process editor and connect them through lines to obtain a simulation process; in the task node, the scene object in the simulation scene is introduced to set its properties, and the simulation process is promoted through the output and connection of the task node; the task node includes a start node, a condition node, an action execution node, a calculation node and a value node; The simulation deployment module is used to write the scene objects and simulation processes into the configuration file through the extended deployment window, upload them to the server together with the executable file generated by compiling the simulation project, and generate simulation task information; The extended deployment window is opened using the extended second menu and is obtained by customizing the build information entry interface and uploading operations; The build information includes: project name, encryption or not, file format, build content, server environment and target platform; the upload operation is to obtain the full package or patch package of the simulation task according to the build information and upload it to the server; The simulation execution module is used to download simulation task information according to the simulation task selected in the virtual training environment, and parse the scene objects and simulation processes therein; generate a virtual scene by rendering the simulation scene and superimposing the task nodes in the simulation process; end the simulation task when all the task nodes are executed; the task nodes in the superimposed simulation process are obtained by obtaining the start node and its attributes from the data object of the simulation process, and the next task node is obtained in sequence according to the connection attributes of the start node, until all the task nodes and their attributes are obtained, and the action execution nodes and value nodes therein are displayed in order in a table form as training tasks, and each training task corresponds to a start button and an end button.

Citation Information

Patent Citations

  • Analogue simulation assessment system for uninterrupted power operation of distribution network

    CN111311973A

  • Analogue simulation method suitable for electric power system training and teaching system thereof

    CN111369410A