CN111830918A - EPLAN platform-based nuclear power DCS control cabinet complete drawing upgrading method and system - Google Patents
EPLAN platform-based nuclear power DCS control cabinet complete drawing upgrading method and system Download PDFInfo
- Publication number
- CN111830918A CN111830918A CN202010698339.9A CN202010698339A CN111830918A CN 111830918 A CN111830918 A CN 111830918A CN 202010698339 A CN202010698339 A CN 202010698339A CN 111830918 A CN111830918 A CN 111830918A
- Authority
- CN
- China
- Prior art keywords
- control cabinet
- information
- nuclear power
- difference
- file
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 230000008859 change Effects 0.000 claims abstract description 102
- 238000010586 diagram Methods 0.000 claims abstract description 53
- 230000008676 import Effects 0.000 claims description 10
- 238000003780 insertion Methods 0.000 claims description 7
- 230000037431 insertion Effects 0.000 claims description 7
- 238000012217 deletion Methods 0.000 claims description 5
- 230000037430 deletion Effects 0.000 claims description 5
- 238000004891 communication Methods 0.000 description 3
- 230000007547 defect Effects 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total 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]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/33—Director till display
- G05B2219/33273—DCS distributed, decentralised controlsystem, multiprocessor
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
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)
- Stored Programmes (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
The invention relates to a nuclear power DCS control cabinet set image upgrading method and system based on an EPLAN platform, belongs to the technical field of nuclear power, and solves the problems of high error rate and low efficiency of manual edition upgrading in the prior art. Acquiring information item data in a nuclear power DCS signal point table and a control cabinet information table, importing the information item data into a corresponding macro name line in a control cabinet TYPICAL template, generating a control cabinet TYPICAL file, comparing the generated control cabinet TYPICAL file with a control cabinet TYPICAL file before edition upgrade to acquire a difference change item, and generating a difference TYPICAL file; automatically generating a nuclear power DCS control cabinet complete diagram after edition upgrading according to the difference TYPICAL file; reading attribute information of the nuclear power DCS control cabinet complete diagram after edition upgrading, generating an attribute report, comparing the generated attribute report with an attribute report corresponding to the nuclear power DCS control cabinet complete diagram before edition upgrading, and generating a difference report. The method realizes automatic edition increasing of the complete set of drawings, reduces error rate and improves efficiency.
Description
Technical Field
The invention relates to the technical field of nuclear power, in particular to a nuclear power DCS control cabinet set image upgrading method and system based on an EPLAN platform.
Background
The digital instrument Control system is a distributed Control system based on computer and network communication, also known as dcs (distributed Control system). The DCS system connects a site control station distributed near an industrial site with an operator station and an engineer station at the center of the empty box through a communication network to perform distributed control and centralized operation management of the site production equipment.
The drawing of a set of control cabinet diagrams in nuclear power DCS engineering is an important component, the number of control cabinets in one unit is large, and the proportion of the control cabinets to the total number of cabinets is more than 50%. The existing control cabinet complete drawing method mainly utilizes software EPLAN to draw cabinets one by one, and mainly comprises the steps of manufacturing a symbol library, an equipment layout macro, components and a control cabinet complete drawing template based on the EPLAN software; the automatic deployment multi-line schematic diagram and layout diagram comprises a module and terminal comparison diagram, an electrical schematic diagram (power distribution, signal, network and grounding), a configuration description and a layout diagram; manually performing edition upgrading change operation, and manually modifying schematic diagrams and layout macros of the cabinets needing to be changed one by one; manually adding a change identifier, and manually circling a change part and a manual page replacing macro after the corresponding file is exported by the EPLAN; and the EPLAN automatically exports the report, and manually compares the report before and after edition upgrading to generate a difference report.
The prior art has at least the following defects that firstly, a large amount of manpower and time are consumed by manual edition-raising control cabinet set drawings, and the efficiency is low; secondly, the number of control cabinets is large, the number of repeated operations is large, the number of changed contents is large, the incidence relations are large, the error rate of manually modifying is high, the error rate of comparing and obtaining difference reports is high, and change marks are manually added, so that omission is easy.
Disclosure of Invention
In view of the above analysis, the present invention aims to provide a method and a system for upgrading a complete set of diagrams of a nuclear power DCS control cabinet based on an EPLAN platform, so as to solve the problems of low efficiency and high error rate caused by manually upgrading the complete set of diagrams of the control cabinet in the prior art.
On one hand, the invention provides a nuclear power DCS control cabinet set drawing upgrading method based on an EPLAN platform, which comprises the following steps:
acquiring a nuclear power DCS signal point table and a control cabinet information table;
reading information item data in the nuclear power DCS signal point table and the control cabinet information table by using PREPLAN, importing the information item data into a macro name line corresponding to a control cabinet TPICAL template to generate a control cabinet TPICAL file, and comparing the generated control cabinet TPICAL file with the control cabinet TPICAL file before edition upgrade by using PREPLAN to obtain a difference change item so as to generate a difference TPICAL file;
importing the difference TYPICAL file into an EPLAN platform to automatically generate a complete set of drawing of the nuclear power DCS control cabinet after version upgrading;
and reading the attribute information of the nuclear power DCS control cabinet complete diagram after the edition is upgraded by using the EPLAN, generating an attribute report, and comparing the generated attribute report with the attribute report corresponding to the nuclear power DCS control cabinet complete diagram before the edition is upgraded to generate a difference report.
Further, the differential TYPICAL file is generated by:
the information item data comprises device encoding information;
comparing the information item data contained in the macro name row corresponding to the equipment coding information in the control cabinet TYPPICAL file with the information item data contained in the macro name row corresponding to the same equipment coding information in the control cabinet TYPPICAL file before edition update item by item, and if the information item data is added or deleted or the corresponding information item data is inconsistent, filling the corresponding macro name, equipment coding information and change item data into a difference TYPPICAL template;
and adding different labels for the newly added change item data, the deleted change item data and the difference change item data respectively, and adding a corresponding change identification macro and a corresponding change page macro for the change item data to generate a difference TYPICAL file.
Further, the information item data further includes device model information, and if the device model information is not changed, other information item data in the macro name line corresponding to the device model information is changed, the device model information is filled in the corresponding position in the difference TYPICAL template.
Further, the information item data further includes a position number for determining insertion position information of the macro;
if the position number in the TYPPICAL file is not changed and other information item data in the macro name line corresponding to the position number are changed, the position number is filled in the corresponding position of the difference TYPPICAL file.
Further, the complete drawing of the nuclear power DCS control cabinet after the edition is automatically generated comprises the following steps:
importing the differential TYPPICAL file into an EPLAN platform by utilizing an import plug-in;
determining a corresponding macro name according to the equipment coding information and the equipment model information in the difference TYPICAL file, acquiring a corresponding graphic macro according to the macro name, updating the graphic macro by utilizing an EPLAN platform according to corresponding change item data in the difference TYPICAL file, and covering the updated graphic macro at a position corresponding to a nuclear power DCS control cabinet set before upgrading according to the position number to generate an upgraded nuclear power DCS control cabinet set.
Further, if the position number in the difference TYPICAL file is a deletion item, inserting an empty graphic macro into a position corresponding to the nuclear power DCS control cabinet complete diagram before edition upgrading so as to cover the original graphic macro.
Further, the generating the difference report includes:
reading attribute information of the upgraded nuclear power DCS control cabinet set drawing by using an EPLAN, and inputting the attribute information into an attribute report template to generate an attribute report; the attribute information comprises material quantity information and connection relation information;
exporting the attribute report from the EPLAN by utilizing an export plug-in;
and comparing the generated attribute report with an attribute report corresponding to a nuclear power DCS control cabinet complete diagram before upgrading by using PREPLAN, respectively obtaining material quantity difference change information and connection relation difference change information, and respectively generating a material difference report and a connection difference report according to the material quantity difference change information and the connection relation difference change information.
On the other hand, the invention provides a nuclear power DCS control cabinet set chart upgrading system based on an EPLAN platform, which comprises the EPLAN platform and a PREPLAN tool;
reading information item data in the nuclear power DCS signal point table and the control cabinet information table by using a PREPLAN tool, importing the information item data into a macro name line corresponding to a control cabinet TPICAL template to generate a control cabinet TPICAL file, and comparing the generated control cabinet TPICAL file with the control cabinet TPICAL file before edition upgrade by using the PREPLAN to obtain a difference change item so as to generate a difference TPICAL file;
the EPLAN platform includes:
the import plug-in is used for importing the differential TYPPICAL file into an EPLAN platform;
the complete diagram generating module is used for automatically generating a complete diagram of the upgraded nuclear power DCS control cabinet according to the difference TYPICAL file;
the report module is used for reading the attribute information of the nuclear power DCS control cabinet complete diagram after the edition is upgraded and generating an attribute report;
the PREPLAN tool is further used for comparing the generated attribute report with an attribute report corresponding to a nuclear power DCS control cabinet complete diagram before upgrading, and generating a difference report.
Further, the PREPLAN tool executes the following process to generate the differential TYPICAL file:
the information item data comprises device encoding information;
comparing the information item data contained in the macro name row corresponding to the equipment coding information in the control cabinet TYPPICAL file with the information item data contained in the macro name row corresponding to the same equipment coding information in the control cabinet TYPPICAL file before edition update item by item, and if the information item data is added or deleted or the corresponding information item data is inconsistent, filling the corresponding macro name, equipment coding information and change item data into a difference TYPPICAL template;
adding different labels for newly added change item data, deleted change item data and difference change item data respectively, and adding corresponding change identification macro and change page macro for the change item data to generate a difference TYPICAL file;
the information item data also comprises equipment model information, and if the equipment model information is not changed and other information item data in a macro name line corresponding to the equipment model information is changed, the equipment model information is filled in a corresponding position in the differential TYPICAL template;
the information item data further includes a position number for determining insertion position information of the macro; if the position number in the TYPPICAL file is not changed and other information item data in the macro name line corresponding to the position number are changed, the position number is filled in the corresponding position of the difference TYPPICAL file.
Further, the EPLAN platform generates a nuclear power DCS control cabinet complete diagram after edition upgrading through the following method:
importing the differential TYPPICAL file into an EPLAN platform by utilizing an import plug-in;
the complete drawing generation module determines a corresponding macro name according to the equipment coding information and the equipment model information in the difference TYPICAL file, acquires a corresponding graphic macro according to the macro name, updates the graphic macro according to corresponding change data in the difference TYPICAL file, and inserts the updated graphic macro into a position corresponding to a complete drawing of a nuclear power DCS control cabinet before upgrading according to the position number to cover the original graphic macro so as to generate an upgraded nuclear power DCS control cabinet complete drawing;
and if the position number in the difference TYPICAL file is a deletion item, inserting an empty graphic macro into the corresponding position of the nuclear power DCS control cabinet complete set of drawings before edition upgrading so as to cover the original graphic macro.
Compared with the prior art, the invention can realize at least one of the following beneficial effects:
1. according to the nuclear power DCS control cabinet set image upgrading method and system based on the EPLAN platform, the EPLAN platform is used for automatically generating the upgraded control cabinet TYPPICAL file, the PREPLAN is used for automatically comparing the upgraded control cabinet TYPPICAL file with the control cabinet TYPPICAL file before upgrading to obtain the difference change item so as to generate the difference TYPPICAL file, and the upgraded control cabinet set image is automatically generated according to the difference TYPPICAL file, so that the problems that manual modification is carried out, the upgrading operation is complex, the efficiency is low, and the error rate is high are solved, and the cost is reduced to a certain extent.
2. According to the nuclear power DCS control cabinet set diagram upgrading method and system based on the EPLAN platform, the EPLAN platform is used for automatically acquiring the attribute information of the upgraded control cabinet set diagram, generating the attribute report, and comparing the attribute report with the attribute report before upgrading by using the PREPLAN tool to generate the difference report, so that an operator can conveniently check the difference report, and the defects that manual marking of the difference item is time-consuming and labor-consuming, low in efficiency and easy to omit are overcome.
In the invention, the technical schemes can be combined with each other to realize more preferable combination schemes. Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
The drawings are only for purposes of illustrating particular embodiments and are not to be construed as limiting the invention, wherein like reference numerals are used to designate like parts throughout.
FIG. 1 is a flow chart of a nuclear power DCS control cabinet set chart upgrading method based on an EPLAN platform according to an embodiment of the invention;
fig. 2 is a flowchart of generating a control cabinet TYPICAL file and generating a differential TYPICAL file according to an embodiment of the present invention;
fig. 3 is a flowchart of generating a differential TYPICAL file according to an embodiment of the present invention;
FIG. 4 is a flowchart of a complete set of control cabinet diagrams of a nuclear power DCS after the upgrade is automatically generated according to the embodiment of the invention;
FIG. 5 is a schematic diagram of a nuclear power DCS control cabinet set image upgrading system based on an EPLAN platform according to the embodiment of the invention.
Detailed Description
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate preferred embodiments of the invention and together with the description, serve to explain the principles of the invention and not to limit the scope of the invention.
For a better understanding of the present invention, the technical terms in the field of nuclear power will now be explained.
The Typical file is an EXCEL file written in a specific format and contains page macros, layout diagram macros, configuration information of placeholder object variables of the schematic diagram macros and insertion coordinate position information of the macros.
The macro is a package of a frequently reused partial circuit or a typical circuit scheme provided on the EPLAN platform, and can be a layout macro in a unit of a single device layout symbol, a schematic macro in a unit of a single electrical symbol or circuit, a page macro in a unit of a page or multiple pages, and a cabinet macro in an organic combination of multiple pages in a unit of a cabinet.
Method embodiment
The invention discloses a method for upgrading a complete set of pictures of a nuclear power DCS control cabinet based on an EPLAN platform. As shown in fig. 1, the method comprises the steps of:
step 1, obtaining a nuclear power DCS signal point table and a control cabinet information table from a database of the nuclear power DCS.
Specifically, the nuclear power DCS signal point table comprises module information and control cabinet numbers of all modules in a layout diagram and a schematic diagram. The module information includes module type information, position information, and correspondence information between modules.
The control cabinet information table comprises a control cabinet number, a control cabinet type, configuration type information and a control cabinet version number, wherein the configuration information comprises a station number, a room, an LOT packet, a monitoring module dial code, a communication address, a lock, a key and the like.
And 2, generating a control cabinet TYPPICAL file and generating a difference TYPPICAL file according to the nuclear power DCS signal point table and the control cabinet information table, wherein the flow charts are shown in figure 2. Specifically, utilize PREPLAN to read the information item data in nuclear power DCS signal point table and the switch board information table, in the macro name line that corresponds in importing the information item data into switch board TYPPICAL template, generate switch board TYPPICAL file, specifically, include the equipment coding number in the switch board TYPPICAL template, include the coding information of equipment in the information item data, control cabinet number promptly, consequently according to the coding information of equipment in the macro name line that the equipment coding number corresponds in importing the information item data into switch board TYPPICAL template.
And comparing the generated control cabinet TYPPICAL file with the control cabinet TYPPICAL file before edition upgrade by using PREPLAN to obtain a difference change item so as to generate a difference TYPPICAL file.
And 3, importing the difference TYPICAL file into an EPLAN platform by using an import plug-in to automatically generate an upgraded nuclear power DCS control cabinet complete diagram. And 4, reading the attribute information of the nuclear power DCS control cabinet complete diagram after the edition is upgraded by using the EPLAN, generating an attribute report, comparing the generated attribute report with the attribute report corresponding to the nuclear power DCS control cabinet complete diagram before the edition is upgraded, and generating a difference report. Although the generated difference TYPICAL file also contains change information, the readability is poor, so that a difference report with strong readability needs to be further generated so as to be convenient for other workers to check.
Preferably, in step 2, as shown in fig. 3, the difference TYPICAL file is generated by:
comparing the information item data contained in the macro name row corresponding to the device coding information in the generated control cabinet TYPPICAL file with the information item data contained in the macro name row corresponding to the same device coding information in the control cabinet TYPPICAL file before edition update item by item, if the information item data is newly added or deleted or the corresponding information item data is inconsistent, filling the corresponding macro name, device coding information and change item data into a difference TYPPICAL template, considering that the readability of the control cabinet TYPPICAL file is poor, preferably, filling the corresponding macro name, device coding information and change item data into a difference log, and copying the corresponding macro name, device coding information and change item data in the difference log into the difference TYPPICAL template.
Different labels are added to the newly added change item data, the deleted change item data and the difference change item data respectively, illustratively, different color labels can be added to the different change item data, and corresponding change identification macros and change page macros are added to the change item data, so that a difference TYPICAL file is generated. Specifically, the EPLAN platform may identify, according to the different labels, that the corresponding data item is new change item data, deleted change item data, or difference change item data.
Preferably, the information item data further includes device model information, that is, the type of the control cabinet, and if the device model information is not changed and other information item data in the macro name line corresponding to the device model information is changed, the device model information is filled in the corresponding position in the difference TYPICAL template. The corresponding macro name can be obtained according to the equipment model information, and the corresponding graphic macro can be obtained according to the macro name.
Preferably, the information item data further includes a position number for determining insertion position information of the macro.
If the position number in the generated TYPPICAL file is not changed and other information item data in the macro name line corresponding to the position number is changed, filling the position number into the corresponding position of the difference TYPPICAL file.
Preferably, in step 3, a specific flow of automatically generating the upgraded nuclear power DCS control cabinet set diagram is shown in fig. 4.
And importing the differential TYPPICAL file into the EPLAN platform by utilizing an import plug-in.
Determining a corresponding macro name according to the equipment coding information and the equipment model information in the difference TYPICAL file, acquiring a corresponding graphic macro from a database according to the macro name, updating the graphic macro by using an EPLAN platform according to corresponding change item data in the difference TYPICAL file, and inserting the updated graphic macro into a position corresponding to a nuclear power control cabinet complete diagram before edition upgrading according to a position number to cover the original graphic macro so as to generate the nuclear power DCS control cabinet complete diagram after edition upgrading. Preferably, if the position number in the difference TYPICAL file is a deletion item, the empty graphic macro is inserted into the position corresponding to the nuclear power DCS control cabinet complete set of drawings before edition upgrading so as to cover the original graphic macro.
Specifically, while the original graphic macro is covered, the change identification macro and the change page macro of the corresponding change item data are also added to the upgraded nuclear power DCS control cabinet set.
Preferably, after the upgraded nuclear power DCS control cabinet complete drawing is generated, the complete drawing is checked and corrected by using a drawing self-checking function of the EPLAN platform, so that a complete and accurate nuclear power DCS control cabinet complete drawing is obtained.
Preferably, generating the difference report includes:
and reading the attribute information of the upgraded nuclear power DCS control cabinet set drawing by using the EPLAN, and inputting the attribute information into an attribute report template to generate an attribute report. The attribute information includes material quantity information and connection relation information.
The attribute reports are exported from the EPLAN using an export plug-in.
And comparing the generated attribute report with an attribute report corresponding to a nuclear power DCS control cabinet complete diagram before upgrading by using PREPLAN, respectively obtaining material quantity difference change information and connection relation difference change information, and respectively generating a material difference report and a connection difference report according to the material quantity difference change information and the connection relation difference change information.
Preferably, the generated difference report includes a change identification macro and a change page macro of the change item, so that a worker can quickly locate the position of the change item according to the change page macro and the change identification macro.
System embodiment
The invention further discloses a nuclear power DCS control cabinet set image upgrading system based on the EPLAN platform. As shown in fig. 5, includes an EPLAN platform and a PREPLAN tool.
Reading information item data in a nuclear power DCS signal point table and a control cabinet information table by using a PREPLAN tool, importing the information item data into a corresponding macro name line in a control cabinet TPICAL template to generate a control cabinet TPICAL file, and comparing the generated control cabinet TPICAL file with the control cabinet TPICAL file before edition update by using the PREPLAN to acquire a difference change item so as to generate a difference TPICAL file.
The EPLAN platform includes:
and the import plug-in is used for importing the difference TYPPICAL file into the EPLAN platform.
And the complete diagram generation module is used for automatically generating a nuclear power DCS control cabinet complete diagram after edition upgrading according to the difference TYPICAL file.
And the report module is used for reading the attribute information of the nuclear power DCS control cabinet complete diagram after the edition is upgraded and generating an attribute report.
The PREPLAN tool is further used for comparing the generated attribute report with an attribute report corresponding to a nuclear power DCS control cabinet complete diagram before upgrading, and generating a difference report so that a worker can check the difference report conveniently.
Preferably, the PREPLAN tool performs the following procedure to generate the difference TYPICAL file:
the information item data includes device encoding information.
And comparing the information item data contained in the macro name row corresponding to the equipment coding information in the generated control cabinet TYPPICAL file with the information item data contained in the macro name row corresponding to the same equipment coding information in the control cabinet TYPPICAL file before edition update item by item, and if the information item data is newly added or deleted or the corresponding information item data is inconsistent, filling the corresponding macro name, the equipment coding information and the change item data into a difference TYPPICAL template.
And adding different labels for the newly added change item data, the deleted change item data and the difference change item data respectively, and adding a corresponding change identification macro and a corresponding change page macro for the change item data to generate a difference TYPICAL file.
The information item data further comprises equipment model information, and if the equipment model information is not changed and other information item data in the macro name line corresponding to the equipment model information is changed, the equipment model information is filled in the corresponding position in the difference TYPICAL template.
The information item data further includes a position number for determining insertion position information of the macro; and if the position number in the generated TYPPICAL file is not changed and other information item data in the macro name line corresponding to the position number is changed, filling the position number into the corresponding position of the difference TYPPICAL file.
Preferably, the EPLAN platform generates a nuclear power DCS control cabinet complete diagram after edition upgrading in the following way.
And importing the differential TYPPICAL file into the EPLAN platform by utilizing an import plug-in.
The complete set of drawing generation module determines a corresponding macro name according to the equipment coding information and the equipment model information in the difference TYPICAL file, acquires a corresponding graphic macro according to the macro name, updates the graphic macro according to corresponding change item data in the difference TYPICAL file, and inserts the updated graphic macro into a position corresponding to the complete set of drawing of the nuclear power DCS control cabinet before upgrading according to the position number to cover the original graphic macro so as to generate the upgraded complete set of drawing of the nuclear power DCS control cabinet.
And if the position number in the difference TYPICAL file is a deletion item, inserting the empty graphic macro into the corresponding position of the nuclear power DCS control cabinet complete set of diagram before edition upgrading so as to cover the original graphic macro.
Specifically, while the original graphic macro is covered, the change identification macro and the change page macro of the corresponding change item data are also added to the upgraded nuclear power DCS control cabinet set.
The PREPLAN tool obtains the difference report in the following manner.
And reading the attribute information of the upgraded nuclear power DCS control cabinet set drawing by using the EPLAN, and inputting the attribute information into an attribute report template to generate an attribute report. The attribute information includes material quantity information and connection relation information.
The attribute reports are exported from the EPLAN using an export plug-in.
And comparing the generated attribute report with an attribute report corresponding to a nuclear power DCS control cabinet complete diagram before upgrading by using PREPLAN, respectively obtaining material quantity difference change information and connection relation difference change information, and respectively generating a material difference report and a connection difference report according to the material quantity difference change information and the connection relation difference change information.
Preferably, the generated difference report includes a change identification macro and a change page macro of the change item, so that a worker can quickly locate the position of the change item according to the change page macro and the change identification macro.
Compared with the prior art, the nuclear power DCS control cabinet complete drawing upgrading method and system based on the EPLAN platform provided by the invention have the advantages that on one hand, the EPLAN platform is used for automatically generating the upgraded control cabinet TYPPICAL file, the PREPLAN is used for automatically comparing the upgraded control cabinet TYPPICAL file with the control cabinet TYPPICAL file before upgrading to obtain the difference change item so as to generate the difference TYPPICAL file, and the upgraded control cabinet complete drawing is automatically generated according to the difference TYPPICAL file, so that the problems of complicated and tedious edition upgrading operation, low efficiency and high error rate caused by manual modification are avoided, and the cost is reduced to a certain extent; on the other hand, the EPLAN platform automatically acquires the attribute information of the control cabinet complete diagram after the edition is upgraded, generates an attribute report, and compares the attribute report with the attribute report before the edition is upgraded by using a PREPLAN tool to generate a difference report, so that an operator can conveniently check the difference report, and the defects that manual marking of the difference item is time-consuming and labor-consuming and low in efficiency and manual marking is easy to miss are overcome.
Those skilled in the art will appreciate that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program, which is stored in a computer readable storage medium, to instruct related hardware. The computer readable storage medium is a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention.
Claims (10)
1. A nuclear power DCS control cabinet complete diagram upgrading method based on an EPLAN platform is characterized by comprising the following steps:
acquiring a nuclear power DCS signal point table and a control cabinet information table;
reading information item data in the nuclear power DCS signal point table and the control cabinet information table by using PREPLAN, importing the information item data into a macro name line corresponding to a control cabinet TPICAL template to generate a control cabinet TPICAL file, and comparing the generated control cabinet TPICAL file with the control cabinet TPICAL file before edition upgrade by using PREPLAN to obtain a difference change item so as to generate a difference TPICAL file;
importing the difference TYPICAL file into an EPLAN platform to automatically generate a complete set of drawing of the nuclear power DCS control cabinet after version upgrading;
and reading the attribute information of the nuclear power DCS control cabinet complete diagram after the edition is upgraded by using the EPLAN, generating an attribute report, and comparing the generated attribute report with the attribute report corresponding to the nuclear power DCS control cabinet complete diagram before the edition is upgraded to generate a difference report.
2. The nuclear power DCS control cabinet set image upgrading method of claim 1, wherein the difference TYPICAL file is generated by:
the information item data comprises device encoding information;
comparing the information item data contained in the macro name row corresponding to the equipment coding information in the control cabinet TYPPICAL file with the information item data contained in the macro name row corresponding to the same equipment coding information in the control cabinet TYPPICAL file before edition update item by item, and if the information item data is added or deleted or the corresponding information item data is inconsistent, filling the corresponding macro name, equipment coding information and change item data into a difference TYPPICAL template;
and adding different labels for the newly added change item data, the deleted change item data and the difference change item data respectively, and adding a corresponding change identification macro and a corresponding change page macro for the change item data to generate a difference TYPICAL file.
3. The nuclear power DCS control cabinet set upgrading method according to claim 2, wherein the information item data further comprises equipment model information, and if the equipment model information is not changed and other information item data in a macro name line corresponding to the equipment model information is changed, the equipment model information is filled in a corresponding position in the TYPICAL template.
4. The nuclear power DCS control cabinet set upgrading method of claim 3, wherein the information item data further comprises a position number, the position number is used for determining insertion position information of the macro;
if the position number in the TYPPICAL file is not changed and other information item data in the macro name line corresponding to the position number are changed, the position number is filled in the corresponding position of the difference TYPPICAL file.
5. The nuclear power DCS control cabinet set drawing upgrading method of claim 4, wherein the automatically generating upgraded nuclear power DCS control cabinet set drawing comprises:
importing the differential TYPPICAL file into an EPLAN platform by utilizing an import plug-in;
determining a corresponding macro name according to the equipment coding information and the equipment model information in the difference TYPICAL file, acquiring a corresponding graphic macro according to the macro name, updating the graphic macro by utilizing an EPLAN platform according to corresponding change item data in the difference TYPICAL file, and covering the updated graphic macro at a position corresponding to a nuclear power DCS control cabinet set before upgrading according to the position number to generate an upgraded nuclear power DCS control cabinet set.
6. The nuclear power DCS control cabinet set image upgrading method according to claim 5, wherein if the position number in the difference TYPICAL file is a delete item, an empty graphic macro is inserted into a corresponding position of the nuclear power DCS control cabinet set image before upgrading to cover the original graphic macro.
7. The nuclear power DCS control cabinet set of drawings upgrading method according to any one of claims 1-6, wherein the generating a difference report comprises:
reading attribute information of the upgraded nuclear power DCS control cabinet set drawing by using an EPLAN, and inputting the attribute information into an attribute report template to generate an attribute report; the attribute information comprises material quantity information and connection relation information;
exporting the attribute report from the EPLAN by utilizing an export plug-in;
and comparing the generated attribute report with an attribute report corresponding to a nuclear power DCS control cabinet complete diagram before upgrading by using PREPLAN, respectively obtaining material quantity difference change information and connection relation difference change information, and respectively generating a material difference report and a connection difference report according to the material quantity difference change information and the connection relation difference change information.
8. A nuclear power DCS control cabinet complete diagram upgrading system based on an EPLAN platform comprises the EPLAN platform and a PREPLAN tool;
reading information item data in the nuclear power DCS signal point table and the control cabinet information table by using a PREPLAN tool, importing the information item data into a macro name line corresponding to a control cabinet TPICAL template to generate a control cabinet TPICAL file, and comparing the generated control cabinet TPICAL file with the control cabinet TPICAL file before edition upgrade by using the PREPLAN to obtain a difference change item so as to generate a difference TPICAL file;
the EPLAN platform includes:
the import plug-in is used for importing the differential TYPPICAL file into an EPLAN platform;
the complete diagram generating module is used for automatically generating a complete diagram of the upgraded nuclear power DCS control cabinet according to the difference TYPICAL file;
the report module is used for reading the attribute information of the nuclear power DCS control cabinet complete diagram after the edition is upgraded and generating an attribute report;
the PREPLAN tool is further used for comparing the generated attribute report with an attribute report corresponding to a nuclear power DCS control cabinet complete diagram before upgrading, and generating a difference report.
9. The nuclear DCS control cabinet set up map upgrading system of claim 8, wherein the prep tool performs the following procedure to generate the differential typcal file:
the information item data comprises device encoding information;
comparing the information item data contained in the macro name row corresponding to the equipment coding information in the control cabinet TYPPICAL file with the information item data contained in the macro name row corresponding to the same equipment coding information in the control cabinet TYPPICAL file before edition update item by item, and if the information item data is added or deleted or the corresponding information item data is inconsistent, filling the corresponding macro name, equipment coding information and change item data into a difference TYPPICAL template;
adding different labels for newly added change item data, deleted change item data and difference change item data respectively, and adding corresponding change identification macro and change page macro for the change item data to generate a difference TYPICAL file;
the information item data also comprises equipment model information, and if the equipment model information is not changed and other information item data in a macro name line corresponding to the equipment model information is changed, the equipment model information is filled in a corresponding position in the differential TYPICAL template;
the information item data further includes a position number for determining insertion position information of the macro; if the position number in the TYPPICAL file is not changed and other information item data in the macro name line corresponding to the position number are changed, the position number is filled in the corresponding position of the difference TYPPICAL file.
10. The nuclear power DCS control cabinet complete drawing upgrading system of claim 9, wherein the EPLAN platform generates an upgraded nuclear power DCS control cabinet complete drawing by:
importing the differential TYPPICAL file into an EPLAN platform by utilizing an import plug-in;
the complete drawing generation module determines a corresponding macro name according to the equipment coding information and the equipment model information in the difference TYPICAL file, acquires a corresponding graphic macro according to the macro name, updates the graphic macro according to corresponding change data in the difference TYPICAL file, and inserts the updated graphic macro into a position corresponding to a complete drawing of a nuclear power DCS control cabinet before upgrading according to the position number to cover the original graphic macro so as to generate an upgraded nuclear power DCS control cabinet complete drawing;
and if the position number in the difference TYPICAL file is a deletion item, inserting an empty graphic macro into the corresponding position of the nuclear power DCS control cabinet complete set of drawings before edition upgrading so as to cover the original graphic macro.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010698339.9A CN111830918B (en) | 2020-07-20 | 2020-07-20 | EPLAN platform-based nuclear power DCS control cabinet complete drawing upgrading method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010698339.9A CN111830918B (en) | 2020-07-20 | 2020-07-20 | EPLAN platform-based nuclear power DCS control cabinet complete drawing upgrading method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111830918A true CN111830918A (en) | 2020-10-27 |
CN111830918B CN111830918B (en) | 2021-08-03 |
Family
ID=72922992
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010698339.9A Active CN111830918B (en) | 2020-07-20 | 2020-07-20 | EPLAN platform-based nuclear power DCS control cabinet complete drawing upgrading method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111830918B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114386122A (en) * | 2021-12-24 | 2022-04-22 | 易盼软件(上海)有限公司 | Full-automatic tool system that macros based on Eplan |
Citations (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1410917A (en) * | 2001-09-28 | 2003-04-16 | 华为技术有限公司 | Circuit principle graph automatic checking method |
WO2003053703A1 (en) * | 2001-12-21 | 2003-07-03 | Esselte | Label printer |
CN101847166A (en) * | 2009-09-14 | 2010-09-29 | 中广核工程有限公司 | Nuclear power control strategy diagram forming platform system and method |
US20110066468A1 (en) * | 2009-09-11 | 2011-03-17 | Internationl Business Machines Corporation | Dynamic event planning through location awareness |
US20130011132A1 (en) * | 2011-07-07 | 2013-01-10 | Ciena Corporation | Hybrid packet-optical private network systems and methods |
US20130104115A1 (en) * | 2011-10-21 | 2013-04-25 | International Business Machines Corporation | Systems and methods for upgrading a version of software |
CN103927402A (en) * | 2013-01-14 | 2014-07-16 | 上海核工程研究设计院 | Control logic diagram modular design management system implementation method |
CN104504214A (en) * | 2015-01-06 | 2015-04-08 | 北京京诚瑞达电气工程技术有限公司 | Method for generating electrical schematic diagram |
US9311432B1 (en) * | 2007-08-06 | 2016-04-12 | Design Ready Controls, Inc. | Automated design and manufacturing of complex layouts |
CN105701289A (en) * | 2016-01-13 | 2016-06-22 | 厦门理工学院 | Integrated solution method for full-automatic harness processing device |
CN106326229A (en) * | 2015-06-17 | 2017-01-11 | 百富计算机技术(深圳)有限公司 | Method and device for file storage of embedded system |
CN106528910A (en) * | 2016-09-13 | 2017-03-22 | 北京金雨科创自动化技术股份有限公司 | Electric design platform and method for same |
CN107784139A (en) * | 2016-08-26 | 2018-03-09 | 沈阳鼓风机集团自动控制系统工程有限公司 | Compressor control system electrical schematic diagram automatic generation method |
US20180173182A1 (en) * | 2016-12-16 | 2018-06-21 | General Electric Company | Uninterruptable verification and control upgrade for real-time control system |
CN108256713A (en) * | 2016-12-29 | 2018-07-06 | 中核核电运行管理有限公司 | Nuclear power plant system measure of supervision based on ERDB |
CN108334771A (en) * | 2017-01-17 | 2018-07-27 | 杭州海康威视数字技术股份有限公司 | A kind of increment upgrade package generates, increment updating method and device |
CN109409005A (en) * | 2018-11-14 | 2019-03-01 | 杭州和利时自动化有限公司 | DCS design documentation generation method, device, equipment and readable storage medium storing program for executing |
CN109634854A (en) * | 2018-12-04 | 2019-04-16 | 北京广利核系统工程有限公司 | A kind of method of inspection software Engineering Algorithm configuration exception |
CN109933324A (en) * | 2019-03-25 | 2019-06-25 | 北京广利核系统工程有限公司 | A kind of nuclear power DCS man-machine interface automatic generation method |
CN109992801A (en) * | 2017-12-29 | 2019-07-09 | 深圳市兴森快捷电路科技股份有限公司 | A kind of PCB update method based on PADS software |
-
2020
- 2020-07-20 CN CN202010698339.9A patent/CN111830918B/en active Active
Patent Citations (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1410917A (en) * | 2001-09-28 | 2003-04-16 | 华为技术有限公司 | Circuit principle graph automatic checking method |
WO2003053703A1 (en) * | 2001-12-21 | 2003-07-03 | Esselte | Label printer |
US9311432B1 (en) * | 2007-08-06 | 2016-04-12 | Design Ready Controls, Inc. | Automated design and manufacturing of complex layouts |
US20110066468A1 (en) * | 2009-09-11 | 2011-03-17 | Internationl Business Machines Corporation | Dynamic event planning through location awareness |
CN101847166A (en) * | 2009-09-14 | 2010-09-29 | 中广核工程有限公司 | Nuclear power control strategy diagram forming platform system and method |
US20130011132A1 (en) * | 2011-07-07 | 2013-01-10 | Ciena Corporation | Hybrid packet-optical private network systems and methods |
US20130104115A1 (en) * | 2011-10-21 | 2013-04-25 | International Business Machines Corporation | Systems and methods for upgrading a version of software |
CN103927402A (en) * | 2013-01-14 | 2014-07-16 | 上海核工程研究设计院 | Control logic diagram modular design management system implementation method |
CN104504214A (en) * | 2015-01-06 | 2015-04-08 | 北京京诚瑞达电气工程技术有限公司 | Method for generating electrical schematic diagram |
CN106326229A (en) * | 2015-06-17 | 2017-01-11 | 百富计算机技术(深圳)有限公司 | Method and device for file storage of embedded system |
CN105701289A (en) * | 2016-01-13 | 2016-06-22 | 厦门理工学院 | Integrated solution method for full-automatic harness processing device |
CN107784139A (en) * | 2016-08-26 | 2018-03-09 | 沈阳鼓风机集团自动控制系统工程有限公司 | Compressor control system electrical schematic diagram automatic generation method |
CN106528910A (en) * | 2016-09-13 | 2017-03-22 | 北京金雨科创自动化技术股份有限公司 | Electric design platform and method for same |
US20180173182A1 (en) * | 2016-12-16 | 2018-06-21 | General Electric Company | Uninterruptable verification and control upgrade for real-time control system |
CN108256713A (en) * | 2016-12-29 | 2018-07-06 | 中核核电运行管理有限公司 | Nuclear power plant system measure of supervision based on ERDB |
CN108334771A (en) * | 2017-01-17 | 2018-07-27 | 杭州海康威视数字技术股份有限公司 | A kind of increment upgrade package generates, increment updating method and device |
CN109992801A (en) * | 2017-12-29 | 2019-07-09 | 深圳市兴森快捷电路科技股份有限公司 | A kind of PCB update method based on PADS software |
CN109409005A (en) * | 2018-11-14 | 2019-03-01 | 杭州和利时自动化有限公司 | DCS design documentation generation method, device, equipment and readable storage medium storing program for executing |
CN109634854A (en) * | 2018-12-04 | 2019-04-16 | 北京广利核系统工程有限公司 | A kind of method of inspection software Engineering Algorithm configuration exception |
CN109933324A (en) * | 2019-03-25 | 2019-06-25 | 北京广利核系统工程有限公司 | A kind of nuclear power DCS man-machine interface automatic generation method |
Non-Patent Citations (1)
Title |
---|
高适: "EPLAN Schematic Generator在电气原理图标准化设计中的应用", 《中国计量协会冶金分会2014年会暨能源计量与绿色冶金论坛论文集》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114386122A (en) * | 2021-12-24 | 2022-04-22 | 易盼软件(上海)有限公司 | Full-automatic tool system that macros based on Eplan |
CN114386122B (en) * | 2021-12-24 | 2023-12-08 | 易盼软件(上海)有限公司 | Eplan-based full-automatic macro tool system |
Also Published As
Publication number | Publication date |
---|---|
CN111830918B (en) | 2021-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108491936A (en) | Subway Facilities equipment operation management system based on BIM and method | |
CN112287648B (en) | Substation monitoring system data point table generation and synchronization method based on SCD | |
CN111830918B (en) | EPLAN platform-based nuclear power DCS control cabinet complete drawing upgrading method and system | |
CN115688675A (en) | Method for flexibly checking and correcting circuit schematic diagram parameters on line | |
CN103577550A (en) | Grid equipment data verification method | |
CN108388753B (en) | Method, device and system for designing SIS cabinet wiring and storage medium | |
CN112700348A (en) | Process data processing method and device, storage medium and electronic equipment | |
CN111401028A (en) | Automatic comparison method and device for RPS software version of nuclear power station | |
CN111830919B (en) | Terminating file generation method and device based on EPLAN platform | |
CN107977201A (en) | A kind of comprehensively monitoring HMI automatic generation methods | |
CN111814218A (en) | Design drawing management method and system | |
CN111736815A (en) | Test file script modular development tool, system and method | |
CN108897556B (en) | Set-top box production data writing method | |
CN113536407B (en) | Method, device and storage medium for constructing project drawing based on unit equipment | |
CN101145043A (en) | Factory information system and its method for updating data | |
CN116450181A (en) | Nuclear power DCS control cabinet complete set picture rising mark method and device | |
CN110675729B (en) | Multi-version local geographic information integrated drawing method and system | |
CN114996886A (en) | Multi-metadata-fused complete automatic drawing system and method for distribution network single line diagram | |
JPH06335165A (en) | Method and apparatus for constituting data base of power system monitoring control system, method and apparatus for managing data base of power system monitoring control system and power system monitoring control system | |
CN114564799A (en) | Card wiring diagram generation method, system and storage medium | |
CN109977516B (en) | Automatic modeling logic node processing method | |
CN113887754A (en) | Construction method and system of power distribution terminal unified operation and maintenance platform and constructed platform | |
CN114565355B (en) | Material station table synthesis method, system, equipment and storage medium | |
CN114253222A (en) | Distributed control system DCS control cabinet set diagram generation method and device | |
CN112348454A (en) | Intelligent management and control system and method for electrical equipment handover test |
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 |