A cloud-based grid-substation joint training simulation method, system, storage medium and program product
By using virtualization technology to create and clone virtual machines on the cloud platform, establishing a 3D simulation model for grid scheduling and substations, the problem of inefficient training functions in the existing technology is solved, and efficient joint training simulation of grid substations is achieved.
Patent Information
- Application Number
- CN202411711526.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2044-11-27
AI Technical Summary
The existing integrated training simulation functions of the ground and configuration adopt local deployment and operation mode, resulting in a long installation, update and maintenance cycle, which affects the efficiency and effectiveness of professional training.
The power grid substation joint training simulation method based on cloud technology is adopted, and the initial virtual machine is created in the cloud platform through cloud computing virtualization technology, the power grid scheduling simulation model and the substation 3D simulation model are established, and the target virtual machine is cloned according to the training needs to realize the power grid substation joint training simulation.
Through the virtualization technology of the cloud platform, flexible management and allocation of resources is achieved, which solves the problem of inefficiency of training functions and improves the efficiency and effectiveness of professional training.
Smart Images

Figure CN119203616B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power system simulation, and in particular to a cloud-based power grid substation joint training simulation method, system, storage medium and program product. Background Art
[0002] With the deepening of energy transformation, the power industry has entered a new era. A new generation of power systems characterized by extensive interconnection, intelligent interaction, flexibility, safety and controllability is taking shape, which puts forward new requirements for power grid control technology. The power grid dispatching, substation simulation and training functions based on cloud technology can realize training simulation and joint anti-accident drills that integrate power grid dispatching and substation simulation, which is of great significance for improving the training level of various professional fields of power grid control and ensuring the safe and high-quality operation of the power grid.
[0003] The existing ground and distribution integrated training simulation function adopts a localized deployment and operation mode, and the installation, update and maintenance cycle is long, resulting in the inability to maximize the application of the training function, which directly affects the efficiency and effectiveness of professional training. Summary of the invention
[0004] In view of this, the present invention provides a power grid and substation joint training simulation method, system, storage medium and program product based on cloud technology to solve the problem that the existing ground and distribution integrated joint training simulation functions adopt localized deployment and operation mode, and the installation, update and maintenance cycle is long, resulting in the inability to maximize the application of the training function, which directly affects the efficiency and effectiveness of professional training.
[0005] In a first aspect, the present invention provides a cloud-based power grid substation joint training simulation method for a cloud platform, the method comprising:
[0006] The virtualization technology of cloud computing is used to create an initial virtual machine in the cloud platform; based on the preset device ID, a power grid dispatching simulation model and a substation 3D simulation model are respectively established in the initial virtual machine, and the target virtual machine is determined; based on training needs, the target virtual machine is cloned to obtain multiple target virtual machines; multiple target virtual machines are used to perform power grid and substation joint training simulation to obtain power grid and substation joint training simulation results.
[0007] The grid-substation joint training simulation method based on cloud technology provided by the present invention first creates an initial virtual machine in the cloud platform through the virtualization technology of cloud computing, and can abstract physical hardware resources (such as servers) into virtual resources, namely virtual machines. Further, through virtualization, physical resources are divided into multiple virtual resources, each of which can independently run applications, thereby realizing flexible management and allocation of resources. Secondly, by respectively establishing a grid dispatching simulation model and a substation 3D simulation model in the virtual machine, multiple functions of grid dispatching and substation simulation are integrated into one, which can simulate both the real grid structure and operating environment, and the real substation internal structure and operating environment. Furthermore, virtualization technology allows virtual machines to be dynamically created, expanded or reduced according to actual needs. Therefore, by cloning the target virtual machine in combination with training needs, it is possible to cope with changing computing needs. Finally, multiple target virtual machines obtained by cloning can realize grid-substation joint training simulation, which solves the problem that the existing ground-distribution joint training simulation function adopts a localized deployment and operation mode, and the installation and update maintenance cycle is long, resulting in the inability to maximize the application of the training function, which directly affects the efficiency and effect of professional training.
[0008] In an optional implementation, using cloud computing virtualization technology to create an initial virtual machine in a cloud platform includes:
[0009] A virtual machine lightweight management system is created in a server within a cloud platform using the virtualization technology of cloud computing; an initial virtual machine is created in the virtual machine lightweight management system.
[0010] The cloud-based power grid substation joint training simulation method provided by the present invention can abstract physical hardware resources (such as servers) into virtual resources, namely virtual machines, through the virtualization technology of cloud computing. Furthermore, through virtualization, physical resources are divided into multiple virtual resources, each of which can independently run applications, thereby realizing flexible management and allocation of resources.
[0011] In an optional implementation, multiple target virtual machines are used to perform a power grid-substation joint training simulation to obtain a power grid-substation joint training simulation result, including:
[0012] Construct a virtual environment for power grid substation; determine the virtual resources of the cloud platform based on multiple target virtual machines; based on the virtual resources, use multiple target virtual machines to conduct joint training simulation on the virtual environment to obtain the power grid substation joint training simulation results.
[0013] The cloud-based power grid substation joint training simulation method provided by the present invention can determine the virtual resources of the cloud platform through the obtained multiple target virtual machines, and then the cloud platform can dynamically allocate the virtual resources to the multiple target virtual machines, and then use the multiple target virtual machines to realize the joint training simulation of the virtual environment of the power grid substation.
[0014] In an optional implementation, based on virtual resources, multiple target virtual machines are used to perform joint training simulation on the virtual environment to obtain power grid and substation joint training simulation results, including:
[0015] Based on virtual resources, multiple target virtual machines are used to perform joint training simulation on the virtual environment and determine whether there are idle virtual resources on the cloud platform; when there are idle virtual resources on the cloud platform, based on virtual resources, multiple target virtual machines are used to perform joint training simulation on the virtual environment to obtain the power grid and substation joint training simulation results; when there are no idle virtual resources on the cloud platform, return to the step of cloning the target virtual machine based on training needs, iterate repeatedly and obtain the power grid and substation joint training simulation results.
[0016] The grid-substation joint training simulation method based on cloud technology provided by the present invention can dynamically create, expand or reduce virtual machines according to the virtual resources existing in the cloud platform, and can cope with the ever-changing computing needs. In addition, the grid-substation joint training simulation can be realized by combining the cloned multiple target virtual machines, which solves the problem that the existing ground and distribution integrated joint training simulation function adopts localized deployment and operation mode, and the installation and update maintenance cycle is long, resulting in the inability to maximize the application of the training function, which directly affects the efficiency and effect of professional training.
[0017] In an optional implementation, when there are idle virtual resources on the cloud platform, based on the virtual resources, multiple target virtual machines are used to perform joint training simulation on the virtual environment to obtain the power grid substation joint training simulation results, including:
[0018] When there are idle virtual resources on the cloud platform, based on the virtual resources, multiple target virtual machines are used to conduct joint training simulation on the virtual environment and obtain multiple simulation load conditions; the performance parameters of the multiple target virtual machines are adjusted using the multiple simulation load conditions; based on the adjusted multiple target virtual machines, the virtual environment is jointly trained and simulated to obtain the power grid and substation joint training simulation results.
[0019] The cloud-based power grid substation joint training simulation method provided by the present invention can adjust the performance parameters of multiple target virtual machines in real time according to the real-time simulation load conditions of the multiple target virtual machines during the joint training simulation, and then use the adjusted multiple target virtual machines to perform joint training simulation on the virtual environment, thereby reducing resource waste and costs.
[0020] In an optional implementation, a plurality of target virtual machines are used to perform joint training simulation on a virtual environment, including:
[0021] Based on preset operation instructions, the power grid dispatching simulation model and the substation 3D simulation model in each target virtual machine are controlled to perform simulation interaction to obtain multiple simulation interaction results; based on the multiple simulation interaction results, the virtual environment is jointly trained and simulated.
[0022] In an optional embodiment, the method further includes:
[0023] A power grid and substation joint training simulation data set is obtained; and a power grid and substation joint training simulation result is evaluated using the power grid and substation joint training simulation data set.
[0024] The cloud-based power grid and substation joint training simulation method provided by the present invention can evaluate the power grid and substation joint training simulation results by acquiring relevant simulation data in the power grid and substation joint training simulation process, and can provide a basis for subsequent training improvements.
[0025] In a second aspect, the present invention provides a cloud-based power grid substation joint training simulation system, the system comprising:
[0026] A cloud platform and a background service monitoring system; the cloud platform includes multiple virtual machines, each of which includes a power grid dispatching simulation system and a substation 3D simulation system; a background service monitoring system for sending preset operation instructions to the cloud platform; a cloud platform for executing the cloud technology-based power grid and substation joint training simulation method of the first aspect or any corresponding implementation method thereof.
[0027] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the cloud technology-based power grid and substation joint training simulation method of the above-mentioned first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0028] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the cloud-based power grid and substation joint training simulation method of the above-mentioned first aspect or any corresponding embodiment thereof.
[0029] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the cloud technology-based power grid and substation joint training simulation method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0031] Figure 1 It is a flowchart of a cloud-based power grid substation joint training simulation method according to an embodiment of the present invention;
[0032] Figure 2 It is a flowchart of another cloud-based power grid substation joint training simulation method according to an embodiment of the present invention;
[0033] Figure 3 is a structural block diagram of a power grid substation joint training simulation system based on cloud technology according to an embodiment of the present invention;
[0034] Figure 4 is a schematic diagram of the action logic of the power grid simulation operation instruction according to an embodiment of the present invention;
[0035] Figure 5 is a schematic diagram of the action logic of the substation simulation operation instruction according to an embodiment of the present invention;
[0036] Figure 6 It is a schematic diagram of a specific implementation process of a power grid substation joint training simulation method based on cloud technology according to an embodiment of the present invention;
[0037] Figure 7 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0039] The embodiment of the present invention provides a cloud-based power grid substation joint training simulation method, which uses cloud computing virtualization technology to achieve the effect of flexible management and allocation of resources, thereby realizing power grid substation joint training simulation.
[0040] According to an embodiment of the present invention, an embodiment of a power grid and substation joint training simulation method based on cloud technology is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that shown here.
[0041] In this embodiment, a cloud-based power grid substation joint training simulation method is provided, which can be used on a cloud platform. Figure 1 is a flow chart of a cloud-based power grid substation joint training simulation method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0042] Step S101, creating an initial virtual machine in a cloud platform using cloud computing virtualization technology.
[0043] Among them, the virtualization technology of cloud computing represents a technical means of abstracting physical resources into logical resources. Furthermore, virtualization technology can create multiple virtual servers on a physical server through software or hardware. Each virtual server can run the operating system and application independently, just like an independent physical server, which can improve the utilization rate of physical resources, reduce hardware costs, and facilitate management and maintenance.
[0044] Specifically, cloud computing virtualization technology can be used to abstract physical hardware resources (such as servers) into virtual resources, namely virtual machines.
[0045] Step S102: Based on the preset device ID, a power grid dispatching simulation model and a substation 3D simulation model are respectively established in the initial virtual machine, and a target virtual machine is determined.
[0046] Among them, when the equipment is stored in the commercial library, the equipment ID is generated according to the rules. Furthermore, when modeling the substation 3D simulation model, the corresponding equipment can be associated, avoiding repeated modeling of the equipment.
[0047] Furthermore, the same device ID can also provide scalability for the power grid dispatching simulation model and the substation 3D simulation model. The two are coarse and fine models respectively, with an embedded and separate use relationship similar to that of cabinets and drawers. The models have the characteristics of combination and decoupling.
[0048] Specifically, a power grid dispatch simulation model is established in the initial virtual machine to realize the power grid simulation function, which can be established in the following ways:
[0049] 1. Identify needs and goals
[0050] (1) Clarify the scope and purpose of power grid dispatch simulation, such as simulating power grid operation in a specific area and testing dispatch strategies.
[0051] (2) Determine the grid parameters to be simulated, such as voltage level, line capacity, and generator capacity.
[0052] 2. Collect data
[0053] (1) Collect the topology, equipment parameters, and load data information of the actual power grid.
[0054] (2) Relevant data can be obtained from power grid companies and power design institutes.
[0055] 3. Choose simulation software
[0056] (1) Select appropriate power grid dispatch simulation software according to needs, such as PSASP and ETAP.
[0057] (2) Ensure that the software can run in a virtual machine environment and meet simulation requirements.
[0058] 4. Build the model
[0059] (1) Create a power grid topology in the simulation software, including generators, transformers, lines, loads, switches, circuit breakers, and grounding circuit breakers.
[0060] (2) Set device parameters, such as capacity, impedance, and control strategy.
[0061] (3) Input load data and simulate grid operation under different load levels.
[0062] Furthermore, the simulation content of the power grid dispatching simulation model includes multiple aspects: first, a set of standard graphic element libraries is established by using graphic element modeling tools in accordance with the State Grid standards, including static graphic elements, extended graphic elements, connecting lines / busbars / , lines, switches, switches, loads, units, capacitors / reactors, two-winding transformers, three-winding transformers, grounding switches, arc suppression coils, voltage transformers, other equipment, light signs, plants, and visualization objects. 18 types of graphic elements are then defined, including the attributes, dynamic data, and number of endpoints of each type of graphic element; second, digital modeling is performed on the drawing modeling tool. In the equipment modeling, the equipment ID is generated according to the rules when the equipment is stored in the commercial library. This can be associated with the equipment during the 3D modeling of the substation to avoid repeated modeling of the equipment at one time. The same equipment ID provides scalability for the power grid dispatching model and the substation 3D model. The two are coarse models and fine models, respectively, with an embedding and separate use relationship similar to that of cabinets and drawers. The model has the characteristics of combination and decoupling. After connecting various types of equipment according to the design drawing, the primary wiring diagram of each plant and station is obtained. Each plant and station is connected through lines to form a power grid; third, the equipment parameters and measurement data of all electrical equipment in the entire network are entered; fourth, after the drawing of the power grid is completed, all graphics are topologically analyzed and the topological structure is generated. After that, measurement mapping, state estimation calculation, and dispatcher flow calculation are performed to obtain a convergence section of the power grid; fifth, the relay protection device is modeled, and five types of protection devices, including switch protection, bypass protection, busbar protection, main transformer protection, and busbar protection, are generated through the protection incubator; seventh, eight types of automatic safety devices, including equipment automatic investment, low-frequency / low-voltage load reduction, tripping and joint cutting of units, high-frequency / low-frequency cutting, equipment overload cutting and load shedding, and low-frequency and low-voltage oscillation separation, are modeled, and corresponding models are constructed according to the action principles and action strategies of each device, and the judgment conditions, action elements, and locking conditions are filled in respectively; eighth, an initial teaching plan is generated from the state estimation results or the flow calculation results to obtain a final power grid dispatching simulation model.
[0063] Furthermore, building a 3D simulation model of a substation in the initial virtual machine can include multiple aspects: first, establishing 3D controls for various electrical equipment; second, modeling electrical main wiring, operation control, relay protection, automatic devices, central signals, fault recording, monitoring systems, measuring instruments, DC systems, emergency lighting, automatic switching of backup power supplies, remote control devices, microcomputer five protections, and security control devices. The modeling objects can also include pressure plates, test terminals, fuses, buttons, and signal lights in the above-mentioned circuits, and the controls are called and dragged to the corresponding positions for combination; third, establishing the AC and DC PT secondary circuits of the substation; fourth, modeling various weather conditions and scene layout; fifth, modeling some animation effects and visual effects, such as explosion effects, fire, smoke, etc.; fifth, writing each device information into a file in the format of "type serial number device name serial number protection name serial number set number control name serial number" for each line for packaging, such as: YB LN01 005 002 1 025.
[0064] Step S103: clone the target virtual machine based on training requirements to obtain multiple target virtual machines.
[0065] Specifically, after the corresponding simulation model is established in the virtual machine, the characteristics of cloud technology can be used to clone and clone the target virtual machine in combination with training needs, so that multiple virtual resources can be obtained quickly and accurately. These resources can be independent of each other and interconnected. For example, the simulation models are independent of each other, and some computing data can be shared and interconnected, which also provides favorable conditions for joint exercises of cloud technology. In the previous model, these simulation systems need to be installed on multiple physical terminals, which is time-consuming and labor-intensive.
[0066] Step S104, using multiple target virtual machines to perform power grid and substation joint training simulation to obtain power grid and substation joint training simulation results.
[0067] Specifically, multiple simulation models in multiple target virtual machines can be used to simultaneously perform grid substation training simulation, thereby realizing grid substation joint training simulation. The simulation process of the simulation model can refer to the description in the above step S102.
[0068] The cloud-based grid-substation joint training simulation method provided in this embodiment first creates an initial virtual machine in the cloud platform through the virtualization technology of cloud computing, and can abstract physical hardware resources (such as servers) into virtual resources, namely virtual machines. Further, through virtualization, physical resources are divided into multiple virtual resources, each of which can independently run applications, thereby realizing flexible management and allocation of resources. Secondly, by respectively establishing a grid dispatching simulation model and a substation 3D simulation model in the virtual machine, multiple functions of grid dispatching and substation simulation are integrated into one, which can simulate both the real grid structure and operating environment, and the real substation internal structure and operating environment. Furthermore, virtualization technology allows virtual machines to be dynamically created, expanded or reduced according to actual needs. Therefore, by cloning the target virtual machine in combination with training needs, it is possible to cope with changing computing needs. Finally, multiple target virtual machines obtained by cloning can realize grid-substation joint training simulation, which solves the problem that the existing ground-distribution joint training simulation function adopts a localized deployment and operation mode, and the installation and update maintenance cycle is long, resulting in the inability to maximize the application of the training function, which directly affects the efficiency and effect of professional training.
[0069] In this embodiment, a cloud-based power grid substation joint training simulation method is provided, which can be used on a cloud platform. Figure 2 is a flow chart of a cloud-based power grid substation joint training simulation method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0070] Step S201, creating an initial virtual machine in the cloud platform using cloud computing virtualization technology.
[0071] Specifically, the above step S201 includes:
[0072] Step S2011, using cloud computing virtualization technology to create a virtual machine lightweight management system in the server within the cloud platform.
[0073] Specifically, the virtualization technology of cloud computing can be used to abstract physical hardware resources into virtual resources. In this embodiment, the server can be abstracted into a virtual machine, and a virtual machine lightweight management system can be installed in the server.
[0074] Step S2012: creating an initial virtual machine in the virtual machine lightweight management system.
[0075] Specifically, an initial virtual machine is created in the virtual machine lightweight management system and the number of CPU cores, hard disk capacity, memory capacity, and network bandwidth of the initial virtual machine are reasonably allocated. In previous training scenarios, when N independent training resources are needed, N physical hardware is required. Through cloud computing virtualization technology, multiple training resources can be obtained through one physical hardware, achieving the purpose of efficient utilization.
[0076] Step S202: Based on the preset device ID, a power grid dispatch simulation model and a substation 3D simulation model are respectively established in the initial virtual machine, and a target virtual machine is determined. Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.
[0077] Step S203: clone the target virtual machine based on the training requirements to obtain multiple target virtual machines. Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.
[0078] Step S204, using multiple target virtual machines to perform power grid and substation joint training simulation to obtain power grid and substation joint training simulation results.
[0079] Specifically, the above step S204 includes:
[0080] Step S2041, constructing a virtual environment for power grid transformation.
[0081] Specifically, the virtual environment of power grid substation can be used to simulate various operation scenarios.
[0082] Step S2042, determining virtual resources of the cloud platform based on multiple target virtual machines.
[0083] Specifically, by combining the virtual resources of each target virtual machine, the virtual resources of the cloud platform can be obtained.
[0084] Step S2043, based on the virtual resources, using multiple target virtual machines to perform joint training simulation on the virtual environment, and obtain the power grid substation joint training simulation results.
[0085] Specifically, when virtual resources are known, a virtual environment of power grid transformation constructed using virtual resources can be used to perform joint training simulation.
[0086] In some optional implementations, the above step S2043 includes:
[0087] Step a1, based on virtual resources, use multiple target virtual machines to perform joint training simulation on the virtual environment and determine whether there are idle virtual resources on the cloud platform.
[0088] Specifically, the cloud platform can dynamically allocate the corresponding virtual resources to each corresponding target virtual machine, so that multiple target virtual machines can use the allocated target virtual machines to perform joint training simulation on the constructed virtual environment of power grid substation. At the same time, it is also necessary to determine whether there are idle virtual resources on the cloud platform during the simulation process.
[0089] Furthermore, when performing dynamic resource allocation, the cloud computing platform also needs to consider security factors. In this embodiment, by using encryption technology and access control mechanism means, the platform can ensure that sensitive information will not be leaked or the security of the system will not be damaged during the resource allocation process.
[0090] Step a2: When there are idle virtual resources on the cloud platform, based on the virtual resources, multiple target virtual machines are used to perform joint training simulation on the virtual environment to obtain the power grid substation joint training simulation results.
[0091] Specifically, the cloud platform can monitor the usage of each virtual resource in the virtual machine in real time, including the CPU usage, memory usage, and network bandwidth of the host machine and each virtual machine. By analyzing this data, the cloud platform can predict the demand trend of resources in the future. When the usage rate of a resource approaches or exceeds the preset threshold, the platform will trigger the corresponding mechanism to dynamically allocate or release the resource.
[0092] In some optional implementations, the above step a2 includes:
[0093] Step a21, when there are idle virtual resources on the cloud platform, based on the virtual resources, multiple target virtual machines are used to perform joint training simulation on the virtual environment and obtain multiple simulation load conditions.
[0094] Step a22, adjusting the performance parameters of multiple target virtual machines using multiple simulated load conditions.
[0095] Step a23, performing joint training simulation on the virtual environment based on the adjusted multiple target virtual machines to obtain a power grid and substation joint training simulation result.
[0096] Specifically, if there are still idle virtual resources on the cloud platform, the idle virtual resources can continue to be allocated to each corresponding target virtual machine, so that multiple target virtual machines can use the allocated target virtual machines to perform joint training simulation on the constructed virtual environment of the power grid substation.
[0097] Furthermore, the corresponding simulation load situation can be obtained in real time, and the number of CPU cores, hard disk capacity, memory capacity, and network bandwidth of the corresponding target virtual machine can be adjusted according to the obtained simulation load situation.
[0098] Furthermore, when the load increases, the cloud platform can autonomously create new virtual machines or expand the resources of existing virtual machines to meet higher computing needs. When the load decreases, the cloud platform can autonomously release excess resources to reduce resource waste and costs. The basic principles of creation and expansion are:
[0099] If the host machine is PC-host and the virtual machines are PC1, PC2, PC3…PCn, then: PC1+PC2PC3…PCn≤PC-host.
[0100] Furthermore, the number of CPU cores, hard disk capacity, and memory capacity should all follow the above rules.
[0101] Furthermore, load balancing technology can be used to evenly distribute the workload in the simulation process to multiple virtual machines or servers to avoid overloading a single node. For example, the database service is allocated to PC1, and the file service is allocated to PC2. Through load balancing algorithms (such as polling), the cloud platform can ensure that each node can get a reasonable load and improve the overall performance of the system.
[0102] In some optional embodiments, in the above step a21, multiple target virtual machines are used to perform joint training simulation on the virtual environment, including: based on preset operation instructions, controlling the power grid dispatching simulation model and the substation 3D simulation model in each target virtual machine to perform simulation interaction to obtain multiple simulation interaction results; based on the multiple simulation interaction results, the virtual environment is jointly trained and simulated.
[0103] Step a3: When there are no idle virtual resources on the cloud platform, return to the step of cloning the target virtual machine based on the training requirements, iterate repeatedly and obtain the power grid substation joint training simulation results.
[0104] Specifically, if there are no virtual resources on the cloud platform, the process returns to step S203 and the constantly changing computing needs can be met by dynamically creating, expanding or reducing virtual machines.
[0105] Furthermore, through repeated iterations, the final grid-substation joint training simulation results can be obtained.
[0106] Step S205, obtaining a power grid and substation joint training simulation data set.
[0107] Specifically, the power grid and substation joint training simulation dataset is used to characterize the power grid and substation joint training simulation process.
[0108] Step S206, using the power grid and substation joint training simulation data set, evaluating the power grid and substation joint training simulation results.
[0109] Specifically, by analyzing the obtained grid-substation joint training simulation data set, we can evaluate the training effect, identify problems and deficiencies in the training, and provide a basis for subsequent training improvements.
[0110] The cloud-based grid-substation joint training simulation method provided in this embodiment can abstract physical hardware resources (such as servers) into virtual resources, i.e., virtual machines, through the virtualization technology of cloud computing. Furthermore, through virtualization, physical resources are divided into multiple virtual resources, each of which can independently run applications, thereby realizing flexible management and allocation of resources. The virtual resources of the cloud platform can be determined by the obtained multiple target virtual machines, and then the cloud platform can dynamically allocate virtual resources to multiple target virtual machines. At the same time, virtual machines can also be dynamically created, expanded or reduced according to the virtual resources existing in the cloud platform, so as to cope with the ever-changing computing needs. Then, the multiple target virtual machines obtained by cloning can realize the grid-substation joint training simulation. At the same time, during the simulation process, the performance parameters of the multiple target virtual machines can be adjusted in real time through the real-time simulation load conditions of the multiple target virtual machines during the joint training simulation, and then the adjusted multiple target virtual machines can be used to perform joint training simulation on the virtual environment, thereby reducing resource waste and cost, and solving the problem that the existing ground and distribution integrated joint training simulation function adopts a localized deployment and operation mode, and the installation and update maintenance cycle is long, resulting in the training function cannot be maximized, which directly affects the efficiency and effect of professional training.
[0111] In this embodiment, a cloud-based power grid substation joint training simulation system is provided. Figure 3 As shown, the power grid substation joint training simulation system 1 based on cloud technology includes: a cloud platform 11 and a background service monitoring system 12;
[0112] The cloud platform 11 includes a plurality of virtual machines 111, each of which includes a power grid dispatching simulation system 1111 and a substation 3D simulation system 1112;
[0113] The backend service monitoring system 12 is used to monitor the independent operation or simultaneous operation of the power grid dispatching simulation system 1111 and the substation 3D simulation system 1112, and send preset operation instructions to the cloud platform;
[0114] Specifically, a background service monitoring model is created based on the combination and decoupling of models, which can monitor the independent or simultaneous operation of the power grid dispatching simulation system 1111 and the substation 3D simulation system 1112. Different operation scenarios correspond to different background logics. For example, when running separately, each uses the corresponding logic. When running simultaneously, the plant or one side with a 3D model uses the substation simulation logic, and the one without a 3D model uses the power grid simulation logic.
[0115] The cloud platform 11 is used to execute the cloud technology-based power grid and substation joint training simulation method provided in the above embodiment of the present invention.
[0116] The interaction between the power grid dispatching simulation system 1111 and the substation 3D simulation system 1112 is realized in the following manner:
[0117] When operating in the power grid dispatching simulation system 1111, the user performs telesignaling, telemetering, remote control and remote adjustment operations on the equipment through a wiring diagram. The operation instructions will be passed to the power grid dispatching background service through the protobuf protocol. After receiving the request information, the background service will call the corresponding interface according to the transmitted operation type to implement the operation of the dispatching side equipment.
[0118] The service receives client requests mainly through the event processor evthdl. Figure 4 As shown in the action logic of the power grid simulation operation instruction, the following lists the main operation event processing methods through several embodiments:
[0119] (1) Switch operation:
[0120] After evthdl receives the switch operation, it distributes it to the corresponding switch operation instruction through the message event sequence number. The system extracts the corresponding operation device according to the event in the operation instruction, changes the state of the operation device from the current state to the operation state in the event, and drives the power flow calculation after the operation is completed. After the calculation is completed, the instruction operation is completed;
[0121] (2) Load regulation:
[0122] After evthdl receives the load regulation operation, it distributes it to the corresponding load regulation instruction through the message event sequence number. The system performs secondary information analysis based on the event in the operation instruction to distinguish the corresponding operation, mainly including single load, plant load, and regional load. According to the corresponding operation object extracted from the event, the flow of the operation object is changed from the current to the operation flow in the event. After the operation is completed, the flow calculation is driven, and the instruction operation is completed after the calculation is completed;
[0123] (3) Power generation regulation:
[0124] After evthdl receives the output regulation operation, it distributes it to the corresponding output regulation instruction through the message event sequence number. The system performs secondary information analysis based on the event in the operation instruction to distinguish the corresponding operation, which mainly includes single unit power generation, plant station power generation, and regional power generation. According to the corresponding operation object extracted from the event, the power flow of the operation object is changed from the current to the operation power flow in the event. After the operation is completed, the power flow calculation is driven, and the instruction operation is completed after the calculation is completed;
[0125] (4) Fault settings:
[0126] After evthdl receives the fault setting operation, it distributes it to the corresponding fault setting instruction through the message event sequence number. The system performs secondary information analysis based on the events in the operation instruction to distinguish the corresponding operations, mainly including line faults, busbar faults, main transformer faults, switch faults, PT faults, generator faults, and load faults. According to the corresponding operation objects extracted from the event, the relay protection action is triggered. After the operation is completed, the power flow calculation is driven. After the calculation is completed, the instruction operation is completed.
[0127] (5) Protection settings:
[0128] After evthdl receives the protection setting operation, it distributes it to the corresponding protection setting instruction through the message event sequence number. The system performs secondary information analysis based on the events in the operation instruction to distinguish the corresponding operations, mainly including protection drop-in and drop-out, protection refusal to operate, protection malfunction, and reclosing mode. According to the corresponding operation object extracted from the event, the protection action setting of the object in the real-time library is changed. When setting a fault related to the object, the system can simulate the fault according to the setting. After the setting is completed, the instruction operation is completed;
[0129] (6) Automatic device settings:
[0130] After evthdl receives the automatic device setting operation, it distributes it to the corresponding automatic device setting instruction through the message event sequence number. The system performs secondary information analysis based on the event in the operation instruction, and changes the automatic device status of the plant station in the real-time library according to the corresponding operation object extracted from the event. When other operation instructions affect the equipment related to the judgment logic of the object, the system can act according to the set automatic device status. After the setting is completed, the instruction operation is completed;
[0131] Furthermore, other operation event processing methods may be included according to actual needs.
[0132] When operating in the substation 3D simulation system 1112, the operation instructions will also be sent to the substation simulation background service through the protobuf protocol. After receiving the request information, the substation simulation background service will call the corresponding interface according to the transmitted operation type. The interface program will parse the device ID and operation type, and then search the substation logic file one by one for the response logic of the corresponding operation type of the device, and return the response result to the substation service program through the interface.
[0133] Among them, the operation of receiving client requests is mainly completed through the event processor tts_station, such as Figure 5 As shown in the action logic of the substation simulation operation instruction, the following lists the main operation event processing methods through several embodiments:
[0134] (1) Switch operation:
[0135] After receiving the switch operation, tts_station will search the response logic of the device to the operation type in the substation logic file one by one, return the response result to the substation service program through the interface, drive the substation 3D model to update the device status, and send the operation instruction to the event processor evthdl of the scheduling simulation to drive the switch position change in the scheduling model. After the operation is completed, it drives the power flow calculation, and the instruction operation is completed after the calculation is completed;
[0136] (2) Abnormal / fault settings:
[0137] After receiving the fault setting operation, tts_station will search the response logic of the device to the operation type in the substation logic file one by one, return the response result to the substation service program through the interface, drive the substation 3D model to update the device status, and send the operation instruction to the event processor evthdl of the dispatching simulation to drive the remote signal change in the dispatching model. After the operation is completed, it drives the power flow calculation, and the instruction operation is completed after the calculation is completed;
[0138] (3) Protection settings:
[0139] After receiving the protection setting operation, tts_station will search the response logic of the corresponding operation type of the device in the substation logic file one by one, return the response result to the substation service program through the interface, and drive the substation 3D model to update the device status;
[0140] (4) Sending a message:
[0141] When the substation performs switch operation or abnormal / fault setting, logical messages will be generated after the logical action. TTS_station will forward these message information to the alarm service thdts_alarm_srv of the dispatching system, and thdts_alarm_srv will output and display them externally through the web.
[0142] (5) Change the state of the light-emitting sign:
[0143] When the substation performs switch operation or abnormal / fault setting, the light-sign signal will be triggered after the logical action. TTS_station will forward these message information to the event processor evthdl of the dispatching system to change the light-sign status value in the protection signal table of the intermediate library, and then display the status change externally through the web.
[0144] Furthermore, upon receiving the dispatching operation, the dispatching background service will synchronously forward the operation instruction to the background service of the substation 3D simulation system 1112. After receiving the operation instruction, the substation 3D simulation system 1112 triggers the substation equipment to implement synchronous response of the operation through the same interface.
[0145] Furthermore, when receiving the substation operation, the substation simulation background service will reversely and synchronously forward the operation instruction to the background service of the power grid dispatching simulation system 1111. After receiving the operation instruction, the power grid dispatching simulation system 1111 triggers the dispatching side device to synchronously respond to the background service to call the interface again, and forward the instruction to the background of the power grid dispatching simulation system 1111, so that the power grid dispatching simulation system 1111 and the substation 3D simulation system 1112 can run synchronously.
[0146] Through the above-mentioned forward and reverse operations, the interconnection between the power grid dispatching simulation system 1111 and the substation 3D simulation system 1112 is realized, thereby achieving the purpose of joint simulation.
[0147] In an optional implementation, the following are the main ways to implement the scheduling simulation and substation 3D simulation interaction:
[0148] (1) After the dispatch simulation system generates remote control operation instructions for the equipment in the substation, it will immediately send these instructions to the substation 3D simulation system. For example, when the dispatcher decides to open or close a circuit breaker, the dispatch simulation will generate the corresponding remote control instructions and send them out.
[0149] (2) After receiving these instructions, the substation 3D simulation starts to simulate the operation of the equipment. For example, for the opening and closing operations of the circuit breaker, the substation 3D simulation will display the process of the circuit breaker contact separation or closing, as well as the action of the related mechanical structure in the 3D scene. At the same time, this operation instruction will also trigger the corresponding logical judgment and action of the secondary equipment. For example, the opening and closing operations of the circuit breaker may affect the protection and measurement and control logic of the secondary equipment, resulting in the activation or locking of the protection device, and the update of the circuit breaker status by the measurement and control device.
[0150] (3) The IEC 61850 communication protocol is used to simulate the communication interface between the dispatching system and the substation 3D simulation system. First, the interface types such as the network port and the serial port are simulated. For the network port simulation, the sending and receiving process of the network data packet is simulated. The dispatching simulation system encapsulates the data into a network data packet and sends it to the substation 3D simulation system through the network. After receiving the data packet, the substation 3D simulation system parses and extracts the required data. For the serial port simulation, the baud rate, data bit, stop bit and other parameters of the serial port communication are simulated to ensure the correct transmission of the data.
[0151] (4) The substation 3D simulation system receives the status data of the secondary equipment through these interfaces. When the status of the secondary equipment changes, the data will be sent to the substation 3D simulation system through the communication interface. For example, when the protection device is activated, the action signal will be sent out. After receiving this data, the substation 3D simulation system accurately displays the equipment status in the 3D scene. For example, the action of the protection device is indicated by changing the color of the equipment, displaying the status of the indicator light, etc. At the same time, the substation 3D simulation system can also receive control instructions from the dispatch simulation and display them visually. When the dispatch simulation system issues a control instruction, the instruction is sent to the substation 3D simulation system through the communication interface. The substation 3D simulation system simulates the operation of the equipment in the 3D scene according to the instruction, allowing users to intuitively see the effect of the dispatch operation.
[0152] (5) Simulate the IRIG-B interface used for time synchronization. Ensure the time synchronization between the dispatch simulation and the substation 3D simulation system. By simulating this interface, the time signal transmission between the two is realized, so that the order of events can be accurately determined in scenarios such as fault analysis and protection action sequence judgment.
[0153] (6) The dispatch simulation system provides a software interface, and the substation 3D simulation system can call the flow calculation results of the dispatch simulation. The dispatch simulation system calculates the power flow distribution of the power grid through complex algorithms, including the voltage, current, power and other information of each node. The substation 3D simulation system obtains the flow calculation results by calling this interface, and converts them into a visualized flow distribution and displays them in the 3D scene. For example, by displaying the direction of current flow in the 3D scene and using different colors to represent the voltage, users can intuitively understand the operating status of the power grid.
[0154] (7) The substation 3D simulation system may also provide a software interface to the dispatch simulation system. When the dispatch simulation system needs more detailed information about the status of substation internal equipment and the operation details of secondary equipment, it can obtain it through this interface. For example, the substation 3D simulation system can provide three-dimensional model information of substation equipment, the operating status of equipment, etc. After obtaining this information, the dispatch simulation system can make more accurate dispatch decisions.
[0155] (8) When the dispatch simulation system simulates a power grid fault, it collects detailed information about the fault, such as fault location, fault type, fault occurrence time, etc. Then, it sends this fault event information to the substation 3D simulation system.
[0156] (9) After receiving the fault event information, the substation 3D simulation system displays the location of the fault in the 3D scene. For example, if the fault occurs on a transformer, the transformer will be highlighted in the 3D scene, and the fault status may be indicated by special colors or animation effects. At the same time, the impact of the fault on the substation equipment is displayed, such as visual effects such as smoke and fire in the equipment.
[0157] (10) The secondary equipment will act according to the fault event information and its own protection and measurement and control logic. For example, the protection device will determine whether to trip. It will decide whether to issue a trip command based on the type and location of the fault, as well as the setting and action logic of the protection device. At the same time, the measurement and control device will record the changes in electrical quantities before and after the fault, such as changes in voltage, current, power, etc.
[0158] (11) Abnormal events in secondary equipment, such as malfunction or refusal of protection devices, will be fed back to the dispatch simulation and substation 3D simulation system. When a protection device malfunctions or refuses to operate, information about this abnormal event will be sent to the dispatch simulation and substation 3D simulation system. The dispatch simulation system adjusts subsequent dispatch strategies based on these feedbacks. For example, if a malfunction of a protection device causes unnecessary equipment tripping, the dispatch simulation system may take measures to restore power supply and adjust the protection settings to avoid similar situations from happening again. The substation 3D simulation system displays the impact of these abnormal events on substation equipment and operations in a 3D scene, such as using special colors or animation effects to indicate the abnormal status of protection devices.
[0159] In one example, a cloud-based power grid substation joint training simulation method is provided, which has the following functions:
[0160] 1) Cloud computing resource management function: The cloud platform is used to dynamically allocate and schedule the computing and storage resources of the simulation system to ensure the progress of the simulation task. Virtualization technology is mainly used to abstract physical resources into virtual resources for flexible management; elastic scaling strategies adjust resources autonomously according to load; load balancing evenly distributes workloads; encryption and access control are used to ensure secure resource allocation.
[0161] Specifically, it is achieved through the following key steps and functions:
[0162] 1.1) Virtualization Technology:
[0163] The core of cloud computing is virtualization technology, which can abstract physical hardware resources (such as servers) into virtual resources (virtual machines). Through virtualization, physical resources are divided into multiple virtual resources, each of which can run applications independently, thereby achieving flexible management and allocation of resources. In the simulation system, virtualization technology allows virtual machines to be dynamically created, expanded or reduced according to actual needs to cope with changing computing needs.
[0164] 1.2) Elastic Scaling Strategy:
[0165] The cloud computing platform supports elastic scaling strategies and can autonomously adjust resource allocation according to the load of the simulation system. The number of CPU cores, hard disk capacity, memory capacity, and network bandwidth of the virtual machine can be adjusted. When the load increases, the platform can autonomously create new virtual machines or expand the resources of existing virtual machines to meet higher computing needs. When the load decreases, the platform can autonomously release excess resources to reduce resource waste and costs. The basic principles of creation and expansion are:
[0166] If the host machine is PC-host and the virtual machines are PC1, PC2, PC3…PCn, then:
[0167] PC1+PC2PC3…PCn≤PC-host
[0168] The number of CPU cores, hard disk capacity, and memory capacity should all follow this rule.
[0169] 1.3) Load Balancing:
[0170] Load balancing technology can evenly distribute the workload in the simulation system to multiple virtual machines or servers to avoid overloading a single node. For example, the database service is allocated to PC1 and the file service is allocated to PC2. Through load balancing algorithms (such as polling), the platform can ensure that each node can get a reasonable load and improve the overall performance of the system.
[0171] 1.4) Security considerations:
[0172] When performing dynamic resource allocation, cloud computing platforms also need to consider security factors. By using encryption technology and access control mechanisms, the platform can ensure that sensitive information will not be leaked or system security will not be compromised during resource allocation.
[0173] 2) A unified control interface is integrated into the cloud platform, allowing users to intuitively view and manage the resources occupied by each simulation project. Specifically, the cloud computing platform monitors the usage of each virtual resource in the simulation system in real time, including the CPU usage, memory usage, and network bandwidth of the host and each virtual machine. By analyzing this data, the platform can predict the demand trend of resources in the future. When the usage rate of a resource approaches or exceeds the preset threshold, the platform will trigger the corresponding mechanism to dynamically allocate or release resources.
[0174] 3) The cloud platform is compatible with the C / S model and provides training simulation cloud terminals. Specifically, it supports browser access on workstations, tablets, and mobile phones, eliminating the workload of client upgrades and maintenance. The tool user interface adopts the mainstream HTML5 technical standard, communicates with the server through Ajax and WebSocket, and adapts to the different screen sizes and ratios of PCs and various mobile terminals.
[0175] The cloud-based power grid dispatching training simulation can use a unified user authentication system to reuse existing user management data, or use the built-in user authentication function. After the user logs in, they are automatically navigated to the instructor or student interface according to the user role to perform various operations and watch training demonstrations.
[0176] 4) The training simulation method provides ground and distribution grid simulation functions with practical value, which can simulate the real grid structure and operating environment, including: displaying the grid connection, power plants, substations, some switchgears, main connections of ring main units and the status and operation mode of switches / disconnectors; displaying the whole network flow, current grid frequency, interconnection line power value, load in each region, bus voltage of each grid and output of each power source; displaying the heavy load (i.e. main transformer or line load ≥80%) monitoring screen. Display the fault current and voltage values of phase A, B, C or positive, negative and zero sequence of the power grid under various faults; display the configuration and operation status of automatic devices and relay protection of the whole network; various normal operation training; anti-misoperation training; frequency control training; voltage control training; flow control training; interconnection line flow control training; various abnormal situation handling of the power grid; equipment maintenance operation training; ground wire hanging operation training; changing the status of relay protection and automatic devices and modifying the set value operation training; synchronous closing and parallel training; analysis training of variable operating conditions; analysis and handling training of various power grid faults; economic operation and control training of power grid.
[0177] 5) This training simulation method provides a practical substation 3D simulation function, which can simulate the internal structure and operating environment of a real substation. Specifically, in the simulation of the primary equipment, secondary equipment and other necessary equipment of the substation, two-dimensional or three-dimensional technology can be used to reconstruct all the equipment of the substation on the platform, such as knife switches, ground knives, transformers, porcelain bottles, meters, lines, switches, and various control rooms. At the same time, it can realistically simulate various weather conditions and vividly reflect the normal, abnormal, and accident states of the equipment and its action process. You can roam freely in the scene and define the hot zone of the equipment so that the primary equipment in the scene can be operated on the spot. You can monitor, operate, patrol, and arrange the equipment in the virtual scene, and you can vividly simulate the working methods of hanging signs, hanging ground wires, and testing electricity on the site. Multimedia images and sounds are synchronized with the simulation process to produce a realistic simulation effect.
[0178] 6) This training simulation method provides primary and secondary system simulation in power equipment, specifically: primary and secondary power equipment simulation includes relay protection simulation and safety automatic device simulation.
[0179] Furthermore, relay protection simulation can include simulating various common protection devices in the power grid, and giving correct protection action information and switch action information when a fault occurs in the power grid. Set the protection start / stop status, action delay and action setting. Simulate the reclosing action and its coordination with the protection action. Simulate the malfunction and refusal of protection. Simulate the malfunction and refusal of switch. Conveniently maintain, set and query the relay protection model by clicking the device on the wiring diagram.
[0180] Automatic safety devices can include various common automatic devices in simulated power grids, such as stabilization devices, low-frequency / low-voltage load shedding, tripping and joint cutting of units, high-frequency / low-frequency cutting, equipment overload cutting and load shedding, and low-frequency and low-voltage oscillation separation. Tools are provided to support user-defined automatic device modeling. Users can build corresponding models according to the action principles and action strategies of their respective devices. The automatic device can be set to start / stop operation. The startup setting and startup logic conditions of the automatic device can be set. The action pressure plate of the automatic device can be set to start / stop operation. The action of the automatic device can be reset. The automatic device can be set to malfunction or refuse to operate.
[0181] 7) This training simulation method provides control center simulation. Trainees can monitor and control the power grid in the training state and use various analysis tools to analyze and evaluate the power grid status, specifically:
[0182] Remote terminals are set up in each power plant, substation, and centralized control station under the jurisdiction. Power plants and substations can use remote terminals or browsers to log in to the DTS tool to implement joint exercises. Provide data interfaces with substation simulation practical training to form a comprehensive training simulation practical tool. Real-time operations and fault messages in the substation 3D model can be fed back to the dispatching simulation system in real time through the interface. Similarly, all operations in the dispatching simulation system can also be reflected in the 3D model in a timely manner.
[0183] Furthermore, the method creates a joint exercise room mode for multi-person multi-level joint exercises. The joint exercise room mode is used for multi-person multi-level joint exercises, including processes such as establishing a room, inviting, joining, exercising, and meeting comments. The exercise process simulation is realized through this mode, specifically:
[0184] Multi-person and multi-level joint exercises are achieved through the following steps:
[0185] 1. The chief exercise director creates a new joint exercise lesson plan;
[0186] Select the dispatching simulation system and substation simulation system to participate in the joint exercise, and enter the relevant data into the "Joint Exercise Lesson Plan" data table. This link lays the foundation for the joint exercise. The participating systems are determined based on the power system operation structure. The data table is used to centrally manage and share exercise-related information.
[0187] 2. Each simulation system role actor creates a lesson plan;
[0188] Each simulation system creates a lesson plan in its own system. The content of the lesson plan varies according to the system function. For example, the dispatching system focuses on dispatching strategies, the monitoring system focuses on parameter monitoring, and the substation system focuses on substation equipment operations. The newly created lesson plan is associated with the "Lesson Plan Created for Joint Exercises" to achieve the organic integration of each system in the joint exercise and ensure that collaborative operations are based on common goals and scenario settings.
[0189] 3. Launch and conduct of joint exercises
[0190] After the joint exercise began, each simulation system operated according to the lesson plan and its relevance. The dispatching simulation system issued instructions, the monitoring simulation system monitored and fed back data, and the substation simulation system operated equipment and fed back results. Each system interacted in real time through data sharing, interface calls, etc., dynamically simulating the operation of the power system.
[0191] 4. Review of the meeting after the exercise
[0192] Meeting reviews are an important part of joint exercises, and their content includes the accuracy of system operations, coordination and cooperation effects, and the ability to respond to emergencies.
[0193] Furthermore, the data management and analysis functions based on the cloud platform are as follows: it can collect, store and analyze various types of data in training, covering the training status and historical assessment records of trainees in a specified time period, and can analyze the weaknesses of trainees' skills. This function fills a gap in the industry and is different from most existing real-time simulation systems (training data is cleared after the system exits). Through in-depth analysis of data, it is possible to evaluate the training effect, find problems and deficiencies, and provide a basis for improving training. It also supports data visualization, and displays the results in charts and reports, making it easier for trainers and managers to understand the training situation.
[0194] Further, if Figure 6 As shown, the specific implementation method of the cloud-based power grid substation joint training simulation method is as follows:
[0195] 1. Cloud service platform construction
[0196] First, a cloud service platform needs to be built. As the core of the entire system, the cloud service platform is responsible for providing computing resources, storage resources, and network services. The server is virtualized using cloud computing virtualization technology, and a virtual machine lightweight management system is installed. A virtual machine is created on the system, and the number of CPU cores, hard disk capacity, memory capacity, and network bandwidth are reasonably allocated. After the operation is normal, multiple virtual machines are expanded. In this embodiment, the simulation system is cloned after it is built to improve the implementation efficiency.
[0197] 2. Simulation system construction
[0198] Then, a cloud computing-based grid substation joint training simulation system is built in the virtual machine, including a simulation module, a joint training module, and a data management module. As the core of the entire system, the cloud service platform is responsible for providing computing resources, storage resources, and network services. The simulation module is responsible for building a virtual environment for grid substations and simulating various operation scenarios. The joint training module supports multi-user online collaboration and realizes the function of joint training. The data management module is responsible for data storage, backup, and recovery to ensure data security and integrity.
[0199] 3. Simulation model construction
[0200] In the simulation module, a refined simulation model is constructed based on the actual operation process and equipment characteristics of the power grid substation. The model can simulate various situations in the power grid and substation simulation process, including equipment failures and load changes, providing a real operating environment for trainers. At the same time, the simulation model also supports multiple operation modes, such as single-person operation and multi-person collaboration, to meet different training needs.
[0201] 4. Implementation of Joint Training
[0202] Through the joint training module, trainers from multiple regions and departments can participate in the training together. Trainers can access the simulation module through the cloud service platform to perform online operations and exercises. The system also supports real-time interaction and feedback functions. Trainers can communicate and share experiences online, and the system will provide real-time feedback and guidance based on the trainers' operations.
[0203] 5. Data Management and Analysis
[0204] The data management module is responsible for collecting, storing and analyzing various data during the training process. Through the analysis of data, the training effect can be evaluated, problems and deficiencies in the training can be found, and a basis for subsequent training improvements can be provided. At the same time, the system also supports data visualization functions, and the analysis results are presented to trainers and managers in the form of charts, reports, etc., so that they can better understand the training situation.
[0205] Further, the specific implementation steps are as follows:
[0206] 1) Use cloud computing virtualization technology to abstract physical hardware resources into virtual resources. In this embodiment, the server is abstracted into a virtual machine, a virtual machine lightweight management system is installed in the server, and then a virtual machine is created in the virtual machine management system. In the implementation step 1), only one virtual machine 1 is created, and the number of CPU cores, hard disk capacity, memory capacity, and network bandwidth of virtual machine 1 are reasonably allocated. In previous training scenarios, when N independent training resources are needed, N physical hardware is required. Through cloud computing virtualization technology, multiple training resources can be obtained through one physical hardware, achieving the purpose of efficient utilization.
[0207] 2) A unified control interface is integrated into the cloud platform to monitor the usage of various virtual resources in the simulation system in real time, including the CPU usage, memory usage, and network bandwidth of the host machine and each virtual machine.
[0208] 3) Provide training simulation cloud terminal, which can be accessed through browser on various access terminals such as workstations, tablets and mobile phones.
[0209] 4) In the virtual machine 1 created in step 1), a set of ground and distribution grid models of a certain scale is constructed to realize the grid simulation function, including: first, using the graphic modeling tool to establish a set of standard graphic library in accordance with the State Grid standard, including static graphic elements, extended graphic elements, connecting lines / busbars / , lines, switches, switches, loads, units, capacitors / reactors, two-winding transformers, three-winding transformers, grounding switches, arc suppression coils, voltage transformers, other equipment, light signs, plants, and visualization objects. 18 types of graphic elements, and then define the attributes, dynamic data, and number of endpoints of each type of graphic element; second, digital modeling is performed on the drawing modeling tool. In the equipment modeling, the equipment ID is generated according to the rules when the equipment is stored in the commercial library. This can be associated with the equipment during the 3D modeling of the substation to avoid repeated modeling of the equipment at one time. The same equipment ID provides scalability for the grid dispatching model and the substation 3D model. The two are coarse models and fine models respectively, with an embedding and separate use relationship similar to that of cabinets and drawers. The model has the characteristics of combination and decoupling. After connecting various types of equipment according to the design drawing, the primary wiring diagram of each plant and station is obtained. Each plant and station is connected through lines to form a power grid; third, the equipment parameters and measurement data of all electrical equipment in the entire network are entered; fourth, after the drawing work of the power grid is completed, all graphics are topologically analyzed and the topological structure is generated. After that, measurement mapping, state estimation calculation, and dispatcher flow calculation are performed to obtain a convergence section of the power grid; fifth, the relay protection device is modeled, and five types of protection devices, including switch protection, bypass protection, busbar protection, main transformer protection, and busbar protection, are generated through the protection incubator; seventh, eight types of automatic safety devices, including standby automatic transfer, low-frequency / low-voltage load reduction, tripping and joint cutting of units, high-frequency / low-frequency cutting, equipment overload cutting and load shedding, and low-frequency and low-voltage oscillation separation, are modeled, and corresponding models are constructed according to the action principles and action strategies of each device, and the judgment conditions, action elements, and locking conditions are filled in respectively; eighth, an initial teaching plan is generated from the state estimation results or the flow calculation results to obtain a final power grid dispatching simulation model.
[0210] 5) In the virtual machine 1 created in step 1), a 3D model of the substation is constructed to realize the 3D simulation function of the substation, including: first, 3D controls for various electrical equipment are established; second, the main electrical wiring, operation control, relay protection, automatic device, central signal, fault recording, monitoring system, measuring instrument, DC system, emergency lighting, automatic switching of backup power supply, remote control device, microcomputer five protection, and security control device are modeled. The modeling objects may also include the pressure plate, test terminal, fuse, button, and signal light in the above-mentioned circuits. The control is called and dragged to the corresponding position for combination; third, the AC and DC PT secondary circuit of the substation is established; fourth, various weather conditions are modeled and arranged; fifth, some animation effects and visual effects are modeled, such as explosion effects, fire, smoke, etc.; fifth, each device information is written into the file in the format of "type serial number device name serial number protection name serial number set number control name serial number" for each line for packaging, such as: YB LN01 005 002 1 025.
[0211] 6) Real-time monitoring and intelligent alarm of the power grid and network analysis in the control center, using various analysis tools in the application.
[0212] 7) When a complete set of power grid dispatching and substation simulation systems can run perfectly in virtual machine 1, virtual machine 1 can be copied and cloned by using the characteristics of cloud technology, so that multiple virtual resources can be obtained quickly and accurately. These resources can be independent of each other and interconnected. For example, the simulation models are independent of each other, and some computing data can be shared and interconnected, which also provides favorable conditions for joint exercises of cloud technology. In the past, these simulation systems needed to be installed on multiple physical terminals, which was time-consuming and labor-intensive.
[0213] 8) Carry out joint exercises and training based on cloud technology, which is mainly reflected in the data interface of dispatching and substation simulation and practical training, and can form a comprehensive training simulation and practical tool. More importantly, remote terminals such as local workstations, tablets, and mobile phones are set up in each power plant, substation, and centralized control station under the jurisdiction. Personnel from the dispatch center, power plant, and substation can use remote terminals or browsers to log in to the DTS tool to implement joint exercises.
[0214] 9) After training and anti-accident drills, the operation records of the staff are counted to analyze whether the trainees' operations are correct and whether the auxiliary system inspection is complete. The system is scored from four aspects: economy, safety, reliability, and misoperation.
[0215] 10) The data management module of the cloud platform collects, stores and analyzes the operation record scores generated in step 9). By analyzing the data, the training effect can be evaluated, problems and deficiencies in the training can be found, and a basis for subsequent training improvements can be provided. At the same time, the system also supports data visualization, which displays the analysis results to trainers and managers in the form of charts and reports, so that they can better understand the training situation.
[0216] Among them, the above 4) and step 5) have no order of precedence and can be performed simultaneously.
[0217] The cloud-based grid substation joint training simulation method provided in this example has the following characteristics and beneficial effects:
[0218] 1. Technical features
[0219] 1. Cloud technology integration: This technology fully utilizes the advantages of cloud computing, including elastic computing resources, high availability, and data security, to provide strong technical support for grid-substation joint training.
[0220] 2. Real-time simulation capability: This technology can simulate various situations in the power grid transformation process in real time, including equipment failures and load changes, providing trainees with a realistic operating environment.
[0221] 3. Joint training model: Through the distributed computing and collaboration functions of cloud technology, joint training in multiple regions and departments can be achieved, improving training efficiency and interactivity.
[0222] 4. Highly scalable: The cloud-based architecture enables the technology to be easily expanded to meet the training needs of more users.
[0223] 2. Beneficial Effects
[0224] 1. Improve training effect: Through a real simulation environment, trainees can have a deeper understanding of the operation process and precautions of power grid substation, thereby improving their skill level.
[0225] 2. Reduce costs: Compared with traditional on-site training, cloud-based simulation training does not require a large amount of physical equipment and venues, thus reducing training costs.
[0226] 3. Improve training efficiency: The joint training model enables trainers from different regions and departments to participate together and learn from each other, thereby improving training efficiency.
[0227] 4. Enhanced safety: Through simulation technology, various operation attempts can be made without actually affecting the operation of the power grid, thus avoiding safety accidents caused by operational errors.
[0228] 5. Promote knowledge sharing: Cloud technology enables the sharing of training resources. Different users can choose corresponding training content according to their needs, thus maximizing the use of knowledge.
[0229] The embodiment of the present invention also provides a computer device for executing the above Figure 1 to Figure 2 The cloud-based grid substation joint training simulation method shown.
[0230] See also Figure 7 , Figure 7 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 7 As shown, the computer device comprises: one or more processors 10, memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components utilize different buses to communicate with each other, and can be installed on a common mainboard or installed in other ways as required. The processor can process the instructions executed in the computer device, including instructions stored in the memory or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Equally, multiple computer devices can be connected, and each device provides part of the necessary operation (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 7 A processor 10 is taken as an example.
[0231] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0232] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0233] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0234] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0235] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0236] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0237] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0238] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A cloud-based power grid and substation joint training simulation system, characterized in that: The system includes a cloud platform and a backend service monitoring system; The cloud platform includes multiple virtual machines, each of which includes a power grid dispatching simulation system and a substation 3D simulation system; The background service monitoring system is used to monitor the independent or simultaneous operation of the power grid dispatching simulation system and the substation 3D simulation system, and send preset operation instructions to the cloud platform; The cloud platform is used to execute the power grid substation joint training simulation method based on cloud technology; The interaction between the power grid dispatching simulation system and the substation 3D simulation system is achieved in the following manner: When operating in the power grid dispatching simulation system, the user performs telesignaling, telemetering, remote control and remote adjustment operations on the equipment through a wiring diagram. The operation instructions will be transmitted to the power grid dispatching background service through the protobuf protocol. After receiving the request information, the background service will call the corresponding interface according to the transmitted operation type to implement the operation of the dispatching side equipment. Among them, the service receives the client request operation through the event processor evthdl, including switch knife operation, load regulation operation, power generation regulation operation, fault setting operation, protection setting operation, automatic device setting operation, and different operation types correspond to different processing methods; When operating in the substation 3D simulation system, the operation instructions will also be sent to the substation simulation background service through the protobuf protocol. After receiving the request information, the substation simulation background service will call the corresponding interface according to the transmitted operation type. The interface program will parse the device ID and operation type, and then search the corresponding operation type of the device in the substation logic file one by one. The response result is returned to the substation service program through the interface. Among them, the service receives the client request operation through the event processor tts_station, including switch operation, abnormal / fault setting operation, protection setting operation, message sending operation, light sign state change operation, automatic device setting operation, different operation types correspond to different processing methods; When receiving the dispatching operation, the dispatching background service will synchronously forward the operation instruction to the background service of the substation 3D simulation system. After receiving the operation instruction, the substation 3D simulation system will trigger the substation equipment to implement the synchronous response of the operation through the same interface. When receiving the substation operation, the substation simulation background service will synchronously forward the operation instruction to the background service of the power grid dispatching simulation system. After receiving the operation instruction, the power grid dispatching simulation system will trigger the dispatching side device to synchronously respond to the background service to call the interface again and forward the instruction to the background of the power grid dispatching simulation system, so that the power grid dispatching simulation system and the substation 3D simulation system can run synchronously. The interaction between the power grid dispatching simulation system and the substation 3D simulation system includes: (1) After the power grid dispatching simulation system generates remote control operation instructions for the equipment in the substation, it sends these remote control operation instructions to the substation 3D simulation system; (2) After receiving the remote control operation command, the substation 3D simulation starts to simulate the operation of the equipment; (3) Use IEC 61850 communication protocol to simulate the communication interface between the power grid dispatching system and the substation 3D simulation system; (4) The substation 3D simulation system receives the status data of secondary equipment through the communication interface; (5) Simulate the IRIG-B interface used for time synchronization to synchronize the power grid dispatching simulation system and the substation 3D simulation system in time; (6) The power grid dispatching simulation system provides a software interface. The substation 3D simulation system calls the power flow calculation results of the power grid dispatching simulation system and converts the power flow calculation results into a visualized power flow distribution and displays it in a 3D scene. (7) The substation 3D simulation system provides a software interface to the power grid dispatching simulation system, and the software interface is used by the power grid dispatching simulation system to obtain the substation internal equipment status and secondary equipment operation details from the substation 3D simulation system; (8) When the power grid dispatching simulation system simulates a power grid fault, it collects detailed information about the fault and sends the detailed information to the substation 3D simulation system; (9) After receiving the fault event information, the substation 3D simulation system displays the location of the fault in the 3D scene; Among them, the cloud-based grid substation joint training simulation method includes: Using cloud computing virtualization technology to create an initial virtual machine in the cloud platform, wherein the initial virtual machine is obtained by abstracting physical hardware resources into virtual resources using cloud computing virtualization technology, and the physical hardware resources are abstracted into virtual servers created on physical servers by software or hardware; Based on the preset device ID, a power grid dispatching simulation model and a substation 3D simulation model are respectively established in the initial virtual machine, and a target virtual machine is determined; Cloning the target virtual machine based on training requirements to obtain multiple target virtual machines; Using the plurality of target virtual machines to perform power grid and substation joint training simulation, and obtaining power grid and substation joint training simulation results; Among them, the simulation content of the power grid dispatching simulation model includes multiple aspects: first, use the graphic element modeling tool to establish a set of standard graphic element libraries in reference to the State Grid standards, including static graphics elements, extended graphics elements, connecting lines / busbars / , lines, switches, switches, loads, units, capacitors / reactors, two-winding transformers, three-winding transformers, grounding switches, arc suppression coils, voltage transformers, other equipment, light signs, plants, and visualization objects. 18 types of graphics elements, and then define the attributes, dynamic data, and number of endpoints of each type of graphics element; second, digital modeling is performed on the drawing modeling tool. In the equipment modeling, the equipment ID is generated according to the rules when the equipment is stored in the commercial library, and the equipment is associated during the 3D modeling of the substation. After connecting various types of equipment according to the design drawing, the primary wiring diagram of each plant is obtained. Each plant is connected through lines to form a power grid; third, all electrical equipment in the entire network is connected. First, input equipment parameters and measurement data; fourth, after completing the drawing of the power grid, topology all graphics are topologically generated, and then measurement mapping, state estimation calculation, and dispatcher flow calculation are performed to obtain a convergence section of the power grid; fifth, the relay protection device is modeled, and five types of protection devices, including switch protection, bypass protection, busbar protection, main transformer protection, and busbar protection, are generated through the protection incubator; seventh, eight types of automatic safety devices, including equipment self-throwing, low-frequency / low-voltage load reduction, tripping and joint cutting of units, high-frequency / low-frequency cutting, equipment overload cutting and load shedding, and low-frequency and low-voltage oscillation separation, are modeled, and corresponding models are constructed according to the action principles and action strategies of each device, and the judgment conditions, action elements, and locking conditions are filled in respectively; eighth, an initial teaching plan is generated from the state estimation results or flow calculation results to obtain the final power grid dispatching simulation model; Constructing a 3D simulation model of a substation in the initial virtual machine includes multiple aspects: first, establishing 3D controls for various electrical equipment; second, modeling electrical main wiring, operation control, relay protection, automatic devices, central signals, fault recording, monitoring systems, measuring instruments, DC systems, emergency lighting, automatic switching of backup power supplies, remote control devices, microcomputer five protections, and security control devices. The modeling objects also include pressure plates, test terminals, fuses, buttons, and signal lights in each circuit. Call controls and drag them to the corresponding positions for combination; third, establishing the AC and DC PT secondary circuits of the substation; fourth, modeling various weather conditions and scene layout; fifth, modeling some animation effects and visual effects; fifth, writing each device information into a file in the format of "type serial number device name serial number protection name serial number set number control name serial number" for each line for packaging; The cloud platform is also used for data management and analysis, specifically for collecting, storing and analyzing various types of data in training, wherein the various types of data cover the training status and historical assessment records of trainees in a specified time period, and the training status and historical assessment records of trainees are used to analyze the weaknesses of trainees' skills.
2. The system according to claim 1, characterized in that Using cloud computing virtualization technology to create an initial virtual machine in the cloud platform includes: Using cloud computing virtualization technology to create a virtual machine lightweight management system in the server within the cloud platform; The initial virtual machine is created in the virtual machine lightweight management system.
3. The system according to claim 1, characterized in that The power grid and power transformation joint training simulation is performed using the plurality of target virtual machines to obtain the power grid and power transformation joint training simulation results, including: Construct a virtual environment for power grid transformation; Determining virtual resources of the cloud platform based on the multiple target virtual machines; Based on the virtual resources, a plurality of the target virtual machines are used to perform joint training simulation on the virtual environment to obtain the power grid and substation joint training simulation result.
4. The system according to claim 3, characterized in that Based on the virtual resources, a plurality of the target virtual machines are used to perform joint training simulation on the virtual environment to obtain the power grid substation joint training simulation result, including: Based on the virtual resources, using the plurality of target virtual machines to perform joint training simulation on the virtual environment and determine whether the cloud platform has idle virtual resources; When there are idle virtual resources on the cloud platform, based on the virtual resources, a plurality of target virtual machines are used to perform joint training simulation on the virtual environment to obtain the power grid substation joint training simulation result; When the cloud platform does not have idle virtual resources, the step of cloning the target virtual machine based on training requirements is returned to, and the power grid and substation joint training simulation results are obtained by repeated iterations.
5. The system according to claim 4, characterized in that When there are idle virtual resources on the cloud platform, based on the virtual resources, a plurality of target virtual machines are used to perform joint training simulation on the virtual environment to obtain the power grid substation joint training simulation result, including: When there are idle virtual resources on the cloud platform, based on the virtual resources, a plurality of target virtual machines are used to perform joint training simulation on the virtual environment and obtain a plurality of simulation load conditions; Using the multiple simulated load conditions to adjust the performance parameters of the multiple target virtual machines; Based on the adjusted multiple target virtual machines, a joint training simulation is performed on the virtual environment to obtain the power grid and substation joint training simulation result.
6. The system according to claim 5, characterized in that Using the plurality of target virtual machines to perform joint training simulation on the virtual environment includes: Based on preset operation instructions, control the power grid dispatching simulation model and the substation 3D simulation model in each target virtual machine to perform simulation interaction to obtain multiple simulation interaction results; A joint training simulation is performed on the virtual environment based on the multiple simulation interaction results.
7. The system according to claim 1, characterized in that The method further comprises: Obtain the grid-substation joint training simulation dataset; The power grid and power transformation joint training simulation data set is used to evaluate the power grid and power transformation joint training simulation results.