Simulink Interface

Provide feedback, request enhancements, and get help with wind-turbine computer-aided engineering tools.

Moderators: Bonnie.Jonkman, Jason.Jonkman

Ana.Carrillo
Posts: 16
Joined: Thu Jan 13, 2011 2:53 am
Organization: self
Location: Spain

Simulink Interface

Postby Ana.Carrillo » Mon Apr 18, 2011 3:41 am

Good morning,

I,m working on FAST-Simulink the first time. I would like know if I have to click on Play button to run the example Simulink model OpenLoop.mdl every time that I open a MATLAB command window (as simsetup.m and as the name of FAST input file (.fst)) or only have to do it once.

Another question: FAST_SFunc.dll is the same than FAST_SFunc.mexw32? If this is not true, where is FAST_SFunc.dll?
And the last one: I think (after a reading on FAST User's Guide) that the model Test01_SIG.mdl also has to be for getting the interface works correctly, but could anyone confirm it?

Thanks you

Jason.Jonkman
Posts: 4952
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: Simulink Interface

Postby Jason.Jonkman » Mon Apr 18, 2011 12:05 pm

Dear Ana,

The S-Function has changed from “FAST_SFunc.dll” to “FAST_SFunc.mexw32” in MATLAB R2006a and newer.

I'm not sure I understand what you are asking in your other questions. Please clarify.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov

Ana.Carrillo
Posts: 16
Joined: Thu Jan 13, 2011 2:53 am
Organization: self
Location: Spain

Re: Simulink Interface

Postby Ana.Carrillo » Wed Apr 20, 2011 4:22 am

Thank you,

I will do the questions again:

1. If I don't use FAST input files from CertTest folder, is then necessary the model Test01_SIG.mdl in order to the interface works correctly ?
2. I think that I always have to run the example Simulink model OpenLoop.mdl at the beginnig of the simulation, is it true?

Thank you,

Please, tell me know if you don't understand any question.

Jason.Jonkman
Posts: 4952
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: Simulink Interface

Postby Jason.Jonkman » Wed Apr 20, 2011 5:39 pm

Dear Ana,

To run your own FAST simulation from within Simulink, I suggest you start with OpenLoop.mdl and add in the control laws that you wish to apply. OpenLoop.mdl is a Simulink model that contains the FAST S-Function block and blocks that integrate the DOFs. The control inputs in OpenLoop.mdl are input blocks with constant values; these can obviously be changed to incorporate more advanced control laws, with feedback.

You should not need Test01_SIG.mdl. Test01_SIG.mdl is a sample Simulink model that implements FAST's simple induction generator (SIG) model within Simulink. This is included in the archive for reference purposes only to demonstrate how a control feedback law can be implemented.

I hope that helps.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov


Return to “Computer-Aided Engineering Software Tools”

Who is online

Users browsing this forum: Google [Bot] and 1 guest