FailureModelParameters
R2026bDescription
FailureModelParameters objects represent the parameters of a failure model
in Safety Analysis Manager fault tree document events. Use
FailureModelParameters objects to specify how the failure model calculates the
unavailability and failure frequency at the event.
Creation
To create a FailureModelParameters object, get the Parameters
property of a FailureModel object.
Properties
This property is read-only.
Unavailability of the event, represented as a Parameter
object.
Dependencies
To use this property, set the Type property of the containing
FailureModel object to "constant".
This property is read-only.
Event frequency, represented as a Parameter object.
Dependencies
To use this property, set the Type property of the containing
FailureModel object to "constant".
This property is read-only.
Failure rate associated with the event, represented as a Parameter
object.
Dependencies
To use this property, set the Type property of the containing
FailureModel object to "rate",
"time-at-risk", or "dormant".
This property is read-only.
Repair rate associated with the event, represented as a Parameter
object.
Dependencies
To use this property, set the Type property of the containing
FailureModel object to "rate".
Event exposure time, represented as a Parameter object.
Dependencies
To use this property, set the Type property of the containing
FailureModel object to "time-at-risk".
This property is read-only.
Mean time to failure of the event, represented as a Parameter
object.
Dependencies
To use this property, set the Type property of the containing
FailureModel object to "mttf".
This property is read-only.
Mean time to repair of the event, represented as a Parameter
object.
Dependencies
To use this property, set the Type property of the containing
FailureModel object to "mttf" or
"dormant".
This property is read-only.
Inspection interval of the artifact that contains the event, represented as a
Parameter object.
Dependencies
To use this property, set the Type property of the containing
FailureModel object to "dormant".
Whether the event is active, specified as a numeric or logical 0
(false) or 1 (true), a
string scalar, or character vector.
Use a string scalar or character vector to define the status based on the value of a MATLAB® expression. Use variables defined in the base workspace. If you define an expression, the expression must evaluate to a scalar value of data type logical.
Example: myParams.Active = 1 activates the event.
Example: myParams.Active = "x > 3" activates the event if the base
workspace variable x is greater than
3.
Dependencies
To use this property, set the Type property of the containing
FailureModel object to "logical".
Data Types: logical | char | string
Examples
Create a fault tree document in the Safety Analysis Manager and retrieve
the FaultTree object.
myTreeDoc = safetyAnalysisMgr.newDocument("fault-tree");
myFaultTree = myTreeDoc.FaultTrees(1);Add two basic events to the tree.
myTopGate = myFaultTree.Gates(1); event1 = createEvent(myTopGate); event2 = createEvent(myTopGate);
Retrieve the failure model from event1.
myFailureModel = event1.FailureModel;
Retrieve the failure model parameters.
myFailureParameters = myFailureModel.Parameters;
Version History
Introduced in R2026b
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)