You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* limit surface error bound
* Closes#1216
* added new requirement
* considering the number of points, the error bound can be at maximum accurate to 1e-3
* fixed perturbation
Copy file name to clipboardExpand all lines: doc/sqa/srs/requirements_list.xml
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,9 @@
97
97
<requirementid_code="R-RA-7">
98
98
<description>RAVEN shall be able to compute probability of failure based on generated data and goal functions</description>
99
99
</requirement>
100
+
<requirementid_code="R-RA-8">
101
+
<description>RAVEN shall be able to estimate the maximum (bounding) error in the computation of the probability of failure based on generated data and goal functions</description>
self.integralType='montecarlo'# integral type (which alg needs to be used). Either montecarlo or quadrature(quadrature not yet)
94
98
self.seed=20021986# seed for montecarlo
95
99
self.matrixDict= {} # dictionary of arrays and target
96
-
self.lowerUpperDict= {}
97
-
self.functionS=None
98
-
self.computationPrefix=None
100
+
self.computeErrrorBounds=False# compute the bounding error?
101
+
self.lowerUpperDict= {} # dictionary of lower and upper bounds (used if no distributions are inputted)
102
+
self.functionS=None# evaluation classifier for the integration
103
+
self.errorModel=None# classifier used for the error estimation
104
+
self.computationPrefix=None# output prefix for the storage of the probability and, if requested, bounding error
99
105
self.stat=BasicStatistics(self.messageHandler) # instantiation of the 'BasicStatistics' processor, which is used to compute the pb given montecarlo evaluations
self.raiseAnError(NameError, 'either a distribution name or lowerBound and upperBound need to be specified for variable '+varName)
169
-
ifself.computationPrefix==None:
177
+
ifself.computationPrefixisNone:
170
178
self.raiseAnError(IOError,'The required XML node <outputName> has not been inputted!!!')
171
-
ifself.target==None:
179
+
ifself.targetisNone:
172
180
self.raiseAWarning('integral target has not been provided. The postprocessor is going to take the last output it finds in the provided limitsurface!!!')
0 commit comments