romtools.workflows.dakota.dakota_coupler#
This module implements the class required to couple a model to Dakota. To couple to Dakota, a user should 1. Complete a Model class for their application of interest 2. Complete a driver script that instantiates the model and calls this coupler for use as the Dakota analysis driver
Functions
|
This function should be used in a driver script that will be called with |
- romtools.workflows.dakota.dakota_coupler.run_model_for_dakota(model, multifidelity_flag=False, add_core_time_metadata=False)[source]#
- This function should be used in a driver script that will be called with
python <driver.py> params.in results.out
by Dakota. The parameter space is built by parsing params.in, while the output QoI will be saved to results.out
- Parameters:
model (QoiModel) – rom-tools model instance (FOM or ROM)
multifidelity_flag (bool) – True if being used with Dakota’s multifidelity (MF) tools
add_core_time_metadata (bool) – True if computational cost should be included in QoI file Useful for MF UQ when model does not have a cost model.