Simulation Core
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
1.1 KiB

  1. module CRotaryProblems
  2. use CRotaryProblemsVariables
  3. implicit none
  4. public
  5. contains
  6. ! Input routines
  7. subroutine SetMotorFail2(v)
  8. !DEC$ ATTRIBUTES DLLEXPORT :: SetMotorFail2
  9. !DEC$ ATTRIBUTES ALIAS: 'SetMotorFail2' :: SetMotorFail2
  10. implicit none
  11. type(CProblem), intent(in) :: v
  12. MotorFail = SetDue(v, ChangeMotorFail)
  13. #ifdef deb
  14. print*, 'MotorFail%ProblemType=', V%ProblemType
  15. print*, 'MotorFail%StatusType=', V%StatusType
  16. print*, 'MotorFail%Value=', V%Value
  17. #endif
  18. end subroutine
  19. subroutine SetOverideTorqueLimit2(v)
  20. !DEC$ ATTRIBUTES DLLEXPORT :: SetOverideTorqueLimit2
  21. !DEC$ ATTRIBUTES ALIAS: 'SetOverideTorqueLimit2' :: SetOverideTorqueLimit2
  22. implicit none
  23. type(CProblem), intent(in) :: v
  24. OverideTorqueLimit = SetDue(v, ChangeOverideTorqueLimit)
  25. #ifdef deb
  26. print*, 'OverideTorqueLimit%ProblemType=', V%ProblemType
  27. print*, 'OverideTorqueLimit%StatusType=', V%StatusType
  28. print*, 'OverideTorqueLimit%Value=', V%Value
  29. #endif
  30. end subroutine
  31. end module CRotaryProblems