|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- MODULE RTable_VARIABLES
-
- IMPLICIT NONE
- PUBLIC
-
- REAL, PARAMETER :: pi=3.14159265
- REAL :: La, Lf, Ra, Rf
- REAL :: Kpn, Kin, Kpi, Kii
- REAL :: RT_wOld
-
- INTEGER :: RT_OldTransMode , RT_RotaryMode
- REAL :: RT_RPMUnityOutput
-
-
- !****************************************************************************************************
- !**************** Difine Rotary Table Array ****************************************************
- TYPE, PUBLIC :: RTable_Var
-
- !***** RTable_VARIABLES *************************
- INTEGER :: j , AssignmentSwitch , K_throttle
- INTEGER :: MotorFaileMalf , OverideTorqueLimitMalf , RpmGaugeMalf , TorqueGaugeMalf , TorqueLimitGaugeMalf
-
- REAL :: Horsepower, Speed, Output_Current, Inertia_Moment, Mech_Efficiency, Torque
- REAL :: Conv_Ratio, High_Conv_Ratio, Low_Conv_Ratio
- REAL :: String_Torque, String_JCoef
- REAL :: TracTorque, ConstLoad
- REAL :: simulation_time, time_step
-
- INTEGER :: Dt_ref
-
- !***** Traction Motor_VARIABLES *****************
- INTEGER :: i, n
-
- REAL :: TL, Vt, J_coef, Ea, fii, Te
- REAL :: time, dt, zaman
- REAL :: ia, w, ia_old, w_old, ia_new, w_new
- REAL :: error, ia_er, w_er ,x_er, y_er
- REAL :: K1ia, K1w, K2ia, K2w, K3ia, K3w, K4ia, K4w
- REAL :: K1x, K1y, K2x, K2y, K3x, K3y, K4x, K4y
- REAL :: ia_ref, ia_ref_limit, w_ref, N_ref ! N(rpm) , w(rad/s)
- REAL :: x, y, x_old, y_old, x_new, y_new
- REAL :: dia, dw, dx, dy
- REAL :: N_new, N_old
-
-
- !************* Sound_VARIABLES **********************
- INTEGER :: SoundRPM
- Logical :: SoundBlower , SoundGearCrash
-
-
-
- END TYPE RTable_Var
-
- TYPE(RTable_Var) :: RTable
- !***********************************************************************************************
- !****************************************************************************************************
-
-
-
-
- END MODULE RTable_VARIABLES
|