RAVEN is a flexible and multi-purpose probabilistic risk analysis, validation and uncertainty quantification, parameter optimization, model reduction and data knowledge-discovering framework.
In my monte carlo sampler, I had a distInit tag block, though it was not needed since I was not creating dependencies between parameters.
It is not clear in the manual that this block is only needed for n-dimensional arrays, so I left it in, expecting normal sampling from my uniform distribution
What did you see instead?
( 0.10 sec) SIMULATION : Message -> -- Beginning step MCrun of type: MultiRun --
( 0.10 sec) STEP MULTIRUN : Message -> Beginning initialization
( 0.10 sec) STEP MULTIRUN : DEBUG -> jobHandler initialized
( 0.10 sec) EnsembleModel : Message -> Model Execution list: construct_dispatch -> ARMA_price -> CashFlowPreP -> Cash_Flow
( 0.10 sec) EnsembleModel : Message -> EnsembleModel connections determined a linear system. Picard's iterations not activated!
( 0.10 sec) EnsembleModel : Message -> Specs of Graph Network represented by EnsembleModel:
( 0.10 sec) EnsembleModel : Message -> Graph Degree Sequence is : (1, 1, 1, 0)
( 0.10 sec) EnsembleModel : Message -> Graph Minimum/Maximum degree: (0, 1)
( 0.10 sec) EnsembleModel : Message -> Graph density/diameter : (0.5, 3)
( 0.10 sec) STEP MULTIRUN : DEBUG -> for the role Model the item of class EnsembleModel and name MyEnsemble has been initialized
( 0.10 sec) STEP MULTIRUN : DEBUG -> for the role Output the item of class PointSet and name MCoutput has been initialized
( 0.10 sec) MonteCarlo : Message -> No restart for MonteCarlo
Traceback (most recent call last):
File "/home/bakete/projects/hybrid/raven/framework/Driver.py", line 278, in
raven()
File "/home/bakete/projects/hybrid/raven/framework/Driver.py", line 231, in raven
simulation.run()
File "/home/bakete/projects/hybrid/raven/framework/Simulation.py", line 1051, in run
stepInstance.takeAstep(stepInputDict)
File "/home/bakete/projects/hybrid/raven/framework/Steps.py", line 235, in takeAstep
self._initializeStep(inDictionary)
File "/home/bakete/projects/hybrid/raven/framework/Steps.py", line 191, in _initializeStep
self._localInitializeStep(inDictionary)
File "/home/bakete/projects/hybrid/raven/framework/Steps.py", line 465, in _localInitializeStep
self._initializeSampler(inDictionary)
File "/home/bakete/projects/hybrid/raven/framework/Steps.py", line 448, in _initializeSampler
inDictionary[self.samplerType].initialize(**self._samplerInitDict)
File "/home/bakete/projects/hybrid/raven/framework/Samplers/Sampler.py", line 508, in initialize
self.distDict[temp].updateRNGParam(params)
AttributeError: 'Uniform' object has no attribute 'updateRNGParam'
Do you have a suggested fix for the development team?
Possibly update the manual and/or the error message to suggest that if you are not using n-dimensional arrays, that this block should not be included.
Please attach the input file(s) that generate this error. The simpler the input, the faster we can find the issue.
In my monte carlo sampler, I had a distInit tag block, though it was not needed since I was not creating dependencies between parameters.
It is not clear in the manual that this block is only needed for n-dimensional arrays, so I left it in, expecting normal sampling from my uniform distribution
What did you see instead?
( 0.10 sec) SIMULATION : Message -> -- Beginning step MCrun of type: MultiRun -- ( 0.10 sec) STEP MULTIRUN : Message -> Beginning initialization ( 0.10 sec) STEP MULTIRUN : DEBUG -> jobHandler initialized ( 0.10 sec) EnsembleModel : Message -> Model Execution list: construct_dispatch -> ARMA_price -> CashFlowPreP -> Cash_Flow ( 0.10 sec) EnsembleModel : Message -> EnsembleModel connections determined a linear system. Picard's iterations not activated! ( 0.10 sec) EnsembleModel : Message -> Specs of Graph Network represented by EnsembleModel: ( 0.10 sec) EnsembleModel : Message -> Graph Degree Sequence is : (1, 1, 1, 0) ( 0.10 sec) EnsembleModel : Message -> Graph Minimum/Maximum degree: (0, 1) ( 0.10 sec) EnsembleModel : Message -> Graph density/diameter : (0.5, 3) ( 0.10 sec) STEP MULTIRUN : DEBUG -> for the role Model the item of class EnsembleModel and name MyEnsemble has been initialized ( 0.10 sec) STEP MULTIRUN : DEBUG -> for the role Output the item of class PointSet and name MCoutput has been initialized ( 0.10 sec) MonteCarlo : Message -> No restart for MonteCarlo Traceback (most recent call last): File "/home/bakete/projects/hybrid/raven/framework/Driver.py", line 278, in
raven()
File "/home/bakete/projects/hybrid/raven/framework/Driver.py", line 231, in raven
simulation.run()
File "/home/bakete/projects/hybrid/raven/framework/Simulation.py", line 1051, in run
stepInstance.takeAstep(stepInputDict)
File "/home/bakete/projects/hybrid/raven/framework/Steps.py", line 235, in takeAstep
self._initializeStep(inDictionary)
File "/home/bakete/projects/hybrid/raven/framework/Steps.py", line 191, in _initializeStep
self._localInitializeStep(inDictionary)
File "/home/bakete/projects/hybrid/raven/framework/Steps.py", line 465, in _localInitializeStep
self._initializeSampler(inDictionary)
File "/home/bakete/projects/hybrid/raven/framework/Steps.py", line 448, in _initializeSampler
inDictionary[self.samplerType].initialize(**self._samplerInitDict)
File "/home/bakete/projects/hybrid/raven/framework/Samplers/Sampler.py", line 508, in initialize
self.distDict[temp].updateRNGParam(params)
AttributeError: 'Uniform' object has no attribute 'updateRNGParam'
Do you have a suggested fix for the development team?
Possibly update the manual and/or the error message to suggest that if you are not using n-dimensional arrays, that this block should not be included.
Please attach the input file(s) that generate this error. The simpler the input, the faster we can find the issue.
`
For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.
For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.