Setting initial rotor speed withing adm file

Hi,
Is there any one knows how to implement initial rotor angular velocity(e.g 12.1rpm) within adm file without using supplied subroutines.
I mean I have set the gen torq manually within adm file as below, but when the program strats, the gen initial speed is zero. My question is that how i can set initial rotor speed to 12.1 rpm within adm file?
! adams_view_name=‘Generator_SF’
SFORCE/3150
, ROTATIONAL
, I = 3150
, J = 2050
, FUNCTION = 2
!

Regards,
Mehdi,

Dear Mehdi,

In the FAST-to-ADAMS preprocessor, the initial rotor speed is set via an ADAMS MOTION statement in the ADAMS model (*.adm) file. Here’s an example:

MOTION/3150
, JOINT = 3150
, ROTATION
, VELOCITY
, ICDISP = 3.141593
, FUNCTION = 1.267109

This MOTION statement is then removed from the model within the ADAMS control file (*.acf) after the first time step if the generator DOF is enabled:

DEACTIVATE/MOTION, ID = 3150

I hope that helps.

Best regards,

Dear Jason,
Here is my acf file containment:

OC3HywindYawLocked_ADAMS
INTEGRATOR/GSTIFF, ERROR = 0.1, HMAX = 1.250000E-02, INTERPOLATE = ON
INTEGRATOR/GSTIFF, ERROR = 0.1, HMAX = 1.250000E-02, INTERPOLATE = ON
DEACTIVATE/MOTION, ID = 1001
DEACTIVATE/MOTION, ID = 1002
DEACTIVATE/MOTION, ID = 1003
DEACTIVATE/JPRIM, ID = 1000
DEACTIVATE/MOTION, ID = 3150
DEACTIVATE/JOINT, RANGE = 13001, 13017
DEACTIVATE/JOINT, RANGE = 23001, 23017
DEACTIVATE/JOINT, RANGE = 33001, 33017
DEACTIVATE/MOTION, RANGE = 100900, 100926
DEACTIVATE/MOTION, ID = 10000
DEACTIVATE/MOTION, ID = 20000
DEACTIVATE/MOTION, ID = 30000
SIMULATE/DYNAMICS, END = 63, DTOUT = 1.250000E-02
STOP

My adm file contains your mentioned statements as below:
MOTION/3150
, ROTATIONAL
, VELOCITY
, ICDISP = 180.0000198D
, JOINT = 3150
, FUNCTION = 1.267109E+00
!
As you see, every thing is ready to implement 12.1rpm initial rotor speed.I am using following statements within adm file to obtain HSS speed:
! adams_view_name=‘GenrtSpeed_V’
VARIABLE/777
, FUNCTION = WM(3100)
But after running the model using ADAMS-Simulink interface, the rotor speed is starting from zero instead of 12.1!!!
What the problem can be that i couldn’t get initial rotor speed of 12.1???
(Note that the value of VARIABLE/777 is passed to simlink in every interface time step and i am sure my Simulink-ADAMS interface works well).

Regards,

Dear Mehdi,

From what I can tell, you DEACTIVATE the MOTION statement from your *.acf file before you ever simulate through at least one time step. Thus, your MOTION/3150 statement is never being used. You must add a SIMULATE/DYNAMICS statement after the INTEGRATOR declaration and before DEACTIVATEing. For example:

SIMULATE/DYNAMICS, END = 1.250000E-02, DTOUT = 1.250000E-02

I hope that helps.

Best regards,