CN114995314B - Automatic statistical method and system for variable usage information in nuclear power plant DCS system - Google Patents

Automatic statistical method and system for variable usage information in nuclear power plant DCS system Download PDF

Info

Publication number
CN114995314B
CN114995314B CN202210674047.0A CN202210674047A CN114995314B CN 114995314 B CN114995314 B CN 114995314B CN 202210674047 A CN202210674047 A CN 202210674047A CN 114995314 B CN114995314 B CN 114995314B
Authority
CN
China
Prior art keywords
variable
statistical
statistics
automatic
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210674047.0A
Other languages
Chinese (zh)
Other versions
CN114995314A (en
Inventor
刘明星
黄�俊
蒋维
吴延群
李晓龙
杨斌
王远兵
许光俊
李哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nuclear Power Institute of China
Original Assignee
Nuclear Power Institute of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nuclear Power Institute of China filed Critical Nuclear Power Institute of China
Priority to CN202210674047.0A priority Critical patent/CN114995314B/en
Publication of CN114995314A publication Critical patent/CN114995314A/en
Application granted granted Critical
Publication of CN114995314B publication Critical patent/CN114995314B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • G05B19/4183Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by data acquisition, e.g. workpiece identification
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/31From computer integrated manufacturing till monitoring
    • G05B2219/31282Data acquisition, BDE MDE
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E30/00Energy generation of nuclear origin

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an automatic statistical method and system for variable use information in a DCS (distributed control system) of a nuclear power plant, comprising the following steps: the configuration software acquires a statistical variable service condition instruction of enabling a nuclear power plant DCS system by an operator in real time; identifying a variable statistical range of the statistical variable according to the statistical variable service condition instruction; determining a data storage area of a statistical variable according to the variable statistical range, and extracting variable data from the data storage area; performing data traversal on the variable data to obtain the service condition of the statistical variable as an automatic statistical result; and displaying the automatic statistical result. According to the invention, aiming at variable use information of a nuclear power station DCS system, the statistical function and the use function are independent, and automatic statistics is realized aiming at a large number of various variables, so that the statistical efficiency is improved; the data area and the data filtering technology aimed at are counted, the effectiveness of the data is guaranteed, and a mode of displaying the counting result in multiple modes is adopted.

Description

Automatic statistical method and system for variable usage information in nuclear power plant DCS system
Technical Field
The invention relates to the field of nuclear power DCS systems, in particular to an automatic statistical method and an automatic statistical system for variable use information in a nuclear power plant DCS system.
Background
In a DCS system of a nuclear power plant, variables used by the whole system are various and huge in quantity, and the variables comprise IO variables, system variables, intermediate variables and the like. The variables of the DCS system are data interfaces and interaction bridges between software and hardware and between logics of the whole system, and are blood vessels of the whole system. The variables of the DCS system form the life cycle of the whole variable through links of assigning variable names, assigning variable meanings, using the variables and the like by designers. The variables of all links are related to each other, and the modules are independent from each other. The variables are very important in the overall system.
For a DCS system, variables are generated in the variable configuration or algorithm configuration links, and the variables are used in the algorithm configuration links. The use condition of the variables needs to be accurately mastered in the engineering design, maintenance and statistics links of the whole DCS system, so that the system variables can be conveniently regulated and monitored. In each link of the whole engineering design, the variables are possibly changed, so that accurate statistics of the variable use information is very important and difficult.
The statistics of the variable service conditions in the existing nuclear power station DCS system generally adopts a manual statistics mode, so that the real-time knowledge of the variable service conditions is very difficult in the engineering design process, and the real-time knowledge of the variable service conditions is very difficult to realize when finishing the variable service conditions after the engineering design is finished.
Based on the analysis of the variable configuration and the actual process of the use of the DCS system of the nuclear power station, the application scenes of checking the statistical information are very large based on various variable types and various variable numbers in engineering, and the requirements of designers on the output form of the statistical result are higher and higher. An automatic statistical technology of variable usage information is urgently needed, and a means for providing rapid and efficient statistical variable usage information for designers is an extremely difficult and important task.
Disclosure of Invention
The invention aims to solve the technical problems that the variable types in the DCS system of the existing nuclear power station are various and the quantity is huge; the statistics of the variable service conditions generally adopts a manual statistics mode, so that the variable service conditions are difficult to know in real time in the engineering design process, and the variable service conditions are difficult to realize when finishing after the engineering design. The invention aims to provide an automatic statistical method and an automatic statistical system for variable use information in a nuclear power plant DCS system, aiming at the variable use information of the nuclear power plant DCS system, the statistical function and the use function are independent, and the automatic statistics is realized for a large number of various variables, so that the statistical efficiency is improved; the data area and the data filtering technology aimed at are counted, the effectiveness of the data is guaranteed, and a mode of displaying the counting result in multiple modes is adopted.
On one hand, the invention ensures the accuracy and timeliness of the statistics of the variable usage information, ensures the diversity of statistical output, and provides an effective and credible operation means for real-time and accurate statistical data of engineering designers and maintenance personnel; on the other hand, the method provides a basis for engineering designers to quickly master the use condition of the variables at any time and adjust and maintain the variables, and facilitates the development of work in the following engineering design, engineering maintenance, VV, verification and other stages.
The invention is realized by the following technical scheme:
in a first aspect, the present invention provides an automatic statistical method for variable usage information in a DCS system of a nuclear power plant, the automatic statistical method comprising:
The configuration software acquires a statistical variable service condition instruction of enabling a nuclear power plant DCS system by an operator in real time;
Identifying a variable statistical range of the statistical variable according to the statistical variable service condition instruction;
determining a data storage area of a statistical variable according to the variable statistical range, and extracting variable data from the data storage area; performing data traversal on the variable data to obtain the service condition of the statistical variable as an automatic statistical result; and presents the automated statistics (e.g., in tabular form).
Further, the identifying the variable statistical range of the variable to be counted according to the statistical variable usage instruction specifically includes:
according to the statistical variable service condition instruction, clearing the ground colors of all variables on a site tree in a DCS system of the nuclear power plant, and setting the ground colors of all the variables to be transparent;
acquiring a variable statistical range of a statistical variable according to the position of an event triggering a statistical variable map page;
carrying out validity judgment on the variable statistical range, and if the variable statistical range is valid, determining a data storage area of the statistical variable; and if the variable statistical range is invalid, namely the selected statistical variable is null, finishing statistics and giving a prompt.
Further, the obtaining the variable statistical range of the statistical variable according to the position of the event triggering the "statistical variable page" includes:
acquiring a variable statistical range of a statistical variable according to the current selected position of the mouse in the drawing page, and recording all variable names needing to be subjected to variable statistics;
the variable statistical range comprises a first layer whole project and/or a second layer certain type variable and/or a third layer certain name variable;
Wherein:
The whole project of the first layer refers to all variables of a station in a DCS system of a nuclear power plant;
A second layer of a type of variable refers to all variables under a type;
the third layer of a name variable refers to a variable of a specific name.
Further, the first layer whole project, the second layer certain type variable and the third layer certain name variable of the variable statistical range are variable tree structures from top to bottom.
Further, the step of performing data traversal on the variable data to obtain the usage condition of the statistical variable, as an automatic statistical result, includes:
Traversing all functional pages in the site in turn, and searching whether variable names needing to be counted exist in each page in turn; if so, using a QMap structure with a variable name as an index key (i.e. key value) and a page name list of the variable as an index value (i.e. value) to store a traversal search result;
Judging whether the QMap structure is empty or not: if the QMap structure is empty, acquiring a list of all variables on the current site tree, and setting the base color of the variable node according to whether the attribute value of the function page name in the attribute list is empty or not; if the attribute value of the function page name is not null, setting the ground color of the function page name to gray; otherwise, the base color is set as transparent color; finishing statistics and giving a prompt;
If the QMap structure is not empty, executing the operation of updating the variable name and the operation of updating the background in parallel; the update variable name operation includes: traversing the QMap structures in turn, taking out the variable names (i.e. key values), obtaining the attribute list of the variable, and updating the values of the function page names in the variable attribute list by using the index values (i.e. value values, i.e. the function page name list of the variable);
The updating the background operation includes: traversing the QMap structures in turn, taking out variable names (i.e. key values), when the corresponding index value (i.e. value, i.e. the list of the function page names of the variable) is not null, searching out the corresponding variable name node on the site tree, setting the base color of the node as gray, otherwise, setting the base color as transparent.
Further, the automatic statistical result is displayed in a mode of outputting in various forms, the automatic statistical result is supported to be derived according to various modes such as types, names, forms and graphs, and the diversity and humanization modes of outputting the automatic statistical result are provided.
Further, the automatic statistical method is suitable for automatic statistics of variable usage information in a logic algorithm map in a nuclear power station DCS platform control station or a field transmission station TU.
In a second aspect, the invention further provides an automatic variable usage information statistics system for a DCS system of a nuclear power plant, wherein the automatic variable usage information statistics system comprises a variable configuration module, a variable usage module and a variable statistics module;
The variable configuration module is used as a data source of the nuclear power plant DCS system and used for generating variable data of the nuclear power plant DCS system and sharing the variable data to the variable use module and the variable statistics module; the variable statistics module is used for receiving the variable statistics instructions;
The variable use module is used for recording the use condition of the variables of the DCS system of the nuclear power plant in real time by using the variable data; and sending the variable to the variable statistics module according to the use condition of the variable;
the variable statistics module is used for responding to the statistics instruction of the variable configuration module, acquiring variable data from the data source, and performing data traversal on the variable data according to the service condition of the variable data to obtain the service condition of a statistical variable as an automatic statistics result; and feeding back the display information of the automatic statistical result to a variable use module.
Further, the variable statistics module performs data traversal on the variable data to obtain the service condition of the statistical variable, and the service condition is used as an automatic statistical result, and specifically comprises the following steps:
Traversing all functional pages in the site in turn, and searching whether variable names needing to be counted exist in each page in turn; if so, using a QMap structure with a variable name as an index key (i.e. key value) and a page name list of the variable as an index value (i.e. value) to store a traversal search result;
Judging whether the QMap structure is empty or not: if the QMap structure is empty, acquiring a list of all variables on the current site tree, and setting the base color of the variable node according to whether the attribute value of the function page name in the attribute list is empty or not; if the attribute value of the function page name is not null, setting the ground color of the function page name to gray; otherwise, the base color is set as transparent color; finishing statistics and giving a prompt;
If the QMap structure is not empty, executing the operation of updating the variable name and the operation of updating the background in parallel; the update variable name operation includes: traversing the QMap structures in turn, taking out the variable names (i.e. key values), obtaining the attribute list of the variable, and updating the values of the function page names in the variable attribute list by using the index values (i.e. value values, i.e. the function page name list of the variable);
The updating the background operation includes: traversing the QMap structures in turn, taking out variable names (i.e. key values), when the corresponding index value (i.e. value, i.e. the list of the function page names of the variable) is not null, searching out the corresponding variable name node on the site tree, setting the base color of the node as gray, otherwise, setting the base color as transparent.
Furthermore, the automatic statistical system adopts a mode of independent statistical functions and using functions in the variable statistics of the DCS system of the nuclear power plant.
Compared with the prior art, the invention has the following advantages and beneficial effects:
the invention is used for automatic statistics of variable use information in a nuclear power plant DCS system, and the invention adopts independent statistics function and use function aiming at the variable use information of the nuclear power plant DCS system, realizes automatic statistics aiming at a large number of various variables, and improves the statistics efficiency; the data area and the data filtering technology aimed at are counted, the effectiveness of the data is guaranteed, and a mode of displaying the counting result in multiple modes is adopted.
Drawings
The accompanying drawings, which are included to provide a further understanding of embodiments of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application. In the drawings:
FIG. 1 is a flow chart of the automatic statistical method for variable usage information in a DCS system of a nuclear power plant.
FIG. 2 is a diagram showing automatic statistics for a variable tree according to an embodiment of the present invention.
FIG. 3 is a diagram of an embodiment of the present invention in which the variable configuration table looks up automatic statistics.
Fig. 4 is a diagram of overall variable information of the whole engineering according to the embodiment of the invention.
Fig. 5 is a diagram of variable information by type for a station according to an embodiment of the present invention.
FIG. 6 is a schematic diagram of an automatic statistical system for variable usage information in a DCS system of a nuclear power plant.
Detailed Description
For the purpose of making apparent the objects, technical solutions and advantages of the present invention, the present invention will be further described in detail with reference to the following examples and the accompanying drawings, wherein the exemplary embodiments of the present invention and the descriptions thereof are for illustrating the present invention only and are not to be construed as limiting the present invention.
Example 1
The method of the invention realizes the automatic statistics of the variables used in the logic of the DCS system, ensures the consistency and the effectiveness of the statistical data through the technology of the generation, the use and the independence of the statistical modules and the data sharing and filtering, adopts the characteristics of shortcut and multi-mode output, and ensures the usability of the statistical function and the humanized requirement of the operation. Plays a key role in the generation of variables of the DCS system, the statistical design, test and verification links of the use. The functions of engineering design, verification and V & V personnel engineering design of the nuclear power station are met. The workload of operators is reduced to a great extent, the working efficiency is improved, the engineering design cost of the nuclear power plant is saved, and the accuracy of information is ensured.
As shown in fig. 1 to 5, the present invention is used for an automatic statistical method of variable usage information in a DCS system of a nuclear power plant, the automatic statistical method comprising:
The variable configuration module acquires a statistical variable service condition instruction of enabling a nuclear power plant DCS system by an operator of the variable statistics module in real time;
the variable configuration module identifies the variable statistical range of the statistical variable according to the statistical variable service condition instruction;
determining a data storage area of a statistical variable according to the variable statistical range, and extracting variable data from the data storage area; performing data traversal on the variable data to obtain the service condition of the statistical variable as an automatic statistical result; and presents the automated statistics (e.g., in tabular form).
The invention firstly independence of the variable statistics module in design, and ensures that the variable statistics is not interfered by the functions of other modules. Secondly, identifying the range of variable statistics according to the statistical variable use condition instruction, and identifying the real meaning representation of the function initiated by the user, wherein the range comprises the whole project of the first layer, a certain type of variable of the second layer, a certain name variable of the third layer and the combination of the above. Again, the data storage area is determined and the validity of the statistical source data is guaranteed with the shared data. And finally, traversing the data, counting the data, and displaying the data to a user in the form of a table and the like, thereby realizing the variable counting function.
As shown in fig. 1, the specific implementation is as follows:
(1) The variable configuration module receives an instruction for enabling the statistical variable use condition by an operator of the variable use module.
(2) The variable configuration module empties the base colors of all the variables on the site tree in the DCS system of the nuclear power plant according to the statistical variable service condition instruction, and sets the base colors of all the variables to be transparent;
(3) According to the position of an event triggering a statistical variable map page, obtaining a variable statistical range of a statistical variable (namely, according to the current selected position of a mouse in the map page, the statistical variable range is roughly divided into a first layer of whole project and/or a second layer of certain type variable and/or a third layer of certain name variable, wherein the first layer of whole project refers to all the variables of a station in a nuclear power plant DCS system, the second layer of certain type variable refers to all the variables under a certain type, and the third layer of certain name variable refers to the variables of a certain specific name;
(4) Carrying out validity judgment on the variable statistical range, if the variable statistical range is valid, determining a data storage area of the statistical variable, and extracting variable data from the data storage area; and if the variable statistical range is invalid, namely the selected statistical variable is null, finishing statistics and giving a prompt.
(5) Traversing all functional pages in the site in turn, and searching whether variable names needing to be counted exist in each page in turn; if so, using a QMap structure with a variable name as an index key (i.e. key value) and a page name list of the variable as an index value (i.e. value) to store a traversal search result;
(6) Judging whether the QMap structure is empty or not: if the QMap structure is empty, acquiring a list of all variables on the current site tree, and setting the base color of the variable node according to whether the attribute value of the function page name in the attribute list is empty or not; if the attribute value of the function page name is not null, setting the ground color of the function page name to gray; otherwise, the base color is set as transparent color; finishing statistics and giving a prompt;
(7) If the QMap structure is not empty, executing the operation of updating the variable name; the update variable name operation includes: traversing the QMap structures in turn, taking out the variable names (i.e. key values), obtaining the attribute list of the variable, and updating the values of the function page names in the variable attribute list by using the index values (i.e. value values, i.e. the function page name list of the variable);
(8) If the QMap structure is not empty, simultaneously executing a background updating operation; the updating the background operation includes: traversing the QMap structures in turn, taking out variable names (i.e. key values), when the corresponding index value (i.e. value, i.e. the list of the function page names of the variable) is not null, searching out the corresponding variable name node on the site tree, setting the base color of the node as gray, otherwise, setting the base color as transparent.
In this embodiment, the automatic statistics result is displayed in a manner of outputting in multiple forms, so as to support the automatic statistics result to be derived in multiple manners such as types, names, tables, graphics, and the like, thereby providing diversity and humanization manners of outputting the automatic statistics result.
In this embodiment, the automatic statistical method is suitable for automatic statistics of variable usage information in a logic algorithm map in a DCS platform control station or a TU station of a site transmission station of a nuclear power plant.
The invention has realized the automatic statistical method for the variable usage information in the DCS system of the nuclear power plant in the security level DCS project. The result displayed on the variable tree after the statistical data by the automatic statistical method is shown in figure 2.
After the automatic statistical method is used for counting the use condition of the variables, statistical result data is checked from a variable configuration table, and a schematic diagram is shown in figure 3.
The automatic statistical method is used for counting the use condition of the variables, and the variable information is checked for the whole engineering overall, and the schematic diagram is shown in fig. 4.
After the automatic statistical method of the invention is used for counting the use condition of the variables, the variable information is checked for a certain station according to the types, and the schematic diagram is shown in figure 5.
In the invention, aiming at the characteristics of various variables used in a DCS system, huge quantity, extremely large application scenes for checking statistical information and higher requirements of designers on the form of statistical result output, an automatic statistical method for the variable use information is researched, and the method is adopted on a security level DCS system, and the method uses the independent module design and the information sharing and filtering technology, so that the consistency and the effectiveness of a data source are ensured; the method adopts the mode of outputting the statistical result in various modes, supports the derivation of the statistical result in various modes such as type, name, form, graph and the like, and provides diversity and humanization modes of statistical result output. Finally, the real-time automatic statistics function of the variable usage information of the whole platform is realized, and the method is efficient and quick.
Example 2
As shown in fig. 6, the difference between the present embodiment and embodiment 1 is that the present embodiment provides an automatic statistical system for variable usage information in a DCS system of a nuclear power plant, which supports the automatic statistical method for variable usage information in a DCS system of a nuclear power plant described in embodiment 1; the automatic statistics system comprises a variable configuration module, a variable use module and a variable statistics module;
The variable configuration module is used as a unique data source of the nuclear power plant DCS system and used for generating variable data of the nuclear power plant DCS system and sharing the variable data to the variable use module and the variable statistics module; the variable statistics module is used for receiving the variable statistics instructions;
The variable use module is used for recording the use condition of the variables of the DCS system of the nuclear power plant in real time by using the variable data; and sending the variable to the variable statistics module according to the use condition of the variable;
the variable statistics module is used for responding to the statistics instruction of the variable configuration module, acquiring variable data from the data source, and performing data traversal on the variable data according to the service condition of the variable data to obtain the service condition of a statistical variable as an automatic statistics result; and feeding back the display information of the automatic statistical result to a variable use module.
Further, the variable statistics module performs data traversal on the variable data to obtain the service condition of the statistical variable, and the service condition is used as an automatic statistical result, and specifically comprises the following steps:
Traversing all functional pages in the site in turn, and searching whether variable names needing to be counted exist in each page in turn; if so, using a QMap structure with a variable name as an index key (i.e. key value) and a page name list of the variable as an index value (i.e. value) to store a traversal search result;
Judging whether the QMap structure is empty or not: if the QMap structure is empty, acquiring a list of all variables on the current site tree, and setting the base color of the variable node according to whether the attribute value of the function page name in the attribute list is empty or not; if the attribute value of the function page name is not null, setting the ground color of the function page name to gray; otherwise, the base color is set as transparent color; finishing statistics and giving a prompt;
If the QMap structure is not empty, executing the operation of updating the variable name and the operation of updating the background in parallel; the update variable name operation includes: traversing the QMap structures in turn, taking out the variable names (i.e. key values), obtaining the attribute list of the variable, and updating the values of the function page names in the variable attribute list by using the index values (i.e. value values, i.e. the function page name list of the variable);
The updating the background operation includes: traversing the QMap structures in turn, taking out variable names (i.e. key values), when the corresponding index value (i.e. value, i.e. the list of the function page names of the variable) is not null, searching out the corresponding variable name node on the site tree, setting the base color of the node as gray, otherwise, setting the base color as transparent.
In the embodiment, the automatic statistics system adopts a mode of independent statistics function and use function in the variable statistics of the DCS system of the nuclear power plant.
The execution process of each unit is performed according to the flow steps of the automatic statistical method for variable usage information in the DCS system of the nuclear power plant described in embodiment 1, which is not described in detail.
Aiming at the characteristics of various variables used in a DCS system, huge quantity, extremely large application scenes for checking statistical information and higher requirements of designers on the form of statistical result output, the invention researches an automatic statistical system for the variable use information. The system adopts a method of independent statistical function and using function, thereby improving statistical efficiency; the scheme that statistics can be carried out in any link is adopted, statistics can be carried out at any time, and timeliness of statistics is guaranteed; a data sharing technology is used for sharing one piece of data among the variable configuration module, the variable using module and the variable statistics module, so that the consistency of data sources is ensured; the validity of the statistical result is ensured by adopting a data filtering technology; the shortcut key processing mode is adopted, so that variables can be counted rapidly no matter whether the variables are newly built or viewed, and a rapid counting mode is provided for users; the method adopts the mode of outputting the statistical result in various modes, supports the derivation of the statistical result in various modes such as type, name, form, graph and the like, and provides diversity and humanization modes of statistical result output.
The system of the invention can ensure the accuracy and timeliness of the statistics of the variable usage information, ensure the diversity of statistical output and provide effective and reliable operation means for real-time and accurate statistical data of engineering designers and maintenance personnel; on the other hand, the method provides basis for engineering designers to quickly master the use condition of the variables at any time and adjust and maintain the variables. The method is convenient for the development of subsequent engineering maintenance, engineering information statistics and other stage work, improves the working efficiency of staff in each link, and saves the engineering design and maintenance cost.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (8)

1. The automatic statistical method for the variable usage information in the DCS system of the nuclear power plant is characterized by comprising the following steps:
The configuration software acquires a statistical variable service condition instruction of enabling a nuclear power plant DCS system by an operator in real time;
Identifying a variable statistical range of the statistical variable according to the statistical variable service condition instruction;
Determining a data storage area of a statistical variable according to the variable statistical range, and extracting variable data from the data storage area; performing data traversal on the variable data to obtain the service condition of the statistical variable as an automatic statistical result; displaying the automatic statistical result;
The step of performing data traversal on the variable data to obtain the service condition of the statistical variable, which is used as an automatic statistical result, comprises the following steps:
Traversing all functional pages in the site in turn, and searching whether variable names needing to be counted exist in each page in turn; if the variable is present, using a map page name list of the variable as an index value to store a traversing searching result by using a QMap structure of the variable as an index key;
Judging whether the QMap structure is empty or not: if the QMap structure is empty, acquiring a list of all variables on the current site tree, and setting the base color of the variable node according to whether the attribute value of the function page name in the attribute list is empty or not; if the attribute value of the function page name is not null, setting the ground color of the function page name to gray; otherwise, the base color is set as transparent color; finishing statistics and giving a prompt;
if the QMap structure is not empty, executing the operation of updating the variable name and the operation of updating the background in parallel; the update variable name operation includes: traversing the QMap structures in sequence, taking out the variable names, obtaining the attribute list of the variable, and updating the values of the function chart page names in the variable attribute list by using the index values;
the updating the background operation includes: traversing the QMap structures in sequence, taking out variable names, searching out corresponding variable name nodes on the site tree when the corresponding index values are not null values, setting the base color of the nodes to gray, and otherwise, setting the base color to transparent color.
2. The automatic statistical method for variable usage information in a DCS system of a nuclear power plant according to claim 1, wherein the identifying the variable statistical range of the variable to be counted according to the statistical variable usage instruction comprises:
according to the statistical variable service condition instruction, clearing the ground colors of all variables on a site tree in a DCS system of the nuclear power plant, and setting the ground colors of all the variables to be transparent;
acquiring a variable statistical range of a statistical variable according to the position of an event triggering a statistical variable map page;
carrying out validity judgment on the variable statistical range, and if the variable statistical range is valid, determining a data storage area of the statistical variable; and if the variable statistical range is invalid, namely the selected statistical variable is null, finishing statistics and giving a prompt.
3. The automatic statistical method for variable usage information in a DCS system of a nuclear power plant according to claim 2, wherein the obtaining the statistical range of the variable of the statistical variable according to the position of the event triggering the "statistical variable map" comprises:
acquiring a variable statistical range of a statistical variable according to the current selected position of the mouse in the drawing page, and recording all variable names needing to be subjected to variable statistics;
the variable statistical range comprises a first layer whole project and/or a second layer certain type variable and/or a third layer certain name variable; wherein:
The whole project of the first layer refers to all variables of a station in a DCS system of a nuclear power plant;
A second layer of a type of variable refers to all variables under a type;
the third layer of a name variable refers to a variable of a specific name.
4. The automatic statistics method for variable usage information in a DCS system of a nuclear power plant according to claim 3, wherein the first layer of the whole project, the second layer of the certain type of variable and the third layer of the certain name variable of the variable statistics range are in a variable tree structure from top to bottom.
5. The automatic statistical method for variable usage information in a DCS system of a nuclear power plant according to claim 1, wherein the automatic statistical result is displayed in a mode of outputting in various forms, and the automatic statistical result is supported to be exported in various modes of types, names, tables and graphs.
6. The automatic statistical method for variable usage information in a DCS system of a nuclear power plant according to claim 1, which is adapted to automatic statistics of variable usage information in a logic algorithm map in a DCS platform control station or a site transmission station TU of the nuclear power plant.
7. The automatic statistical system for the variable use information in the DCS system of the nuclear power plant is characterized by comprising a variable configuration module, a variable use module and a variable statistical module;
The variable configuration module is used as a data source of the nuclear power plant DCS system and used for generating variable data of the nuclear power plant DCS system and sharing the variable data to the variable use module and the variable statistics module; the variable statistics module is used for receiving the variable statistics instructions;
The variable use module is used for recording the use condition of the variables of the DCS system of the nuclear power plant in real time by using the variable data; and sending the variable to the variable statistics module according to the use condition of the variable;
The variable statistics module is used for responding to the statistics instruction of the variable configuration module, acquiring variable data from the data source, and performing data traversal on the variable data according to the service condition of the variable data to obtain the service condition of a statistical variable as an automatic statistics result; feeding back display information to a variable using module by the automatic statistical result;
The variable statistics module performs data traversal on the variable data to obtain the service condition of the statistical variable, and the service condition is used as an automatic statistical result, and the specific execution process is as follows:
Traversing all functional pages in the site in turn, and searching whether variable names needing to be counted exist in each page in turn; if the variable is present, using a map page name list of the variable as an index value to store a traversing searching result by using a QMap structure of the variable as an index key;
Judging whether the QMap structure is empty or not: if the QMap structure is empty, acquiring a list of all variables on the current site tree, and setting the base color of the variable node according to whether the attribute value of the function page name in the attribute list is empty or not; if the attribute value of the function page name is not null, setting the ground color of the function page name to gray; otherwise, the base color is set as transparent color; finishing statistics and giving a prompt;
if the QMap structure is not empty, executing the operation of updating the variable name and the operation of updating the background in parallel; the update variable name operation includes: traversing the QMap structures in sequence, taking out the variable names, obtaining the attribute list of the variable, and updating the values of the function chart page names in the variable attribute list by using the index values;
the updating the background operation includes: traversing the QMap structures in sequence, taking out variable names, searching out corresponding variable name nodes on the site tree when the corresponding index values are not null values, setting the base color of the nodes to gray, and otherwise, setting the base color to transparent color.
8. The automatic statistics system for variable usage information in a nuclear power plant DCS system according to claim 7, wherein the automatic statistics system adopts a manner of independent statistics function from usage function in the statistics of the nuclear power plant DCS system variables.
CN202210674047.0A 2022-06-15 2022-06-15 Automatic statistical method and system for variable usage information in nuclear power plant DCS system Active CN114995314B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210674047.0A CN114995314B (en) 2022-06-15 2022-06-15 Automatic statistical method and system for variable usage information in nuclear power plant DCS system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210674047.0A CN114995314B (en) 2022-06-15 2022-06-15 Automatic statistical method and system for variable usage information in nuclear power plant DCS system

Publications (2)

Publication Number Publication Date
CN114995314A CN114995314A (en) 2022-09-02
CN114995314B true CN114995314B (en) 2024-06-04

Family

ID=83035937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210674047.0A Active CN114995314B (en) 2022-06-15 2022-06-15 Automatic statistical method and system for variable usage information in nuclear power plant DCS system

Country Status (1)

Country Link
CN (1) CN114995314B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62111357A (en) * 1985-11-11 1987-05-22 Nec Corp Statistically analyzed result output system
WO1998014851A1 (en) * 1996-10-04 1998-04-09 Fisher Controls International, Inc. Method and apparatus for debugging and tuning a process control network having distributed control functions
CN101807073A (en) * 2010-04-20 2010-08-18 杭州和利时自动化有限公司 Historical data processing method and device of distributed control system
JP2015001844A (en) * 2013-06-17 2015-01-05 株式会社日立パワーソリューションズ Work time prediction device, method, and program
CN107024911A (en) * 2017-05-03 2017-08-08 中国核动力研究设计院 A kind of nuclear power plant's numerical control system Logical processing unit
CN107450512A (en) * 2017-07-24 2017-12-08 核动力运行研究所 A kind of system and method for the access of nuclear power station DCS controller states
EP3352033A1 (en) * 2017-01-18 2018-07-25 Yokogawa Electric Corporation Maintenance operation support device, maintenance operation support method, and non-transitory computer readable storage medium
WO2018137145A1 (en) * 2017-01-24 2018-08-02 北京广利核系统工程有限公司 Data synchronization method and apparatus
CN109639520A (en) * 2018-11-28 2019-04-16 北京广利核系统工程有限公司 A kind of Computer Aided Measurement of reactor protection system network communication
CN113987725A (en) * 2021-10-26 2022-01-28 中国核动力研究设计院 Automatic generation method for nuclear power station DCS transparent transmission network variable logic relation
CN114115840A (en) * 2021-11-10 2022-03-01 中国核动力研究设计院 Variable skipping method and device for nuclear power station DCS system application software
CN114326642A (en) * 2022-01-05 2022-04-12 北京广利核系统工程有限公司 Interface matching method, device, equipment and medium for nuclear power DCS (distributed control System)
WO2022121910A1 (en) * 2020-12-07 2022-06-16 北京达美盛软件股份有限公司 Factory server embedded in distributed control system and secure network structure thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6601433B2 (en) * 2017-02-08 2019-11-06 横河電機株式会社 Event analysis device, event analysis system, event analysis method, event analysis program, and recording medium
JP2024519533A (en) * 2021-05-06 2024-05-15 ストロング フォース アイオーティ ポートフォリオ 2016,エルエルシー Quantum, Biological, Computer Vision and Neural Network Systems for the Industrial Internet of Things

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62111357A (en) * 1985-11-11 1987-05-22 Nec Corp Statistically analyzed result output system
WO1998014851A1 (en) * 1996-10-04 1998-04-09 Fisher Controls International, Inc. Method and apparatus for debugging and tuning a process control network having distributed control functions
CN101807073A (en) * 2010-04-20 2010-08-18 杭州和利时自动化有限公司 Historical data processing method and device of distributed control system
JP2015001844A (en) * 2013-06-17 2015-01-05 株式会社日立パワーソリューションズ Work time prediction device, method, and program
EP3352033A1 (en) * 2017-01-18 2018-07-25 Yokogawa Electric Corporation Maintenance operation support device, maintenance operation support method, and non-transitory computer readable storage medium
WO2018137145A1 (en) * 2017-01-24 2018-08-02 北京广利核系统工程有限公司 Data synchronization method and apparatus
CN107024911A (en) * 2017-05-03 2017-08-08 中国核动力研究设计院 A kind of nuclear power plant's numerical control system Logical processing unit
CN107450512A (en) * 2017-07-24 2017-12-08 核动力运行研究所 A kind of system and method for the access of nuclear power station DCS controller states
CN109639520A (en) * 2018-11-28 2019-04-16 北京广利核系统工程有限公司 A kind of Computer Aided Measurement of reactor protection system network communication
WO2022121910A1 (en) * 2020-12-07 2022-06-16 北京达美盛软件股份有限公司 Factory server embedded in distributed control system and secure network structure thereof
CN113987725A (en) * 2021-10-26 2022-01-28 中国核动力研究设计院 Automatic generation method for nuclear power station DCS transparent transmission network variable logic relation
CN114115840A (en) * 2021-11-10 2022-03-01 中国核动力研究设计院 Variable skipping method and device for nuclear power station DCS system application software
CN114326642A (en) * 2022-01-05 2022-04-12 北京广利核系统工程有限公司 Interface matching method, device, equipment and medium for nuclear power DCS (distributed control System)

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
气隙和接触热阻对乏燃料干法转运容器热工安全影响研究;祝玲琳;《核动力工程 》;20210818;第42卷(第06期);230-236 *
高压给水加热器至除氧器疏水管道异常振动原因分析及处理;杨纪晨;《核动力工程》;20181220;第39卷(第S2期);142-145 *

Also Published As

Publication number Publication date
CN114995314A (en) 2022-09-02

Similar Documents

Publication Publication Date Title
CN110866320B (en) Automatic intelligent platform region graph generation method and system
CN105677812A (en) Method and device for querying data
CN111538731B (en) Automatic report generation system for industrial data
CN109408493A (en) A kind of moving method and system of data source
CN105224458A (en) A kind of database method of testing and system
CN108804630A (en) A kind of big data intellectual analysis service system of Industry-oriented application
CN110968509B (en) Method and system for batch customizing of variables
CN111078094B (en) Distributed machine learning visualization device
CN107748752A (en) A kind of data processing method and device
CN103020433B (en) A kind of evaluation method of status of electric power
CN105279269A (en) SQL generating method and system for supporting table free association
CN111324781A (en) Data analysis method, device and equipment
CN100346315C (en) Three dimension mode construction software automatic testing method based on script
CN102929853A (en) DCS (Data Communication System) project data generating system and method based on Excel sheet association
CN114995314B (en) Automatic statistical method and system for variable usage information in nuclear power plant DCS system
CN112131855B (en) Bank certificate template generation method and device
CN117194501A (en) DCS trend measurement point jump logic configuration method, system, equipment and medium
CN116431668A (en) Metadata acquisition-based data blood-edge analysis method and device and electronic equipment
CN104298657A (en) Evaluation index analysis system based on expression
CN111143967A (en) Improved power grid quota decision method and system
CN109344079A (en) Placement-and-routing's regression testing method, system, equipment and storage medium
KR102473776B1 (en) Big data cross model data integrated processing method and apparatus
CN113204864A (en) Method and system suitable for transmission network simulation data version control
CN108021353A (en) Generating means, method, equipment and the storage medium of the explanation document of software product
CN112270142B (en) Flow field visualization pipeline dynamic construction method and device for human-computer interaction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant