# SIMPLE VARIABLE-SPEED TORQUE CONTROL for LINEARIZATION

**URL:** <https://forums.nlr.gov/t/simple-variable-speed-torque-control-for-linearization/6073>\
**Category:** Controls\
**Created:** [November 23, 2023, 11:23am UTC](https://forums.nlr.gov/t/simple-variable-speed-torque-control-for-linearization/6073 "2023-11-23T11:23:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rugang.Chen](https://avatars.discourse-cdn.com/v4/letter/r/fbc32d/32.png) [@Rugang.Chen](https://forums.nlr.gov/u/Rugang.Chen)\
**Post date:** [November 23, 2023, 11:23am UTC](https://forums.nlr.gov/t/simple-variable-speed-torque-control-for-linearization/6073/1 "2023-11-23T11:23:44Z")

</div>

Hi,  
I am working on the linearization of a direct-drive wind turbine and would like to examine the modal behavior of the model through feature analysis. I am using ‘runLinTurbine.py’ and would like to try linearization for the power generation state at rated wind speed. I have a few questions:

Due to linearization, I had to use simple variable-speed torque control. Is this option correct?

Could you please explain the specific meanings of these four parameters, especially the fourth one?

```
             VS_RtGnSp - Rated generator speed for simple variable-speed generator control (HSS side) (rpm) [used only when VSContrl=1]
             VS_RtTq - Rated generator torque/constant generator torque in Region 3 for simple variable-speed generator control (HSS side) (N-m) [used only when VSContrl=1]
             VS_Rgn2K - Generator torque constant in Region 2 for simple variable-speed generator control (HSS side) (N-m/rpm^2) [used only when VSContrl=1]
             VS_SlPc - Rated generator slip percentage in Region 2 1/2 for simple variable-speed generator control (%) [used only when VSContrl=1]

```

The reason for asking these question is that I encountered an error while running: ‘FAST\_Solution:FAST\_AdvanceStates:SrVD\_UpdateStates:CalculateTorque:u%HSS\_Spd is negative. Simple variable-speed control model is not valid for motoring situations.’ What does this error mean?

Thanks in advance for any help.

Best regards,  
Chen

---

<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 23, 2023, 2:03pm UTC](https://forums.nlr.gov/t/simple-variable-speed-torque-control-for-linearization/6073/2 "2023-11-23T14:03:13Z")

</div>

Dear @Rugang.Chen,

Here are my responses:

- OpenFAST only supports linearization with simple built-in generator or control models enabled (not user-defined controllers implemented in Simulink or DISCON dynamic libraries).
- For documentation on the simple variable speed controller of ServoDyn, please find documentation in the old FAST v6 User’s Guide: .[https://openfast.readthedocs.io/en/main/\_downloads/d8bd014121d6505cb25cf49bee5eaa80/Old\_FAST6\_UsersGuide.pdf](https://openfast.readthedocs.io/en/main/_downloads/d8bd014121d6505cb25cf49bee5eaa80/Old_FAST6_UsersGuide.pdf) (particularly Figure 22 the associated text).
- The error about “motoring” means that the simple variable speed controller is not valid when the generator speed is negative.

Best regards,
