Skip to content

Conversation

@jtgrasb
Copy link
Contributor

@jtgrasb jtgrasb commented Jan 30, 2024

This PR goes along with WEC-Sim PR#1212 to update the RM3 MoorDyn examples to be compatible with the new v2 capabilities and format. This includes updating both the Mooring/MoorDyn example and the Paraview_Visualization\RM3_MoorDyn_Viz example.

@H0R5E
Copy link
Contributor

H0R5E commented Feb 14, 2024

@jtgrasb, I added the Mooring folder into the Windows tests today, which is why this PR is failing now. I tried to merge in the changes on the dev branch, but that didn't help (maybe made it worse?).

The errors it's throwing are:

Failed to find 'WECSim_Lib_Moorings/MoorDynCaller' in library 'WECSim_Lib_Moorings' referenced by 'RM3MoorDyn/MoorDynCaller'
Failed to find 'WECSim_Lib_Moorings/MoorDynConnection' in library 'WECSim_Lib_Moorings' referenced by 'RM3MoorDyn/MoorDynConnection'

The test is working on the dev branch, so I'm not sure what has happened here, Sorry.

@jtgrasb
Copy link
Contributor Author

jtgrasb commented Feb 21, 2024

@H0R5E Thanks for adding the MoorDyn folder to the tests. This PR goes along with some updates to the Mooring Library in WEC-Sim which aren't merged yet, so it is expected that the mooring tests will fail until that PR is merged into dev

@H0R5E
Copy link
Contributor

H0R5E commented Feb 22, 2024

@jtgrasb

it is expected that the mooring tests will fail until that PR is merged into dev

Thanks for the heads up!

@jtgrasb
Copy link
Contributor Author

jtgrasb commented Mar 20, 2024

@dav-og I've attached a zip file with the results from the old version. You can use it to compare to the new version.

As for the testing, the tests are already set up to load in the MoorDyn repository to run the applications case. One thing that will need to be addressed at some point is the operating system we test it on (MD has different files for windows, linux, and mac), but I think this can be revisited with all the rest of the tests.

WS+MDv1_res.zip

@dav-og
Copy link
Contributor

dav-og commented Mar 20, 2024

Awesome! Thanks Jeff! 👍

@jtgrasb jtgrasb merged commit a7dbd2f into WEC-Sim:dev May 29, 2024
@Student-hub-svg
Copy link

Hello, I encountered the following error when running the latest version of WEC-Sim_Applications\Mooring\MoorDyn in MATLAB: Could you provide detailed step-by-step instructions to run it correctly?

Failed to find 'WECSim_Lib_Moorings/MoorDynCaller' in library 'WECSim_Lib_Moorings' referenced by 'RM3MoorDyn/MoorDynCaller'
Failed to find 'WECSim_Lib_Moorings/MoorDynConnection' in library 'WECSim_Lib_Moorings' referenced by 'RM3MoorDyn/MoorDynConnection'

@jtgrasb
Copy link
Contributor Author

jtgrasb commented Dec 8, 2025

@Student-hub-svg Please make sure your WEC-Sim/WEC-Sim version is updated to the latest version. Then, make sure MATLAB and Simulink are refreshed to reload the Mooring library. This should ensure the model finds the new blocks.

@Student-hub-svg
Copy link

I'm currently using the latest version of WECSim, with MATLAB R2023b. I've also installed Moordyn-2.4.0-win64.exe into WEC-Sim\source\functions\MoorDyn. However, when I run wecSim under WEC-Sim_Applications\Mooring\MoorDyn, those two errors still pop up. Is there any way to fix this? @jtgrasb

@jtgrasb
Copy link
Contributor Author

jtgrasb commented Dec 15, 2025

@Student-hub-svg The issue you're having is with the Mooring library in WEC-Sim. I would recommend opening the library file (source/lib/WEC-Sim/WECSim_Lib_Moorings.slx) and making sure you see the two blocks MoorDynCaller and MoorDynConnection. If you don't see these two blocks, the library needs to be replaced with the latest version. If you do see these two blocks and still get this issue, than for some reason Simulink is not loading them correctly. If you're still getting this issue please create a new issue and attach a zip with your WEC-Sim setup.

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

Successfully merging this pull request may close these issues.

4 participants