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

Floating OWC example using the two rigid body approach v2 #77

Open
wants to merge 12 commits into
base: dev
Choose a base branch
from

Conversation

MShabara
Copy link
Contributor

Adds Floating OWC example, the model includes the following:

Air Chamber Dynamics.
Generator Performance Curves.
Wells Turbine Dynamics and Performance Curves.
optimal control that maximizes the turbine's efficiency (TEM)

@MShabara
Copy link
Contributor Author

Hi @jleonqu

The test is failing because the the .gitignore rules preventing me from committing the .h5 file for test17a. I am unable to generate the necessary WAMIT output file due to a license issue at NREL.

Could you kindly assist by running the WAMIT simulation for test17a and providing the output file? Once generated, could you also add the file to the OWC old example in the repository?

@kmruehl kmruehl requested review from jleonqu and jtgrasb December 11, 2024 15:17
@kmruehl kmruehl assigned jleonqu and unassigned jleonqu and jtgrasb Dec 11, 2024
@jleonqu
Copy link
Contributor

jleonqu commented Dec 13, 2024

Hi @MShabara

The PR is passing the tests locally in my laptop, but for some reason it's not passing the tests here. I tried many different things to to fix this issue, but it persists. I edited the .gitignore file to upload the test17a.h5 file, and I also tried to use the original files from dev for the orificeModel example. Can you take a look to this problem? I run the tests locally in Matlab R2022b and Matlab 2023b with no issues.

@jtgrasb
Copy link
Contributor

jtgrasb commented Dec 13, 2024

@jleonqu It looks like its more of a GitHub Issue, and both the dev and main branch are failing the most recent checks too.

@H0R5E do you have any ideas why these are failing again? Perhaps related to PR #75?

@jleonqu jleonqu assigned jtgrasb and unassigned jleonqu Dec 13, 2024
@H0R5E
Copy link
Contributor

H0R5E commented Dec 16, 2024

@H0R5E do you have any ideas why these are failing again? Perhaps related to PR #75?

Hi @jtgrasb, it looks like the products.txt file has been moved to the wrong location. This is required for selecting the toolboxes to be installed, and it should be at the top level of the test directory, i.e. OWC/products.txt.

If you move this up a level, it should start working, unless additional toolboxes are needed.

FYI, I'm not maintaining this repo at the moment, so you should probably ping @akeeste or @kmruehl next time.

Hope that helps,

Mat

@H0R5E
Copy link
Contributor

H0R5E commented Dec 16, 2024

@jtgrasb, you're also right that these tests are timing out on the dev branch. You might consider making a change to the workflows like this or just removing the timeout, entirely.

It was put there to avoid hung tests waiting for the default 6 hours to be cancelled, but I'm not sure if it's an issue any more.

@jtgrasb
Copy link
Contributor

jtgrasb commented Dec 16, 2024

@H0R5E Didn't realize you weren't still part of the maintainers. Thank you anyway for taking a look!

@jtgrasb
Copy link
Contributor

jtgrasb commented Dec 16, 2024

I removed the case which tests the mcr for the orifice because the tests were timing out here. @dforbush2 Is there a good reason to test your orifice model OWC case with MCR? It seems like it is superfluous since we already test the OWC and the MCR on their own.

@MShabara Can you move the testOWC.m script to the main OWC folder and test both the orifice model and the floating OWC?

@dforbush2
Copy link
Contributor

dforbush2 commented Dec 16, 2024 via email

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.

6 participants