-
Notifications
You must be signed in to change notification settings - Fork 57
Update MoorDyn and Paraview examples to be compatible with new MoorDyn v2 format #57
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
Conversation
7760345 to
2125949
Compare
|
@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 The errors it's throwing are: The test is working on the |
|
@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 |
Thanks for the heads up! |
|
@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. |
|
Awesome! Thanks Jeff! 👍 |
|
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' |
|
@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. |
|
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 |
|
@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. |
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.