sandialabs / WecOptTool

WEC Design Optimization Toolbox
https://sandialabs.github.io/WecOptTool/
GNU General Public License v3.0
12 stars 20 forks source link

Phase Realizations Demo and Docs #315

Closed jtgrasb closed 2 months ago

jtgrasb commented 5 months ago

Description

This PR adds a demonstration of the selection of the frequency range, number of frequencies, and the number of irregular wave phase realizations to the end of the Pioneer tutorial. Related to #262 and #297. The three recommended processes can be summarized as follows:

One thing I have not addressed is using a structured controller (such as PI). When optimizing a PI controller across many phase realizations for a constrained system, the resulting gains are different across the different realizations. If the average PI gains were to be used, it would violate constraints for many of the realizations. This can be slightly improved by increasing the number of frequencies used (decreasing f1), but this does not resolve the issue. For now, I think it may be best to add a note in the docs to say something like PI gains should be tested in the time-domain to ensure constraints are met.

Type of PR

Checklist for PR

Additional details

coveralls commented 5 months ago

Pull Request Test Coverage Report for Build 8544755960

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Totals Coverage Status
Change from base Build 8540364958: 0.0%
Covered Lines: 2505
Relevant Lines: 2664

💛 - Coveralls
jtgrasb commented 3 months ago

I made the following updates to this PR: