Skip to content

Releases: csdms/dakotathon

Isa component

07 Nov 23:08

Choose a tag to compare

Isa component Pre-release
Pre-release

Dakotathon is now a CSDMS component that can be called from PyMT in a WMT executor.

For example, here's how to perform a vector parameter study on the built-in Rosenbrock function through Dakotathon's BMI:

from pymt.components import VectorParameterStudy
from dakotathon.utils import configure_parameters


d = VectorParameterStudy()

parameters = {'analysis_driver': 'rosenbrock', 'interface': 'direct', 'descriptors': ['x1', 'x2'], 'initial_point': [-0.3, 0.2], 'final_point': [1.1, 1.3], 'response_descriptors': 'y1'}

dparameters, _ = configure_parameters(parameters)
d.setup('.', **dparameters)

d.initialize('dakota.yaml')
d.update()
d.finalize()

Here's the resulting dakota.dat file:

%eval_id interface             x1             x2             y1
       1     CSDMS           -0.3            0.2            2.9
       2     CSDMS          -0.02           0.42      18.646816
       3     CSDMS           0.26           0.64      33.311776
       4     CSDMS           0.54           0.86      32.519456
       5     CSDMS           0.82           1.08      16.646176
       6     CSDMS            1.1            1.3           0.82

Check the examples directory for other examples.

Incrementing to the future

22 Jul 22:25

Choose a tag to compare

Pre-release
Merge pull request #25 from csdms/mdpiper/update-bmi

Update bmi

2015 CSDMS annual meeting

25 May 20:39

Choose a tag to compare

Pre-release
Merge pull request #13 from mdpiper/master

Convert HydroTrend.write_tmpl_file to a static method