WEIS
WEIS copied to clipboard
RAFT DOE to create Surrogate Model (updated)
Purpose
This draft PR is to implement streamlined process of creating surrogate model out of design of experiment runs within runWEIS code. The reason for training surrogate model is to use in design coupling analysis, and ultimately in the Formulation Tool for WEIS (FTW) being developed by UIUC and U of Memphis.
The whole process is completely parallelized using MPI, so running DOE, processing recorder files, and training surrogate models can be done in any MPI-based parallel environment, including HPC.
PR#300 has an unexpected abrupt merge, so this new PR is created not to include unnecessary complications.
Type of change
What types of change is it? Select the appropriate type(s) that describe this PR
- [ ] Bugfix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (non-backwards-compatible fix or feature)
- [ ] Code style update (formatting, renaming)
- [ ] Refactoring (no functional changes, no API changes)
- [ ] Documentation update
- [ ] Maintenance update
- [ ] Other (please describe)
Testing
In example 15 directory, run
python weis_driver_level1_doe.py
or if MPI is available, run
mpirun -np [number_of_cores] python weis_driver_level1_doe.py
or if under HPC environment, run slurm script.
Checklist
Put an x in the boxes that apply.
- [ ] I have run existing tests which pass locally with my changes
- [X] I have added new tests or examples that prove my fix is effective or that my feature works
- [ ] I have added necessary documentation