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.
 
 
 
 
 
 

32 lines
1.3 KiB

  1. subroutine RTable_StartUp
  2. Use SimulationVariables
  3. IMPLICIT NONE
  4. data%State%RTable%Inertia_Moment = 23.261341d0 ! 23.261341[kg.m^2] = 552[lb.ft^2]
  5. data%State%RTable%Mech_Efficiency = 0.93d0
  6. data%State%RTable%RateChange = 1.d0 ![Hz/s] !??????? motaghayere voroudi
  7. data%State%RTable%High_Conv_Ratio = 4.825d0
  8. data%State%RTable%Low_Conv_Ratio = 7.31d0
  9. data%State%RTable%time_step = 0.1d0 ![s]
  10. data%State%RTable%MaxRPM = 200.d0 ![RPM] !??????? motaghayere voroudi
  11. data%State%RTable%MaxTorque = 1500.d0 ![ft.lbf] !??????? motaghayere voroudi
  12. data%State%RTable%RateChange = data%State%RTable%RateChange*60.d0 ![RPM/s] ![cycle/min]=[RPM] !1[Hz]=60[RPM]
  13. data%State%RTable%J_coef = data%State%RTable%Inertia_Moment+(1.d0*(data%State%RTable%Inertia_Moment))
  14. data%State%RTable%Conv_Ratio = data%State%RTable%Low_Conv_Ratio
  15. data%State%RTable%String_JCoef = 0.d0
  16. data%State%RTable%Torque = 0.d0
  17. data%State%RTable%K_throttle = 0
  18. data%State%RTable%Speed = 0.d0
  19. data%State%RTable%TorqueGaugeOutput = 0.d0
  20. call RTable_OffMode
  21. end subroutine RTable_StartUp