# Error with openloop with simulink

**URL:** <https://forums.nlr.gov/t/error-with-openloop-with-simulink/1869>\
**Category:** Controls\
**Created:** [July 3, 2018, 8:52am UTC](https://forums.nlr.gov/t/error-with-openloop-with-simulink/1869 "2018-07-03T08:52:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mostafa.Haggag](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@Mostafa.Haggag](https://forums.nlr.gov/u/Mostafa.Haggag)\
**Post date:** [July 3, 2018, 8:52am UTC](https://forums.nlr.gov/t/error-with-openloop-with-simulink/1869/1 "2018-07-03T08:52:56Z")

</div>

Hello  
i hope everybody is fine and well.  
i am having a Kind of Problem with simulink with fast. i am trying to run things using the open Loop Controller . i am Setting the pitch Controller in fast to use simulink while keeping the torque control to use the main fast Controller (Option 5 in VSCONTRL) when i try to run in simulink i Keep getting the same error.  
this is my error and i am trying to find solution for it  
Running InflowWind (v3.03.00, 26-Jul-2016).  
Opening InflowWind input file:  
C:\Users\hmo\Desktop\fast\CertTest\5MW\_Baseline/NRELOffshrBsline5MW\_InflowWind\_Steady8mps.dat

Running ServoDyn (v1.06.00a-bjj, 26-Jul-2016).

Running ServoDyn Interface for Bladed Controllers (using Intel Visual Fortran for  
Windows/Matlab, 14-Oct-2015).

FAST completed.

Error using Run\_OpenLoop (line 4)  
Error reported by S-function ‘FAST\_SFunc’ in ‘OpenLoop/FAST Nonlinear Wind Turbine/S-Function’:  
FAST\_InitializeAll:SrvD\_Init:ValidatePrimaryData:Yaw angle and rate are not commanded from Simulink model.  
ValidatePrimaryData:Generator torque and power are not commanded from Simulink model.  
ValidatePrimaryData:HSS brake is not commanded from Simulink model.  
SrvD\_Init:BladedInterface\_Init:The dynamic library  
C:\Users\hmo\Desktop\fast\CertTest\5MW\_Baseline/ServoData/DISCON\_win32.dll could not be loaded. Check that the  
file exists in the specified location and that it is compiled for 64-bit applications.

thank you so much

---

<div class="post-metadata">

**Author:** ![Mostafa.Haggag](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@Mostafa.Haggag](https://forums.nlr.gov/u/Mostafa.Haggag)\
**Post date:** [July 3, 2018, 8:57am UTC](https://forums.nlr.gov/t/error-with-openloop-with-simulink/1869/2 "2018-07-03T08:57:06Z")

</div>

solution found in this thread :[FAST 8.10 Test Cases 18-25 in Simulink - #2 by Jason.Jonkman](http://forums.nlr.gov/t/fast-8-10-test-cases-18-25-in-simulink/1128/2)  
thank you so much
