# Simulating Scenarios

**URL:** <https://forums.nlr.gov/t/simulating-scenarios/5411>\
**Category:** Uncategorized\
**Created:** [July 28, 2023, 5:47pm UTC](https://forums.nlr.gov/t/simulating-scenarios/5411 "2023-07-28T17:47:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kashyap.Subham](https://avatars.discourse-cdn.com/v4/letter/k/bbce88/32.png) [@Kashyap.Subham](https://forums.nlr.gov/u/Kashyap.Subham)\
**Post date:** [July 28, 2023, 5:47pm UTC](https://forums.nlr.gov/t/simulating-scenarios/5411/1 "2023-07-28T17:47:15Z")

</div>

Dear Sir,

Is the following simulation scenarios possible in Fast ?

1. Rotor rotating at the rated rpm without any wind. I would like to turn off the blade pitch controller as well.

2. Rotor rotating at the rated rpm without any wind. This time I want the controller to be switched on.

Thanks  
Subham

---

<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:** [July 28, 2023, 6:09pm UTC](https://forums.nlr.gov/t/simulating-scenarios/5411/2 "2023-07-28T18:09:40Z")

</div>

Dear @Kashyap.Subham,

Regarding (1), yes, you can run FAST / OpenFAST with a prescribed rotor speed by disabling the generator DOF in ElastoDyn (`GenDOF` = False), in which case the fixed rotor speed is set via the initial condition for rotor speed (`RotSpeed`).

Regarding (2), I would not expect a turbine operational controller to function properly without wind excitation on the rotor.

Best regards,

---

<div class="post-metadata">

**Author:** ![Kashyap.Subham](https://avatars.discourse-cdn.com/v4/letter/k/bbce88/32.png) [@Kashyap.Subham](https://forums.nlr.gov/u/Kashyap.Subham)\
**Post date:** [July 28, 2023, 6:23pm UTC](https://forums.nlr.gov/t/simulating-scenarios/5411/3 "2023-07-28T18:23:02Z")

</div>

So,

For (1) I can switch off GenDof and also turn off comp aero ?

For (2) I just keep GenDoF turned on again with comp aero turned off

Is this right ?

---

<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:** [July 28, 2023, 6:54pm UTC](https://forums.nlr.gov/t/simulating-scenarios/5411/4 "2023-07-28T18:54:01Z")

</div>

Dear @Kashyap.Subham,

Yes, but again, I would not expect a turbine operational controller to function properly without aerodynamic excitation on the rotor. So, if you have `GenDOF` = True with `CompAero` = 0, adding torque through a controller or generator will result in rotor acceleration or deceleration (depending on the sign of the torque).

Best regards,

---

<div class="post-metadata">

**Author:** ![Kashyap.Subham](https://avatars.discourse-cdn.com/v4/letter/k/bbce88/32.png) [@Kashyap.Subham](https://forums.nlr.gov/u/Kashyap.Subham)\
**Post date:** [July 28, 2023, 7:17pm UTC](https://forums.nlr.gov/t/simulating-scenarios/5411/5 "2023-07-28T19:17:25Z")

</div>

Okay now I understand fairly what you mean. May I know which subroutine in FAST v7 holds the evaluation of rotor speed ? And how is it fed into the DLL and back into the the main code? Is there a way to segregate the torque alone due to the controller while in operation ?

---

<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:** [July 28, 2023, 7:42pm UTC](https://forums.nlr.gov/t/simulating-scenarios/5411/6 "2023-07-28T19:42:45Z")

</div>

Dear @Kashyap.Subham,

The rotor speed is calculated as part of the solution of the equations of motion. The rotor speed is sent to the controller DLL through `avrSWAP(21)` (`avrSWAP(20)` is used to pass the generator speed to the controller DLL).

The `GenTq` output of FAST v7 returns the generator torque.

Best regards,
