# Differences between OpenFAST and Simulink-coupled drivetrain

**URL:** <https://forums.nlr.gov/t/differences-between-openfast-and-simulink-coupled-drivetrain/9905>\
**Category:** Computer-Aided Engineering Software Tools\
**Created:** [October 26, 2026, 3:49pm UTC](https://forums.nlr.gov/t/differences-between-openfast-and-simulink-coupled-drivetrain/9905 "2026-10-26T15:49:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kepa.Cueto](https://avatars.discourse-cdn.com/v4/letter/k/e9bcb4/32.png) [@Kepa.Cueto](https://forums.nlr.gov/u/Kepa.Cueto)\
**Post date:** [October 26, 2026, 3:49pm UTC](https://forums.nlr.gov/t/differences-between-openfast-and-simulink-coupled-drivetrain/9905/1 "2026-10-26T15:49:38Z")

</div>

Dear OpenFAST team,

We are replacing the ElastoDyn drivetrain with an equivalent MATLAB/Simscape drivetrain while keeping the rest of the OpenFAST aeroelastic model unchanged.

The Simscape drivetrain uses the same rotor/generator inertias, drivetrain torsional stiffness and damping as ElastoDyn.

The aerodynamic torque applied to Simscape is reconstructed from OpenFAST using:

![image](https://europe1.discourse-cdn.com/nrel/original/2X/3/3dabb03915ebe703d72198333a30a48070781b13.png)

The overall agreement is very good. Drivetrain torsional deformation, loads and rotor speed are reproduced almost exactly. However, once all relevant blade and tower DOFs are enabled, we consistently observe very small differences in `RotAccel`, which lead to similarly small differences in `RotSpeed`:

 ![image](https://europe1.discourse-cdn.com/nrel/original/2X/f/f321350f8ad70b57f774208e2ce6648a464fddb2.jpeg)

 ![image](https://europe1.discourse-cdn.com/nrel/original/2X/3/3c7d27039451a0d75008b048b833ed82d2265b12.png)

I have already checked:

- identical drivetrain stiffness and damping;
- different Simulink fixed-step solvers;
- smaller time steps;
- controller influence;
- replaying the standalone `GenTq` directly into both OpenFAST (`VSContrl = 4`) and Simscape;
- replaying standalone `RotAccel` and `LSShftMxa`

The differences remain very small and the dynamic behaviour is essentially identical, but they are systematic and relevant for our coupling because `RotAccel` is multiplied by the rotor inertia when reconstructing the aerodynamic torque.

Do you have any idea what could explain these very small remaining differences between the OpenFAST solution and the OpenFAST–Simulink coupled solution?

Could they be related to numerical integration, the S-Function coupling, signal interpolation/sampling, initialization, or any other aspect we may be overlooking?

We can provide comparison plots and the relevant input files if useful.

Thank you very much for your help.

Kind regards,

Kepa

---

<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:** [October 26, 2026, 4:06pm UTC](https://forums.nlr.gov/t/differences-between-openfast-and-simulink-coupled-drivetrain/9905/2 "2026-10-26T16:06:19Z")

</div>

Dear @Kepa.Cueto,

Can you clarify how you’ve coupled MATLAB/Simscape drivetrain with OpenFAST? Did you change the OpenFAST S-Function, or is this through the user-defined generator torque option in Simulink (`VSContrl` = 4)?

In your equation for aerodynamic torque, presumably Q\_opp is the torque within the low-speed shaft; is that correct? Also, what are you using for J\_rot once you enable blade DOFs?

Best regards,

---

<div class="post-metadata">

**Author:** ![Kepa.Cueto](https://avatars.discourse-cdn.com/v4/letter/k/e9bcb4/32.png) [@Kepa.Cueto](https://forums.nlr.gov/u/Kepa.Cueto)\
**Post date:** [October 27, 2026, 7:30am UTC](https://forums.nlr.gov/t/differences-between-openfast-and-simulink-coupled-drivetrain/9905/3 "2026-10-27T07:30:24Z")

</div>

Dear Jason,

Thank you for your reply.

We have not modified the OpenFAST S-Function. We are using the standard OpenFAST–Simulink interface with `VSContrl = 4`, so the generator torque is provided externally from Simulink.

Regarding the aerodynamic torque reconstruction, yes, **Q\_opp** corresponds to the torque transmitted through the low-speed shaft.

For **J\_rot** , we are currently using the rotor inertia reported in the ElastoDyn `.ED.sum` file from the standalone OpenFAST simulation, and we have kept this value constant when enabling the blade DOFs.

Best regards,  
Kepa

---

<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:** [October 28, 2026, 12:50pm UTC](https://forums.nlr.gov/t/differences-between-openfast-and-simulink-coupled-drivetrain/9905/4 "2026-10-28T12:50:10Z")

</div>

Dear @Kepa.Cueto,

Thanks for clarifying. I’m not sure I fully understand what you are doing, considering that the drivetrain sits between the rotor and support structure and it sounds like you are using the OpenFAST S-Function to model the rotor. Regardless, I’m guess the differences you are seeing are caused by a couple things:

- Once the blade DOFs are enabled, the rotor inertia is no longer constant in standalone OpenFAST whereas you are assuming it is constant in the model with MATLAB/Simscape drivetrain coupled with OpenFAST.
- The OpenFAST S-Function’s use of extrapolated inputs from MATLAB/Simulink, as discussed in other forum topics: [Different Pitch rate in and outside FAST SFunction in Simulink](https://forums.nlr.gov/t/different-pitch-rate-in-and-outside-fast-sfunction-in-simulink/2316).

Best regards,

---

<div class="post-metadata">

**Author:** ![Kepa.Cueto](https://avatars.discourse-cdn.com/v4/letter/k/e9bcb4/32.png) [@Kepa.Cueto](https://forums.nlr.gov/u/Kepa.Cueto)\
**Post date:** [October 30, 2026, 2:48pm UTC](https://forums.nlr.gov/t/differences-between-openfast-and-simulink-coupled-drivetrain/9905/5 "2026-10-30T14:48:10Z")

</div>

Dear Jason,

Thank you, your comment regarding the rotor inertia seems to match what we are observing.

We have performed some standalone OpenFAST tests progressively enabling the blade DOFs. With GenDOF/DrTrDOF and the flapwise DOFs, a constant inertia close to the `Rotor Inertia` reported in the `.ED.sum` file still gives a reasonable approximation. However, once `EdgeDOF` is enabled, the simple relation

 ![image](https://europe1.discourse-cdn.com/nrel/original/2X/e/ebcf235c336b08d4ae3910f7702698021562257c.png)

no longer represents the dynamics properly.

Is there any existing ElastoDyn/OpenFAST output or internal variable that would allow us to obtain the inertia associated with the rotor azimuth DOF at each time step?

Best regards,  
Kepa

---

<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:** [October 30, 2026, 6:24pm UTC](https://forums.nlr.gov/t/differences-between-openfast-and-simulink-coupled-drivetrain/9905/6 "2026-10-30T18:24:17Z")

</div>

Dear @Kepa.Cueto,

Certainly the effect of the rotor inertia changing with blade deflection is included within ElastoDyn, but there is no output variable and I’m not aware of a specific internal variable where that data is stored. That said, it could certainly be calculated and added to the source code.

Best regards,

---

<div class="post-metadata">

**Author:** ![Kepa.Cueto](https://avatars.discourse-cdn.com/v4/letter/k/e9bcb4/32.png) [@Kepa.Cueto](https://forums.nlr.gov/u/Kepa.Cueto)\
**Post date:** [November 16, 2026, 2:51pm UTC](https://forums.nlr.gov/t/differences-between-openfast-and-simulink-coupled-drivetrain/9905/7 "2026-11-16T14:51:09Z")

</div>

Dear Jason,

Following up on our previous discussion, we have made further progress validating our OpenFAST–Simscape drivetrain coupling.

We have now successfully reproduced several operating conditions, including normal operation under turbulent wind, startup and shutdown. The agreement with standalone OpenFAST is consistently very good, both in rotor speed and drivetrain torsional loads.

I am attaching two comparison plots from a **16 m/s turbulent-wind simulation** , using the same wind field and replaying the standalone generator torque and blade pitch references in the coupled model. As you can see, the results overlap almost perfectly, although very small differences remain when zooming in, particularly in rotor speed and LSShsftMxa:

 ![image](https://europe1.discourse-cdn.com/nrel/original/2X/9/9c15641b7afd55ae496c6c346692e7141e12c4ce.png)

 ![image](https://europe1.discourse-cdn.com/nrel/original/2X/1/1a131b13a63edd7ab85fc8312d611dc9f94fac1e.png)

 ![image](https://europe1.discourse-cdn.com/nrel/original/2X/3/3288dfdbb0e772608c3fc7a781263e8a38fa62eb.png)

 ![image](https://europe1.discourse-cdn.com/nrel/original/2X/b/b5230f2617ad0806739ba2506797f4357ce1b322.png)

Since our current Simscape model is intended to reproduce the equivalent ElastoDyn drivetrain, using the same inertias, stiffness and damping, we would really appreciate your opinion on whether this level of agreement is satisfactory or whether we should expect an almost exact numerical match.

In particular, could these residual differences reasonably be attributed to the numerical coupling between OpenFAST and Simulink, or would you recommend investigating them further?

Thank you again for your time and support.

Best regards,

Kepa

---

<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:** [November 16, 2026, 3:58pm UTC](https://forums.nlr.gov/t/differences-between-openfast-and-simulink-coupled-drivetrain/9905/8 "2026-11-16T15:58:50Z")

</div>

Dear @Kepa.Cueto,

I agree that the agreement is now very good. I’m quite certain the small differences remaining are associated with the OpenFAST S-Function’s use of extrapolated inputs from MATLAB/Simulink, which I mentioned previously.

Best regards,
