A System Safety Assessment Method Based on Automatic Generation of Model Fault Tree
Through the model-based automatic generation method of fault trees, using the AltaRica3.0 model and reachability diagram generation technology, the problems of high cost and error-prone fault tree generation in the existing technology are solved, and the rapid and accurate system safety assessment is achieved. .
Patent Information
- Application Number
- CN202010532342.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-11
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2040-06-11
AI Technical Summary
In the field of safety-critical systems, the existing technology lacks mature and easy-to-use fault tree generation methods. As a result, traditional fault tree generation is costly and error-prone. Especially when the system is large and complex, the error rate and complexity increase, and it cannot meet the requirements of safety and reliability. Sexually demanding.
Using the model-based automatic generation method of fault trees, through the flattening, module division and reachability diagram generation of the AltaRica3.0 model, compiling Boolean formulas and assertion propagation, the automatic generation of fault trees is realized, reducing the error rate and complexity.
This method greatly reduces the error rate and tediousness of fault tree generation, can quickly and accurately evaluate system safety, and is suitable for complex safety-critical systems.
Smart Images

Figure CN111709133B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of safety-critical systems, and in particular relates to a system safety assessment method based on automatic generation of a model fault tree. Background Art
[0002] At present, the safety of safety-critical systems such as the aviation industry and the nuclear power industry has received increasing attention. A large number of electronic and mechanical intensive equipment has been transformed into software support intensive equipment. The scale of the software level has gradually increased. The economic property losses and casualties caused by software or system failures in various industries have gradually increased. In the field of safety-critical systems, higher and higher requirements are placed on the safety of software systems. The safety analysis of software models is an important part of it. Traditional safety analysis technology is to extend the hardware safety analysis method to the software field, such as Software Fault Tree Analysis (SFTA) and Software Failure Mode and Effects Analysis (SFMEA). It is a safety analysis method based on the traditional chain / tree accident causal model, and was developed for simple and loosely coupled systems in the past, mainly focusing on failure events.
[0003] AltaRica is an event-driven, object-oriented, formal complex system modeling language. It is often used for high-level system modeling and software reliability analysis because it can well connect the formal problems between system specification form and system modeling design. Currently, it is widely used in industrial fields such as avionics and safety-critical systems. AltaRica has now developed to AltaRica 3.0. Its semantics is based on GTS and is built on a prototype-oriented structure to facilitate the reuse of modeling processes and modeling knowledge. In AltaRica 3.0, reuse is mainly achieved through the design of modeling models. The goal of the AltaRica 3.0 project is to propose a set of modeling and evaluation tools for preliminary safety analysis. Version 3.0 introduces a new mechanism - using a fixed point mechanism to stabilize the value of the flow variable of each triggered Transition, thereby allowing the design of non-causal components and the processing of immediate loop systems. The design of the interaction and dependency between components has become the focus of embedded system security analysis. The Dataflow element of the AltaRica model can well support the interaction and dependency between components. At the same time, the dependency between components is specified using linear temporal logic (LTL). The semantics of the AltaRica language is specified by a set of rules. Rules are established according to different system requirements to obtain the AltaRica model of the entire system. The subsequent series of system model analyses are built on this basis.
[0004] The Guard Transformation System (GTS) is a state / transformation formalism dedicated to safety analysis that generalizes reliability block diagrams, Markov chains, and random Petri nets. From the model of the Guard Transformation System, we can generate the corresponding fault tree, that is, convert the state / transformation model into a set of Boolean formulas. In practice, it is much simpler to automatically generate a fault tree from a high-level model than to create it from scratch, saving time and effort. Using such a high-level model can greatly improve system design, sharing, and maintenance-related issues. There are three operations for the Guard Transformation System, which can assemble them into a hierarchical structure. Therefore, the Guard Transformation System is a complete description language (in contrast to, in form, finite state machines or regular Petri nets). By introducing a point stabilization mechanism to stabilize the value of the flow variable after each transformation loop, the Guard Transformation System can represent systems with instantaneous loops (such as network systems or electrical systems), and can design non-causal components, that is, the direction of flow propagation of the component is determined at runtime. The Guard Transformation System is an automaton whose state is represented by variable labels, that is, variables and their values. Changes of state are represented by transformations triggered by events, and it is also possible to represent flows through the network and synchronize events to describe remote interactions between components of the system under study.
[0005] Fault Tree Analysis is a top-down deductive failure analysis method that uses Boolean logic formulas to combine low-level events and analyze undesirable states in the system. Through failure analysis, failure modes at the system level, component level, and unit level can be found, including systematic failures and random hardware failures. After analyzing the failure modes and causes, the probability of failure can be reduced by adding preventive measures, and the degree of fault detection can be increased by adding detection measures. To some extent, it can both guide and verify the design. Fault tree analysis is mainly used in the fields of safety engineering and reliability engineering to understand the causes of system failures and find the best way to reduce risks, or to confirm the occurrence rate of a safety accident or a specific system failure. In the field of aerospace, the more general term "system failure state" is used to describe the fault tree from the bottom undesirable state to the top failure event. These states are classified according to the severity of their results. The most serious state requires the most extensive fault tree analysis. This type of "system failure state" and its classification were previously handled by functional hazard analysis.
[0006] In the field of safety-critical systems, each system has a great demand for safety and reliability. In order to ensure the safety and smooth operation of the system, each system needs to design a corresponding system model, then build a model, and simulate whether the experimental model is reliable. In order to analyze the safety of the system more easily and reliably, a top-down deductive failure analysis is used, and a combination of Boolean logic formulas is used to analyze the undesirable state in the system. This method is called fault tree analysis. Fault tree analysis is usually used to deduce the possible cause of the current system error based on an undesirable system state top event, perhaps a module error, or a component failure, which makes it easier to infer whether the system is reliable and refine the cause of the system error. However, since the manual generation method of the fault tree is time-consuming, labor-intensive and error-prone, a system safety assessment method based on the automatic generation of a model fault tree is given here. Summary of the invention
[0007] Since the AltaRica 3.0 language is currently widely used in the field of safety-critical systems in China, but there is no relatively mature and easy-to-use fault tree generation method, the traditional method of generating fault trees is too costly, and as the system becomes increasingly large and complex, the traditional generation of fault trees is prone to errors. The present invention provides a system safety assessment method based on automatic generation of model fault trees. The method is structured through redundant multiple optimization and model hierarchical division, which greatly reduces the error rate and cumbersomeness of obtaining fault trees in the past.
[0008] To achieve the above object, the present invention adopts the following technical solutions:
[0009] A system safety assessment method based on automatic generation of a model fault tree, characterized by comprising the following steps:
[0010] Step 1: Establish the AltaRica 3.0 model according to the functional requirements of the system and flatten it into a GTS model;
[0011] Step 2: Divide the GTS model into one or more independent GTSs and independent assertions;
[0012] Step 3: Generate the reachability graph of each independent GTS;
[0013] Step 4: Compile the reachability graph to generate a Boolean formula;
[0014] Step 5: Assertion propagation generates a fault tree;
[0015] Step 6: Based on the generated fault tree, evaluate the system safety.
[0016] To optimize the above technical solutions, the specific measures taken also include:
[0017] Furthermore, in step 1, the system is defined as a five-tuple G=<V,E,T,A,ι> , use this quintuple to describe the current system model, where variable V and assignment ι are used to describe the state of the current system, assignment ι represents the value of the variable, event E describes the events that may occur in the system in the current state, transition T is a supplement to event E, used to describe the changes that the system will make after event E occurs, assertion A is the variable state that the current system needs to satisfy; divide the model into five sets according to the meaning of each set of the quintuple, and fill them with an entity object of the GTS model.
[0018] Furthermore, in step 2, the GTS model is hierarchically divided by a module partitioning method to generate multiple GTSs of the same level: the T list of the GTS model is traversed, and the variables V involved in each transformation T are obtained during the traversal process. For each variable, it is determined whether there are dependent variables, and the associated variables V, assignments ι, events E and transformations T are put into the same independent GTS; the remaining variables V and assertions A in the GTS model constitute independent assertions.
[0019] Furthermore, in step 3, each independent GTS is traversed, and each unprocessed variable set is traversed in the independent GTS, where the variable set is a combination of variable V and assignment ι, and each variable set represents a node in the reachability graph, until each variable set has been processed to obtain its reachability graph.
[0020] Furthermore, in the process of processing the variable set, all variables in the independent GTS and the initial assignments of all variables are used as the initial node S0, S0 is processed, and each T in the independent GTS is traversed. When the variable value of the node satisfies a certain T, the variable in the node changes its value and a new node is generated; this new node is added to the node set of the reachability graph, and the flag bit indicating whether it has been processed is set.
[0021] Furthermore, in step 4, the nodes in the reachability graph represent system states, and the edges represent events E. When an event occurs in a certain state, a new state will be generated. This process is represented by a Boolean formula.
[0022] Furthermore, in step 5, the Cartesian product of the node set in each reachability graph and the node set of other reachability graphs is taken. After the Cartesian product is obtained, for each set of Cartesian product results, the intersection of all paths in the set of variable sets is calculated to obtain the Boolean expression that the current variable set needs to pass through; the variables included in the independent assertion are injected into each set of Cartesian product results to obtain all complete variable sets required for the compilation of the independent assertion; all complete variable sets are traversed to obtain all variable sets of the entire system, each complete variable set corresponds to a Boolean expression as a fault path, and a fault tree is generated.
[0023] Further, the system is a simple water supply system for cooling the reactor.
[0024] The beneficial effect of the present invention is as follows: the present invention provides a system safety assessment method based on automatic generation of a model fault tree. This method, through redundant multiple optimization and model hierarchical division and structuring, greatly reduces the error rate and tediousness of obtaining fault trees in the past, and can more quickly and accurately assess the safety of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 Flowchart for automated fault tree generation.
[0026] Figure 2 A flow chart of a fault tree is generated for a simple water supply system for cooling a reactor as a specific example of the present invention.
[0027] Figure 3 The present invention is a specific example of a structural diagram of a simple water supply system for cooling a reactor.
[0028] Figure 4 Reachability diagram and Boolean formula for each independent GTS in a simple water supply system for cooling the reactor.
[0029] Figure 5 Results of independent assertion propagation in a simple water supply system for cooling the reactor. DETAILED DESCRIPTION
[0030] The present invention will now be described in further detail with reference to the accompanying drawings.
[0031] The system safety assessment method based on automatic generation of model fault tree includes the following steps (for ease of understanding and expression, the main mathematical symbols and their meanings used in each step are listed in Table 1):
[0032] Table 1 Symbol Definition
[0033]
[0034]
[0035] Step 1: Get a complete GTS entity object based on the flattened GTS model file.
[0036] Step 2: divide the given GTS into one or more independent GTSs and independent assertions.
[0037] Step 3: Generate a reachability graph for the independent GTS.
[0038] Step 4: Generate a Boolean formula through the reachability graph.
[0039] Step 5: Assertion propagation generates a fault tree.
[0040] Step 6: Evaluate the system safety based on the generated fault tree.
[0041] In step 1, the AltaRica 3.0 model is established according to the functional requirements of the system and flattened into a GTS model. The system is defined as a five-tuple G=<V,E,T,A,ι> , use this quintuple to describe the current system model. The variable V and the value ι are used to describe the current state of GTS, the event E describes the possible events of GTS in the current state, the transition T is a supplement to the event E to describe the changes that the system will make after the event E occurs, and the assertion A is the variable state that the current GTS needs to satisfy. According to the meaning of each set of the quintuple, the model is divided into five sets and filled with an entity object of the GTS model.
[0042] In step 2, as the functional requirements of the system are getting higher and higher, the system scale is also getting larger and larger. A large system needs to be supported by a large model. However, facing a large system model, the method of generating its fault tree is extremely cumbersome and complicated, and it is more prone to errors, which does not meet the requirements of safety-critical systems. In order to solve this problem, the module division method is adopted in step 2 to divide the system model hierarchically and generate multiple modules of the same level of a model. By processing and analyzing a single module, the subsequent steps are greatly simplified. To divide a system model, it is also necessary to divide it according to G=<V,E,T,A,ι> The variables V and events E of model G are divided according to the conditions required for transformation T and the results produced. The specific division method is as follows:
[0043] GTS G=<V,E,T,A,ι> The partitioning of G is represented in the following way:
[0044]
[0045] so
[0046] ·
[0047] ·
[0048] ·
[0049] A=A1;A2;…;An;A*
[0050] ·
[0051] The variables in V* are just flow variables, which depend on the state variables and the flow variables in the independent GTS Gi. In the partitioning algorithm between independent GTS and independent assertions, the dependency between variables is an important basis for partitioning, so it is an important step to obtain the dependency between various variables (including flow variables and state variables). The so-called variable dependency is whether the value of a variable will change due to another variable. If it changes, the variable is said to depend on another variable. Only direct dependency is considered here.
[0052] In GTS, state variables are initialized all at once, and the initialization values are given by the initialization attributes. Stream variables are updated after each transition is turned on, and their values are also modified by assertions or their reset values. Let G =<V,E,T,A,ι> Let GTS be GTS and let t =<e,g,p> As one of the transitions, we use the variable var(t) to represent the variables involved in transition t:
[0053] var(t)=var(g)∪var(p)∪V'
[0054] where V' are variables such that var(g) ∪ var(p) depends on them by asserting that A depends on them.
[0055] Var(t): A set of variables in Transition, consisting of Var(g) and Var(p).
[0056] Var(g): The variable set in Guard, which can be regarded as the variable set involved in the conditional statement.
[0057] Var(p): The variable set in Instruct, which can be regarded as the variable set involved in the instruction statement.
[0058]
[0059] According to the definition of V', the variable v in V' belongs to the set of all variables, but there is a variable u that belongs to the union of Var(g) and Var(p), and the variable u will depend on v in the assertion.
[0060] After the entire GTS variable is divided, the variable-related assertions, conversions, and events can be divided into different GTS components. The remaining parts are all classified as independent assertions.<V*,A*,ι*> .
[0061] In step 3, the component modules of the model will start the transition T when different events E occur, and the transition T will cause the variables in the module to change, thereby causing the system state to migrate, that is, generating a new system state. Here, a new G model module is obtained.
[0062] Define each independent partition G =<V,E,T,A,ι> Describes a system that may fail. The graph Γ = (∑, Θ) is the reachability graph of G. The initial state or initial variable assignment σ0∈∑ represents the nominal state of the system. Events from E represent failures of system components. Some states (variable assignments) σ∈∑ represent failure states. The paths from σ0 to these states represent failure situations. ∑ represents the set of state nodes, and Θ represents the set of Transition transitions. The components of Transition are roughly divided into conditional statements and instruction statements. The conditional statement represents the conditions that the Transition must meet, while the instruction statement represents the modification of certain variables if the conditions of the Transition are met. In graph theory, reachability refers to the ease of getting from one vertex to another in a graph. In an undirected graph, the reachability between all vertex pairs can be determined by identifying the connected components of the graph.
[0063] The reachability graph information includes: the node contains all the variables of the GTS, indicating the current system state, and the edge is represented by Transition. When an Event occurs in a state, Transition is triggered, causing the value of the variable to change, thus transitioning to the next state.
[0064] In step 4, the nodes in the reachability graph represent system states, and the edges represent events. When an event occurs in a certain state, a new state will be generated. This process can be expressed using a Boolean formula.
[0065] In step 5, the independent assertions are compiled to generate Boolean formulas. In the previous steps, we obtained the reachability graphs of each divided GTS. In this process, there is a set of GTSs, and each GTS has its own reachability graph. In each reachability graph, there are multiple variable sets that represent the states of these variables at different values. Taking the Cartesian product of these states with different values can get the state set in which all variables will appear, which is injected into the independent assertions. All assertions are traversed as a set with the variables in the independent assertions. When a set of assertions is met, a new set of variable state sets will be obtained. All state sets, transitions and assertion paths can be obtained until the traversal is completed. This also allows the possible fault tree to be obtained when a component fails.
[0066] Specific examples include Figure 3 Taking the simple water supply system for cooling the reactor as an example, the fault tree generation process is as follows Figure 2 As shown. The system contains bidirectional connections between components. In fact, the connections between valves are bidirectional. For example, the water flow can circulate from valve V1 to valve V2, and vice versa, depending on the overall state of the system. Second, the system contains an instant feedback loop: when all three valves are open, the water flow can circulate from valve V3 to valve V2, then from V2 to V1, and then from V1 to V3. For example, in this case, the left flow of valve V3 is instantaneously dependent on its right flow (without any transition). Electrical systems or computer networks are typical examples of systems where it is difficult to avoid introducing loops in the model. There are a total of 21 variables, 12 conversion events, and 12 assertions in the system. The variable table and event table are shown in Table 2 and Table 3, respectively:
[0067] Table 2 Variable table
[0068]
[0069]
[0070]
[0071] Table 3 Event table
[0072] Event Name Event meaning V1.open Open V1 valve V2.open Open the V2 valve V3.open Open the V3 valve V1.close Close the V1 valve V2.close Close the V2 valve V3.close Close the V3 valve V1.failure V1 valve error V2.failure V2 valve error V3.failure V3 Valve Error P1.failure P1 water pump error P2.failure P2 water pump error ccf Both P1 and P2 pumps are faulty
[0073] According to the above embodiment, starting from the entity object of the flattened GTS model, the specific implementation steps are as follows:
[0074] Step 1: Divide independent GTS and independent assertions. First, traverse the Transition list of the entire flattened GTS model, obtain the variables involved in each Transition during the traversal process, and determine whether each variable has its dependent variables. If so, add it to the set transitionVarsName. Since the same variable may be read in the Transition, the set must be intersected, and a set with enough variables must be retained. The variable set with the intersection is added to the getIntersection set. Then put the Transitions with different variables into a set as the Transition set of the new GTS, and put the Events with different variables into a set as the Event set of the new GTS. Therefore, the Transitions and Events involved in different variables will be added to a new GTS that has been divided, and the variables involved will also be added to it. At this point, all the divided independent GTSs are generated, and the remaining variables and assertions constitute independent assertions. According to the variable dependency of the water supply system, it can be obtained that P1.s and P2.s are in the same GTS, V1.s and V1.isClosed are in the same GTS, V2.s and V2.isClosed are in the same GTS, V3.s and V3.isClosed are in the same GTS, and the remaining variables are in independent assertions. It is divided into one independent assertion and four independent GTSs.
[0075] Step 2: Generate a reachability graph for an independent GTS. A reachability graph contains a node set, and a node contains a variable set that stores variable names and variable values. First, traverse each independent GTS, and traverse each unprocessed variable set in the GTS (that is, a node in the reachability graph), until each variable set has been processed to obtain its reachability graph. In the processed variable set, all variables in the GTS and the initial values of all variables are used as the initial node S0, and S0 is processed. Traverse each Transition in the GTS. When the variable value of the node satisfies a certain Transition, the variable in the node changes value, and a new node is generated. Add this new node to the node set of the reachability graph, and set its processed flag to False. Since the corresponding conditions of each node may satisfy multiple Transitions, an Arraylist similar to a Queue is used here to enter the queue for each node without leaving the queue. However, if a new node generated when a node passes through a Transition already appears in the queue, it will no longer be entered into the queue.
[0076] Step 3: Compile the reachability graph to generate a Boolean formula. In generating a Boolean formula, the idea is similar to finding all the paths between two vertices in a directed cyclic graph. The previous reachability graph is represented by an adjacency matrix, and the entire matrix is further traversed to generate a Boolean formula. In the middle, the node stack and path stack are used for backtracking. The matrix stores the path name between each vertex, that is, the transition.
[0077] According to the above two steps, we can get the accessibility diagram and Boolean formula of this simple water supply system as follows Figure 4 As shown (the state start loop is not considered in this case).
[0078] Step 4: Compile independent assertions to generate Boolean formulas. Take the Cartesian product of the state node set in the above reachability graph and the state node set of other independent GTS (meaning the total set of states that all other variables that are not involved in the variables in the independent assertion will obtain after various events). After obtaining the Cartesian product, for each set of results in each set of Cartesian products, find the intersection of all paths in the set of variable sets, that is, to obtain the Transition Boolean expression that the current variable state set needs to pass through. After obtaining these, inject the variables contained in the independent assertion into each set of Cartesian product results (these variables should all be initial values at this time). This will obtain all the complete variable sets required for independent assertion compilation. Traverse the independent assertion for each set of variables in the above variable set, which is the propagation of the independent assertion. For the sake of simplicity, when traversing the independent assertion, first determine whether the dependent variables and the dependent variables in the independent assertion are both in the set of variables. If they do not exist, it means that the independent assertion is not affected in any way and is skipped directly. If they exist, they must be processed. During the processing, first determine whether the states of all variables in the current variable set can meet the judgment criteria of the independent assertion. If satisfied, the dependent variables will obtain some values, which may be equal to the original value or may be new values. When it is the original value, no processing is done on the variable. When it is a new value, the value of the original variable is modified to facilitate the processing of the next independent assertion. After all independent assertions are traversed, this indicates that the set of variables has completed assertion propagation, and a new variable set can be generated. This variable set is the final result of the current variable state, and the Boolean expression in step 2 is output, which is a complete result. When all Cartesian product results are traversed, all variable state sets of the entire system are obtained, and each result corresponds to a Boolean expression as a fault path, that is, a fault tree is generated. The final independent assertion propagation result of the system is as follows Figure 5 shown.
[0079] The fault tree's response process to the safety of the simple water supply system is as follows: In the simple water supply system of this case, in order to successfully make the system run safely, the normal operation of each component and module should be ensured. In the fault tree generated by the system, we use whether the cooling reactors F1, F2, and F3 can successfully have water flow input as the basis for judgment. If one reactor cannot successfully flow water, it is considered that the reactor has an error and failure, and this is taken as the top event. Assuming that the F1 cooling reactor has an error, that is, "F1.inStream=FALSE", we can get through the fault tree that its input end may have an error, that is, the output end of the P1 water pump may have an error, and the variable is expressed as "P1.downStream=FALSE". Since the current judgment is only for P1 and F1 related components, and the entire system is not analyzed, it is impossible to determine whether the F1 cooling reactor has no input source due to the error of the P1 water pump, but the reason for the possible error of the system can be known. When we know that all other system components are normal based on the current system status, it can be judged that there is a problem between P1 and F1, and then the reason for the system error can be obtained. As the system becomes larger, engineers can use the computing engine to analyze the automatically generated fault tree, obtain a safety assessment of the current system model, and simulate the possible causes of each failure state.
[0080] An industrial example of the present invention is described in detail above in conjunction with the diagrams, but the present invention is not limited to the above implementation mode. Various changes can be made within the knowledge of ordinary technicians in the field without departing from the purpose of the present invention. The above is only a preferred embodiment of the present invention, and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technician familiar with this profession can make some changes or modify the technical content disclosed above into an equivalent embodiment of equivalent changes without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent replacement and improvement of the above embodiment made according to the technical essence of the present invention, within the spirit and principle of the present invention, still belongs to the protection scope of the technical solution of the present invention.
Claims
1. A system safety assessment method based on automatic generation of model fault trees, It is characterized in that The steps include: Step 1: Establish the AltaRica 3.0 model according to the functional requirements of the system and flatten it into a GTS model; Step 2: Divide the GTS model into one or more independent GTSs and independent assertions; in said step 2, the GTS model is hierarchically divided by a module partitioning method to generate multiple GTSs of the same level: traverse the T list of the GTS model, obtain the variables V involved in each transformation T during the traversal process, determine for each variable whether there are dependent variables, and put the associated variables V, assignments ι, events E and transformations T into the same independent GTS; the remaining variables V and assertions A in the GTS model form independent assertions; Step 3: Generate a reachability graph for each independent GTS; in said step 3, traverse each independent GTS, traverse each unprocessed variable set in the independent GTS, the variable set is a combination of variable V and assignment ι, each variable set represents a node in the reachability graph, until each variable set has been processed to obtain its reachability graph; in the process of processing the variable set, take all variables in the independent GTS and the initial assignments of all variables as the initial node S0, process S0, traverse each T in the independent GTS, when the variable value of the node satisfies a certain T, the variable in the node changes value, and a new node is generated; add this new node to the node set of the reachability graph, and set its flag whether it has been processed; Step 4: compile the reachability graph to generate a Boolean formula; in step 4, the nodes in the reachability graph represent system states, and the edges represent events E. When an event occurs in a certain state, a new state will be generated. This process is represented by a Boolean formula; Step 5: assertion propagation generates a fault tree; in step 5, a Cartesian product is taken between the node set in each reachability graph and the node set of other reachability graphs. After the Cartesian product is obtained, for each set of Cartesian product results, the intersection of all paths in the set of variable sets is obtained to obtain the Boolean expression that the current variable set needs to pass through; the variables included in the independent assertion are injected into each set of Cartesian product results to obtain all complete variable sets required in the compilation of the independent assertion; all complete variable sets are traversed to obtain all variable sets of the entire system, each complete variable set corresponds to a Boolean expression as a fault path, and a fault tree is generated; Step 6: Based on the generated fault tree, evaluate the system safety.
2. A system safety assessment method based on automatic generation of model fault trees as claimed in claim 1, Features: In step 1, the system is defined as a five-tuple G in the flattened GTS model.<V,E,T,A,ι> , use this quintuple to describe the current system model, where variable V and assignment ι are used to describe the state of the current system, assignment ι represents the value of the variable, event E describes the events that may occur in the system in the current state, transition T is a supplement to event E, used to describe the changes that the system will make after event E occurs, assertion A is the variable state that the current system needs to satisfy; divide the model into five sets according to the meaning of each set of the quintuple, and fill them with an entity object of the GTS model.
3. A system safety assessment method based on automatic generation of model fault trees as claimed in claim 1, Features: The system described is a simple water supply system to cool the reactor.
Citation Information
Patent Citations
SysML-oriented system security analysis method and device
CN110502808A
System fault tree automatic generation method based on AltaRica
CN110716819A
