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

Imaginary powers when running with optimal stiffness/damping for each sea state #38

Open
rebeccamccabe opened this issue Aug 2, 2023 · 1 comment

Comments

@rebeccamccabe
Copy link
Collaborator

image
Graph generated from @MadisonDietrich 's commit c549142 using run_single.m. Left image is with normal non-optimal stiffness/damping, and right is with the new optimal stiffness/damping. The optimal setting generates about twice as much average power but there are still some sea states (like the one highlighted in the figure) which actually produce less power in the optimal setting.

@rebeccamccabe
Copy link
Collaborator Author

I don't get any errors when running gradient_optim.m. When running test cases, it encounters the imaginary power after it attempts a wider tolerance on the multiplier (up to 1.001, see line 19 of pick_which_root.m), during the parameter sweep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant