Graphical one-button sequential control operation method and system for distribution transformer station
Through the graphical one-click sequence control operation method and system of distribution and transformation station buildings, the problems of low efficiency of traditional reverse gate operation and large human resource occupation are solved, and efficient and safe reverse gate operation management are achieved.
Patent Information
- Application Number
- CN202410853361.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2044-06-28
AI Technical Summary
The shutter operation in traditional distribution stations is inefficient, prone to errors, and takes up a lot of human resources.
It provides a graphical one-click sequence operation method and system for distribution and transformation station buildings. It realizes one-click sequence operation through software systems, and uses topology diagrams and data record tables to display and record real-time data, and automatically completes the backward operation process.
It improves the efficiency and safety of the shut-off operation, reduces the investment in human resources, and can complete the traditional 40-60-minute shut-off operation within 8-10 minutes.
Smart Images

Figure CN118822167B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of operation and maintenance management of distribution transformer substations, and relates to a graphical one-key sequential control operation method and system for distribution transformer substations. Background Art
[0002] As the scale of distribution network construction becomes larger and larger, the number of distribution substations in the distribution network is also increasing. Distribution substations are mainly responsible for the safe use of electricity by various end users, and have a large number of internal automation equipment. During the operation of distribution substations, it is often necessary to perform switching operations on the switches / knife switches in the distribution substations. Switching operations involve the process of converting electrical equipment from one state to another, including operating disconnectors, circuit breakers, and hanging and removing ground wires to change the operating state of electrical equipment and the operating mode of the power system.
[0003] Traditional switching operation first requires manual preparation, review and entry of operation tickets, and then a team of 2-3 people completes the entire switching operation process by reading out the tickets, reviewing and performing on-site operations according to the operation sequence of the operation tickets. This traditional switching operation method is inefficient, prone to errors, and takes up a lot of human resources.
[0004] With the development and progress of computer technology, it is necessary to automate the switching operation of switch / knife switch equipment in distribution transformer substations through software methods and intelligent systems, so as to improve the efficiency of switching operation while ensuring operational safety and saving human resource investment. Summary of the invention
[0005] In order to solve the above technical problems, the present invention provides a graphical one-key sequential control operation method and system for a distribution transformer station. One-key sequential control operation is to click a button to realize the sequential control of the switching operation ticket. The present invention mainly solves the following technical problems: the criteria for sequential control operation, logical input, logical judgment and result analysis; how to accurately generate simulation data in the simulation preview mode and match it to the specific sequential control criteria; separately obtain the sequential control operation process, data, and results, and combine them into a complete sequential control operation data record; the results and data of the sequential control operation are attached / fitted / displayed to the wiring topology diagram in real time. The technical solutions adopted by the present invention are as follows:
[0006] The graphical one-button sequential control operation method of the distribution transformer station includes the following steps:
[0007] Prepare operation tickets according to the process and specifications of switching operations in the distribution transformer station and generate operation ticket files; draw and display the topology diagram of the distribution transformer station based on the operation ticket files, and generate real-time topology diagrams and data record tables;
[0008] In the actual operation mode, real-time data is acquired and a real-time in-memory database is generated; in the simulation preview mode, simulated data generation is performed and a simulation in-memory database is generated;
[0009] Read data from the in-memory real-time database and the in-memory simulation database, perform data acquisition and allocation and data fitting and matching, and update the real-time topology map and data record table;
[0010] Read the operation ticket file, execute the total operation item and multiple operation sub-items in the order of the compiled operation ticket, and read the data in the real-time database and the simulation database in the memory to judge the operation criteria, generate the criteria judgment results, and execute the sequence control command issuance and command back-check judgment according to the criteria judgment results;
[0011] Store the in-memory record data in a local database.
[0012] Preferably, the operation ticket is compiled in a what-you-see-is-what-you-get editing method, and the operation ticket file includes a total operation item and multiple operation sub-items. The total operation item includes three parameter options: name, pre-sequential control criteria, and real-time operation / simulation preview. Each operation sub-item includes nine parameter options: name, operation object-remote control, operation object-telesignaling, current device state, target device state, main criteria, auxiliary criteria, interval time, and valid flag.
[0013] Preferably, when performing data fitting and matching, the dynamic data fitting method adopts a multi-channel IO time-sharing multiplexing strategy and a synchronous non-blocking message notification mechanism. After the dynamic data is acquired, a map binary tree structure array of the data destination ID is established, and the type and quality description of each data point are judged. Invalid data is automatically deleted, and valid data is automatically pushed to the corresponding graphic element / table model on the topological map. The graphic element / table model performs data processing according to the pushed data, and dynamically changes the display, direction, color and format of the graphic element / table.
[0014] Preferably, the steps for completing the simulation data generation task in the simulation preview mode are as follows:
[0015] Establish a data simulation algorithm function library, including telemetry data simulation algorithm function, telesignaling data simulation algorithm function, remote control command simulation algorithm function and logic calculation simulation algorithm function;
[0016] Based on the data simulation algorithm function library, the following are executed in sequence: simulation of the criterion data points of the total operation item, simulation of the loop of the operation sub-item, simulation of the main criterion data points of the sub-item, simulation of the auxiliary criterion data points of the sub-item, and simulation of the remote signal data points of the operation object; if the set simulation time is reached, the simulation is exited, otherwise it jumps to the loop simulation of the operation sub-item.
[0017] Preferably, the sequential execution steps of the telemetry data simulation algorithm function, the telesignaling data simulation algorithm function and the remote control command simulation algorithm function are: analyzing the criterion expression to form a double map structure of the criterion expression symbol and the data point; establishing three vector forward index arrays according to the telemetry / telesignaling / remote control type; taking the first of the map structure as the subscript, looping to obtain the data point information in the three vector arrays, the simulation data comes from the parameter file, setting the simulation value to the data point information, and the parameter file comes from the operation ticket compilation.
[0018] Preferably, the steps of performing operation criterion determination and generating criterion determination results are as follows:
[0019] a. Convert the criterion table from natural expression to calculation expression;
[0020] b. Judgment of data quality description: Input the calculation expression, traverse each data point in the calculation expression, obtain the quality description structure of each data point, and judge whether the five state quantities of overflow / lock / non-current value / invalid / test are 1. If any of them is 1, the quality description is considered unqualified; output the quality description judgment result. If the output result is qualified, execute the following step c. If the output result is unqualified, exit automatically;
[0021] c. Judgment of criterion calculation expression operation: input criterion calculation expression, establish result operation stack; traverse criterion calculation expression: push numeric symbols directly onto stack, push data point information onto stack after taking value, pop two stack values from operator / AND / OR / NON logical symbol / parentheses / greater than, equal to or less than symbol first, perform operation, and push the operation result onto stack; finally, only one operation result is outputted from the operation stack, if the operation result outputted is 0, it indicates that the criterion calculation expression operation is qualified, if the operation result outputted is 1, it indicates that the operation is unqualified.
[0022] Preferably, the method for converting the natural expression into the calculation expression in step a includes the following steps: establishing a symbol stack and a character vector array, and executing them synchronously respectively: 1) traversing the criterion expression, and putting numbers, data points, and PI into the vector array; 2) traversing the criterion expression, and putting operators, AND or NOT logic, and brackets into the stack; then traversing the stack stack, obtaining each symbol, and deleting the right bracket between the left and right brackets; adding the filtered stack symbols to the vector array.
[0023] Preferably, a back-check judgment is performed when executing the command back-check. If the back-check judgment fails, the current sequential control operation is exited, and various information of the current sequential control operation is recorded; if the back-check judgment passes, the operation sub-item loop and the judgment criterion are executed, and the terminal physical device sends the final result back to the command processing sub-module through the IEC communication protocol.
[0024] Preferably, the method for storing memory data records is:
[0025] Create a map array with the subscript being the operation ticket id and the key value being a vector <string>String type array; each piece of data / result is converted into string format and pushed into vector <string>Array; string conversion rules are as follows: data points are converted to actual values and time stamp information is added; results are converted to description information and time stamp information is added; operation process is converted to description information and ## is added at the end as mark information to facilitate distinction and judgment; when saving to the local database, a mutex mechanism is used to ensure that only one record of an operation ticket can be saved at the same time;
[0026] In addition, the local database has the functions of historical record query and data export to PDF / Excel files.
[0027] A distribution transformer room graphical one-key sequential control operating system is used to implement the aforementioned distribution transformer room graphical one-key sequential control operation method, including a computer, in which a distribution transformer room graphical one-key sequential control operation program system is installed and run, and the distribution transformer room graphical one-key sequential control operation program system includes: a topology map thread, an operation ticket thread and a record storage thread, the topology map thread includes a map drawing submodule and a dynamic data fitting submodule, and the operation ticket thread includes an operation ticket compilation submodule, a real-time / simulation preview data submodule, an operation ticket execution and judgment submodule and a command processing submodule.
[0028] Advantages or beneficial effects of the present invention:
[0029] 1) Improve the reliability and safety of on-site operations through remote and automated operation, avoid misoperation to the greatest extent, and protect on-site personnel and equipment from damage; 2) Realize one-button sequential control operation of switching through the software system, significantly improve the work efficiency of the distribution transformer station site, shortening the power outage of a line that previously required 40-60 minutes for on-site manual switching operation to only 8-10 minutes to complete the switching operation; 3) Save a lot of human resources for power supply companies or distribution transformer station operation and maintenance companies, and reduce corporate operating costs. Traditional on-site switching operations in distribution transformer stations generally require 3-4 people at a time. Through this one-button sequential control operation method and system, only 1-2 people are needed, and in special cases, 1 person can complete all switching operations. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0031] Figure 1 It is a graphical one-key sequential control operation method and a system diagram of a distribution transformer station room according to an embodiment of the present invention;
[0032] Figure 2 is a flowchart of the steps of the sequential control criterion data simulation method according to an embodiment of the present invention;
[0033] Figure 3 It is a flow chart of the steps of the method for determining the criteria of a sequential control operation ticket according to an embodiment of the present invention. DETAILED DESCRIPTION
[0034] The technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments.
[0035] like Figure 1 As shown in the figure, the graphical one-key sequential control operation method of the distribution transformer station includes the following steps:
[0036] Step 1: Turn on the computer and start the graphical one-key sequential control operation program system of the distribution transformer station, and establish a one-key sequential control operation work thread. The one-key sequential control operation work thread includes: topology map thread, operation ticket thread and record storage thread.
[0037] Step 2: The operation ticket preparation submodule of the operation ticket thread prepares the operation ticket according to the actual switching operation process and specifications in the distribution transformer station, and generates an operation ticket file. Generally, a complete operation ticket should consist of a total operation item and multiple operation sub-items.
[0038] The editing of operation tickets adopts the WYSIWYG editing method. By dragging and dropping, the defined operation items in the database are randomly combined to complete the editing of an operation ticket. Each operation ticket includes a total operation item and operation sub-items. The total operation item includes three parameter options: name, pre-sequential control criteria and real-time operation / simulation preview; the operation sub-item is actually a sub-item set, which contains multiple independent operation sub-items, and each operation sub-item contains nine parameter options: name, operation object 1 (remote control), operation object 2 (remote signal), current device state, target device state, main criterion, auxiliary criterion, interval time and valid flag.
[0039] Step 3: The topology drawing submodule of the topology drawing thread reads the operation ticket file, completes the topology drawing and display of the distribution transformer station, and generates a real-time topology map and data record table.
[0040] At the same time, the real-time / simulation rehearsal data submodule of the operation ticket thread reads the operation ticket file. In the actual operation mode, the real-time / simulation rehearsal data submodule mainly completes the task of acquiring real-time data and generates an in-memory real-time database in the computer memory; in the simulation rehearsal mode, the real-time / simulation rehearsal data submodule mainly completes the task of generating simulation data and generates an in-memory simulation database in the computer memory.
[0041] In the actual operation mode, real-time data needs to be obtained. The computer establishes a communication channel with the terminal equipment in the distribution transformer station through the IEC standard communication protocol to obtain the real-time data of the terminal; in the simulation preview mode, the data used for the sequential control operation needs to be simulated and generated. Whether it is real-time data or simulated data, the data format will be unified and put into the memory real-time database / memory simulation database respectively for the dynamic data fitting submodule of the topology diagram thread to call.
[0042] At the same time, the dynamic data fitting submodule of the topology thread reads the in-memory real-time database / in-memory simulation database, performs data acquisition and allocation, data fitting and matching, and updates the real-time topology and data record table. The model drawing submodule and the dynamic data fitting submodule use a WYSIWYG method to display data graphically, which is mainly divided into two parts of data display: topology data fitting display and data record table display. The real-time topology display is based on the actual physical wiring diagram of the distribution transformer station, and the in-memory real-time database / in-memory simulation database is seamlessly fitted to various graphic elements of the sequential control topology diagram, which is convenient for operators to observe. The data record table display is used to display information such as sequential control process, data and results.
[0043] The drawing submodule mainly generates static topology diagrams and data tables that meet the site standards by filling in the library and drawing. The automatic drawing process uses the size, color, border, direction, font and other characteristics of standard and custom graphics in the library to meet the actual topology wiring diagram to the greatest extent. In the absence of real-time data, the static topology diagram is just a fixed graph. When fitted with real-time data, the static topology diagram will show various changing graphics according to the changes in real-time data, including curve wave diagrams, data flow diagrams, marquee diagrams, etc.
[0044] Dynamic data fitting submodule, the core method is:
[0045] 1) Each graphic element / table has globally uniformly defined parameter data such as ID, type, name, data format, data vector direction, change cycle time, and minimum / maximum / mutation / step / normal value. These parameter data constitute a basic graphic element model unit. Any complex or combined graphic element model is composed of basic graphic element model units.
[0046] 2) Dynamic data comes from the in-memory database, which will mark each data with a data label. The data label mainly includes data segments such as data source ID, data destination ID, type and quality description, time stamp description and life cycle time.
[0047] 3) Dynamic data fitting method mainly adopts the strategy of multi-channel IO time-sharing multiplexing and synchronous non-blocking message notification mechanism. After obtaining dynamic data, a map binary tree structure array of data destination id is established to judge the type and quality description of each data point, automatically delete invalid data, and automatically push valid data to the corresponding graphic element / table model on the topology map. The graphic element / table model processes data according to the pushed data and dynamically changes the display, direction, color, format and other related information of the graphic element / table.
[0048] like Figure 2 As shown in the figure, the task of generating simulation data in the simulation preview mode includes the following steps:
[0049] A data simulation algorithm function library is established. The data simulation algorithm function library includes telemetry data simulation algorithm functions, telesignaling data simulation algorithm functions, remote control command simulation algorithm functions and logical calculation simulation algorithm functions. The data simulation algorithm function library is a low-level function library specially written for data simulation. The upper-level module only needs to call the functions in the function library to realize the corresponding functions. It is implemented using dynamic link library dll technology.
[0050] Based on the data simulation algorithm function library, the following are executed in sequence: operation total item criterion data point simulation, operation sub-item loop simulation, sub-item main criterion data point simulation, sub-item auxiliary criterion data point simulation, operation object telemetering data point simulation; if the set simulation time is reached, the simulation is exited, otherwise it jumps to the operation sub-item loop simulation. Because the operation sub-item is composed of multiple sub-items, each sub-item must be executed in a loop, and the operation object telemetering data point simulation is the last execution step of each sub-item. After the operation object telemetering data point simulation is completed, it is necessary to return to the beginning of the operation sub-item loop simulation to perform the next sub-item execution operation; the functions in the data simulation algorithm function library are respectively called and executed by the operation total item criterion data point simulation, sub-item main criterion data point simulation, sub-item auxiliary criterion data point simulation, and operation object telemetering data point simulation. Functions are the implementation algorithms of various data simulations.
[0051] The telemetry data simulation algorithm function, the telesignaling data simulation algorithm function and the remote control command simulation algorithm function, the actual algorithm sequential execution steps are: analyzing the criterion expression, forming a double map structure of the criterion expression symbol and the data point, the criterion expression comes from Figure 1 The operation ticket compilation in the system is mainly based on the actual line conditions of the distribution transformer station, which is manually input by the staff; according to the telemetry / telesignaling / remote control type, three vector forward index arrays are established; with the first of the map structure as the subscript, the data point information in the three vector arrays is obtained in a loop, and the simulation data comes from the parameter file, and the simulation value is set to the data point information. The parameter file comes from Figure 1 When compiling the operation ticket in the simulation preview mode, a parameter file of the simulation data will be generated, which mainly records the relationship between the simulation data points and the actual data points. In the simulation preview mode, the data points generated by the simulation must be fitted with the topological graph, and the premise of fitting is that the topological graph must obtain the simulation data. Therefore, in the simulation preview mode, when the simulation data is generated, it needs to be associated with the actual data points in the memory simulation database, which is achieved by executing the above steps in sequence through the above functions.
[0052] Figure 2 In the figure, the left frame diagram is the execution steps of the sequential control operation simulation data, the middle frame diagram is the description of the function that needs to be called for each execution step on the far left, and the rightmost frame diagram is the description of the actual algorithm steps of the middle function.
[0053] Step 4: The operation ticket execution and judgment submodule of the operation ticket thread reads the operation ticket file, executes the total operation item and multiple operation sub-items in the order of the compiled operation ticket, and judges the operation criteria at the same time to generate the criterion judgment result; the criterion data comes from the in-memory real-time database and the in-memory simulation database respectively.
[0054] like Figure 3 As shown, the specific steps of the operation ticket execution and judgment submodule are as follows:
[0055] a. On-site, according to the actual situation, the criterion table is established by manual input, and the operation ticket execution and judgment submodule converts the criterion table from a natural expression to a calculation expression. The conversion algorithm from a natural expression to a calculation expression includes the following steps: Establish a symbol stack and a character vector array, and execute them synchronously: 1) Traverse the criterion expression (the criterion table usually consists of multiple criterion expressions, so it is necessary to traverse each criterion expression in the criterion table), and put numbers, data points, and PI into the vector array; 2) Traverse the criterion expression and put operators, AND or NOT logic, brackets, etc. into the stack; then traverse the stack, obtain each symbol, and delete the right bracket in the left and right brackets; add the filtered stack symbols to the vector array; and complete the establishment of the calculation expression.
[0056] b. Judgment of data quality description. The algorithm for judging data quality description includes the following steps: input of calculation expression, traversal of each data point in the calculation expression, obtaining the quality description structure of each data point, judging whether the five state quantities of overflow / locked / non-current value / invalid / test are 1, and if any one of them is 1, the quality description is considered unqualified; output of quality description judgment result, if the output result is qualified, execute the following step c, if the output result is unqualified, automatically exit and no longer execute the next step; each data point in the criterion expression has a corresponding data structure in the real-time database, and the state quantity is also included in this data structure, so the state quantity can be regarded as a data value stored in the criterion expression.
[0057] c. Judgment of the operation of the criterion calculation expression. The algorithm for judging the operation of the criterion calculation expression includes the following steps: inputting the criterion calculation expression and establishing a result operation stack; traversing the criterion calculation expression: directly pushing the numeric symbols onto the stack, pushing the data point information onto the stack after taking the value, first popping out two stack values from the operator / AND or NOT logical symbol / bracket / greater than, equal to or less than symbol, performing the operation, and then pushing the operation result onto the stack; finally, only one operation result is outputted from the operation stack, and if the operation result output is 0, it indicates that the criterion calculation expression is qualified, and if the operation result output is 1, it indicates that it is unqualified.
[0058] Step 5: The command processing submodule of the operation ticket thread reads the judgment result of the criterion, mainly realizing the functions of issuing sequential control commands and command reverse verification judgment.
[0059] The logical flow of the command processing submodule is as follows: after the operation ticket execution and judgment submodule completes the judgment of the criterion, if the judgment output result of the criterion is "unqualified", the current sequential control operation is exited, and various information of this sequential control operation is recorded; if the output result is "qualified", the object point information that needs to be controlled is transmitted to the command processing submodule, and the command processing submodule frames the control command information and sends it to the terminal physical device in the distribution transformer station through the IEC communication protocol. The terminal physical device will actually operate the primary equipment such as the on-site switch / knife switch according to the control command to realize the opening / closing operation; after the operation is completed, the judgment of the command reverse calibration is executed. If the reverse calibration judgment is unqualified, the current sequential control operation is exited, and various information of this sequential control operation is recorded; if the reverse calibration judgment is qualified, the operation sub-item loop and criterion judgment are executed, and the terminal physical device sends the final result back to the command processing submodule through the IEC communication protocol, and the command processing submodule makes a success / failure result judgment. .
[0060] At the same time, the final operation results of the operation ticket execution and judgment submodule are stored in the memory operation record database. The dynamic data fitting submodule of the topology map thread reads the memory operation record database, performs data acquisition and allocation, data fitting and matching, and updates the real-time topology map and data record table.
[0061] Step 6: The record storage thread obtains the record data of the memory operation record database and stores it in the local database. The local database can be used to perform historical record query, export data to PDF / Excel files, and other operations.
[0062] The record storage thread uses an independent thread, which mainly includes: sequential control data recording, saving, and querying. It has a synchronous lock mechanism to prevent the loss of database records caused by multiple sequential control data being written to the underlying local database at the same time. The one-key sequential control operation is executed in a waterfall-like order, and each step will generate a large amount of data and results. The main logical method for data record preservation is:
[0063] Create a map array with the subscript as the operation ticket id and the key value as vector <string>Array of string type;
[0064] Each time a piece of data / result is generated, it is converted into a string format and pushed into the vector <string>Arrays;
[0065] The string conversion rules are as follows: data points are converted to actual values and time stamp information is added; results are converted to description information and time stamp information is added; operation processes are converted to description information and ## is added at the end as a sign information to facilitate distinction and judgment;
[0066] When saving to the local database, a mutual exclusion lock mechanism is used to ensure that only one record of an operation ticket can be saved at the same time, to prevent the problem of information loss caused by the subsequent saving operation overriding the previous saving operation when multiple saves are made;
[0067] The query process is implemented by providing a separate interface, and the main filtering conditions are the two main information of operation ticket ID and operation time. Through full or partial query operations, operation records can be obtained from the database; operation records can be exported through query to form a report for intuitive display; at the same time, they can also be saved as PDF / Excel files for later analysis and research.
[0068] The distribution transformer station graphical one-key sequential control operating system is used to implement the aforementioned distribution transformer station graphical one-key sequential control operation method, including a computer, in which the distribution transformer station graphical one-key sequential control operation program system is installed and run.
[0069] The present invention has the following key points and features: 1) the establishment of sequential control operation criteria and the logical judgment method of the criteria; 2) the method of generating simulation data and matching criteria in simulation preview mode; 3) the method of real-time fitting and displaying data and topological diagrams / tables during sequential control operation.
[0070] The method and system of the embodiment of the present invention provide two one-key sequential control operation modes:
[0071] The first mode is the actual operation mode, that is, through the computer software system, a one-key sequential control operation ticket is compiled in the distribution transformer station, the sequential control operation is judged according to the real-time data, the precise data of each step of the sequential control operation is automatically calculated, and then the operation command is issued, and various data are displayed in real time on the wiring topology diagram of the distribution transformer station.
[0072] The second mode is the simulation rehearsal mode, that is, through the operation tickets and operation data compiled in advance, the entire sequential control operation process and data are completed in the form of simulation rehearsal. No actual operation command is issued, but based on the results of the simulation rehearsal, it is judged whether there are errors in the compilation of the sequential control operation tickets, and the operator is reminded to make modifications.
[0073] In both operation modes, all sequential control operation processes, data, and logical results will be recorded and stored during operation, which is convenient for later query and analysis at any time.
[0074] The embodiment of the present invention proposes a method and system for graphical one-key sequential control operation of a distribution transformer station to solve the problems that the switching operation of switches / knife switches in traditional distribution transformer stations is mainly completed by manual operation, resulting in low efficiency, easy errors, low safety, and a large amount of human resources.
[0075] The "method and system for graphical one-button sequential control operation of a distribution transformer station" technology used in the embodiment of the present invention sequentially controls the switching operation of the distribution transformer station in a graphical manner through a specific method, realizes automated one-button sequential control operation management, and records and saves various data generated during the one-button sequential control operation, and displays these data in the form of graphical reports.
[0076] In the embodiments of the present invention, technical features that are not described in detail are all existing technologies or conventional technical means and will not be described in detail here.
[0077] Finally, it should be noted that the above embodiments are only specific implementation methods of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them, and the protection scope of the present invention is not limited thereto. Those skilled in the art should understand that any technician familiar with the technical field can modify the technical solutions recorded in the above embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be covered within the protection scope of the present invention.< / string> < / string> < / string> < / string>
Claims
1. The graphical one-key sequential control operation method of the distribution transformer station is characterized by: The following steps are involved: Prepare operation tickets according to the process and specifications of switching operations in the distribution transformer station and generate operation ticket files; Complete the topology drawing and display of the distribution transformer station based on the operation ticket file, and generate a real-time topology map and data record table; In the actual operation mode, real-time data is acquired and a real-time in-memory database is generated; in the simulation preview mode, simulated data generation is performed and a simulation in-memory database is generated; Read data from the in-memory real-time database and the in-memory simulation database, perform data fitting and matching, and update the real-time topology map and data record table; The operation ticket is edited in a WYSIWYG way. The operation ticket file includes a total operation item and multiple operation sub-items. The total operation item includes three parameter options: name, pre-sequential control criteria and real-time operation / simulation preview. Each operation sub-item includes nine parameter options: name, operation object-remote control, operation object-telesignaling, current device state, target device state, main criteria, auxiliary criteria, interval time and effective flag. Dynamic data comes from the in-memory real-time database, which marks each data with a data label. The data label includes the data source id, data destination id, type and quality description, time scale description and life cycle time. When performing data fitting and matching, the dynamic data fitting method adopts a multi-channel IO time-sharing multiplexing strategy and a synchronous non-blocking message notification mechanism. After obtaining the dynamic data, a map binary tree structure array of the data destination id is established to judge the type and quality description of each data point. Invalid data is automatically deleted, and valid data is automatically pushed to the corresponding graphic element / table model on the topology map. The graphic element / table model processes the data according to the pushed data and dynamically changes the display, direction, color and format of the graphic element / table. Read the operation ticket file, execute the total operation item and multiple operation sub-items in the order of the compiled operation ticket, and read the data in the real-time database and the simulation database in the memory to judge the operation criteria, generate the criteria judgment results, and execute the sequence control command issuance and command back-check judgment according to the criteria judgment results; The steps for performing operation criterion determination and generating criterion determination results are as follows: a. Convert the criterion table from natural expression to calculation expression; b. Judgment of data quality description: Input the calculation expression, traverse each data point in the calculation expression, obtain the quality description structure of each data point, and judge whether the five state quantities of overflow / lock / non-current value / invalid / test are 1. If any of them is 1, the quality description is considered unqualified; output the quality description judgment result. If the output result is qualified, execute the following step c. If the output result is unqualified, exit automatically; c. Judgment of criterion calculation expression operation: input criterion calculation expression, establish result operation stack; traverse criterion calculation expression: push numeric symbols directly into stack, push data point information into stack after taking value, pop two stack values from operator / AND / OR / NOR logic symbol / bracket / greater than, equal to or less than symbol first, perform operation, and push the operation result into stack; finally, only one operation result is output in the operation stack, if the operation result output is 0, it means the criterion calculation expression is qualified, if the operation result output is 1, it means it is not qualified; Store the in-memory record data in a local database.
2. The graphical one-key sequential control operation method for distribution transformer station according to claim 1 is characterized in that: The steps to complete the simulation data generation task in simulation preview mode are as follows: Establish a data simulation algorithm function library, including telemetry data simulation algorithm function, telesignaling data simulation algorithm function, remote control command simulation algorithm function and logic calculation simulation algorithm function; Based on the data simulation algorithm function library, the following are executed in sequence: simulation of the criterion data points of the total operation item, simulation of the loop of the operation sub-item, simulation of the main criterion data points of the sub-item, simulation of the auxiliary criterion data points of the sub-item, and simulation of the remote signal data points of the operation object; if the set simulation time is reached, the simulation is exited, otherwise it jumps to the loop simulation of the operation sub-item.
3. The graphical one-key sequential control operation method for distribution transformer station according to claim 2 is characterized in that: The sequential execution steps of the telemetry data simulation algorithm function, the telesignaling data simulation algorithm function and the remote control command simulation algorithm function are: analyzing the criterion expression to form a double map structure of the criterion expression symbol and the data point; establishing three vector forward index arrays according to the telemetry / telesignaling / remote control type; taking the first of the map structure as the subscript, looping to obtain the data point information in the three vector arrays, the simulation data comes from the parameter file, setting the simulation value to the data point information, and the parameter file comes from the operation ticket compilation.
4. The graphical one-key sequential control operation method for distribution transformer station according to claim 1 is characterized in that: The method for converting the natural expression into the calculation expression in step a includes the following steps: establishing a symbol stack and a character vector array, and executing them synchronously: 1) traversing the criterion expression, and putting numbers, data points, and PI into the vector array; 2) traversing the criterion expression, and putting operators, AND or NOT logic, and brackets into the stack; then traversing the stack stack, obtaining each symbol, and deleting the right bracket between the left and right brackets; adding the filtered stack symbols into the vector array.
5. The graphical one-key sequential control operation method for distribution transformer station according to claim 1 is characterized in that: When executing command back-check, the back-check judgment is performed. If the back-check judgment fails, the current sequence control operation is exited and various information of this sequence control operation is recorded; If the reverse calibration is qualified, the operation sub-item loop and the judgment criteria are executed, and the terminal physical device sends the final result back to the command processing sub-module through the IEC communication protocol.
6. The graphical one-key sequential control operation method for distribution transformer station according to claim 1 is characterized in that: The method of saving memory data records is: Create a map array with the subscript being the operation ticket id and the key value being a vector <string>String type array; each piece of data / result is converted into string format and pushed into vector <string> Array; string conversion rules are as follows: data points are converted to actual values and time stamp information is added; results are converted to description information and time stamp information is added; operation process is converted to description information and ## is added at the end as mark information to facilitate distinction and judgment; when saving to the local database, a mutex mechanism is used to ensure that only one record of an operation ticket can be saved at the same time;< / string> < / string> In addition, the local database has the functions of historical record query and data export to PDF / Excel files.
7. A graphical one-key sequential control operating system for a distribution transformer station, including a computer, is characterized in that: The computer is installed and running with a distribution transformer station graphical one-key sequential control operation program system, and the distribution transformer station graphical one-key sequential control operation program system is used to implement the distribution transformer station graphical one-key sequential control operation method as described in any one of claims 1-6.
Citation Information
Patent Citations
Sequence control system and method for switching operation of transformer substation
CN111614157A
One-key sequential control system for transformer substation management
CN117543824A