# Drivetrain simulation OpenFAST and Simulink

**URL:** <https://forums.nlr.gov/t/drivetrain-simulation-openfast-and-simulink/6561>\
**Category:** Wind & Water\
**Created:** [February 27, 2024, 12:01am UTC](https://forums.nlr.gov/t/drivetrain-simulation-openfast-and-simulink/6561 "2024-02-27T00:01:59Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![Jersson.Leon](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@Jersson.Leon](https://forums.nlr.gov/u/Jersson.Leon)\
**Post date:** [April 20, 2024, 5:04am UTC](https://forums.nlr.gov/t/drivetrain-simulation-openfast-and-simulink/6561/21 "2024-04-20T05:04:21Z")

</div>

Dear [Jason.Jonkman](https://forums.nlr.gov/u/Jason.Jonkman)

I have made this openFAST simulation wanting to model the gearbox in Simscape. For this simulation I am using the following parameters: DrTrDOF=False, GBRatio=1, GenInner=0, and GenDOF=True. I have noticed that in the simulation the variables at the output of sfunction RotTorq and GenTq are the same. Could you please explain to me why this happens?

 ![gearbox_out](https://europe1.discourse-cdn.com/nrel/original/2X/d/d7933cfd4183e3bef27383ad321fa39368da94d6.png)  
 ![RotTorq](https://europe1.discourse-cdn.com/nrel/original/2X/2/265ae5834767298b54aafe7e228a3aabde42598d.png)  
 ![GenTq](https://europe1.discourse-cdn.com/nrel/original/2X/9/9758953682e5410a5e8daa37d1683818ca37e288.png)

Thank you very much.  
Sincerely,

Jersson.Leon

---

<div class="post-metadata">

**Author:** ![Jason.Jonkman](https://dub1.discourse-cdn.com/nrel/user_avatar/forums.nlr.gov/jason.jonkman/32/3086_2.png) [@Jason.Jonkman](https://forums.nlr.gov/u/Jason.Jonkman)\
**Post date:** [April 21, 2024, 12:49am UTC](https://forums.nlr.gov/t/drivetrain-simulation-openfast-and-simulink/6561/22 "2024-04-21T00:49:25Z")

</div>

Dear @Jersson.Leon,

Because `GenIner` = 0, the acceleration/deceleration of the shaft wont result in a difference between the generator torque (`GenTq`) and the reaction torque (`RotTorq`) within the shaft.

For more information the drivetrain model in ElastoDyn, see the following forum topic: [Resistant moment of the rotor and of the electric generator](https://forums.nlr.gov/t/resistant-moment-of-the-rotor-and-of-the-electric-generator/408).

Best regards,

[Previous page](https://forums.nlr.gov/t/drivetrain-simulation-openfast-and-simulink/6561.md?page=1)
