scram::core::ProbabilityAnalysis
Main quantitative analysis class.
#include <probability_analysis.h>
Inherits from scram::core::Analysis, boost::noncopyable
Inherited by scram::core::ProbabilityAnalyzerBase
Public Functions
| Name | |
|---|---|
| ProbabilityAnalysis(const FaultTreeAnalysis * fta, mef::MissionTime * mission_time)<br>Probability analysis with the results of qualitative analysis. | |
| virtual | ~ProbabilityAnalysis() =default |
| void | Analyze()<br>Performs quantitative analysis on the supplied fault tree. |
| double | p_total() const |
| const std::vector< std::pair< double, double > > & | p_time() const |
| const Sil & | sil() const |
Protected Functions
| Name | |
|---|---|
| mef::MissionTime & | mission_time() |
Additional inherited members
Public Functions inherited from scram::core::Analysis
| Name | |
|---|---|
| Analysis(Settings settings) | |
| virtual | ~Analysis() =0<br>Abstract class. |
| const Settings & | settings() const |
| const std::string & | warnings() const |
| double | analysis_time() const |
| void | AddAnalysisTime(double time)<br>Adds time to the total analysis time. |
| void | AddWarning(std::string msg)<br>Appends a warning message to the analysis warnings. |
| Settings & | settings() |
Public Functions Documentation
function ProbabilityAnalysis
ProbabilityAnalysis(
const FaultTreeAnalysis * fta,
mef::MissionTime * mission_time
)Probability analysis with the results of qualitative analysis.
Parameters:
- fta Fault tree analysis with results.
- mission_time The mission time expression of the model.
Precondition: The underlying fault tree must not have changed in any way since the fault tree analysis finished.
function ~ProbabilityAnalysis
virtual ~ProbabilityAnalysis() =defaultfunction Analyze
void Analyze()Performs quantitative analysis on the supplied fault tree.
Precondition: Analysis is called only once.
Postcondition: The mission time expression has its original value.
function p_total
inline double p_total() constReturn: The total probability calculated by the analysis.
Precondition: The analysis is done.
function p_time
inline const std::vector< std::pair< double, double > > & p_time() constReturn: The probability values over the mission time in time steps. The empty container implies no calculation has been done.
Precondition: The analysis is done.
function sil
inline const Sil & sil() constReturn: The Safety Integrity Level calculation results.
Precondition: The analysis is done with a request for the SIL.
Protected Functions Documentation
function mission_time
inline mef::MissionTime & mission_time()Return: The mission time expression of the model.
Updated on 2025-11-11 at 16:51:08 +0000
