-
Hello everyone, I would ask about coupling OpenFAST with MATLAB. The purpose of this coupling is to use the optimization toolbox buit in matlab to optimize TMD (Tuned Mass Damper) parameters. Does anyone succeed to make this coupling ? Or is it possible to do it ? Thank you in advance. Best Regards, Riad |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Dear @relhamoud, I'm not fully sure I understand your question, but in general, I would say that OpenFAST is already coupled to MATLAB. OpenFAST supports a direct interface to MATLAB/Simulink so that the OpenFAST dynamic library can be called from Simulink through an S-Function: https://github.com/OpenFAST/openfast/tree/main/glue-codes/simulink. The executable of OpenFAST can also be called through the MATLAB workspace, e.g., see: https://github.com/OpenFAST/matlab-toolbox/blob/main/Utilities/runFAST.m. Best regards, |
Beta Was this translation helpful? Give feedback.
Dear @relhamoud
Regarding the TMD, it is not possible to dynamically change the parameters of the TMD (such as mass or stiffness) without changes to the source code. I would expect if you are optimizing the TMD, that you'd run separate simulations with different TMD parameters in the optimization loop.
I generally agree with your other comments. I would add that the MATLAB/Simulink interface to OpenFAST supports active control through Simulink of blade pitch, generator torque, nacelle-yaw, and the high-speed shaft brake. The MATLAB/Simulink interface to OpenFAST does not currently support active control of TMDs.
FYI: Considering your interest in optimization, I would suggest considering u…