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

Fix Time-Step Delay in Super Controller within FAST.Farm #1107

Merged
merged 1 commit into from
Apr 29, 2022

Conversation

jjonkman
Copy link
Collaborator

This PR is ready to be merged.

Feature or improvement description
The transfer within FAST.Farm of to_SC, which is an output from OpenFAST and an input to the super controller, previously happened after the call to the super controller CalcOutput, which caused a one time-step delay. This change moves the transfer before the call to super controller CalcOutput to eliminate the delay. The original implementation correctly followed the FAST.Farm glue code implementation plan, but it is unclear why the plan was written this way. The FAST.Farm user documentation in readthedocs is already consistent with this change, so, the implementation and user documentation are now consistent.

Related issue, if one exists
This issue was discussed in Dec '21 on our forum: https://forums.nrel.gov/t/super-controller-link-with-turbine-controller/2587/19.

Impacted areas of the software
FAST.Farm glue code

Additional supporting information

Test results, if applicable
The super controller is not currently tested.

The transfer within FAST.Farm of to_SC, which is an output from OpenFAST and an input to the super controller, previously happened after the call to the super controller CalcOutput, which caused a one time-step delay. This change moves the transfer before the call to super controller CalcOutput to eliminate the delay. The original implementation correctly followed the FAST.Farm glue code implementation plan, but it is unclear why the plan was written this way. The FAST.Farm user documentation in readthedocs is already consistent with this change, so, the implementation and user documentation are now consistent.  This issue was discussed in Dec '21 on our forum: https://forums.nrel.gov/t/super-controller-link-with-turbine-controller/2587/19.
@andrew-platt andrew-platt self-requested a review April 29, 2022 20:32
@andrew-platt andrew-platt merged commit f0463e9 into OpenFAST:dev Apr 29, 2022
@rafmudaf rafmudaf mentioned this pull request Jul 8, 2022
10 tasks
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