CN114995314A - Automatic statistical method and system for variable use information in nuclear power plant DCS (distributed control System) - Google Patents

Automatic statistical method and system for variable use information in nuclear power plant DCS (distributed control System) Download PDF

Info

Publication number
CN114995314A
CN114995314A CN202210674047.0A CN202210674047A CN114995314A CN 114995314 A CN114995314 A CN 114995314A CN 202210674047 A CN202210674047 A CN 202210674047A CN 114995314 A CN114995314 A CN 114995314A
Authority
CN
China
Prior art keywords
variable
statistical
name
data
nuclear power
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.)
Granted
Application number
CN202210674047.0A
Other languages
Chinese (zh)
Other versions
CN114995314B (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
Priority claimed from CN202210674047.0A external-priority 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

Images

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 a method and a system for automatically counting variable use information in a nuclear power plant DCS, wherein the method comprises the following steps: the method comprises the steps that configuration software obtains a statistical variable use condition instruction of a nuclear power plant DCS (distributed control system) started by an operator in real time; identifying a variable statistical range of the statistical variable according to the statistical variable use 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 use condition of the statistical variable as an automatic statistical result; and displaying the automatic statistical result. Aiming at variable use information of a nuclear power station DCS, the invention adopts the mode that the statistical function is independent of the use function, and automatic statistics is realized aiming at a large amount of and various variables, so that the statistical efficiency is improved; and the data area and the data filtering technology targeted by statistics ensure the validity of the data, and a multi-style statistical result displaying mode is adopted.

Description

Automatic statistical method and system for variable use information in nuclear power plant DCS (distributed control System)
Technical Field
The invention relates to the field of nuclear power DCS systems, in particular to a method and a system for automatically counting variable use information in a nuclear power plant DCS system.
Background
In a nuclear power plant DCS system, the variables used by the whole system are various and huge in quantity, and 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 for running the whole system. The variables of the DCS form the life cycle of the whole variables through links of endowing variable names, endowing variable meanings, using the variables and the like by designers. The variables of each link are correlated, and the modules are independent. The variables are in a very important position in the whole system.
For a DCS system, variables are generated in a variable configuration link or an algorithm configuration link, and the variables are used in the algorithm configuration link. In the whole DCS system engineering design, maintenance and statistics links, the use condition of the variable needs to be accurately mastered, and the variable of the system is conveniently adjusted and monitored. In each link of the whole engineering design, variables are likely to change, so that accurate statistics of variable use information is an important and difficult matter.
In the existing nuclear power station DCS system, a manual counting mode is generally adopted for counting the variable use condition, the variable use condition is difficult to know in real time in the engineering design process, and the variable use condition is hardly finished after the engineering design is finished.
From the analysis of the nuclear power station DCS system variable configuration and the actual process used, on the basis of various types and quantities of variables in engineering, application scenes for checking statistical information are extremely large, and the requirements of designers on the output form of statistical results are higher and higher. The technology for automatically counting the variable use information is urgently needed, and the method for quickly and efficiently counting the variable use information is extremely difficult and important work for designers.
Disclosure of Invention
The invention aims to solve the technical problems that the existing nuclear power station DCS system has various variables and huge quantity; the statistics of the variable use condition generally adopts a manual statistics mode, the variable use condition is difficult to know in real time in the engineering design process, and the statistics of the variable use condition after the engineering design is finished is also difficult to realize. The invention aims to provide a method and a system for automatically counting variable use information in a nuclear power plant DCS, which are used for automatically counting the variable use information of the nuclear power plant DCS by adopting independent counting function and use function and aiming at a large amount of and various variables, thereby improving the counting efficiency; and the data area and the data filtering technology targeted by statistics ensure the validity of the data, and a multi-style statistical result displaying mode is adopted.
On one hand, the method ensures the accuracy and timeliness of the statistics of the variable use information, ensures the diversity of the statistical output, and provides an effective and credible operation means for real-time and accurate statistical data of engineering designers and maintainers; on the other hand, engineering designers can quickly master the variable use condition at any time, and provide a basis for adjusting and maintaining the variable, so that the development of subsequent stage work such as engineering design, engineering maintenance, VV, verification and the like is facilitated.
The invention is realized by the following technical scheme:
in a first aspect, the invention provides an automatic statistical method for variable usage information in a nuclear power plant DCS, which comprises the following steps:
the method comprises the steps that configuration software obtains a statistical variable use condition instruction of a nuclear power plant DCS (distributed control system) started by an operator in real time;
identifying a variable statistical range of the statistical variable according to the statistical variable use 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 use condition of a statistical variable as an automatic statistical result; and presenting (e.g., in tabular form) the automated statistics.
Further, the identifying a variable statistical range of the variable to be statistically calculated according to the statistical variable use condition instruction specifically includes:
clearing the ground colors of all variables on a site tree in a nuclear power plant DCS according to the statistical variable use condition instruction, and setting the ground colors of all the variables as transparent colors;
acquiring a variable statistical range of a statistical variable according to the position of an event triggering a statistical variable map page;
judging the effectiveness of the variable statistical range, and if the variable statistical range is effective, determining a data storage area of a statistical variable; and if the variable statistical range is invalid, namely the selected statistical variable is null, finishing the statistics and giving a prompt.
Further, the obtaining of the variable statistical range of the statistical variable according to the position of the event triggering the "statistical variable map page" includes:
acquiring a variable statistical range of statistical variables according to the current selected position of the mouse in the picture page, and recording all variable names needing variable statistics;
the variable statistical range comprises a first layer whole project and/or a second layer variable of a certain type and/or a third layer variable of a certain name;
wherein:
the first layer of whole engineering refers to all variables of sites in a nuclear power plant DCS system;
the second layer variable of a certain type refers to all variables under a certain type;
and the name variable of the third layer refers to a variable of a specific name.
Further, the whole project of the first layer, the variable of a certain type of the second layer and the variable of a certain name of the third layer of the variable statistical range are variable tree structures from top to bottom.
Further, the data traversal is performed on the variable data to obtain the use condition of the statistical variable, and the automatic statistical result includes:
sequentially traversing all functional graph pages in the site, and sequentially searching whether a variable name needing to be counted exists in each graph page; if the variable exists, the variable name is used as an index key (namely a key value), and a QMap structure of a map page name list of the variable used as an index value (namely a value) is used for storing the traversal search result;
and 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 ground color of the variable node according to whether the attribute value of the page name of the functional graph in the attribute list is empty; if the attribute value of the page name of the function diagram is not null, setting the background color of the page name of the function diagram as gray; otherwise, setting the background color as a transparent color; finishing the statistics and giving a prompt;
if the QMap structure is not empty, executing variable name updating operation and background updating operation in parallel; the variable name update operation comprises the following steps: sequentially traversing the QMap structure, taking out a variable name (namely a key value), acquiring an attribute list of the variable, and updating the value of the functional graph page name in the variable attribute list by using an index value (namely a value, namely a functional graph page name list using the variable);
the update background operation includes: and traversing the QMap structures in sequence, taking out variable names (namely key values), finding out corresponding variable name nodes on the site tree when the corresponding index values (namely value values, namely a function graph page name list using the variables) are not null values, and setting the bottom colors of the nodes to be gray, otherwise, setting the bottom colors to be transparent.
Furthermore, the automatic statistical result is displayed in a multi-form output mode, the automatic statistical result is derived in various modes such as type, name, table, graph and the like, and the diversity and humanized mode of outputting the automatic statistical result are provided.
Furthermore, the automatic statistical method is suitable for automatic statistics of variable use information in a logic algorithm diagram in a DCS platform control station or a field transmission station TU of the nuclear power station.
In a second aspect, the invention further provides an automatic statistical system for variable use information in a nuclear power plant DCS system, where the automatic statistical system includes 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 and used for generating variable data of the nuclear power plant DCS and sharing the variable data to the variable using module and the variable counting module; and is used for initiating a statistical instruction to the variable statistical module;
the variable using module is used for recording the using condition of the variable of the nuclear power plant DCS in real time by using the variable data; sending the variable to the variable statistical module according to the use condition of the variable;
the variable counting module is used for responding to the counting instruction of the variable configuration module, acquiring variable data from the data source, and performing data traversal on the variable data according to the using condition of the variable data to obtain the using condition of a counting variable as an automatic counting result; and feeding back the display information to a variable using module according to the automatic statistical result.
Further, the variable statistics module performs data traversal on the variable data to obtain the use condition of the statistical variable, and as an automatic statistics result, the specific execution process is as follows:
sequentially traversing all functional graph pages in the site, and sequentially searching whether a variable name needing to be counted exists in each graph page; if the variable exists, the variable name is used as an index key (namely key value), and a QMap structure with the graph page name list of the variable as the index value (namely value) is used for storing the traversal search result;
and 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 ground color of the variable node according to whether the attribute value of the page name of the functional graph in the attribute list is empty; if the attribute value of the page name of the function diagram is not null, setting the background color of the page name of the function diagram as gray; otherwise, setting the bottom color as a transparent color; finishing the statistics and giving a prompt;
if the QMap structure is not empty, executing variable name updating operation and background updating operation in parallel; the variable name update operation comprises the following steps: sequentially traversing the QMap structure, taking out a variable name (namely a key value), acquiring an attribute list of the variable, and updating the value of the functional graph page name in the variable attribute list by using an index value (namely a value, namely a functional graph page name list using the variable);
the update background operation includes: and traversing the QMap structures in sequence, taking out variable names (namely key values), finding out corresponding variable name nodes on the site tree when the corresponding index values (namely value values, namely a function graph page name list using the variables) are not null values, and setting the ground color of the nodes to be gray, otherwise, setting the ground color to be transparent.
Further, the automatic statistical system adopts a mode of independent statistical function and use function in the nuclear power plant DCS system variable statistics.
Compared with the prior art, the invention has the following advantages and beneficial effects:
the invention is used for the automatic statistical method and system of the variable use information in the DCS system of the nuclear power plant, the invention adopts the independent statistical function and use function aiming at the variable use information of the DCS system of the nuclear power plant, realizes the automatic statistics aiming at a large amount of variables with various types, and improves the statistical efficiency; and the data area and the data filtering technology targeted by statistics ensure the validity of the data, and a multi-style statistical result displaying mode is adopted.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
FIG. 1 is a flow chart of an automatic statistical method for variable use information in a nuclear power plant DCS system according to the present invention.
FIG. 2 is a diagram of an automatic statistics result displayed by a variable tree according to an embodiment of the present invention.
Fig. 3 is a diagram of checking an automatic statistical result of a variable configuration table according to an embodiment of the present invention.
Fig. 4 is a diagram of the whole engineering general variable information according to the embodiment of the present invention.
Fig. 5 is a diagram of variable information by type for a station in accordance with an embodiment of the present invention.
FIG. 6 is a schematic structural diagram of an automatic statistical system for variable usage information in a nuclear power plant DCS according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to examples and accompanying drawings, and the exemplary embodiments and descriptions thereof are only used for explaining the present invention and are not meant to limit the present invention.
Example 1
The method realizes the automatic statistics of the variables used in the logic of the DCS, ensures the consistency and the effectiveness of statistical data through the independence of the variable generation, use and statistical modules and the data sharing and filtering technology, adopts the characteristics of shortcut and multi-style output, and ensures the usability of statistical functions and the humanized requirement of operation. The method plays a key role in the links of generation of variables and design, test and verification of used statistics of the DCS. The functions of nuclear power station engineering design, verification and V & V personnel engineering design 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 method for automatically counting variable usage information in a nuclear power plant DCS system of the present invention includes:
the method comprises the steps that a variable configuration module obtains a statistical variable use condition instruction of a nuclear power plant DCS (distributed control system) started by an operator of a variable statistical module in real time;
the variable configuration module identifies the variable statistical range of the statistical variable according to the statistical variable use 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 use condition of the statistical variable as an automatic statistical result; and presenting (e.g., in tabular form) the automatic statistics.
The invention firstly makes the variable statistic module independent from the design, and ensures that the variable statistic is not interfered by the functions of other modules. Secondly, identifying the statistical range of the variables according to the statistical variable use condition instruction, and identifying the real meaning expression of the function initiated by the user, wherein the range comprises the whole project of the first layer, the variable of a certain type of the second layer, the variable of a certain name of the third layer and the combination of the variables. Thirdly, determining a data storage area, and ensuring the validity of the statistical source data by using the shared data. And finally, traversing the data, counting the data, and displaying the data to a user in forms of a table and the like, thereby realizing the variable counting function.
As shown in fig. 1, the implementation is as follows:
(1) the variable configuration module receives an instruction of an operator of the variable use module to start counting the use condition of the variable.
(2) The variable configuration module empties the ground colors of all variables on a site tree in the nuclear power plant DCS according to the statistical variable use condition instruction, and sets the ground colors of all the variables as transparent colors;
(3) according to the position of an event triggering a 'statistical variable graph page', acquiring a variable statistical range of a statistical variable (namely, according to the current selected position of a mouse in the graph page, roughly dividing the situation into three conditions, namely a first layer whole project and/or a second layer certain type variable and/or a third layer certain name variable, wherein the first layer whole project refers to all variables of a site in a nuclear power plant DCS system, the second layer certain type variable refers to all variables under a certain type, and the third layer certain name variable refers to a variable with a specific name;
(4) judging the effectiveness of the variable statistical range, if the variable statistical range is effective, determining a data storage area of a 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 the statistics and giving a prompt.
(5) Sequentially traversing all functional graph pages in the site, and sequentially searching whether a variable name needing to be counted exists in each graph page; if the variable exists, the variable name is used as an index key (namely key value), and a QMap structure with the graph page name list of the variable as the index value (namely value) is used for storing the traversal search result;
(6) and 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 ground color of the variable node according to whether the attribute value of the page name of the functional graph in the attribute list is empty; if the attribute value of the page name of the function graph is not null, setting the ground color of the page name of the function graph to be gray; otherwise, setting the background color as a transparent color; finishing the statistics and giving a prompt;
(7) if the QMap structure is not empty, executing variable name updating operation; the variable name update operation comprises the following steps: sequentially traversing the QMap structure, taking out a variable name (namely a key value), acquiring an attribute list of the variable, and updating the value of the functional graph page name in the variable attribute list by using an index value (namely a value, namely a functional graph page name list using the variable);
(8) if the QMap structure is not empty, simultaneously executing background updating operation; the update background operation includes: and traversing the QMap structures in sequence, taking out variable names (namely key values), finding out corresponding variable name nodes on the site tree when the corresponding index values (namely value values, namely a function graph page name list using the variables) are not null values, and setting the ground color of the nodes to be gray, otherwise, setting the ground color to be transparent.
In this embodiment, the automatic statistical result is displayed in a manner of outputting in various forms, so that the automatic statistical result is derived in various manners such as type, name, table, graph and the like, and the diversity and humanized manner of outputting the automatic statistical result are provided.
In this embodiment, the automatic statistical method is suitable for automatic statistics of variable use information in a logic algorithm diagram in a nuclear power station DCS platform control station or a field transmission station TU station.
In a safety level DCS project, the automatic statistical method for the variable use information in the DCS system of the nuclear power plant is realized. The result displayed on the variable tree after the data are counted by the automatic statistical method is shown in figure 2.
After the use condition of the variables is counted by using the automatic counting method, the data of the counting result is checked from the variable configuration table, and a schematic diagram is shown in fig. 3.
The automatic statistical method is utilized to count the variable use condition, and the variable information is checked for the whole project population, and the schematic diagram is shown in FIG. 4.
After the variable use condition is counted by using the automatic counting method, the variable information is checked for a certain station according to the type, and a schematic diagram is shown in fig. 5.
According to the method, the automatic statistical method of the variable use information is researched aiming at the characteristics that the variables used in the DCS are various in types and large in quantity, application scenes for checking the statistical information are extremely numerous, and the requirement of designers on the output form of the statistical result is higher and higher; the method adopts a mode of outputting statistical results in various forms, supports the derivation of statistical results in various modes such as types, names, tables, graphs and the like, and provides diversity and humanized modes of outputting statistical results. Finally, the function of automatically counting the variable use information of the whole platform in real time is achieved, and the method is efficient and rapid.
Example 2
As shown in fig. 6, the present embodiment is different from embodiment 1 in that the present embodiment provides an automatic statistical system for variable usage information in a nuclear power plant DCS system, which supports the automatic statistical method for variable usage information in a nuclear power plant DCS system described in embodiment 1; the automatic statistical system comprises a variable configuration module, a variable using module and a variable statistical module;
the variable configuration module is used as a unique data source of the nuclear power plant DCS and used for generating variable data of the nuclear power plant DCS and sharing the variable data to the variable using module and the variable counting module; and is used for initiating a statistical instruction to the variable statistical module;
the variable using module is used for recording the using condition of the variable of the DCS of the nuclear power plant in real time by using the variable data; sending the variable to the variable statistical module according to the use condition of the variable;
the variable counting module is used for responding to the counting instruction of the variable configuration module, acquiring variable data from the data source, and performing data traversal on the variable data according to the using condition of the variable data to obtain the using condition of a counting variable as an automatic counting result; and feeding back the display information to a variable using module according to the automatic statistical result.
Further, the variable statistics module performs data traversal on the variable data to obtain the use condition of the statistical variable, and as an automatic statistics result, the specific execution process is as follows:
sequentially traversing all functional graph pages in the site, and sequentially searching whether a variable name needing to be counted exists in each graph page; if the variable exists, the variable name is used as an index key (namely key value), and a QMap structure with the graph page name list of the variable as the index value (namely value) is used for storing the traversal search result;
and 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 ground color of the variable node according to whether the attribute value of the page name of the functional graph in the attribute list is empty; if the attribute value of the page name of the function diagram is not null, setting the background color of the page name of the function diagram as gray; otherwise, setting the bottom color as a transparent color; finishing the statistics and giving a prompt;
if the QMap structure is not empty, executing variable name updating operation and background updating operation in parallel; the variable name update operation comprises the following steps: sequentially traversing the QMap structure, taking out a variable name (namely a key value), acquiring an attribute list of the variable, and updating the value of the functional graph page name in the variable attribute list by using an index value (namely a value, namely a functional graph page name list using the variable);
the update background operation includes: and traversing the QMap structures in sequence, taking out variable names (namely key values), finding out corresponding variable name nodes on the site tree when the corresponding index values (namely value values, namely a function graph page name list using the variables) are not null values, and setting the ground color of the nodes to be gray, otherwise, setting the ground color to be transparent.
In this embodiment, the automatic statistical system adopts a mode that a statistical function is independent of a use function in the nuclear power plant DCS system variable statistics.
The execution process of each unit is executed according to the flow steps of the method for automatically counting the variable use information in the nuclear power plant DCS system described in embodiment 1, and details are not repeated in this embodiment.
The invention researches an automatic statistical system of variable use information aiming at the characteristics that the variables used in a DCS system are various and large in quantity, the application scenes for checking statistical information are extremely large, and the requirement of designers on the output form of statistical results is higher and higher. The system of the invention adopts a method of independent statistical function and use 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 the timeliness of statistics is guaranteed; by using a data sharing technology, a piece of data is shared among the variable configuration module, the variable using module and the variable counting module, so that the consistency of a data source is ensured; the data filtering technology is adopted to ensure the validity of the statistical result; a shortcut key processing mode is adopted, so that variables can be quickly counted no matter whether the variables are newly built or checked, and a quick counting mode is provided for a user; the method adopts a mode of outputting statistical results in various forms, supports the derivation of statistical results in various modes such as types, names, tables, graphs and the like, and provides diversity and humanized modes of outputting statistical results.
The system can ensure the accuracy and timeliness of variable use information statistics, ensure the diversity of statistical output and provide an effective and credible operation means for real-time and accurate statistical data of engineering designers and maintainers on one hand; on the other hand, the method provides a basis for engineering designers to quickly master the variable use condition at any time and adjust and maintain the variable. The development of subsequent engineering maintenance, engineering information statistics and other stage work is facilitated, the working efficiency of workers in all links is improved, and the engineering design and maintenance cost is saved.
As will be appreciated by one skilled in the art, 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. The method for automatically counting the variable use information in the nuclear power plant DCS system is characterized by comprising the following steps:
the method comprises the steps that configuration software obtains a statistical variable use condition instruction of a nuclear power plant DCS (distributed control system) started by an operator in real time;
identifying a variable statistical range of the statistical variable according to the statistical variable use 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 use condition of the statistical variable as an automatic statistical result; and displaying the automatic statistical result.
2. The method for automatically counting variable use information in the DCS system of the nuclear power plant according to claim 1, wherein the identifying a variable statistical range of a variable to be counted according to the statistical variable use instruction specifically includes:
clearing the ground colors of all variables on a site tree in the DCS of the nuclear power plant according to the statistical variable use condition instruction, and setting the ground colors of all the variables as transparent colors;
acquiring a variable statistical range of a statistical variable according to the position of an event triggering a 'statistical variable map page';
judging the effectiveness of the variable statistical range, and if the variable statistical range is effective, determining a data storage area of a statistical variable; and if the variable statistical range is invalid, namely the selected statistical variable is null, finishing the statistics and giving a prompt.
3. The method of claim 2, wherein the obtaining of the statistical range of the statistical variables according to the location of the event triggering the statistical variable map page comprises:
acquiring a variable statistical range of statistical variables according to the current selected position of the mouse in the picture page, and recording all variable names needing 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 first layer of whole engineering refers to all variables of sites in a nuclear power plant DCS system;
the second layer variable of a certain type refers to all variables under a certain type;
the third layer of a name variable refers to a variable of a specific name.
4. The method of claim 3, wherein the first layer whole project, the second layer certain type variables and the third layer certain name variables of the variable statistical range are variable tree structures from top to bottom.
5. The method as claimed in claim 1, wherein the step of performing data traversal on the variable data to obtain usage of statistical variables includes, as an automatic statistical result:
sequentially traversing all functional graph pages in the site, and sequentially searching whether a variable name needing to be counted exists in each graph page; if the variable exists, the variable name is used as an index key, and a QMap structure with a graph page name list of the variable as an index value is used for storing a traversal search result;
and 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 ground color of the variable node according to whether the attribute value of the page name of the functional graph in the attribute list is empty; if the attribute value of the page name of the function graph is not null, setting the ground color of the page name of the function graph to be gray; otherwise, setting the bottom color as a transparent color; finishing the statistics and giving a prompt;
if the QMap structure is not empty, executing variable name updating operation and background updating operation in parallel; the variable name update operation comprises the following steps: sequentially traversing the QMap structure, taking out a variable name, acquiring an attribute list of the variable, and updating the value of the functional graph page name in the variable attribute list by using an index value;
the update background operation includes: and traversing the QMap structures in sequence, taking out the variable names, finding out the corresponding variable name nodes on the site tree when the corresponding index values are not null values, and setting the bottom colors of the nodes as gray, otherwise, setting the bottom colors as transparent colors.
6. The method of claim 1, wherein the automatic statistics result is displayed in a multi-form output manner, and the automatic statistics result is derived in a plurality of manners, such as type, name, table, and graph.
7. The method for automatically counting the variable use information in the nuclear power plant DCS system according to claim 1, wherein the method is adapted to automatically count the variable use information in a logic algorithm diagram in a nuclear power plant DCS platform control station or a field transmission station TU.
8. The automatic statistical system is used for variable use information in a nuclear power plant DCS system and 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 and used for generating variable data of the nuclear power plant DCS and sharing the variable data to the variable using module and the variable counting module; and is used for initiating a statistical instruction to the variable statistical module;
the variable using module is used for recording the using condition of the variable of the nuclear power plant DCS in real time by using the variable data; sending the variable to the variable statistical module according to the use condition of the variable;
the variable counting module is used for responding to the counting instruction of the variable configuration module, acquiring variable data from the data source, and performing data traversal on the variable data according to the using condition of the variable data to obtain the using condition of a counting variable as an automatic counting result; and feeding back the automatic statistical result to a variable use module for displaying information.
9. The automatic statistical system for variable use information in a nuclear power plant DCS of claim 8, wherein the variable statistical module performs data traversal on the variable data to obtain the use condition of the statistical variable, and as an automatic statistical result, the specific implementation process is as follows:
sequentially traversing all functional graph pages in the site, and sequentially searching whether a variable name needing to be counted exists in each graph page; if yes, the variable name is used as an index key, and a QMap structure with a graph page name list of the variable as an index value is used for storing a traversal search result;
and 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 ground color of the variable node according to whether the attribute value of the page name of the functional graph in the attribute list is empty; if the attribute value of the page name of the function diagram is not null, setting the background color of the page name of the function diagram as gray; otherwise, setting the background color as a transparent color; finishing the statistics and giving a prompt;
if the QMap structure is not empty, executing variable name updating operation and background updating operation in parallel; the variable name update operation comprises the following steps: sequentially traversing the QMap structure, taking out the variable name, acquiring the attribute list of the variable, and updating the value of the page name of the functional graph in the variable attribute list by using the index value;
the update background operation includes: and traversing the QMap structures in sequence, taking out the variable names, finding out the corresponding variable name nodes on the site tree when the corresponding index values are not null values, and setting the bottom colors of the nodes as gray, otherwise, setting the bottom colors as transparent colors.
10. The automatic statistical system for variable use information in a nuclear power plant DCS system according to claim 8, wherein the automatic statistical system adopts a mode of independent statistical function and use function in the nuclear power plant DCS system variable statistics.
CN202210674047.0A 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 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 Automatic statistical method and system for variable usage information in nuclear power plant DCS system

Publications (2)

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

Family

ID=

Citations (15)

* 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
US20180224809A1 (en) * 2017-02-08 2018-08-09 Yokogawa Electric Corporation Event analyzing device, event analyzing system, event analyzing method, and non-transitory computer readable storage medium
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
US20230176550A1 (en) * 2021-05-06 2023-06-08 Strong Force Iot Portfolio 2016, Llc Quantum, biological, computer vision, and neural network systems for industrial internet of things

Patent Citations (15)

* 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
US20180224809A1 (en) * 2017-02-08 2018-08-09 Yokogawa Electric Corporation Event analyzing device, event analyzing system, event analyzing method, and non-transitory computer readable storage medium
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
US20230176550A1 (en) * 2021-05-06 2023-06-08 Strong Force Iot Portfolio 2016, Llc Quantum, biological, computer vision, and neural network systems for industrial internet of things
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
杨纪晨: "高压给水加热器至除氧器疏水管道异常振动原因分析及处理", 《核动力工程》, vol. 39, no. 2, 20 December 2018 (2018-12-20), pages 142 - 145 *
祝玲琳: "气隙和接触热阻对乏燃料干法转运容器热工安全影响研究", 《核动力工程 》, vol. 42, no. 06, 18 August 2021 (2021-08-18), pages 230 - 236 *

Similar Documents

Publication Publication Date Title
CN111538731B (en) Automatic report generation system for industrial data
CN108804630B (en) Industry application-oriented big data intelligent analysis service system
CN109118353B (en) Data processing method and device of wind control model
CN105224458A (en) A kind of database method of testing and system
CN108052394A (en) The method and computer equipment of resource allocation based on SQL statement run time
CN109062152B (en) Local variable online monitoring method based on logic configuration generation
CN110968509B (en) Method and system for batch customizing of variables
CN111324781A (en) Data analysis method, device and equipment
CN103020433B (en) A kind of evaluation method of status of electric power
CN111191879A (en) Comprehensive evaluation method and system
CN114185914B (en) Complementary calculation method, system, equipment and storage medium for calculating label data
CN111078094A (en) Distributed machine learning visualization device
CN103744788B (en) The characteristic positioning method analyzed based on multi-source software data
CN114995314A (en) Automatic statistical method and system for variable use information in nuclear power plant DCS (distributed control System)
CN114995314B (en) Automatic statistical method and system for variable usage information in nuclear power plant DCS system
CN114693036A (en) Intelligent management method, device and medium for building system based on knowledge graph
CN116431668A (en) Metadata acquisition-based data blood-edge analysis method and device and electronic equipment
CN101866449A (en) The method that is used for the segments of product of management product production rule
CN111984624B (en) Method and system for data migration through correction migration model
CN112130849B (en) Code automatic generation method and device
CN114860851A (en) Data processing method, device, equipment and storage medium
CN104573526B (en) Software product multi version management method, device and computer equipment
CN110262891B (en) Automatic multifunctional resource recycling system across virtualization platforms
CN113204864A (en) Method and system suitable for transmission network simulation data version control
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