SORM¶
- class SORM(problem, nearestPointAlgorithm)¶
Methods
Accessor to the result.
Accessor to the object's name.
getEvent
()Accessor to the event of which the probability is calculated.
getName
()Accessor to the object's name.
Accessor to the optimization algorithm used to find the design point.
Accessor to the starting point of the optimization algorithm.
Accessor to the result of SORM.
hasName
()Test if the object is named.
run
()Evaluate the failure probability.
setEvent
(event)Accessor to the event of which the probability is calculated.
setName
(name)Accessor to the object's name.
setNearestPointAlgorithm
(solver)Accessor to the optimization algorithm used to find the design point.
setPhysicalStartingPoint
(physicalStartingPoint)Accessor to the starting point of the optimization algorithm.
setResult
(sormResult)Accessor to the result of SORM.
- __init__(problem, nearestPointAlgorithm)¶
Creates a SORM algorithm.
We create a SORM algorithm based on the problem event and the AbdoRackwitz optimization solver.
- Parameters:
- problemot.ReliabilityBenchmarkProblem
The problem.
- nearestPointAlgorithmot.OptimizationAlgorithm
Optimization algorithm used to search the design point.
- getAnalyticalResult()¶
Accessor to the result.
- Returns:
- result
AnalyticalResult
Result structure which contains the results of the optimisation problem.
- result
- getClassName()¶
Accessor to the object’s name.
- Returns:
- class_namestr
The object class name (object.__class__.__name__).
- getEvent()¶
Accessor to the event of which the probability is calculated.
- Returns:
- event
RandomVector
Event of which the probability is calculated.
- event
- getName()¶
Accessor to the object’s name.
- Returns:
- namestr
The name of the object.
- getNearestPointAlgorithm()¶
Accessor to the optimization algorithm used to find the design point.
- Returns:
- algorithm
OptimizationAlgorithm
Optimization algorithm used to research the design point.
- algorithm
- getPhysicalStartingPoint()¶
Accessor to the starting point of the optimization algorithm.
- Returns:
- point
Point
Starting point of the optimization algorithm, declared in the physical space.
- point
- getResult()¶
Accessor to the result of SORM.
- Returns:
- result
SORMResult
Structure containing all the results of the SORM analysis.
- result
- hasName()¶
Test if the object is named.
- Returns:
- hasNamebool
True if the name is not empty.
- run()¶
Evaluate the failure probability.
Notes
Evaluate the failure probability and create a
SORMResult
, the structure result which is accessible with the methodgetResult()
.
- setEvent(event)¶
Accessor to the event of which the probability is calculated.
- Parameters:
- event
RandomVector
Event of which the probability is calculated.
- event
- setName(name)¶
Accessor to the object’s name.
- Parameters:
- namestr
The name of the object.
- setNearestPointAlgorithm(solver)¶
Accessor to the optimization algorithm used to find the design point.
- Parameters:
- algorithm
OptimizationAlgorithm
Optimization algorithm used to research the design point.
- algorithm
- setPhysicalStartingPoint(physicalStartingPoint)¶
Accessor to the starting point of the optimization algorithm.
- Parameters:
- pointsequence of float
Starting point of the optimization algorithm, declared in the physical space.
- setResult(sormResult)¶
Accessor to the result of SORM.
- Parameters:
- result
SORMResult
Structure containing all the results of the SORM analysis.
- result