Method and equipment for constructing and integrating virtual simulation system of hydropower station
By combining the simulation system with VR technology to build a virtual simulation system for a hydropower station, the problem of high cost and limited effectiveness of traditional training methods has been solved, a realistic operation experience and efficient training results have been achieved, and the safety of the hydropower station and the emergency response capabilities of operators have been enhanced.
Patent Information
- Application Number
- CN202510793089.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-13
- Publication Date
- 2025-09-09
AI Technical Summary
Traditional hydropower station training methods rely on physical equipment and simulators, which are costly and difficult to simulate complex operating conditions. The operating interface lacks intuitiveness and interactivity, resulting in limited training effectiveness. Operators find it difficult to quickly master complex operating procedures, increasing the risk of misoperation and failing to provide an immersive training experience.
Combining simulation system with VR technology, the simulation system is built using Microsoft Visio, PIcon and Compaq Visual Fortran tools, generating EMF and TAB format files, which are compiled into DLL dynamic library files and embedded in VR devices to provide realistic operation experience and perspective switching functions.
It significantly improves the training effect of hydropower stations, enhances the intuitiveness and interactivity of operations, improves the flexibility and safety of training, helps operators quickly master emergency response capabilities, and reduces the risk of misoperation in actual operation.
Smart Images

Figure CN120611524A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of building a virtual simulation system for a hydropower station, and in particular to a construction and integration method and equipment for a virtual simulation system for a hydropower station. Background Art
[0002] As critical infrastructure for national economic development, the operational safety and professional expertise of hydropower stations are directly linked to the stability and reliability of the power system. With the rapid development of the power industry, hydropower station equipment has become increasingly complex, and the operating environment has become increasingly demanding, placing higher demands on operators' professional skills and emergency response capabilities. Currently, traditional hydropower station training and operation methods have many shortcomings. On the one hand, traditional training methods rely on physical equipment and simulators, which are not only costly but also difficult to simulate complex operating conditions and fault phenomena, resulting in limited training effectiveness. On the other hand, the operating interface lacks intuitiveness and interactivity, making it difficult for operators to quickly master complex operating procedures, increasing the risk of operational errors. Furthermore, traditional methods fail to provide an immersive training experience. Operators often struggle to respond to emergencies in actual operations due to a lack of realism, further reducing the practicality and safety of training. Summary of the Invention
[0003] The purpose of the present invention is to provide a method and equipment for constructing and integrating a virtual simulation system for a hydropower station. By combining the simulation system with VR technology, the method provides a realistic operating experience, enhances training effectiveness and safety, and provides technical support for the efficient operation of the hydropower station.
[0004] The present invention is achieved through the following technical solutions:
[0005] A method for constructing and integrating a virtual simulation system for a hydropower station, the method comprising the following steps:
[0006] Draw simulation system algorithm icons based on Microsoft Visio tools and generate EMF format files;
[0007] Define the simulation system algorithm properties based on the PIcon tool and generate TAB format files;
[0008] Write simulation system algorithms based on Compaq Visual Fortran tools and compile them into DLL dynamic library files;
[0009] Combine and configure EMF format files, TAB format files and DLL dynamic library files to complete the construction of the simulation system;
[0010] The completed simulation system is embedded into the VR device integrated with the hydropower station VR scene to complete the configuration.
[0011] Optionally, the simulation system algorithm icon is drawn based on the Microsoft Visio tool, and an EMF format file is generated, which is specifically:
[0012] Start Microsoft Visio, select the built-in basic block diagram template, and create a blank VSD file;
[0013] Draw an icon for the blank VSD file according to the preset standard, and define the algorithm name and input and output pins on the icon;
[0014] Save the completed icon as an EMF format file and output it.
[0015] Optionally, the simulation system algorithm attributes are defined based on the PIcon tool, and a TAB format file is generated, which is specifically:
[0016] Create a new TAB file using the PIcon tool;
[0017] Add the algorithm to the TAB file, including the algorithm name, EMF format file name, input, output and coefficient order;
[0018] Output TAB format file.
[0019] Optionally, the simulation system algorithm is written based on the Compaq Visual Fortran tool and compiled into a DLL dynamic library file, which is specifically:
[0020] Create a new workspace using Compaq Visual Fortran;
[0021] Create a dynamic link library project in the workspace;
[0022] Creating and compiling a new algorithm file in a dynamic link library project, wherein the algorithm file corresponds to the algorithm properties of the simulation system;
[0023] Verify whether the algorithm file compilation is correct. If correct, encapsulate all algorithm files in the dynamic link library project to form a DLL dynamic library file.
[0024] Optionally, the EMF format file, the TAB format file and the DLL dynamic library file are combined and configured to complete the construction of the simulation system, which is specifically as follows:
[0025] Build the project based on thermal power simulation platform;
[0026] Type the EMF format file into the Icon folder of the project directory, and type the TAB format file and DLL dynamic library file into the ALG folder of the project directory;
[0027] Configure the Giss.ini file in the project directory, and add the paths of EMF format files, TAB format files, and DLL dynamic library files to complete the construction of the simulation system.
[0028] Optionally, the construction process of the hydropower station VR scene is as follows:
[0029] Create a virtual scene of a hydropower station using the Blender 3D modeling tool;
[0030] Import the virtual scene model of the hydropower station into the VR development platform, adjust the project parameters, and complete the construction of the hydropower station VR scene.
[0031] Optionally, the VR development platform is provided with a corresponding calling script according to the simulation system, so as to run the corresponding simulation system algorithm by calling the script according to the operation instructions input by the user in the VR device.
[0032] Optionally, the VR development platform is provided with multiple perspective modes, including: first-person perspective, third-person perspective and bird's-eye perspective;
[0033] Create corresponding camera settings for each perspective mode and establish perspective conversion logic;
[0034] Establish a visual user interface, compile the perspective conversion logic into a perspective switching button, and complete the user's perspective conversion operation instructions based on the perspective conversion button.
[0035] Optionally, the calling script is integrated with the perspective conversion button to ensure that the calling script and the perspective conversion button work together seamlessly.
[0036] An electronic device, comprising:
[0037] memory for storing computer programs;
[0038] The processor is used to implement the steps of the method for constructing and integrating a virtual simulation system of a hydropower station when executing the computer program.
[0039] The technical solution of the present invention has at least the following advantages and beneficial effects:
[0040] The present invention significantly improves the effectiveness of hydropower station training and operation by combining the simulation system with VR technology. On the one hand, the simulation system built based on Microsoft Visio, PIcon and Compaq Visual Fortran can highly restore the operating environment and equipment status of the hydropower station, provide a realistic operating experience, and enable operators to conduct comprehensive training in a virtual environment. On the other hand, the simulation system embedded in the VR device supports virtual simulation operation and perspective switching functions, which not only enhances the intuitiveness and interactivity of the operation, but also improves the flexibility and safety of training. In addition, the present invention can simulate various operating conditions and fault phenomena, help operators quickly master emergency handling capabilities, reduce the risk of misoperation in actual operation, and provide a strong guarantee for the efficient operation of the hydropower station. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A schematic diagram of the process of constructing and integrating a virtual simulation system for a hydropower station provided by the present invention;
[0042] Figure 2 A schematic diagram of the EMF format file generation process provided by the present invention;
[0043] Figure 3 This is a schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0044] To make the objectives, technical solutions, and advantages of the present invention more apparent, the following will provide a clear and complete description of the technical solutions of the present invention in conjunction with the accompanying drawings. It should be understood that the description is only a portion of the present invention, not all of it. The components of the present invention generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations.
[0045] like Figure 1 As shown, the present invention provides one embodiment: a method for constructing and integrating a virtual simulation system of a hydropower station, the method comprising the steps of:
[0046] Draw simulation system algorithm icons based on Microsoft Visio tools and generate EMF format files;
[0047] Define the simulation system algorithm properties based on the PIcon tool and generate TAB format files;
[0048] Write simulation system algorithms based on Compaq Visual Fortran tools and compile them into DLL dynamic library files;
[0049] Combine EMF format files, TAB format files, and DLL dynamic library files, and use the algorithm model of the algorithm library to build system models such as the hydropower station's oil, water, and gas system, main electrical wiring, excitation system, and GIS switch station. Through algorithm parameter debugging, the corresponding displayed values are made to conform to the actual values on site at the power station.
[0050] After completing the construction of the simulation system, the communication program SIM2HMI and the simulation data transmission program Modsvr are used to enable IO interaction between the simulation project and the VR project version;
[0051] The completed simulation system is embedded into the VR device integrated with the hydropower station VR scene to complete the configuration.
[0052] In this embodiment, the specific steps are as follows: Step 1: Use Microsoft Visio to draw the simulation system algorithm icon and save it in .emf format. Step 2: Use the PIcon tool included with the simulation platform to define the simulation system algorithm properties and save them in tab format. Step 3: Use Compaq Visual Fortran software to write the simulation system algorithm and compile it into a .dll dynamic library file. Step 4: Build a simulation system environment identical to a real DCS system.
[0053] Start the simulation project, open the trainer model system, start the communication program SIM2HMI, and the simulation data transmission program Modsvr, and keep the simulation background stable and normal during the data transmission process;
[0054] Open the Steam platform, start SteamVR, and turn on the corresponding controllers and helmets to establish a wireless connection with the locator;
[0055] Open the simulated VR version of the 3D project on the PC. After starting it, you can see the corresponding 3D scene in the VR helmet. At the same time, you can see the virtualized left and right gloves of the corresponding left and right handles in your field of view.
[0056] like Figure 2 As shown, in step 1 of this embodiment, the simulation system algorithm icon is drawn based on the Microsoft Visio tool, and an EMF format file is generated, which is specifically:
[0057] Start Microsoft Visio, select the built-in basic block diagram template, and create a blank VSD file;
[0058] Draw an icon for the blank VSD file according to the preset standard, and define the algorithm name and input and output pins on the icon;
[0059] Save the completed icon as an EMF format file and output it.
[0060] In practice, the steps for creating a simulation system algorithm icon are as follows: Step 1.1: Launch Microsoft Visio, select the Basic Block Diagram template, and create a blank VSD file. Step 1.2: Refer to the DCS manufacturer's "Control Algorithm Reference Manual" or "Function Code Manual" and use Microsoft Visio to draw an identical icon. Define the algorithm name and input and output pins on the icon. Step 1.3: Save the drawn icon as an enhanced metafile (.emf format).
[0061] In step 2 of this embodiment, the simulation system algorithm attributes are defined based on the PIcon tool, and a TAB format file is generated, which is specifically:
[0062] Create a new TAB file using the PIcon tool;
[0063] Add the algorithm to the TAB file, including the algorithm name, EMF format file name, input, output and coefficient order;
[0064] Output TAB format file.
[0065] In practice, the steps for creating a tab file are as follows: Step 2.1: Use the platform's built-in PIcon.exe tool to create a new tab file. Step 2.2: Add the algorithm to the tab file. The algorithm file includes the algorithm name, the icon name corresponding to the algorithm name, the input, output, coefficient order, etc.
[0066] In step 3 of this embodiment, the simulation system algorithm is written based on the Compaq Visual Fortran tool and compiled into a DLL dynamic library file, which is specifically:
[0067] Create a new workspace using Compaq Visual Fortran;
[0068] Create a dynamic link library project in the workspace;
[0069] Creating and compiling a new algorithm file in a dynamic link library project, wherein the algorithm file corresponds to the algorithm properties of the simulation system;
[0070] Verify whether the algorithm file compilation is correct. If correct, encapsulate all algorithm files in the dynamic link library project to form a DLL dynamic library file.
[0071] In practice, the steps for generating a DLL file are as follows: Step 3.1: Create a new workspace using Compaq Visual Fortran (VF) software. Step 3.2: Create a Dynamic Link Library (DL) project within the workspace. Step 3.3: Create a new algorithm file (in .for format) within the project. Step 3.4: After the single .for file is compiled correctly, compile all the files in the entire project into a single .dll file.
[0072] In step 4 of this embodiment, the EMF format file, the TAB format file and the DLL dynamic library file are combined and configured to complete the construction of the simulation system, which is specifically as follows:
[0073] Build the project based on thermal power simulation platform;
[0074] Type the EMF format file into the Icon folder of the project directory, and type the TAB format file and DLL dynamic library file into the ALG folder of the project directory;
[0075] Configure the Giss.ini file in the project directory, and add the paths of EMF format files, TAB format files, and DLL dynamic library files to complete the construction of the simulation system.
[0076] During implementation, the simulation system was built as follows: Step 4.1: Create a new project using the CSSP-2000 thermal power simulation platform software. Step 4.2: Copy the emf file from Step 1 to the Icon folder in the project directory. Step 4.3: Copy the tab file from Step 2 and the dll file from Step 3 to the ALG folder in the project directory. Step 4.4: Configure the Giss.ini file in the project directory to externalize the control system algorithm into the simulation platform.
[0077] In a further implementation of this embodiment, the construction process of the hydropower station VR scene is as follows:
[0078] Create a virtual scene of a hydropower station using the Blender 3D modeling tool;
[0079] Import the virtual scene model of the hydropower station into the VR development platform, adjust the project parameters, and complete the construction of the hydropower station VR scene.
[0080] The VR development platform is provided with a corresponding calling script according to the simulation system, so as to run the corresponding simulation system algorithm by calling the script according to the operation instructions input by the user in the VR device.
[0081] The VR development platform is equipped with multiple perspective modes, including first-person, third-person, and bird's-eye views. Corresponding camera settings are created for each perspective mode, and perspective conversion logic is established. In the visual user interface, the perspective conversion function is bound to the left-hand handle disc button. Users can trigger the perspective mode switch by long-pressing the button (for example, 0.5 seconds), and the switch is smoothed with a short, gradual transition, thereby reducing dizziness and the risk of spatial dislocation. The call script is integrated with the perspective conversion button to ensure seamless collaboration with other function scripts after switching perspectives.
[0082] After entering the VR scene, you can see the three-dimensional scene through the VR helmet, and see the left and right hand images virtualized by the handles in front of your field of view. The user can walk freely and rotate the view within the locator range. When the positioning range is limited and the vertical view needs to be adjusted, you can touch the upper or lower part of the left handle to move up or down; if you need to switch between the first-person and third-person (or bird's-eye) perspectives, you can long press the left handle disc button to complete the conversion. By clicking the disc button on the right handle, the right-hand laser beam is activated (SphereCast can be used to improve accuracy); after the beam intersects with the ground, short press the trigger button to achieve teleportation-style rapid movement, and add an auxiliary aperture indicator at the landing point to improve movement accuracy. When the laser beam falls on an operable device, the beam color changes from green to yellow. At this time, clicking the trigger button again can perform operations on the device and send corresponding instructions to the simulation model. To improve operational feedback and safety, it is recommended to use sound effects or controller vibration prompts when switching perspectives, moving, or operating the device, and set prompt information for communication anomalies to ensure stable data interaction between the VR scene and the simulation system.
[0083] like Figure 3 As shown, the present invention also provides another embodiment: an electronic device, comprising:
[0084] memory for storing computer programs;
[0085] The processor is used to implement the steps of the method for constructing and integrating a virtual simulation system of a hydropower station when executing the computer program.
[0086] In this embodiment, the electronic device can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the steps of the above-mentioned method for constructing and integrating a virtual simulation system of a hydropower station.
[0087] The above is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that the present invention is susceptible to various modifications and variations. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.
Claims
1. A method for constructing and integrating a virtual simulation system for a hydropower station, characterized in that: The steps of the method include: Draw simulation system algorithm icons based on Microsoft Visio tools and generate EMF format files; Define the simulation system algorithm properties based on the PIcon tool and generate TAB format files; Write simulation system algorithms based on Compaq Visual Fortran tools and compile them into DLL dynamic library files; Combine and configure EMF format files, TAB format files and DLL dynamic library files to complete the construction of the simulation system; The completed simulation system is embedded into the VR device integrated with the hydropower station VR scene to complete the configuration.
2. The method for constructing and integrating a virtual simulation system of a hydropower station according to claim 1, characterized in that: The simulation system algorithm icon is drawn based on the Microsoft Visio tool, and an EMF format file is generated, which is specifically: Start Microsoft Visio, select the built-in basic block diagram template, and create a blank VSD file; Draw an icon for the blank VSD file according to the preset standard, and define the algorithm name and input and output pins on the icon; Save the completed icon as an EMF format file and output it.
3. The method for constructing and integrating a virtual simulation system of a hydropower station according to claim 2, characterized in that: The PIcon tool is used to define the simulation system algorithm properties and generate a TAB format file, which is specifically: Create a new TAB file using the PIcon tool; Add the algorithm to the TAB file, including the algorithm name, EMF format file name, input, output and coefficient order; Output TAB format file.
4. The method for constructing and integrating a virtual simulation system of a hydropower station according to claim 3, characterized in that: The simulation system algorithm is written based on the Compaq Visual Fortran tool and compiled into a DLL dynamic library file, which is specifically: Create a new workspace using Compaq Visual Fortran; Create a dynamic link library project in the workspace; Creating and compiling a new algorithm file in a dynamic link library project, wherein the algorithm file corresponds to the algorithm properties of the simulation system; Verify whether the algorithm file compilation is correct. If correct, encapsulate all algorithm files in the dynamic link library project to form a DLL dynamic library file.
5. The method for constructing and integrating a virtual simulation system of a hydropower station according to claim 4, characterized in that: The EMF format file, TAB format file and DLL dynamic library file are combined and configured to complete the construction of the simulation system, which is specifically as follows: Build the project based on thermal power simulation platform; Type the EMF format file into the Icon folder of the project directory, and type the TAB format file and DLL dynamic library file into the ALG folder of the project directory; Configure the Giss.ini file in the project directory, and add the paths of EMF format files, TAB format files, and DLL dynamic library files to complete the construction of the simulation system.
6. The method for constructing and integrating a virtual simulation system of a hydropower station according to claim 5, characterized in that: The construction process of the hydropower station VR scene is as follows: Create a virtual scene of a hydropower station using the Blender 3D modeling tool; Import the virtual scene model of the hydropower station into the VR development platform, adjust the project parameters, and complete the construction of the hydropower station VR scene.
7. The method for constructing and integrating a virtual simulation system of a hydropower station according to claim 6, characterized in that: The VR development platform is provided with a corresponding calling script according to the simulation system, so as to run the corresponding simulation system algorithm by calling the script according to the operation instructions input by the user in the VR device.
8. The method for constructing and integrating a virtual simulation system of a hydropower station according to claim 7, characterized in that: The VR development platform is provided with a variety of perspective modes, including: first-person perspective, third-person perspective and bird's-eye perspective; Create corresponding camera settings for each perspective mode and establish perspective conversion logic; Establish a visual user interface, compile the perspective conversion logic into a perspective switching button, and complete the user's perspective conversion operation instructions based on the perspective conversion button.
9. The method for constructing and integrating a virtual simulation system of a hydropower station according to claim 8, characterized in that: Integrate the call script with the view change button to ensure that the call script and the view change button work seamlessly.
10. An electronic device, characterized in that: include: Memory for storing computer programs; A processor is configured to implement the steps of the method for constructing and integrating a hydropower station virtual simulation system as described in any one of claims 1 to 9 when executing the computer program.