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

Application fixes #80

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Application fixes #80

wants to merge 13 commits into from

Conversation

akeeste
Copy link
Contributor

@akeeste akeeste commented Jan 16, 2025

Tied to and should be merged after WEC-Sim/WEC-Sim#1401.
Fixes WEC-Sim/WEC-Sim#1400

@akeeste
Copy link
Contributor Author

akeeste commented Jan 23, 2025

@jtgrasb the moordyn test is now passing here too! The mooring matrix case is what fails the mooring test now

@akeeste
Copy link
Contributor Author

akeeste commented Jan 23, 2025

I ultimately chose to fix the passive yaw test by replacing the results that our regression test compares against because:

  • the passive yaw results are identical when using the previous linear interpolation instead of the current spline interpolation.
  • the current difference in results is extremely small. The regression test currently only allows a zero tolerance, which is likely more stringent than is warranted.
  • The spline vs linear interpolation in bodyClass.irrExcitation is the only source of difference, and we could argue this method is more accurate to interpolate against anyways

@dforbush2 Let me know if you disagree with this approach

comparison
zoomed_comparison

@dforbush2
Copy link
Contributor

dforbush2 commented Jan 23, 2025 via email

@akeeste akeeste requested a review from kmruehl January 29, 2025 15:26
@akeeste
Copy link
Contributor Author

akeeste commented Jan 29, 2025

@kmruehl assigning you for now since WEC-Sim/WEC-Sim#1401 is also assigned to you and it's for the same effort to resolve application bugs

@akeeste akeeste marked this pull request as ready for review February 5, 2025 16:33
@akeeste
Copy link
Contributor Author

akeeste commented Feb 5, 2025

@kmruehl this is ready for review

@akeeste
Copy link
Contributor Author

akeeste commented Feb 25, 2025

@kmruehl any updates on the review for this PR?

Copy link
Contributor

@kmruehl kmruehl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR looks good. I'm waiting for the tests to pass to merge.

@kmruehl
Copy link
Contributor

kmruehl commented Mar 1, 2025

@akeeste Mooring and Paraview tests are not yet passing, please work with @dforbush2 to resolve while I'm out.

@kmruehl kmruehl assigned dforbush2 and unassigned kmruehl Mar 1, 2025
@kmruehl kmruehl requested a review from dforbush2 March 1, 2025 05:21
@akeeste
Copy link
Contributor Author

akeeste commented Mar 6, 2025

The moordyn tests (mooring/moordyn and paraview/RM3) both fail sporadically, crashing MATLAB. The error is unintelligible and cannot be produced. Tests pass locally so I propose we just remove them and revisit those tests at a different time.

The Paraview/OSWEC accelerator build fails for some reason. I will dig into this again and hopefully get these tests finally working

@akeeste
Copy link
Contributor Author

akeeste commented Mar 6, 2025

@kmruehl what was the problem with the Paraview OSWEC slx file? It passed on R2023b but is failing now on R2024b. I get an warning that blocks were removed when it was exported from R2024a to R2023b (though it doesn't end up showing any for which that was the case). I don't have R2024b to test with.

@akeeste
Copy link
Contributor Author

akeeste commented Mar 6, 2025

@dforbush2 @kmruehl The runner is not working robustly. Paraview OSWEC works locally with R2024b. I propose we skip both paraview and moordyn tests for now so that we can finish the progress made here and move on.

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

Successfully merging this pull request may close these issues.

[BUG] Applications breaking.
3 participants