Skip to content

SrvD: bugfix linearization of StC _dYdx was not using x_perturb#2942

Merged
andrew-platt merged 2 commits intoOpenFAST:rc-4.1.2from
andrew-platt:b/StC_lin
Aug 4, 2025
Merged

SrvD: bugfix linearization of StC _dYdx was not using x_perturb#2942
andrew-platt merged 2 commits intoOpenFAST:rc-4.1.2from
andrew-platt:b/StC_lin

Conversation

@andrew-platt
Copy link
Copy Markdown
Collaborator

Feature or improvement description
The linearization of ServoDyn structural controls was incorrectly calculating the dYdx terms. The perturbed values of continuous states, x, was not getting used in the StC_CalcOutput call which incorrectly would show no effect of continuous state perturbation on the outputs. This was reported by an external user through e-mail.

I have a vague memory of some discussion related to this, but don't recall the details now.

Related issue, if one exists
Unknown - simple search didn't reveal anything.

Impacted areas of the software
ServoDyn linearization when structural controls are used.

Additional supporting information
This error was reported through e-mail.

Test results, if applicable
The StC_test_OC4Semi_Linear_Nac and StC_test_OC4Semi_Linear_Tow cases will likely change slightly.

Copy link
Copy Markdown
Collaborator

@jjonkman jjonkman left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this bug! Makes sense to me!

@andrew-platt andrew-platt removed the request for review from deslaughter August 4, 2025 20:17
@andrew-platt
Copy link
Copy Markdown
Collaborator Author

andrew-platt commented Aug 4, 2025

  • update r-test with merge

@andrew-platt andrew-platt merged commit 4eeb7c1 into OpenFAST:rc-4.1.2 Aug 4, 2025
12 checks passed
@andrew-platt andrew-platt mentioned this pull request Aug 5, 2025
37 tasks
@andrew-platt andrew-platt deleted the b/StC_lin branch August 12, 2025 16:25
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.

2 participants