AnalyticalResult¶

class
AnalyticalResult
(*args)¶ Analytical result.
 Available constructors:
AnalyticalResult(designPoint, limitStateVariable, isInFailureSpace)
 Parameters
 designPointsequence of float
Design point in the standard space resulting from the optimization algorithm.
 limitStateVariable
RandomVector
Event of which the probability is calculated.
 isInFailureSpacebool
Indicates whether the origin of the standard space is in the failure space.
Notes
Structure created by the method run() of the
Analytical
class and obtained thanks to its method getAnalyticalResult().Methods
Draw the sensitivity of the Hasofer Reliability Index.
drawImportanceFactors
(self, \*args)Draw the importance factors.
getClassName
(self)Accessor to the object’s name.
Accessor to the Hasofer Reliability Index.
Accessor to the sensitivities of the Hasofer Reliability Index.
getId
(self)Accessor to the object’s id.
getImportanceFactors
(self, \*args)Accessor to the importance factors.
Accessor to know if the standard point origin is in the failure space.
getLimitStateVariable
(self)Accessor to the event of which the probability is calculated.
Accessor to the mean point in the standard event domain.
getName
(self)Accessor to the object’s name.
getOptimizationResult
(self)Accessor to the result of the optimization problem.
Accessor to the design point in the physical space.
getShadowedId
(self)Accessor to the object’s shadowed id.
Accessor to the design point in the standard space.
getVisibility
(self)Accessor to the object’s visibility state.
hasName
(self)Test if the object is named.
hasVisibleName
(self)Test if the object has a distinguishable name.
Accessor to specify if the standard point origin is in the failure space.
setMeanPointInStandardEventDomain
(self, …)Accessor to the mean point in the standard event domain.
setName
(self, name)Accessor to the object’s name.
setOptimizationResult
(self, optimizationResult)Accessor to the result of the optimization problem.
setShadowedId
(self, id)Accessor to the object’s shadowed id.
setStandardSpaceDesignPoint
(self, …)Accessor to the design point in the standard space.
setVisibility
(self, visible)Accessor to the object’s visibility state.

__init__
(self, \*args)¶ Initialize self. See help(type(self)) for accurate signature.

drawHasoferReliabilityIndexSensitivity
(self, \*args)¶ Draw the sensitivity of the Hasofer Reliability Index.
 Parameters
 widthfloat, optional
Value to calculate the shift position of the
BarPlot
. By default it is 1.0.
 Returns
 graphCollectionsequence of two
Graph
containing a barplot The first graph drawing the sensitivity of the Hasofer Reliability Index to the parameters of the marginals of the probabilistic input vector. The second graph drawing the sensitivity of the Hasofer Reliability Index to the parameters of the dependence structure of the probabilistic input vector.
 graphCollectionsequence of two

drawImportanceFactors
(self, \*args)¶ Draw the importance factors.
 Parameters
 typeint, optional
 Returns
 graph
Graph
Pie of the importance factors of the probabilistic variables.
 graph

getClassName
(self)¶ Accessor to the object’s name.
 Returns
 class_namestr
The object class name (object.__class__.__name__).

getHasoferReliabilityIndex
(self)¶ Accessor to the Hasofer Reliability Index.
 Returns
 indexfloat
Hasofer Reliability Index which is the distance of the design point from the origin of the standard space .

getHasoferReliabilityIndexSensitivity
(self)¶ Accessor to the sensitivities of the Hasofer Reliability Index.
Refer to Sensitivity Factors from FORM method.
 Returns
 sensitivity
PointWithDescription
Sequence containing the sensitivities of the Hasofer Reliability Index to the parameters of the probabilistic input vector (marginals and dependence structure) with a description for each component.
 sensitivity

getId
(self)¶ Accessor to the object’s id.
 Returns
 idint
Internal unique identifier.

getImportanceFactors
(self, \*args)¶ Accessor to the importance factors.
Refer Importance factors from FORM method.
 Parameters
 typeint, optional
When ot.AnalyticalResult.ELLIPTICAL, the importance factors are evaluated as the square of the cofactors of the design point in the elliptical space of the isoprobabilistic transformation (Yspace).
When ot.AnalyticalResult.CLASSICAL they are evaluated as the square of the cofactors of the design point in the Uspace.
When ot.AnalyticalResult.PHYSICAL, the importance factors are evaluated as the square of the physical sensitivities.
By default type = ot.AnalyticalResult.ELLIPTICAL.
 Returns
 factors
PointWithDescription
Sequence containing the importance factors with a description for each component.
 factors
Notes
If the importance factors are evaluated as the square of the cofactors of the design point in the Uspace :
If the importance factors are evaluated as the square of the cofactors of the design point in the Yspace :
where
with is the design point in the physical space and the univariate standard CDF of the elliptical space. In the case where the input distribution of has an elliptical copula , then has the same type as . In the case where the input distribution of has a copula which is not elliptical, then where is the CDF of the standard normal.
If the importance factors are evaluated as the square of the physical sensitivities :
where

getIsStandardPointOriginInFailureSpace
(self)¶ Accessor to know if the standard point origin is in the failure space.
 Returns
 isInFailureSpacebool
Indicates whether the origin of the standard space is in the failure space.

getLimitStateVariable
(self)¶ Accessor to the event of which the probability is calculated.
 Returns
 limitStateVariable
RandomVector
Event of which the probability is calculated.
 limitStateVariable

getMeanPointInStandardEventDomain
(self)¶ Accessor to the mean point in the standard event domain.
 Returns
 meanPoint
Point
Mean point of the standard space distribution restricted to the event domain: where is the spheric univariate distribution of the standard space and the reliability index.
 meanPoint

getName
(self)¶ Accessor to the object’s name.
 Returns
 namestr
The name of the object.

getOptimizationResult
(self)¶ Accessor to the result of the optimization problem.
 Returns
 result
OptimizationResult
Contains the design point in the standard space and information concerning the convergence of the optimization algorithm.
 result

getPhysicalSpaceDesignPoint
(self)¶ Accessor to the design point in the physical space.
 Returns
 designPoint
Point
Design point in the physical space resulting from the optimization algorithm.
 designPoint

getShadowedId
(self)¶ Accessor to the object’s shadowed id.
 Returns
 idint
Internal unique identifier.

getStandardSpaceDesignPoint
(self)¶ Accessor to the design point in the standard space.
 Returns
 designPoint
Point
Design point in the standard space resulting from the optimization algorithm.
 designPoint

getVisibility
(self)¶ Accessor to the object’s visibility state.
 Returns
 visiblebool
Visibility flag.

hasName
(self)¶ Test if the object is named.
 Returns
 hasNamebool
True if the name is not empty.

hasVisibleName
(self)¶ Test if the object has a distinguishable name.
 Returns
 hasVisibleNamebool
True if the name is not empty and not the default one.

setIsStandardPointOriginInFailureSpace
(self, isStandardPointOriginInFailureSpace)¶ Accessor to specify if the standard point origin is in the failure space.
 Parameters
 isInFailureSpacebool
Indicates whether the origin of the standard space is in the failure space.

setMeanPointInStandardEventDomain
(self, meanPointInStandardEventDomain)¶ Accessor to the mean point in the standard event domain.
 Parameters
 meanPointsequence of float
Mean point of the standard space distribution restricted to the event domain: where is the spheric univariate distribution of the standard space and the reliability index.

setName
(self, name)¶ Accessor to the object’s name.
 Parameters
 namestr
The name of the object.

setOptimizationResult
(self, optimizationResult)¶ Accessor to the result of the optimization problem.
 Parameters
 result
OptimizationResult
Contains the design point in the standard space and information concerning the convergence of the optimization algorithm.
 result

setShadowedId
(self, id)¶ Accessor to the object’s shadowed id.
 Parameters
 idint
Internal unique identifier.

setStandardSpaceDesignPoint
(self, standardSpaceDesignPoint)¶ Accessor to the design point in the standard space.
 Parameters
 designPointsequence of float
Design point in the standard space resulting from the optimization algorithm.

setVisibility
(self, visible)¶ Accessor to the object’s visibility state.
 Parameters
 visiblebool
Visibility flag.