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

libopenfastlib.dll Function #2557

Open
wkdanqu1 opened this issue Dec 12, 2024 · 1 comment
Open

libopenfastlib.dll Function #2557

wkdanqu1 opened this issue Dec 12, 2024 · 1 comment

Comments

@wkdanqu1
Copy link

Hello Professors,

I found this subroutine 'FAST_SetExternalInputs' in FAST_Library.f90. Could I use this subroutine to change specified input parameters in ServoDyn at each time step?

If the above method is feasible, could I also use it to modify input parameters for AeroDyn at each time step?

Thank you for your help,
Best Regards,
Jesse

@jjonkman
Copy link
Collaborator

Dear @wkdanqu1,

SUBROUTINE FAST_SetExternalInputs() of FAST_Library.f90 is used to transfer inputs to the OpenFAST S-Function from Simulink to ServoDyn. These data (generator torque, blade pitch, etc.) are normally outputs calculated within ServoDyn, but this routine allows these data to be calculated within Simulink.

I'm not sure what AeroDyn "input parameters" are you referring to, but a source code change would be required if you wanted Simulink to calculate other variables normally set within OpenFAST.

Best regards,

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

No branches or pull requests

2 participants