Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Initial value time marching solution for optimzation solution. #251

Open
dtgaebe opened this issue Jun 29, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@dtgaebe
Copy link
Collaborator

dtgaebe commented Jun 29, 2023

Feature description.
Having an initial value problem module that uses numeric integration to solve the dynamics for a fixed design case.

Issue addressed.
For verification and debugging purposes it would be desirable to have an interface that uses the wecopttool inputs and outputs and simulate the dynamics with a time marching solver. The FFT of the IVP-TD in comparison with the wot residuals should be able to tell us if the solution is valid.

Describe the solution you'd like
Ideally the user would run a wecopttool case results=wec.solve() and call the a method (for example like wot.wec_ivp_td(results, wec)), to simulate the WEC dynamics with e.g. RK45.
This might require extracting the initial conditions from the results and recasting the nonlinear ODEs into the formate required by the numeric integration.

@ryancoe ryancoe added the enhancement New feature or request label Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants