Skip to content

Conversation

@akeeste
Copy link
Contributor

@akeeste akeeste commented May 15, 2025

This is a PR to start discussions about pulling in updates from the MOST source code into WEC-Sim.
@MOREnergylab @DavideIssoglio is MOST at a point where we can pull updates into WEC-Sim?

TODO

  • update documentation
    • changes to windTurbineClass and windClass
    • In docs, define MOST before using
    • Release notes for MOST v2.0
    • New citation --> not yet. MOST team will update docs after the release

@akeeste
Copy link
Contributor Author

akeeste commented May 15, 2025

This PR has not been reviewed or revised, but changes should now be limited to new updates in MOREnergyLab/WEC-_Sim_MOST while maintaining current WEC-Sim source changes

@kmruehl kmruehl added the MOST updates related to the MOST software label May 15, 2025
@kmruehl kmruehl assigned jtgrasb and unassigned jtgrasb May 28, 2025
@kmruehl kmruehl requested a review from MShabara May 28, 2025 14:45
@akeeste
Copy link
Contributor Author

akeeste commented May 28, 2025

@akeeste also reviewing. Can't tag since it's from my branch

@akeeste akeeste marked this pull request as ready for review July 1, 2025 18:27
Copy link
Contributor Author

@akeeste akeeste left a comment

Choose a reason for hiding this comment

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

@MShabara I finished my initial review. I think there's a couple things for us to update on the mooringClass. There's possible but functionally unnecessary refactoring we could do on the MOST source as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Generally there is some light refactoring that we could do here to make it fit with WEC-Sim source better. It's a very small class so it's not much effort, but it may be worth leaving it as since it falls under MOST team maintenance

Copy link
Contributor

Choose a reason for hiding this comment

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

At the time of writing this class not much attention was paid to respecting the style of the other WEC-Sim classes, your corrections to make them fit better with WEC-Sim source are therefore appreciated, thank you.

@akeeste
Copy link
Contributor Author

akeeste commented Jul 2, 2025

Thank you for the comments @DavideIssoglio! It is much appreciated. I'll finish up some changes based on your comments. Please let me know if I missed any changes related to MOST. There was a lot to combine with the other changes in WEC-Sim's source

@akeeste
Copy link
Contributor Author

akeeste commented Jul 17, 2025

One of the last things I'm doing on this PR is to run the MOST examples https://github.com/MOREnergylab/MOST/tree/master/Examples and ensure they are all working

  • 2Turbines
  • HybridSpar
  • VolturnUS

@akeeste
Copy link
Contributor Author

akeeste commented Jul 23, 2025

I'm working through one more issues with the new nonlinearstatic mooring option. Hopefully I can figure that out quickly

@akeeste
Copy link
Contributor Author

akeeste commented Jul 24, 2025

Thank you very much @jtgrasb for helping fix the last bug I created in the mooring refactoring. With a few corresponding changes to input files (below), the three cases https://github.com/MOREnergylab/MOST/tree/master/Examples run successfully!

@DavideIssoglio Required changes to the linked examples to make them run:

  • for mooring look up tables:
    • the lookup table data file should only contain one struct
    • specify file extension when defining the lookup table data file
    • add mooring(1).lookupTableFlag=1; to the input file
  • for the nonlinear static mooring method
    • add flag=1 to the mooring.nonlinearStaticData definition in the input file
    • mooring.nonlinearStaticData.linear_air_mass to mooring.nonlinearStaticData.linearAirMass
    • mooring.nonlinearStaticData.number_lines to mooring.nonlinearStaticData.nLines
    • in the block mask, define both mooring(i) and mooring(i).nonlinearStaticData
  • windClass
    • wind.ConstantWindFlag to wind.constantWindFlag
    • wind.v_time_breakpoints to wind.timeBreakpoints
    • wind.v_modules to wind.modules
    • wind.v_directions to wind.directions

@akeeste
Copy link
Contributor Author

akeeste commented Jul 28, 2025

I updated the release notes with more detail. Merging once the tests pass

@akeeste akeeste merged commit 5b3f21b into WEC-Sim:dev Jul 28, 2025
10 checks passed
MShabara pushed a commit that referenced this pull request Aug 9, 2025
* Add back moordyn blocks

* Add MoorDyn Caller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MOST updates related to the MOST software

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants