Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a method for realizing the simulation of the operation of the energy storage power station, which can realize the simulation of the operation of the energy storage power station, can completely and really follow the operation flow and the associated equipment state change according to the actual field requirements of the energy storage power station, effectively improves the operation and maintenance training effect of the energy storage power station and reduces the operation risk of the actual operation and maintenance training of the operation and maintenance field.
A second object of the present invention is to provide an energy storage plant operation simulation system.
A third object of the present invention is to provide a storage medium.
It is a fourth object of the invention to provide a computing device.
The first purpose of the invention is realized by the following technical scheme: a method for realizing the simulation of the operation of an energy storage power station comprises the following steps:
step S1, carrying out three-dimensional modeling on a hydraulic junction building of the energy storage power station to obtain a hydraulic junction building model;
performing three-dimensional modeling on equipment related to operation by taking an energy storage power station operation typical operation order as a basis to obtain an equipment model;
performing three-dimensional modeling on an operation tool related to operation by taking an energy storage power station operation typical operation order as a basis to obtain an operation tool model;
s2, constructing an energy storage power station site scene through the hydraulic hub building model, the equipment model and the operation tool model;
according to typical operation tickets of the energy storage power station and actual operation of power plant operators, the motion modes and the motion states of the equipment model and the operation tool model are manufactured;
step S3, constructing a finite state machine for each typical operation ticket, specifically:
step S31, first, dividing the movement of the device model and/or the operation tool model related to the typical operation ticket in each operation step of the typical operation ticket into a plurality of movement flows, and obtaining the moved state of the device model and/or the operation tool model after each movement flow;
step S32, creating a finite state machine according to each motion flow of the equipment model and/or the operation tool model, wherein each state in the finite state machine respectively corresponds to one or more motion flows of the control equipment model and/or the operation tool model when running; for each state of the finite-state machine, introducing an input condition for the state according to the operation to be performed when the equipment model and/or the operation tool model enters the motion flow controlled during the operation of the state after the motion flow controlled during the operation of the last state is finished;
step S4, when the simulation of the typical operation ticket is to be performed, firstly, the finite state machine of the typical operation ticket is started, and from the initial state, the state of the finite state machine monitors the corresponding input conditions, and judges whether the input conditions are received by the finite state machine in the monitored state;
if not, continuing monitoring;
if so, the state enters an operation state, a signal is sent to the next state when the operation is finished, and the next state enters a monitoring state or directly enters the operation state until the last step of the typical operation ticket is finished by the operation control of the finite state machine; and after the motion process is finished, the state of the equipment model and/or the operation tool model after corresponding motion is displayed in a scene.
Preferably, in step S1, a Unity3D engine is combined with the hydraulic hub building model, the equipment model and the tool model to construct an energy storage power station site scene;
in the step S3, a finite state machine is constructed in the Unity3D engine for each typical operation ticket; introducing input conditions for each state of the finite-state machine in the Unity3D engine, specifically: firstly, obtaining a motion flow of an equipment model and/or an operation tool model controlled by a finite-state machine in the last state running process, determining an operation to be performed when the equipment model and/or the operation tool model enters the motion flow controlled by the finite-state machine in the last state running process after the motion flow controlled by the finite-state machine in the last state running process is finished, and converting the operation into a human-computer interaction action at a corresponding position of an interface in a Unity3D engine;
in the Unity3D engine, when a finite state machine of a typical operation ticket is started, a starting point state is run, and a scene required by the operation of the typical operation ticket is loaded;
when the state in the finite state machine monitors the input condition, the control interface visual angle is switched to the state to control the position of each equipment model and/or operation model in the scene where the motion process is completed.
Furthermore, in step S1, for the hydraulic junction building, the equipment and the operation tool, firstly, scanning is performed by a three-dimensional laser scanner to obtain three-dimensional point cloud data, and the three-dimensional point cloud data is input into three-dimensional modeling software, and modeling is performed by the three-dimensional modeling software according to the obtained three-dimensional point cloud data;
the hydraulic hub building model, the equipment model and the operation tool model are built by three-dimensional modeling software and then are led into a Unity3D engine, and then an energy storage power station site scene is built by the Unity3D engine in combination with the hydraulic hub building model, the equipment model and the tool model.
Furthermore, the state of the device model and the operation tool after movement is made by the three-dimensional modeling software and is imported into the Unity3D engine; making the motion mode and the motion effect of the equipment model and the operation tool in a Unity3D engine;
the states of the equipment model and the operation tool after the movement are respectively displayed after the finite-state machine controls the finite-state machine to complete the movement processes, and are displayed according to the corresponding moved effects made in the Unity3D engine.
Further, in the Unity3D engine, with respect to an operation tool model required in a typical operation ticket, a vertex contour of the operation tool model is obtained by an image processing method, and then the vertex is colored so that the operation tool model contour exhibits a light emitting effect.
Preferably, the method further comprises the following steps:
performing three-dimensional modeling on the key involved in the locking process based on the energy storage power station key locking process to obtain a key model;
according to the energy storage power station key locking process, a key model motion mode and a motion state are manufactured;
the method is characterized in that a finite state machine is constructed for a locking process, and specifically comprises the following steps: firstly, dividing the motion of each key model into a plurality of motion flows according to a locking flow, and acquiring the state of the key model after the motion of each motion flow; then, a finite state machine is established according to each motion flow of the key model, wherein each state in the finite state machine correspondingly controls one or more motion flows of the key model when running; for each state in the finite state machine, introducing an input condition for the state according to the operation to be performed when the key model enters the motion flow controlled during the state operation from the end of the motion flow controlled during the last state operation;
according to the relation between each locking process and each typical operation ticket, a finite state machine corresponding to the locking process is merged into the finite state machine of the typical operation ticket, namely, the first state and/or the last state of the finite state machine of the locking process is/are associated into the finite state machine of the typical operation ticket to form a new finite state machine which is defined as a first finite state machine; and when each state machine in the first finite state machine runs, the control equipment model and/or the operation tool model or the key model completes the corresponding motion flow according to a certain motion mode.
Preferably, the method further comprises the steps of adding voice-over and voice steps for each state of the finite-state machine of the typical operation ticket, and performing operation guidance through the voice-over and voice steps; when the state of the finite state machine of the typical operation ticket receives an input condition signal, the display of the voice-over and the playing of the voice are triggered.
The second purpose of the invention is realized by the following technical scheme: an energy storage power station operational operation simulation system comprising:
a three-dimensional model establishing unit: the method is used for carrying out three-dimensional modeling on the hydraulic junction building of the energy storage power station to obtain a hydraulic junction building model; the method is used for carrying out three-dimensional modeling on equipment related to operation based on the typical operation order of the energy storage power station to obtain an equipment model; the method is used for carrying out three-dimensional modeling on an operation tool related to operation based on the typical operation order of the energy storage power station to obtain an operation tool model;
the energy storage power station site scene establishing unit is used for establishing an energy storage power station site scene through the hydraulic hub building model, the equipment model and the tool model;
the model effect making unit is used for making the motion modes and the motion states of the equipment model and the operation tool model according to the typical operation order of the energy storage power station and the actual operation of the power plant operator;
a finite state machine establishing unit, configured to establish a finite state machine for each typical operation ticket, specifically: firstly, dividing the movement of an equipment model and/or an operation tool model related to the typical operation order in each operation step of the typical operation order into a plurality of movement flows, and acquiring the moved state of the equipment model and/or the operation tool model after each movement flow; then, creating a finite state machine according to each motion flow of the equipment model and/or the operation tool model, wherein each state in the finite state machine respectively corresponds to one or more motion flows of the control equipment model and/or the operation tool model when running; for each state of the finite-state machine, introducing an input condition for the state according to the operation to be performed when the equipment model and/or the operation tool model enters the motion flow controlled during the operation of the state after the motion flow controlled during the operation of the last state is finished;
the system comprises an analog simulation control unit, a first input unit, a second input unit and a third input unit, wherein the analog simulation control unit is used for controlling the analog simulation of a typical operation ticket, when the analog simulation of the typical operation ticket is to be carried out, firstly, a finite state machine of the typical operation ticket is started, the state of the finite state machine monitors corresponding input conditions from an initial state, and whether the input conditions are received or not in the monitored state of the finite state machine is judged; if not, continuing monitoring; if so, the state enters an operation state, a signal is sent to the next state when the operation is finished, and the next state enters a monitoring state or directly enters the operation state until the last step of the typical operation ticket is finished by the operation control of the finite state machine; and after the motion process is finished, the state of the equipment model and/or the operation tool model after corresponding motion is displayed in a scene.
The third purpose of the invention is realized by the following technical scheme: a storage medium storing a program, wherein the program when executed by a processor implements the following:
carrying out three-dimensional modeling on a hydraulic junction building of the energy storage power station to obtain a hydraulic junction building model;
performing three-dimensional modeling on equipment related to operation by taking an energy storage power station operation typical operation order as a basis to obtain an equipment model;
performing three-dimensional modeling on an operation tool related to operation by taking an energy storage power station operation typical operation order as a basis to obtain an operation tool model;
constructing an energy storage power station scene through the hydraulic hub building model, the equipment model and the tool model;
according to typical operation tickets of the energy storage power station and actual operation of power plant operators, the motion modes and the motion states of the equipment model and the operation tool model are manufactured;
and constructing a finite-state machine for each typical operation ticket, specifically: firstly, dividing the movement of an equipment model and/or an operation tool model related to the typical operation order in each operation step of the typical operation order into a plurality of movement flows, and acquiring the moved state of the equipment model and/or the operation tool model after each movement flow; then, creating a finite state machine according to each motion flow of the equipment model and/or the operation tool model, wherein each state in the finite state machine respectively corresponds to one or more motion flows of the control equipment model and/or the operation tool model when running; for each state of the finite-state machine, introducing an input condition for the state according to the operation to be performed when the equipment model and/or the operation tool model enters the motion flow controlled during the operation of the state after the motion flow controlled during the operation of the last state is finished;
when an analog simulation starting signal of a typical operation ticket is received, firstly starting a finite-state machine of the typical operation ticket, monitoring corresponding input conditions by the state of the finite-state machine from an initial state, and judging whether the input conditions are received by the finite-state machine in the monitored state; if not, continuing monitoring; if so, the state enters an operation state, a signal is sent to the next state when the operation is finished, and the next state enters a monitoring state or directly enters the operation state until the last step of the typical operation ticket is finished by the operation control of the finite state machine; and after the motion process is finished, the state of the equipment model and/or the operation tool model after corresponding motion is displayed in a scene.
The fourth purpose of the invention is realized by the following technical scheme: a computing device comprising a processor and a memory for storing processor-executable programs, the processor, when executing the programs stored by the memory, performing the following:
carrying out three-dimensional modeling on a hydraulic junction building of the energy storage power station to obtain a hydraulic junction building model;
performing three-dimensional modeling on equipment related to operation by taking an energy storage power station operation typical operation order as a basis to obtain an equipment model;
performing three-dimensional modeling on an operation tool related to operation by taking an energy storage power station operation typical operation order as a basis to obtain an operation tool model;
constructing an energy storage power station scene through the hydraulic hub building model, the equipment model and the tool model;
according to typical operation tickets of the energy storage power station and actual operation of power plant operators, the motion modes and the motion states of the equipment model and the operation tool model are manufactured;
and constructing a finite-state machine for each typical operation ticket, specifically: firstly, dividing the movement of an equipment model and/or an operation tool model related to the typical operation order in each operation step of the typical operation order into a plurality of movement flows, and acquiring the moved state of the equipment model and/or the operation tool model after each movement flow; then, creating a finite state machine according to each motion flow of the equipment model and/or the operation tool model, wherein each state in the finite state machine respectively corresponds to one or more motion flows of the control equipment model and/or the operation tool model when running; for each state of the finite-state machine, introducing an input condition for the state according to the operation to be performed when the equipment model and/or the operation tool model enters the motion flow controlled during the operation of the state after the motion flow controlled during the operation of the last state is finished;
when an analog simulation starting signal of a typical operation ticket is received, firstly starting a finite-state machine of the typical operation ticket, monitoring corresponding input conditions by the state of the finite-state machine from an initial state, and judging whether the input conditions are received by the finite-state machine in the monitored state; if not, continuing monitoring; if so, the state enters an operation state, a signal is sent to the next state when the operation is finished, and the next state enters a monitoring state or directly enters the operation state until the last step of the typical operation ticket is finished by the operation control of the finite state machine; and after the motion process is finished, the state of the equipment model and/or the operation tool model after corresponding motion is displayed in a scene.
Compared with the prior art, the invention has the following advantages and effects:
(1) the invention relates to a method for realizing the operation simulation of an energy storage power station, which comprises the following steps of firstly carrying out three-dimensional modeling on a hydraulic hub building, equipment and an operation tool of the energy storage power station to obtain a hydraulic hub building model; then, according to typical operation tickets of the energy storage power station and actual operation of power plant operators, the motion modes, the motion states and the motion effects of the equipment model and the operation tool model are manufactured; then, constructing a finite-state machine aiming at each typical operation ticket, wherein each state in the constructed finite-state machine respectively corresponds to one or more motion flows of the control equipment model and/or the operation tool model when running, and simultaneously introducing input conditions for each state of the finite-state machine; when simulation of a typical operation order is to be carried out, a finite-state machine of the typical operation order is started firstly, each state in the finite-state machine is triggered by an input condition to enter an operation state, and a control equipment model and/or an operation tool model complete a corresponding motion process according to a certain motion mode during operation. Therefore, in the invention, the switching skip of the previous step and the next step of the typical operation ticket can be realized through the finite-state machine of the typical operation ticket, the equipment model and/or the operation tool model in the typical operation ticket can be subjected to state conversion according to the input conditions, and the simulation of the operation of the energy storage power station equipment and the operation tool is realized.
(2) In the method for realizing the simulation of the operation of the energy storage power station, a finite-state machine can be constructed and executed through a Unity3D engine, so that a user can realize the simulation of the operation of the energy storage power station in a Unity3D engine. The input condition of the finite state machine can be set as the man-machine interaction action of the corresponding position of the interface in the Unity3D engine according to the operation to be performed when the device model and/or the operation tool model enters the motion flow controlled during the running from the last state after the motion flow controlled during the running from the last state is finished, therefore, in the invention, the input condition can be input by clicking a mouse or directly operating the corresponding position of the touch screen, the advantage of being capable of transferring the touch sense of the user during the simulation running operation process is achieved, and the man-machine interaction is improved.
(3) In the method for realizing the operation simulation of the energy storage power station, in a Unity3D engine, when a finite state machine of a typical operation order is started, a starting point state enters an operation state, and a scene required by the operation of the typical operation order is loaded; when the state in the finite state machine monitors the input condition, the interface view angle is controlled to be changed to the position of each equipment model and/or operation model in the scene, which is controlled by the state machine to finish the motion process. The operation mode of the invention can improve the visual effect of the user in the process of simulating operation, and further improve the human-computer interaction.
(4) In the method for realizing the simulation of the operation of the energy storage power station, the three-dimensional modeling software is used for modeling a hydraulic hub building, equipment and an operation tool and manufacturing the motion states of the equipment and the operation tool, the Unity3D engine is used for manufacturing the motion modes and the motion effects of the equipment and the operation tool and constructing and executing a finite state machine, and the invention can be seen from the above.
(5) In the method for realizing the operation simulation of the energy storage power station, aiming at an operation tool model required in a typical operation ticket, a Unity3D engine obtains a vertex outline of the operation tool model through an image processing method, and then colors the vertex, so that the operation tool model outline shows a luminous effect, and the function of prompting the user to operate is achieved.
(6) In the method for realizing the simulation of the operation of the energy storage power station, the finite-state machine can be constructed aiming at some complex locking processes, when the typical operation ticket needs the complex locking processes, the finite-state machine of the locking processes can be integrated into the finite-state machine corresponding to the typical operation ticket, and the continuity, the authenticity and the practicability in the process of the simulation of the operation are effectively improved.
(7) In the method for realizing the simulation of the operation of the energy storage power station, the voice and the voice are added, and when the finite state machine receives the corresponding input condition, the voice displaying of the voice is triggered to play, so that the function of guiding the user to perform the next operation is achieved.
Detailed Description
The present invention will be described in further detail with reference to examples and drawings, but the present invention is not limited thereto.
Examples
The embodiment discloses a method for realizing the simulation of the operation of an energy storage power station, as shown in fig. 1, the steps are as follows:
step S1, carrying out three-dimensional modeling on a hydraulic junction building of the energy storage power station to obtain a hydraulic junction building model; the hydraulic junction building comprises main buildings such as a water delivery system, a main workshop, a secondary workshop, a main transformer hole, a bus hole, a high-voltage cable hole and a switching station, and secondary buildings such as a traffic hole, a ventilation hole, a drainage gallery, a self-flowing drainage hole and a tail adjusting ventilation hole of an underground workshop;
performing three-dimensional modeling on equipment related to operation by taking an energy storage power station operation typical operation order as a basis to obtain an equipment model; in the energy storage power station, equipment involved in operation comprises a unit local control cabinet, a unit LCU control screen, a unit excitation alternating current switch cabinet, a generator protection screen, a ball valve operating mechanism cabinet, a tail gate local control cabinet, a PT cabinet, a bus hole 15.75kV equipment locking panel, a 500kVGIS control cabinet, a 10/0.4kV transformer, a unit 400V power disc and a power supply switch, a 10kV switch cabinet, a 15.75kV starting bus isolation knife switch and a ground knife, unit auxiliary system (oil, water and gas) related valves, key locking boxes, key interlocking plates and the like.
Performing three-dimensional modeling on an operation tool related to operation by taking an energy storage power station operation typical operation order as a basis to obtain an operation tool model; in the energy storage power station, operation tools related to operation comprise a 10kV switch operation rocking handle, a 10kV ground knife operation handle, a 400kV switch operation rocking handle, a factory high-voltage transformer incoming line switch operation rocking handle, an SFC input/output switch operation rocking handle, a cross key, an operation start key, a signboard and the like.
Constructing an energy storage power station scene through the hydraulic hub building model, the equipment model and the operation tool model;
in this embodiment, the hydraulic hub building, the equipment and the operation tool are firstly scanned by a three-dimensional laser scanner to obtain three-dimensional point cloud data and input the three-dimensional point cloud data into three-dimensional modeling software, and the three-dimensional modeling software performs modeling according to the obtained three-dimensional point cloud data; wherein the three-dimensional modeling software can use 3Dsmax modeling software and the like. In this embodiment, the hydraulic hub building model, the equipment model and the operation tool model are built by three-dimensional modeling software and then are imported into the Unity3D engine, and then the Unity3D engine is combined with the hydraulic hub building model, the equipment model and the tool model to construct the energy storage plant site scene, and the environment light and the model texture of the constructed energy storage plant site scene are optimized.
In this embodiment, the obtained models are named uniformly according to the KKS code of the energy storage power station.
S2, according to typical operation tickets of the energy storage power station and actual operation of power plant operators, making the motion modes, the motion states and the motion effects of the equipment model and the operation tool model; in the present embodiment, the post-motion states of the device model and the operation tool are created by three-dimensional modeling software, and imported into the Unity3D engine; making the motion mode and the motion effect of the equipment model and the operation tool in a Unity3D engine; the effect of the equipment model and the operation tool after movement in the embodiment generally refers to some special effects, such as steam, water-filled water flow effect and the like.
In this embodiment, the Unity3D engine acquires a vertex contour of an operation tool model by an image processing method for the operation tool model required in a typical operation ticket, and then colors the vertex so that the operation tool model contour shows a light-emitting effect, and dynamically shows the operation tool by the light-emitting effect.
Step S3, constructing a finite state machine for each typical operation ticket, specifically:
step S31, first, dividing the movement of the device model and/or the operation tool model related to the typical operation ticket in each operation step of the typical operation ticket into a plurality of movement flows, and obtaining the moved state of the device model and/or the operation tool model after each movement flow;
step S32, one or more finite state machines are created according to the motion flows of the equipment model and/or the operation tool model, wherein each state in the finite state machines respectively controls one or more motion flows of the equipment model and/or the operation tool model when running; for each state of the finite-state machine, introducing an input condition for the state according to the operation to be performed when the equipment model and/or the operation tool model enters the motion flow controlled during the operation of the state after the motion flow controlled during the operation of the last state is finished; in the present embodiment, one or more finite state machines may be created for each typical operation ticket according to the control function to be implemented by each typical operation, and the specific number is subject to facilitating later maintenance and modification.
In this embodiment, an input condition is introduced for each state of the finite state machine in the Unity3D engine, specifically: firstly, obtaining a motion flow of an equipment model and/or an operation tool model to be controlled in the state, determining an operation to be performed when the equipment model and/or the operation tool model enters the state motion flow after the motion flow controlled in the last state is finished, and converting the operation into a human-computer interaction action at a corresponding position of an interface in a Unity3D engine; for some states, the input conditions may also be: a signal sent to the last state when the operation of the last state is finished, in this case, the state directly enters the operation state after the operation of the last state is finished.
Step S4, when the simulation of the typical operation ticket is to be performed, firstly, the finite state machine of the typical operation ticket is started, and from the initial state, the state of the finite state machine monitors the corresponding input conditions, and judges whether the input conditions are received by the finite state machine in the monitored state;
if not, continuing monitoring;
if so, the state enters an operation state, a signal is sent to the next state when the operation is finished, and the next state enters a monitoring state or directly enters the operation state until the last step of the typical operation ticket is finished by the operation control of the finite state machine; and after the motion process is finished, the state of the equipment model and/or the operation tool model after corresponding motion is displayed in a scene. In this embodiment, for a certain state, when the input condition of the state is "a signal sent when the previous state operation is ended", after the previous state operation is ended, the state will directly enter the operation state.
In this embodiment, when the state in the finite state machine monitors the input condition, the control interface view angle is changed to the state to control the position of each equipment model and/or operation model in the scene where the motion flow is completed. When a typical operation ticket finite state machine in the Unity3D engine starts, the starting point state enters a running state, and a scene required by the typical operation ticket operation is loaded. That is, the input condition for setting the start point state in the present embodiment is the start of a typical operation ticket finite state machine.
In the embodiment, the method further comprises the step of adding the voice and the voice to each state of the finite-state machine, when the state of the finite-state machine of the typical operation ticket receives an input condition signal, after the control execution of the motion flow is finished, the voice and the voice are triggered to be displayed, wherein the voice and the voice are added to guide the user to perform the next operation on the simulation platform. In the embodiment, after the finite state machine is constructed through the display and play sequence of each voice and voice, the corresponding voice and the corresponding voice are displayed when each state of the voice and voice finite state machine runs; the voice-on-speech finite-state machine and the typical operation ticket finite-state machine are in the same input condition monitored by the current input condition monitoring state, and simultaneously enter into the running state after the input condition arrives, and the voice-on-speech finite-state machine controls the voice-on-speech display and the voice playing for guiding the operation of a user.
In this embodiment, a finite state machine is constructed for some complex locking processes, and when a typical operation ticket relates to these complex locking processes, these locking processes can be merged into the corresponding typical operation ticket, and the specific steps are as follows:
step 1, firstly, performing three-dimensional modeling on a key involved in a locking process by taking an energy storage power station key locking process as a basis to obtain a key model; according to the energy storage power station key locking process, a key model motion mode, a motion state and a motion effect are manufactured;
the key model establishing process comprises the following specific steps: aiming at the key, firstly, scanning is carried out through a three-dimensional laser scanner to obtain three-dimensional point cloud data, the three-dimensional point cloud data are input into three-dimensional modeling software, and the three-dimensional modeling software carries out modeling according to the obtained three-dimensional point cloud data; as step S1, the three-dimensional modeling software may use 3Dsmax or the like modeling software. In the present embodiment, the states of the key model after various motions are created by three-dimensional modeling software, and the motion pattern and the effects of the key model after the motions are created by the Unity3D engine.
Step 2, constructing a finite state machine aiming at the locking process, which specifically comprises the following steps: firstly, dividing the motion of each key model into a plurality of motion flows according to a locking flow, and acquiring the state of the key model after the motion of each motion flow; then, a finite state machine is established according to each motion flow of the key model, wherein each state in the finite state machine correspondingly controls one or more motion flows of the key model when running; for each state in the finite state machine, introducing an input condition for the state according to the operation to be performed when the key model enters the motion flow controlled during the state operation from the end of the motion flow controlled during the last state operation; in this embodiment, the input condition includes a mouse click operation or a touch screen operation of the key model position on the interface created by the Unity3D engine.
Step 3, according to the relation between each locking process and each typical operation ticket, integrating the finite state machine corresponding to the locking process into the finite state machine of the typical operation ticket, namely, associating the first state and/or the last state of the finite state machine of the locking process into the finite state machine of the typical operation ticket to form a new finite state machine which is defined as a first finite state machine; and when each state machine in the first finite state machine runs, the control equipment model and/or the operation tool model or the key model completes the corresponding motion flow according to a certain motion mode.
In the method of the embodiment, after the finite state machine or the first finite state machine of each typical operation ticket is constructed and completed through the Unity3D engine, the finite state machine or the first finite state machine is displayed to a user in the form of an application program, when the user needs to perform simulation operation, the application program is opened, and the operation simulation of the energy storage power station can be performed in the interface of the application program simulation platform by clicking a mouse or a touch screen.
For example, for the operation ticket for unit isolation shown in table 1 below, after the finite state machine for unit isolation operation is constructed by the method of this embodiment, the finite state machine is displayed in the computer in an application program manner, and when the simulation of unit isolation operation is to be performed, the process is as follows:
(1) the user opens the corresponding application program in the computer, starts the unit isolation operation ticket, the unit isolation operation ticket is started corresponding to the finite state machine, the input condition of the starting point state is triggered, and the starting point state loads the unit isolation operation scene to the UI interface.
When the starting state is finished, sending a signal to a second state, and enabling the second state to enter monitoring; the motion flow controlled during the second state operation is as follows: and checking that the unit is in a shutdown steady state.
(2) When a user triggers an input condition of a second state through interaction with the UI, the second state enters an operating state, and the UI viewing angle is transferred to the position of the unit model in the scene; when the second state is operated, the identifier which shows that the unit is in a stop steady state is highlighted by using a computer graphics method, and meanwhile, the operation of guiding a user by voice is displayed and highlighted;
when the second state operation is finished, sending a signal to a third state, and entering monitoring in the third state, wherein the motion flow controlled when the third state operation is performed is as follows: the unit is switched to the "lock" position and the key is withdrawn.
(3) When a user interacts with the UI to trigger an input condition of a third state, the third state enters operation, the visual angle of the UI is changed to the position of the unit model "lock" in the scene, and the Unity3D engine highlights the key model in the scene by using a computer graphics method, at this time, when the third state operates, an animation scene appears in the control scene, that is, the motion flow of the control is as follows: and the key model is rotationally pulled out, the unit model is switched to a 'lock' position, and after the movement process is completed, the unit model is in the state of the 'lock' position and simultaneously displays voice and plays voice to guide the user to operate. In this embodiment, the input condition of the third state may be set to receive a mouse or touch screen click at the key model position in the scene through the method for implementing the operation simulation of the energy storage power station in this embodiment; therefore, when the user clicks the key model position by a mouse or a touch screen, the input condition of the third state is triggered.
When the operation of the third state is finished, sending a signal to a fourth state, and entering monitoring in the fourth state, wherein the motion flow controlled when the fourth state is operated is as follows: and putting into a mechanical brake of the machine set.
The simulation process realized by each state is similar to the above process, when the corresponding state monitors the input condition triggering the corresponding state, the operation state is entered, the corresponding equipment model or the operation tool model is controlled to finish the corresponding motion process until the last step of the unit isolation operation ticket is finished by the operation control of the finite state machine, namely the motion process of closing and locking the speed regulator manual isolation valve model of the operation tool model unit of the unit is controlled.
TABLE 1
For example, for an operation order of the power generation condition shutdown process, after the finite state machine of the operation of the power generation condition shutdown process is constructed and obtained by the method of the embodiment, the finite state machine is displayed in a computer in an application program mode, and when the operation of the power generation condition shutdown process is to be simulated, the process is as follows:
(1) and the user opens the corresponding application program in the computer, starts the operation ticket of the power generation working condition shutdown process, at the moment, the operation ticket of the power generation working condition shutdown process is started corresponding to the finite-state machine, the input condition of the starting point state is triggered, and at the moment, the starting point state loads the operation scene of the power generation working condition shutdown process to the UI interface.
When the starting state is finished, sending a signal to a second state, wherein the second state directly enters an operating state, the UI (user interface) visual angle is changed to the position of the G working condition button in the scene of the computer model interface, and the high-brightness display of the computer model interface is controlled;
(2) when a user triggers an input condition of a third state through interaction with the UI interface, the third state enters an operating state, and at the moment, the second state operates to control the highlight display of a G working condition button model of the computer model interface to disappear and pop up a G working condition confirmation dialog box on the computer model; and simultaneously displaying the voice and playing the voice to guide the operation of the user.
In this embodiment, the input condition of the third state may be set to receive a mouse click or a touch screen click at the position of the G operating mode button model in the scene through the method for implementing the operation simulation of the energy storage power station in this embodiment.
When the operation of the third state is finished, sending a signal to a fourth state, and entering the monitoring state in the fourth state, wherein the motion flow controlled when the fourth state is operated is as follows: and G, confirming a dialog box under the working condition.
(3) When a user interacts with the UI to trigger an input condition of a fourth state, the fourth state enters operation, the visual angle of the UI is rotated to the position in the model scene of the equipment controlled by the G working condition button, the G working condition confirmation dialog box is controlled to disappear when the fourth state operates, and meanwhile, the model of the equipment controlled by the G working condition button is displayed in a high-brightness mode; and simultaneously displaying the voice and playing the voice to guide the operation of the user.
In this embodiment, the input condition of the fourth state may be set to that a mouse or a touch screen click is received at a position where the G operating condition confirmation dialog box "confirms" the two characters is located by using the method for implementing the operation simulation of the energy storage power station in this embodiment.
The embodiment also discloses a simulation implementation system for operation of the energy storage power station, which includes:
a three-dimensional model establishing unit: the method is used for carrying out three-dimensional modeling on the hydraulic junction building of the energy storage power station to obtain a hydraulic junction building model; the method is used for carrying out three-dimensional modeling on equipment related to operation based on the typical operation order of the energy storage power station to obtain an equipment model; the method is used for carrying out three-dimensional modeling on an operation tool related to operation based on the typical operation order of the energy storage power station to obtain an operation tool model;
the energy storage power station site scene establishing unit is used for establishing an energy storage power station site scene through the hydraulic hub building model, the equipment model and the tool model;
the model effect making unit is used for making the motion modes, the motion states and the motion effects of the equipment model and the operation tool model according to typical operation tickets of the energy storage power station and the actual operation of power plant operators;
a finite state machine establishing unit, configured to establish a finite state machine for each typical operation ticket, specifically: firstly, dividing the movement of an equipment model and an operation tool model in each operation step of a typical operation ticket into a plurality of movement flows, and acquiring the movement states of the equipment model and the operation tool model after each movement flow; then, establishing a plurality of finite state machines according to the sequence of the motion flows of the equipment model and the operation tool model, wherein each state in the finite state machines respectively and correspondingly controls one motion flow of the equipment model and the operation tool model when running, and simultaneously introducing input conditions for each state of the finite state machines according to the operation to be performed when the equipment model and the operation tool model enter the next motion flow from the end of the previous motion flow;
the system comprises an analog simulation control unit, a first input unit, a second input unit and a third input unit, wherein the analog simulation control unit is used for controlling the analog simulation of a typical operation ticket, when the analog simulation of the typical operation ticket is to be carried out, firstly, a finite state machine of the typical operation ticket is started, the state of the finite state machine monitors corresponding input conditions from an initial state, and whether the input conditions are received or not in the monitored state of the finite state machine is judged; if not, continuing monitoring; if so, the state enters an operation state, a signal is sent to the next state when the operation is finished, and the next state enters a monitoring state or directly enters the operation state until the last step of the typical operation ticket is finished by the operation control of the finite state machine; and after the motion process is finished, the state of the equipment model and/or the operation tool model after corresponding motion is displayed in a scene.
The present embodiment also discloses a storage medium storing a program, which when executed by a processor, implements the following processes:
carrying out three-dimensional modeling on a hydraulic junction building of the energy storage power station to obtain a hydraulic junction building model;
performing three-dimensional modeling on equipment related to operation by taking an energy storage power station operation typical operation order as a basis to obtain an equipment model;
performing three-dimensional modeling on an operation tool related to operation by taking an energy storage power station operation typical operation order as a basis to obtain an operation tool model;
constructing an energy storage power station scene through the hydraulic hub building model, the equipment model and the tool model;
according to typical operation tickets of the energy storage power station and actual operation of power plant operators, the motion modes, the motion states and the motion effects of the equipment model and the operation tool model are manufactured;
and constructing a finite-state machine for each typical operation ticket, specifically: firstly, dividing the movement of an equipment model and/or an operation tool model related to the typical operation order in each operation step of the typical operation order into a plurality of movement flows, and acquiring the moved state of the equipment model and/or the operation tool model after each movement flow; then, creating a finite state machine according to each motion flow of the equipment model and/or the operation tool model, wherein each state in the finite state machine respectively corresponds to one or more motion flows of the control equipment model and/or the operation tool model when running; for each state of the finite-state machine, introducing an input condition for the state according to the operation to be performed when the equipment model and/or the operation tool model enters the motion flow controlled during the operation of the state after the motion flow controlled during the operation of the last state is finished;
when an analog simulation starting signal of a typical operation ticket is received, firstly starting a finite-state machine of the typical operation ticket, monitoring corresponding input conditions by the state of the finite-state machine from an initial state, and judging whether the input conditions are received by the finite-state machine in the monitored state; if not, continuing monitoring; if so, the state enters an operation state, a signal is sent to the next state when the operation is finished, and the next state enters a monitoring state or directly enters the operation state until the last step of the typical operation ticket is finished by the operation control of the finite state machine; and after the motion process is finished, the state of the equipment model and/or the operation tool model after corresponding motion is displayed in a scene.
In the present embodiment, the storage medium may be a ROM, a RAM, a usb-disk, an optical disk, or the like.
The embodiment also discloses a computing device, which comprises a processor and a memory for storing the executable program of the processor, wherein when the processor executes the program stored in the memory, the following processes are realized:
carrying out three-dimensional modeling on a hydraulic junction building of the energy storage power station to obtain a hydraulic junction building model;
performing three-dimensional modeling on equipment related to operation by taking an energy storage power station operation typical operation order as a basis to obtain an equipment model;
performing three-dimensional modeling on an operation tool related to operation by taking an energy storage power station operation typical operation order as a basis to obtain an operation tool model;
constructing an energy storage power station scene through the hydraulic hub building model, the equipment model and the tool model;
according to typical operation tickets of the energy storage power station and actual operation of power plant operators, the motion modes, the motion states and the motion effects of the equipment model and the operation tool model are manufactured;
and constructing a finite-state machine for each typical operation ticket, specifically: firstly, dividing the movement of an equipment model and/or an operation tool model related to the typical operation order in each operation step of the typical operation order into a plurality of movement flows, and acquiring the moved state of the equipment model and/or the operation tool model after each movement flow; then, creating a finite state machine according to each motion flow of the equipment model and/or the operation tool model, wherein each state in the finite state machine respectively corresponds to one or more motion flows of the control equipment model and/or the operation tool model when running; for each state of the finite-state machine, introducing an input condition for the state according to the operation to be performed when the equipment model and/or the operation tool model enters the motion flow controlled during the operation of the state after the motion flow controlled during the operation of the last state is finished;
when an analog simulation starting signal of a typical operation ticket is received, firstly starting a finite-state machine of the typical operation ticket, monitoring corresponding input conditions by the state of the finite-state machine from an initial state, and judging whether the input conditions are received by the finite-state machine in the monitored state; if not, continuing monitoring; if so, the state enters an operation state, a signal is sent to the next state when the operation is finished, and the next state enters a monitoring state or directly enters the operation state until the last step of the typical operation ticket is finished by the operation control of the finite state machine; and after the motion process is finished, the state of the equipment model and/or the operation tool model after corresponding motion is displayed in a scene.
In this embodiment, the computing device may be a computer or other intelligent device.
The above embodiments are preferred embodiments of the present invention, but the present invention is not limited to the above embodiments, and any other changes, modifications, substitutions, combinations, and simplifications which do not depart from the spirit and principle of the present invention should be construed as equivalents thereof, and all such changes, modifications, substitutions, combinations, and simplifications are intended to be included in the scope of the present invention.