Dear all,
I want to run the ROSCO example. So I downloaded Intel® oneAPI HPC Toolkit, Intel® Essential Fortran, and CMake.
However, it looks like I need ifort.exe to compile the DISCON_OC3Hywind F90.
Can you please give me an advice? And also would like to know if the DISCON.dll file is neccessary to run ROSCO simulink model.
Thanks,
Hyeon
Dear @Hyeon.Cha,
You’ll only need to compile a DISCON controller if you are customizing the source code; are you?
You mention ROSCO, but also the DISCON_OC3Hywind controller, which are not the same thing. A precompiled version of the DISCON_OC3Hywind.dll for 64-bit Windows is available here: Releases · OpenFAST/openfast · GitHub. A precompiled version of the ROSCO DISCON DLL for 64-bit Windows (libdiscon.dll) is available here: Releases · NREL/ROSCO · GitHub. And when running the Simulink version of ROSCO, you don’t need the DISCON DLL version of ROSCO.
Best regards,
Dear Jonkman,
Thank you for the reply.
Sorry I should have mention clearly. I would like to customize the source code for libdiscon.dll and DISCON_OC3Hywind.dll
Best regards,
Hyeon
Dear Jonkman,
Thank you for the reply.
I was running the test controller.
Can you please tell me how to address this error?
Best regards,
Hyeon
Dear @Hyeon.Cha,
What do you mean by the “test controller”? Is this a controller you made yourself or did you download from somewhere?
Best regards,
Dear Jonkman,
I duplicated as 5MW baseline controller. How can I solve this error?
And I would like to ask is it okay to replace
this block to
and then set 0 constant for AirFoil command, Cable deltaL command, Cable deltaLdot command? because my fst and dat files are compatible with that one (7 inputs).
Or do you have 5MW baseline controller example file which has 7 inputs? I want to see how these three controllers were suppose to be set.
Best regards,
Hyeon
Dear @Hyeon.Cha,
Yes, you can set the values of the unused inputs to the Simulink OpenFAST S-Function block to zero.
Regarding your Simulink errors, the controller you are using is not provided by NREL, so, is not one we can support. I suggest debugging the issue yourself.
Best regards,