UserVSCont() routine

Hello,

I am trying to modify the control strategy of the 5MW wind turbine in FAST 7. To do so, I think that the best way is using the UserVSCont() routine (maybe the UserSubs.f90 file). However, I do not know how the program calls it and how I can modify it. I would be so grateful if you could help me.

Regards,

Iñaki

Dear Iñaki,

I’m assuming you are referring to the NREL 5-MW turbine. However, the baseline controller for this turbine is implemented as Bladed-style DLL named DISCON.dll. To modify the control strategy, you should change the corresponding controller source code, DISCON.f90, and recompile the DISCON.dll.

Best regards,

Dear Jason,

first of all, thank you for your fast answer. So, the program reads the DISCON.dll file , although the VSContrl flag is 2?

Regards,

Iñaki

Dear Iñaki,

If you are using the version of FAST v7 compiled with the interface to Bladed-style DLL controllers (e.g., available from here: nwtc.nrel.gov/system/files/FAST.pdf.

Best regards,

Dear Jason,

thank you very much for your help.

Regards,

Iñaki

Dear Jason,

now I am using FAST v7 compiled with the interface to Bladed-style DLL controllers, but the program still calls the Kirk Pierce’s routine and makes me set the GBRatio to 1 (and I want a GBRatio of 97). That means that it is not using DISCON.dll?

Regards,

Iñaki

Dear Iñaki,

If FAST is still calling Kirk Pierce’s variable-speed generator routine, than you are not using the FAST compiled with the Bladed DLL control interface. You should use FAST v7.02 from here: wind.nrel.gov/public/jjonkman/FA … erface.exe.

Best regards,

Dear Jason,

you were right, I was calling the “normal” version of FAST7. By the way, if I am using the FAST compiled with the Bladed DLL control interface, should the DISCON.dll file be in the same folder as the .fst file? And does its name have to be DISCON?

Regards,

Iñaki

Dear Iñaki,

Unless you change the source code, the Bladed-style DLL control interface in FAST v7.02 assumes the DLL is named DISCON.dll and located anywhere in the search path.

Best regards,

Dear Jason,

thank you for all your help.

Reagrds,

Iñaki