Simulation Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TopDrive_StartUp.f90 1.2 KiB

1 year ago
1234567891011121314151617181920212223242526272829303132
  1. subroutine TopDrive_StartUp
  2. use SimulationVariables
  3. IMPLICIT NONE
  4. data%State%TDS%MaxRPM = 200.d0 ![RPM] !??????? motaghayere voroudi
  5. data%State%TDS%MaxTorque = 1500.d0 ![ft.lbf] !??????? motaghayere voroudi
  6. data%State%TDS%time_step = 0.10d0 ![s]
  7. data%State%TDS%Inertia_Moment = 23.261341d0 ! 23.261341 [kg.m^2] = 552 [lb.ft^2]
  8. data%State%TDS%J_coef = data%State%TDS%Inertia_Moment+(1.d0*(data%State%TDS%Inertia_Moment)) ! [kg.m^2]???????????
  9. data%State%TDS%String_JCoef = 0.d0
  10. !data%State%TDS%Mech_Efficiency = 0.930d0
  11. data%State%TDS%Torque = 0.d0
  12. data%State%TDS%Speed = 0.d0
  13. data%State%TDS%OperationFaultLed = 0
  14. data%State%TDS%OldPowerMode = 0
  15. data%State%TDS%MotorFaileMalf = 0
  16. data%State%TDS%High_Conv_Ratio = 4.825d0
  17. data%State%TDS%Low_Conv_Ratio = 7.310d0
  18. data%State%TDS%Conv_Ratio = data%State%TDS%High_Conv_Ratio
  19. Call TopDrive_OffMode
  20. end subroutine