WEIS icon indicating copy to clipboard operation
WEIS copied to clipboard

Speed up examples/tests

Open dzalkind opened this issue 2 days ago • 0 comments

Purpose

Speed up the CI in WEIS.

I have made several changes to the examples that speed things up nicely, but compromise the modeling and take more effort to translate into fully functional examples.

I propose collecting these changes and introducing an example "test mode" that

  • Reduces the number of optimization iterations
  • Reduces the number of DLC runs
  • Speeds up OpenFAST execution
  • Reduces the size of created Cp surfaces
  • Any other speed improvements we add here in the interim

I'm open to feedback on the idea but figured I would start the process.

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)
  • [ ] 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

Explain the steps needed to test the new code to verify that it does indeed address the issue and produce the expected behavior.

Checklist

Put an x in the boxes that apply.

  • [ ] I have run existing tests which pass locally with my changes
  • [ ] I have added new tests or examples that prove my fix is effective or that my feature works
  • [ ] I have added necessary documentation

dzalkind avatar Feb 26 '25 19:02 dzalkind