tudelft-datadrivencontrol / discon_simulink Goto Github PK
View Code? Open in Web Editor NEWTool to compile a Bladed style DLL controller from Simulink for use in OpenFAST or Bladed
License: MIT License
Tool to compile a Bladed style DLL controller from Simulink for use in OpenFAST or Bladed
License: MIT License
Hi everybody,
I'm working with Matlab/Simulink and OpenFAST. I have developed some controllers for the Offshore NREL 5 MW wind turbine such as FUZZY controllers. I'd like to obtain these controllers in DLL format with the generating code Compiler of Simulink. I'm interested in using the same generated controllers in OpenFAST independently.
I'm using the DISCON_Simulink library following the steps mentioned in the ReadMe file.
I'm focusing on this file: "discon_main.c" in particular in line 119
extern void __declspec(dllexport) __cdecl DISCON(float *avrSwap, int *aviFail, char *accInfile, char *avcOutname, char *avcMsg);
If I'm not wrong, this function is designed for exporting data to avrSwap in OpenFAST once you have integrated DISCON.DLL.
The problem is that once Simulink generate: .dll, .exp, .lib and a folder called Discon_rtw I search the function mentioned before and it's missing. I think that this could be the problem why I can't integrate the generated controllers in OpenFAST independently.
Is Simulink missing to include the function mentioned? Is there a way to check it?
Thank you for your response,
Javier Merino.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.