A PSA data storage management system based on documents
Through the document-based PSA data storage management system, custom XML file format and modular design are used to solve the problems of large size and fixed functions of the existing software, realize efficient storage and management of PSA modeling data, and meet the needs of the nuclear power field. customized needs.
Patent Information
- Application Number
- CN202311187431.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-14
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2043-09-14
AI Technical Summary
Due to its large size, fixed interfaces and fixed functions, the existing graphical fault tree generator software cannot meet the customized development needs in the nuclear power field, and its data storage and management functions are not flexible enough.
The document-based PSA data storage management system is used to realize the storage and management of PSA modeling data in the nuclear power field through customized XML file formats, including project data storage and management modules, data dictionary storage and management modules, and component data configuration and management modules. Hetu data storage module provides customized data access interface and configuration information generation capabilities.
It achieves efficient storage and management of PSA modeling data, takes up little space, is easy to install and deploy, meets the customized needs of the nuclear power field, and provides flexible data query and search functions.
Smart Images

Figure CN117132115B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of nuclear power technology, and in particular relates to a storage management method and system for probabilistic safety risk analysis data of nuclear facilities. Background Art
[0002] Probabilistic Safety Analysis (PSA) is a risk quantification assessment technology based on probability theory. It has been widely used in nuclear power safety analysis. At the same time, my country's Nuclear Safety Regulations (HAF) also recommend the application of PSA technology in nuclear power safety analysis. The first step in applying PSA is to invest a lot of manpower in complex fault tree modeling, and the knowledge and skills required for personnel using fault tree generation software for modeling are relatively high.
[0003] At present, there is a graphical fault tree generator (ATF) software that directly establishes a connection between the process system flow chart and the fault tree model, and corresponds the equipment and model components in the process system diagram, which greatly utilizes the original information in the process flow chart and can reduce the workload of actual modeling. Among them, data storage and management is one of the necessary basic functions of the graphical fault tree generator (AFT) software. It is used to organize, store and manage the component library data, generated diagram data and project data involved in fault tree (FT) modeling. At present, third-party commercial databases can be purchased to directly use the existing modules and functions in the third-party commercial database for data storage and management of AFT software. However, as a general database, third-party commercial databases can be applied to other industrial fields in addition to the nuclear power field. Therefore, although applying it to the graphical fault tree generator can basically meet the use requirements, on the one hand, due to the large number of modules and large size, it is not conducive to the deployment and release of AFT software. On the other hand, its interface and functions are fixed and cannot meet the needs of customized development in the nuclear power field. Summary of the invention
[0004] The purpose of the present invention is to provide a document-based PSA data storage and management system, which is a file database. It realizes the storage and management of PSA modeling data in the nuclear power field through a custom XML file format. It occupies a small space, is easy to install, and is autonomous and controllable, and can be customized and developed according to needs.
[0005] To achieve the above object, the present invention provides a document-based PSA data storage management system, including a communication-connected project data storage and management module, a data dictionary storage and management module, a component data configuration and management module, and a graph data storage module;
[0006] The data dictionary storage and management module is preset with a device definition library, a logic gate definition library and a first interface unit, wherein the device definition library at least includes a device name and device component attributes, and the logic gate definition library at least includes a logic gate name and logic gate component attributes; the first interface unit is used to provide a data access interface for the device definition library and the logic gate definition library;
[0007] The component data configuration and management module includes a configuration information generation unit and a second interface unit, wherein the configuration information generation unit is used to call the device definition library and the logic gate definition library respectively according to the input process flow chart, so as to generate the corresponding device PSA configuration information and logic gate PSA configuration information for the device and logic gate in the process flow chart respectively according to the device component attributes and the logic gate component attributes; the second interface unit is used to provide a data access interface for the device PSA configuration information and the logic gate PSA configuration information;
[0008] The graph data storage module includes a process information flow chart XML file storage unit, a fault tree XML file storage unit and a third interface unit; the process information flow chart XML file storage unit is used to store the process information flow chart information as a process information flow chart XML file of a specified format, wherein the process information flow chart information is generated based on the equipment definition library and the equipment PSA configuration information, and the process information flow chart XML file includes all equipment instances, connection relationships and equipment attribute settings; the fault tree XML file storage unit is used to store the fault tree information as a fault tree XML file of a specified format, wherein the fault tree information is generated based on the process information flow chart information, the logic gate definition library and the logic gate PSA configuration information, and the fault tree XML file includes all logic gate instances, connection relationships and logic gate attribute settings contained in the fault tree; the third interface unit is used to provide a data access interface between the process information flow chart XML file and the fault tree XML file;
[0009] The project data storage and management module is used to store the hierarchical relationship and project attributes of the project as a project XML file with agreed rules and provide a data access interface.
[0010] Preferably, the data dictionary storage and management module includes a device definition library generation unit and a logic gate definition library generation unit. The device definition library generation unit is used to convert the device definition Excel file involved in describing the PSA modeling of nuclear facilities into a device definition XML file according to agreed rules to form a device definition library; the logic gate definition library generation unit is used to convert the logic gate definition Excel file involved in constructing the fault tree into a logic gate XML file according to agreed rules to form a logic gate definition library.
[0011] Preferably, the devices in the device definition library include one or more combinations of electric pumps, pneumatic pumps, diesel engine pumps, electric valves, pneumatic valves, solenoid valves, pilot safety valves, spring-loaded safety valves, check valves, manual valves, filters, rotary screens, rotary screens, orifice plates, plate heat exchangers, tubular heat exchangers, water tanks, gas storage tanks, fans, refrigeration units, air compressors, air dryers, control rods and drive mechanisms, and burst valves; the PSA component attributes of the equipment are set to include one or more combinations of equipment ID, entity type, name, description, appearance file, equipment status information, failure mode information, failure data information, support system, and success criteria.
[0012] Preferably, the logic gates in the logic gate definition library include intermediate gate components, basic events, and room events, wherein the intermediate gate components include AND gates, OR gates, selection gates, NOR gates, NAND gates, and XOR gates;
[0013] The logic gate component attributes of the intermediate gate component are set to include: ID, entity type, description, logic gate appearance file, component number, logic gate name, state, input type, input ID, whether to transfer, whether invalid, and calculation logic;
[0014] The logic gate component attributes of the basic event are set to include: ID, entity type, description, appearance file, component number, name, model, state, symbol, parameter type, parameter ID, parameter value;
[0015] The logic gate component attributes of the room event are set to include: ID, state, and description.
[0016] Preferably, the configuration information generation unit includes a configuration information acquisition subunit and a configuration information configuration subunit; the configuration information acquisition subunit is used to query the device definition library and the logic gate definition library respectively according to the component types of the equipment and logic gates in the input process flow chart, and obtain the device component attributes and logic gate component attributes of the corresponding equipment and logic gates; the configuration information configuration subunit is used to obtain the respective device appearance files, logic gate appearance files and categories of attributes to be configured of the equipment and logic gates in the process flow chart according to the device component attributes and logic gate component attributes, and after configuring the attributes to be configured of the equipment and logic gates in the process flow chart, store the equipment PSA configuration information and logic gate PSA configuration information of the process flow chart respectively in the XML format according to the agreed rules.
[0017] Preferably, the attributes to be configured of the equipment in the process flow chart are set to include: connection boundary, failure mode, equipment status information, support system, and success criterion.
[0018] The attributes to be configured of the logic gate in the process flow chart are set to include part number, logic gate name, input, code, description, calculation logic, and logic gate state.
[0019] Preferably, the component data configuration and management module configures the to-be-configured attributes of each device and logic gate in the process flow chart based on the form of an attribute window; the configuration of the attribute window includes the attribute parameter list configuration of the attribute window and the attribute parameter input component type, attribute parameter input component layout and attribute parameter input component initial value; wherein, the attribute parameter list refers to the to-be-configured attributes of each device in the process flow chart; the attribute parameter input component type includes one of a check box, a radio button, a drop-down box, a button, a label and an input box; the layout of the attribute parameter input component is determined by analyzing the importance and relevance of the attributes to be configured; the initial value of the attribute parameter input component is set according to the default value determined by the type of equipment and the fault characteristics.
[0020] Preferably, the root node attributes corresponding to the process information flow chart XML file and the fault tree XML file are respectively provided with respective drawing file identifiers guid, and the sub-node attributes corresponding to the device instance and the logic gate instance are respectively provided with device instance ID and logic gate instance ID, and the project data storage and management module summarizes the devices and logic gates contained in the drawing files of each project via the drawing file identifier guid, the device instance ID, and the logic gate instance ID to form a storage index XML file with guid as the primary key, and provides a query interface.
[0021] Preferably, the first interface unit, the second interface unit, the third interface unit and the fourth interface unit are all designed based on the Java development component dom4j.
[0022] The document-based PSA data storage management system shown in the present invention realizes the storage and management of PSA modeling data in the nuclear power field through a custom XML file format, does not rely on any commercial database, is small and lightweight, and is convenient for AFT software deployment and release. At the same time, the document-based PSA data storage management system shown in the present invention sets the definition library and the logic gate definition library, and the types of equipment and logic gates and component attributes can be added, deleted and modified, so as to provide customized services according to actual needs.
[0023] Specifically, for the input process system flow chart, firstly, the equipment involved in the nuclear facility PSA modeling is analyzed and identified based on the equipment definition library, and then the PSA configuration information of each equipment is generated and stored based on the component data configuration and management module; based on the above equipment definition library and equipment configuration information, the storage structure of the process system flow chart (a set of equipment with a specific connection relationship) is generated based on the process information flow chart XML generation unit, that is, the process information flow chart XML file; then, the logic gate components involved in the nuclear facility PSA modeling are analyzed and identified based on the logic definition library, and then the properties of each logic gate component are configured through the property window, and the PSA configuration information of each logic gate component is stored based on the component data configuration and management module; finally, the storage structure of the fault tree (a set of logic gates generated according to the PSA properties of the equipment) is designed based on the equipment definition library, the logic gate definition library, and the process information flow chart information, that is, the fault tree XML file. At the same time, after the above XML files and project data files are saved, a project-level equipment and logic gate component instance database is formed, and the systems included in the project and the process system flow charts and corresponding fault trees included in each system are displayed in the form of a tree, which can realize the search and query of components between various systems within the project. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A schematic block diagram of the hardware structure of an embodiment of a document-based PSA data storage management system;
[0025] Figure 2 for Figure 1 A schematic diagram of the specific structure of the embodiment shown;
[0026] Figure 3 for Figure 1 Schematic diagram of the working principle of the illustrated embodiment. Implementation
[0027] In order to make the purpose, technical scheme and advantages of the present invention more clearly understood, the present invention will be further described in detail below in conjunction with the accompanying drawings in the embodiments of the present invention. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0028] definition:
[0029] Diagram files: including process information flow chart XML file and fault tree XML file;
[0030] Components: Includes devices and logic gates.
[0031] like Figure 1 and Figure 2As shown, the present invention discloses a document-based PSA data storage management system, including a communication-connected project data storage and management module, a data dictionary storage and management module, a component data configuration and management module, and a graph data storage module;
[0032] The data dictionary storage and management module is preset with a device definition library, a logic gate definition library and a first interface unit, the device definition library at least includes a device name and device component attributes, and the logic gate definition library at least includes a logic gate name and logic gate component attributes; the first interface unit is used to provide a data access interface for the device definition library and the logic gate definition library;
[0033] The component data configuration and management module includes a configuration information generation unit and a second interface unit, wherein the configuration information generation unit is used to call the equipment definition library and the logic gate definition library respectively according to the input process flow chart, so as to generate the corresponding equipment PSA configuration information and logic gate PSA configuration information for the equipment and logic gate in the process flow chart respectively according to the equipment component attributes and the logic gate component attributes; the second interface unit is used to provide a data access interface for the equipment PSA configuration information and the logic gate PSA configuration information;
[0034] The graph data storage module includes a process information flow chart XML file storage unit, a fault tree XML file storage unit and a third interface unit; the process information flow chart XML file storage unit is used to store the process information flow chart information as a process information flow chart XML file of a specified format, wherein the process information flow chart information is generated based on the equipment definition library and the equipment PSA configuration information, and the process information flow chart XML file includes all equipment instances, connection relationships and equipment attribute settings; the fault tree XML file storage unit is used to store the fault tree information as a fault tree XML file of a specified format, wherein the fault tree information is generated based on the process information flow chart information, the logic gate definition library and the logic gate PSA configuration information, and the fault tree XML file includes all logic gate instances, connection relationships and logic gate attribute settings contained in the fault tree; the third interface unit is used to provide a data access interface between the process information flow chart XML file and the fault tree XML file;
[0035] The project data storage and management module is used to store the hierarchical relationship and project attributes of the project as a project XML file with agreed rules and provide a data access interface.
[0036] A document-based PSA data storage management system shown in the present invention establishes a data management method for a PSA fault tree generator (AFT) for engineering applications based on graph storage. Specifically, for an input process system flow chart, firstly, the equipment involved in the PSA modeling of nuclear facilities is analyzed and identified based on the equipment definition library, and then the PSA configuration information of each equipment is generated and stored based on the component data configuration and management module; based on the above-mentioned equipment definition library and equipment configuration information, a storage structure of the process system flow chart (a set of equipment with a specific connection relationship) is generated based on the process information flow chart XML generation unit, that is, a process information flow chart XML file; then, the logic gate components involved in the PSA modeling of nuclear facilities are analyzed and identified based on the logic definition library, and then the properties of each logic gate component are configured through the property window, and then the PSA configuration information of each logic gate component is stored based on the component data configuration and management module; finally, a storage structure of a fault tree (a set of logic gates generated according to the PSA properties of the equipment) is designed based on the equipment definition library, the logic gate definition library, and the process information flow chart information, that is, a fault tree XML file. At the same time, after the above-mentioned XML files and project data files are saved, a project-level equipment and logic gate component instance database is formed, and the systems included in the project and the process system flow chart and corresponding fault tree included in each system are displayed in the form of a tree, which can realize the search and query of components between various systems within the project scope.
[0037] As a preferred solution, the data dictionary storage and management module includes a device definition library generation unit and a logic gate definition library generation unit. The device definition library generation unit is used to convert the device definition Excel file involved in describing the nuclear facility PSA modeling into a device definition XML file with agreed rules to form a device definition library.
[0038] In this embodiment, the equipment in the equipment definition library includes one or more combinations of electric pumps, pneumatic pumps, diesel engine pumps, electric valves, pneumatic valves, solenoid valves, pilot safety valves, spring-loaded safety valves, check valves, manual valves, filters, rotary filters, rotary filters, orifice plates, plate heat exchangers, tubular heat exchangers, water tanks, gas storage tanks, fans, refrigeration units, air compressors, air dryers, control rods and drive mechanisms, and burst valves. In addition to the above equipment, if other equipment needs to be added, the corresponding equipment can be added to the equipment definition library according to the above method. The attributes of the PSA components of the equipment are equipment ID, entity type, name, description, appearance file, equipment status information (including initial status and task status), failure mode information (including failure mode, failure ID, failure description, reliability model, failure type, failure mode status, whether to consider failure mode), failure data information (including distribution type, parameter type, mean ID, Mean, α, β, error factor EF, Dist.Par1), support system (including: whether to consider power supply, power supply, whether to consider cooling water, cooling water, whether to consider air compression, air compression, whether to consider signal, signal), success criteria. Taking the failure mode as an example, for the pump type, the optional values of the failure mode attribute are startup failure and operation failure; for the valve type, the optional values of the failure mode are one or more of refusal to open, refusal to close, stuck during operation, malfunction, small external leakage, and small internal leakage. For the filter type, the optional value of the failure mode is blockage; for the air dryer, control rod and drive mechanism, and gas storage tank, the optional value of the failure mode is loss of function.
[0039] The logic gate definition library generation unit is used to convert the logic gate definition Excel file involved in building the fault tree into a logic gate XML file with agreed rules to form a logic gate definition library. In this embodiment, the logic gates in the logic gate definition library are divided into three categories: intermediate gate components, basic events, and room events.
[0040] Among them, the middle gate components include AND gate (andGate), OR gate (orGate), KNGate, NOR gate (NorGate), NAND gate (NandGate) and XOR gate (XORGate); correspondingly, the logic gate component attributes of the middle gate component are set to include: ID, entity type, description, logic gate appearance file, component number, logic gate name, state (including 0-Normal, 1-True, 2-False), input type (including basic events, middle gate), input ID, whether to transfer (including 0-no, 1-yes), whether invalid (including 0-no, 1-yes), calculation logic (component algorithm).
[0041] The logic gate component properties of the basic event are set to include: ID, entity type, description, appearance file, part number, name, model (among which, 1-repairable, 2-tested, 3-probability, 4-mission time, 5-frequency, 6-non repairable), state (among which, 0-Normal, 1-True, 2-False), symbol (among which, 1-Circle, 2-Diamond), parameter type (among which, P01-probability q, P02-failure rate r, P03-frequency f, P04-Tr, P05-Ti, P06-Tf, P07-Tm, P08-beta factor, P09-gamma factor), parameter ID, parameter value.
[0042] The logic gate component properties of the room event are set to include: ID, state (where 0-Normal, 1-True, 2-False), and description.
[0043] The generation of a device definition library may include the following steps:
[0044] Identify the equipment entity classes, attributes, and parameters involved in the PSA modeling of nuclear facilities, and generate an EXCEL configuration file. (2) Construct the equipment storage structure and define the XML format, including nodes, attributes, and nested relationships. The root node of the XML file includes the main attributes of the equipment ID, equipment name, equipment default state, failure mode list, equipment value type, etc. (3) Construct a parsing module to generate an XML format equipment definition library based on the EXCEL configuration file. The specific steps for generating the logic gate definition library are similar and will not be repeated here.
[0045] As a preferred solution, in this embodiment, the configuration information generation unit of the component data configuration and management module includes a configuration information acquisition subunit and a configuration information configuration subunit; the configuration information acquisition subunit is used to query the device definition library and the logic gate definition library respectively according to the component types of the equipment and logic gate in the input process flow chart, and obtain the equipment component attributes and logic gate component attributes of the corresponding equipment and logic gate; the configuration information configuration subunit is used to obtain the equipment appearance files, logic gate appearance files and categories of attributes to be configured of the equipment and logic gate in the process flow chart according to the equipment component attributes and logic gate component attributes, and after configuring the attributes to be configured of the equipment and logic gate in the process flow chart, store the equipment PSA configuration information and logic gate PSA configuration information of the process flow chart in accordance with the agreed rules of the XML format. Among them, for the equipment in the process flow chart, its attributes to be configured include: connection boundary, failure mode, equipment status information, support system, and success criteria. For the logic gate in the process flow chart, its attributes to be configured include part number, logic gate name, input, code, description, calculation logic, and logic gate state.
[0046] In this embodiment, the component data configuration and management module configures the attributes to be configured of each device and logic gate in the process flow chart based on the form of an attribute window; the configuration of the device attribute window includes the configuration of the attribute parameter list of the attribute window, the type, layout, and initial value of the attribute parameter input component. The attribute parameter list refers to the configuration of multiple attributes that need to be configured from the data dictionary device definition of the selected device type. The type of the attribute parameter input component refers to determining whether the user input for each attribute to be configured that has been configured in the attribute parameter list is one of a check box, a radio button, a drop-down box, a button, a label, and an input box. The layout of the attribute parameter input component refers to determining the placement position of the attribute parameter input component by analyzing the importance and relevance of the attributes to be configured. The initial value of the attribute parameter input component refers to the default value determined based on the type of equipment and fault characteristics.
[0047] Taking the pump as an example, when the process flow chart is opened through the AFT software, PSA identifies the component type of the pump, and then calls the equipment definition library through the first interface unit to find the equipment component attributes of the pump equipment in the equipment definition library. Then, according to the equipment appearance file, the corresponding pump component is displayed in the canvas. At the same time, the property window pops up in the display interface of the AFT software. The properties in the property window are set according to the preset property category to be configured, and the component type of each property is also pre-set. The user can use the property window to perform the property parameters and initial settings of each configuration property. After the configuration is completed, the configuration information configuration subunit saves and stores the configuration information in the XML format of the agreed rules as the equipment PSA configuration information.
[0048] After the equipment PSA configuration information and logic gate PSA configuration information of the process flow chart are set, the other functional modules of the AFT software generate process flow chart information based on the equipment definition library and the equipment PSA configuration information and store it in the cache, where the process flow chart information includes all equipment instances, and then the process information flow chart XML file storage unit of the diagram data storage module reads the process flow chart information and stores it as a process information flow chart XML file in an agreed format; at the same time, the other functional modules of the AFT software also generate corresponding fault tree information based on the process flow chart information, the logic gate definition library and the logic gate PSA configuration information and store it in the cache, where the fault tree information includes all logic gate instances, and then the fault tree XML file storage unit of the diagram data storage module reads the fault tree information in the cache and stores it as a fault tree XML file in an agreed format.
[0049] After completing the above steps, click Save Project in the AFT software, call the read and write interface, and save the project data in XML format. Summarize the devices included in the diagrams of each system in the project to form an index XML file to provide a query interface.
[0050] In this embodiment, as a preferred solution, the root node attributes corresponding to the process information flow chart XML file and the fault tree XML file are respectively provided with their own drawing file identifiers guid, and the sub-node attributes corresponding to the equipment instance and the logic gate instance are respectively provided with the equipment instance ID and the logic gate instance ID. The project data storage and management module summarizes the equipment and logic gates contained in the drawing files of each project through the drawing file identifier guid, the equipment instance ID, and the logic gate instance ID to form a storage index XML file with guid as the primary key, and provides a query interface.
[0051] In this embodiment, as a preferred solution, the first interface unit, the second interface unit, the third interface unit and the fourth interface unit are all designed based on the Java development component dom4j.
[0052] The following further illustrates the working principle of a document-based PSA data storage management system shown in the present invention by combining the process of modifying the process system flow chart that has been converted into a fault tree using the fault tree generator (AFT) software.
[0053] like Figure 3 As shown in the figure, the process system flow chart has been converted into a fault tree by the fault tree generator (AFT) software. The process information flow chart XML and fault tree XML files have been generated in the AFT software. When the fault tree needs to be modified or adjusted, the specific steps are as follows:
[0054] Step 1, search for a diagram file, wherein the diagram file includes a fault tree XML file or a process flow chart XML file; after selecting a project, call the fourth interface unit to display the project data in the project list window. When a diagram file is double-clicked, the corresponding fault tree XML file or process flow chart XML file is found through the root node guid of the diagram file.
[0055] Step 2, open and draw the drawing file, the process flow chart XML file and the fault tree XML file respectively call the first access interface to search the appearance attribute file of the component from the equipment definition library and the logic gate database to display the logic gates or components of the fault tree or process system flow chart on the canvas.
[0056] Step 3: Modify and configure the properties of each component in the drawing file.
[0057] When the user clicks on the specified component icon in the canvas and right-clicks to select properties, the property window that needs to be configured for each component will pop up. The user can customize the properties to be configured for each component in the property window as needed. In addition, the user can also drag components from the AFT component library list to the canvas. At this time, the first access interface is called to read the corresponding component appearance data storage file for drawing and configuration.
[0058] Step 4: Generate and save image file data.
[0059] The graph data storage module stores the process system flow chart information as a process information flow chart XML file of agreed rules, and stores the fault tree information as a fault tree XML file of agreed rules. At the same time, the graph data storage module provides a fourth interface unit for the project data management module to call.
[0060] Step 5, save the project. After the modification is completed, click Save Project in AFT to call the read and write interface to save the project data in XML format. Summarize the devices included in the diagrams of each system in the project to form an index XML file.
[0061] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0062] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method.
[0063] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A document-based PSA data storage management system, Features: It includes a communication-connected project data storage and management module, a data dictionary storage and management module, a component data configuration and management module, and a graphic data storage module; The data dictionary storage and management module is preset with a device definition library, a logic gate definition library and a first interface unit, wherein the device definition library at least includes a device name and device component attributes, and the logic gate definition library at least includes a logic gate name and logic gate component attributes; the first interface unit is used to provide a data access interface for the device definition library and the logic gate definition library; The component data configuration and management module includes a configuration information generation unit and a second interface unit, wherein the configuration information generation unit is used to call the device definition library and the logic gate definition library respectively according to the input process flow chart, so as to generate the corresponding device PSA configuration information and logic gate PSA configuration information for the device and logic gate in the process flow chart respectively according to the device component attributes and the logic gate component attributes; the second interface unit is used to provide a data access interface for the device PSA configuration information and the logic gate PSA configuration information; The graph data storage module includes a process information flow chart XML file storage unit, a fault tree XML file storage unit and a third interface unit; the process information flow chart XML file storage unit is used to store the process information flow chart information as a process information flow chart XML file of a specified format, wherein the process information flow chart information is generated based on the equipment definition library and the equipment PSA configuration information, and the process information flow chart XML file includes all equipment instances, connection relationships and equipment attribute settings; the fault tree XML file storage unit is used to store the fault tree information as a fault tree XML file of a specified format, wherein the fault tree information is generated based on the process information flow chart information, the logic gate definition library and the logic gate PSA configuration information, and the fault tree XML file includes all logic gate instances, connection relationships and logic gate attribute settings contained in the fault tree; the third interface unit is used to provide a data access interface between the process information flow chart XML file and the fault tree XML file; The project data storage and management module is used to store the hierarchical relationship and project attributes of the project as a project XML file with agreed rules and provide a data access interface.
2. A document-based PSA data storage management system according to claim 1, Features: The data dictionary storage and management module includes a device definition library generation unit and a logic gate definition library generation unit. The device definition library generation unit is used to convert the device definition Excel file involved in describing the nuclear facility PSA modeling into a device definition XML file with agreed rules to form a device definition library; the logic gate definition library generation unit is used to convert the logic gate definition Excel file involved in building a fault tree into a logic gate XML file with agreed rules to form a logic gate definition library.
3. A document-based PSA data storage management system according to claim 1, Features: The equipment in the equipment definition library includes one or more combinations of electric pumps, pneumatic pumps, diesel engine pumps, electric valves, pneumatic valves, solenoid valves, pilot safety valves, spring-loaded safety valves, check valves, manual valves, filters, rotary screens, rotary screens, orifice plates, plate heat exchangers, tubular heat exchangers, water tanks, gas storage tanks, fans, refrigeration units, air compressors, air dryers, control rods and drive mechanisms, and burst valves; The device PSA component attributes are set to include: device ID, entity type, name, description, appearance file, device status information, failure mode information, failure data information, support system, success criteria, or a combination of one or more thereof.
4. A document-based PSA data storage management system according to claim 1, Features: The logic gates in the logic gate definition library include intermediate gate components, basic events, and room events, wherein the intermediate gate components include AND gates, OR gates, selection gates, NOR gates, NAND gates, and XOR gates; The logic gate component attributes of the intermediate gate component are set to include: ID, entity type, description, logic gate appearance file, component number, logic gate name, state, input type, input ID, whether to transfer, whether invalid, and calculation logic; The logic gate component attributes of the basic event are set to include: ID, entity type, description, appearance file, component number, name, model, state, symbol, parameter type, parameter ID, parameter value; The logic gate component attributes of the room event are set to include: ID, state, and description.
5. A document-based PSA data storage management system according to claim 1, Features: The configuration information generating unit includes a configuration information acquiring subunit and a configuration information configuring subunit; The configuration information acquisition subunit is used to query the device definition library and the logic gate definition library respectively according to the component types of the equipment and logic gates in the input process flow chart, and obtain the device component attributes and logic gate component attributes of the corresponding equipment and logic gates; the configuration information configuration subunit is used to obtain the respective device appearance files, logic gate appearance files and categories of attributes to be configured for the equipment and logic gates in the process flow chart according to the device component attributes and logic gate component attributes, and after configuring the attributes to be configured for the equipment and logic gates in the process flow chart, store the equipment PSA configuration information and logic gate PSA configuration information of the process flow chart respectively in the XML format according to the agreed rules.
6. A document-based PSA data storage management system according to claim 5, Features: The attributes to be configured of the equipment in the process flow chart are set to include: connection boundary, failure mode, equipment status information, support system, and success criteria; The attributes to be configured of the logic gate in the process flow chart are set to include part number, logic gate name, input, code, description, calculation logic, and logic gate state.
7. A document-based PSA data storage management system according to claim 1, Features: The component data configuration and management module configures the attributes to be configured of each device and logic gate in the process flow chart in the form of an attribute window; the configuration of the attribute window includes the attribute parameter list configuration of the attribute window and the attribute parameter input component type, attribute parameter input component layout and attribute parameter input component initial value; wherein, the attribute parameter list refers to the attributes to be configured of each device in the process flow chart; the attribute parameter input component type includes one of a check box, a radio button, a drop-down box, a button, a label and an input box; the layout of the attribute parameter input component is determined by analyzing the importance and relevance of the attributes to be configured; the initial value of the attribute parameter input component is set according to the default value determined by the type of equipment and the fault characteristics.
8. A document-based PSA data storage management system according to claim 1, Features: The root node attributes corresponding to the process information flow chart XML file and the fault tree XML file are respectively provided with their own drawing file identifiers guid, and the child node attributes corresponding to the device instance and the logic gate instance are respectively provided with device instance ID and logic gate instance ID. The project data storage and management module summarizes the devices and logic gates contained in the drawing files of each project via the drawing file identifier guid, the device instance ID, and the logic gate instance ID to form a storage index XML file with guid as the primary key, and provides a query interface.
9. A document-based PSA data storage management system according to claim 1, Features: The first interface unit, the second interface unit, the third interface unit and the fourth interface unit are all designed based on the Java development component dom4j.
