Drivetrain simulation OpenFAST and Simulink

Dear all,

I want to reproduce the drivetrain simulation in the appendix of the NREL document " Simulation for Wind Turbine Generators—With FAST and MATLAB-Simulink Modules"
Particularly in the Figure A23 as follows. I have a question: Why the aerodynamic torque has to be sum with opp torque at the entrance of SimDriveline model block?

Thank you in advance

Dear @Jersson.Leon,

In this figure, the SimDriveline model represents a detailed model of the drivetrain, with the aerodynamic torque and generator torque as boundary conditions of the model. In the older version of FAST used in this paper, the aerodynamic torque was not available as a direct output of FAST; rather, the aerodynamic torque was computed by subtracting the drivetrain inertial response from the generator torque. This follows from the fact that the drivetrain will accelerate/decelerate when the aerodynamic and generator torques are not balanced.

FYI: While my name was listed as a co-author of this work, I’m not an expert on the implementation.

Best regards,

Dear Jason.Jonkman,

Thank you for your response. I am using OpenFAST, from your point of view, is there an update in the simulink model that can be performed?

Besides from your response: can the aerodynamic torque be available as a direct output of FAST?

Here is an image of my simulink Drivetrain model block inside:

Sincerely,

Jersson.Leon

Dear @Jersson.Leon,

Yes, the aerodynamic torque is an output that is directly available from OpenFAST; that is, AeroDyn output RtAeroMxh. You can use this output directly accessible via OutData without the need for the “FAST Output Manager” block.

Best regards

Dear Jason,

Thank you for your response.

Sincerely,

Jersson.Leon

Dear Jason.Jonkman

I am Trying to reproduce de simulation of the gearbox with simscape matlab and I have one question.

  1. In the servodyn file I have two put 4(simulink) in the line VSContrl or I can work with option 5 and work with Discon.dll controller?
    servodyn1

Thank you for your attention.

Sincerely,

Jersson Leon

Dear @Jersson.Leon,

I’m not sure I fully understand your question, but if you are asking whether you can select VSContrl = 5 when running OpenFAST within Simulink, the answer is “yes”. When VSContrl is not set to 4 when running OpenFAST within Simulink, this means that the generator and power inputs to the OpenFAST S-Function will be ignored.

Best regards,

Dear Jason.Jonkman

I am trying to simulate the gearbox with simscape Simulink and I have two questions. Since in your document you said that changing the following parameters:

DrTrDOF=FALSE
GBRatio=1
GenIner=0
The exit variable from FAST that I am using is LSSTipAxa.
My questions are:

  1. Why exactly these three parameters must change: DrTrDOF=FALSE, GBRatio=1 and GenIner=0
  2. With the variable “LSSTipAxa” I calculated the aerodynamic torque that serves as input to the gearbox model, then in my Gerabox(simscape) model I calculated the generator speed with the ratio of the gears. Thus, the variable “GenSpeed” measured as the output of FAST doesn’t correspond to the generator speed that I mesure in simscape.

Thank you in advance for your help.


Dear @Jersson.Leon,

Here are my responses based on my limited understanding of the paper you are referring to:

  1. These FAST inputs were set because the details of the drivetrain were modeled in SimDriveline instead of FAST. With DrTrDOF = FALSE and GBRatio = 1, only the rigid-body rotation of the rotor is captured within FAST. GenIner = 0 was used because the drivetrain inertia (not including the rotor inertia) is accounted for in SimDriveline instead of within FAST.
  2. With GBRatio = 1, FAST output GenSpeed will actually refer to the rotor speed instead of the generator speed.

Best regards,

Dear @Jason.Jonkman,

When I try to simulate the drivetrain model in Simscape, the output seems to be wrong. All the outputs donnot change at all. The model is constructed for two-mass model. Could you help me check what is wrong here?

It seems like the system cannot upload .slx file now…

Dear @Yinghan.Liu,

I have no personal experience with Simscape myself anyway, so, I’m not sure I could help with that anyway.

Best regards,

Dear @Jason.Jonkman
I construct a two-mass model for drivetrain of NREL 5MW wind turbine in Simulink. When I input a turbulent wind, the response of my simplified nonlinear model is different from the result from OpenFAST.
In OpenFAST, I only open the DOFs of GenDOF and DrTrDOF.
Is that result acceptable? The first graph represents the input wind velocity, the second is the high-speed shaft torque, the third one is the generator angular velocity.

Dear @Yinghan.Liu,

OpenFAST should run properly and generate reasonable results with only GenDOF and DrTrDOF enabled. But I’m not sure why your models are not matching the two-mass model solution from OpenFAST.

Best regards,

Dear Jason.Jonkman

I want to simulate the Test01_SIG.mdl in Openfast- Simulink. In the configuration of my servodyn.dat file I have VSContrl=4 and in the elastodyn.dat file I have DrTrDOF= True, GenIner= 534.116 and GBRatio= 97

siggenerator

I have two questions:

  1. why are there two gbratio? one in the line of elastodyn.dat and another in the line of the matlab.m file that has to do with the constant defined in the Simulink
    elastodyngbratio

  2. are these parameters ok in the elastodyn.dat file?: DrTrDOF= True, GenIner= 534.116 and GBRatio= 97

Thank you in advance

Dear @Jersson.Leon,

Regarding (1), in the sample Test01_SIG.mdl Simulink model, the speed of the generator relative to the low-speed shaft is output from the OpenFAST S-Function, rather than the speed of the generator relative to the high-speed shaft. As such, the GBRatio is specified within Simulink to convert the generator speed from the low- to high-speed shaft. You wouldn’t need to do this speed conversion in Simulink if you output the generator speed relative to the high-speed shaft.

Regarding (2), I agree with those settings for the NREL 5-MW baseline wind turbine. That said, the sample Test01_SIG.mdl Simulink model was developed for the AWT-27CR2 wind turbine, so, you’ll have to change the constants in this model to be valid for the NREL 5-MW baseline wind turbine.

Best regards,

Dear @Jason.Jonkman

For gearbox and high-speed shaft in OpenFAST, do we construct them as rigid or not?

Thanks in advance!

Dear @Yinghan.Liu,

See my response for your related drivetrain question in the following forum topic: How to apply icedyn to floating turbines in FAST.

Best regards,