Sampling + DOE Analysis #166
-
Hey everybody, Hence, it should be no big deal to start a sampling of my space first (lets say a hyper-cube sampling) which is followed by evaluating all points. All these points are feed into a DoE investigation and the evaluation starts. With the output of the DoE model new parameters are evaluated and depending on the settings I will get (after some iterations) a good final results. Should be actually straight forward. I do have the following Input file in which we can see the two methods:
What I am missing at the moment is how dakota executes the code. Sure, the code does not work as expected and I probably miss some other things but wasn´t there a "main-key" that handles which method is executed first (so the pointers)? I will search again inside the help because I know it it there. Probably I need some small break :) Anyway, if you want to anwer, feel free to do so. If I will find my solution, I will also report it back.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
Hey @thenectarine , may I ask why we need the |
Beta Was this translation helpful? Give feedback.
-
Method 'UQ' is required because it tells Dakota what to do, e.g. sampling, optimization, sensitivity analysis, etc. If 'UQ' is absent, then Dakota will not know what to do. Model 'UQ_M' takes inputs and returns outputs. If UQ_M is absent, Dakota won't have access to any outputs. Model UQ_M can point to one of many different models. Below are some options for the model, but are not the only options avaialble. Option A - The model can point directly to black box function, e.g.
Option B - The model can point to a surrogate model, which then requires training data that is provided by UQ_DACE.
For new users, I advise using option A just to get used to Dakota's workflow, then move on to option B. Option B is more complex, and due to limits on computational resources, option B is practical for 1-10 variables. If option B is the first example you saw, then you might be tempted to commit to option B, but option A is an acceptable alternative. I took the original example I provided, which used option B, and I reworked it so it uses option A. I did this to demonstrate that 'UQ' and 'UQ_M' are required, but UQ_DACE is optional.
|
Beta Was this translation helpful? Give feedback.
The example below builds a polynomial surrogate model, then an uncertainty quantification is performed by sampling the polynomial surrogate model. The original blackbox function is the textbook problem.
Here is a brief summary of what each block is doing.