Skip to content

Conversation

@ttran18
Copy link
Contributor

@ttran18 ttran18 commented May 27, 2025

@MShabara I did modify the cableClass.m to correct a cable pretension calculation. This modification is only for the cable tension input whereas the cable length input was good to calculate the cable tension output.

@kmruehl kmruehl added Cable Class Cable Class (cableClass.m) Bug bug in WEC-Sim source, high priority labels May 28, 2025
@kmruehl
Copy link
Collaborator

kmruehl commented May 28, 2025

If this is a bug it should go into main, instead of dev

@ttran18
Copy link
Contributor Author

ttran18 commented May 28, 2025

Hi Kelley,

I think it was a bug. You could see the comparison in the following plots.
image
image

Happy to merge to main branch as recommended.

BRs,
Toan

@kmruehl
Copy link
Collaborator

kmruehl commented May 28, 2025

Thanks @ttran18! @dforbush2 has offered to review this PR. In the meantime can you amend this PR to go into main? You should just be able to modify the base, without opening a new PR

@dforbush2
Copy link
Contributor

I will merge this to dev, then create an identical PR into master. Thank you @ttran18 for catching this!!

@dforbush2 dforbush2 merged commit afeb73d into WEC-Sim:dev May 30, 2025
2 of 10 checks passed
@dforbush2 dforbush2 mentioned this pull request May 30, 2025
@kmruehl
Copy link
Collaborator

kmruehl commented May 30, 2025

Thank you very much @ttran18

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

Labels

Bug bug in WEC-Sim source, high priority Cable Class Cable Class (cableClass.m)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants