WSMModelReliability

WSMModelReliability["mmodel"]
retrieves the lifetime distribution for mmodel.

WSMModelReliability["mmodel","Components"]
gives a list of components in ReliabilityDistribution or FailureDistribution.

WSMModelReliability["mmodel","ComponentRules"]
gives a list of translation rules for components.

DetailsDetails

  • The reliability for a system is the probability that it functions correctly at time t. The reliability for a whole system depends on the reliability of its components. WSMModelReliability automatically computes the distribution for the system reliability from its component reliability distributions.
  • The output from WSMModelReliability can be used with functions such as:
  • Meanmean time to failure of system
    SurvivalFunctionprobability of system functioning at time t
    HazardFunctionfailure rate at time t, given that the system is working
    RandomVariatesimulate system lifetimes
  • The reliability information for models can be edited in SystemModeler Model Center.
  • "mmodel" refers to the fully qualified Modelica name. The shortest unique model name mmodel can be used where WSMNames["*.mmodel"] gives a unique match.
  • WSMModelReliability["mmodel"] may return the system reliability using ReliabilityDistribution or FailureDistribution.

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Load Wolfram SystemModeler Link:

In[1]:=
Click for copyable input

Retrieve the lifetime distribution for a model, in this case a ReliabilityDistribution:

In[1]:=
Click for copyable input
Out[1]=

Retrieve the lifetime distribution for a model:

In[1]:=
Click for copyable input

Plot the survival function to see the likelihood a system works after a certain time:

In[2]:=
Click for copyable input
Out[2]=

Component names from the model are shortened:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Retrieve rules that show the mapping to the original names from the model:

In[3]:=
Click for copyable input
Out[3]=