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.
 
 
 
 
 
 

45 lines
1.6 KiB

  1. module COperationScenariosVariables
  2. implicit none
  3. public
  4. type::OperationScenarioType
  5. ! Apparently Constants
  6. real :: HKL = 63.76 ! Hook And Kelly Length
  7. real :: HL = 17.81 ! Hook Length
  8. real :: PL = 30.0 ! Pipe Length
  9. real :: SL = 90.0 ! Stand Length
  10. real :: LG = 8.0 ! Limit Gap
  11. real :: SG = 3.0 ! Slips Gap
  12. real :: TG = 4.0 ! Tong Gap
  13. real :: RE = 3.0 ! Release
  14. real :: ECG = 2.3 ! Elevator Connection Gap
  15. !Apparently Variables
  16. integer :: ElevatorConnection = 0
  17. integer :: StringUpdate = 0
  18. integer :: KellyConnection = 0
  19. end type OperationScenarioType
  20. enum, bind(c)
  21. enumerator STRING_UPDATE_NEUTRAL
  22. enumerator STRING_UPDATE_ADD_SINGLE
  23. enumerator STRING_UPDATE_ADD_STAND
  24. enumerator STRING_UPDATE_REMOVE_SINGLE
  25. enumerator STRING_UPDATE_REMOVE_STAND
  26. end enum
  27. enum, bind(c)
  28. enumerator KELLY_CONNECTION_NOTHING
  29. enumerator KELLY_CONNECTION_STRING
  30. enumerator KELLY_CONNECTION_SINGLE
  31. end enum
  32. enum, bind(c)
  33. enumerator ELEVATOR_CONNECTION_NOTHING
  34. enumerator ELEVATOR_CONNECTION_STRING
  35. enumerator ELEVATOR_CONNECTION_STAND
  36. enumerator ELEVATOR_CONNECTION_SINGLE
  37. enumerator ELEVATOR_LATCH_STRING
  38. enumerator ELEVATOR_LATCH_SINGLE
  39. enumerator ELEVATOR_LATCH_STAND
  40. end enum
  41. contains
  42. end module COperationScenariosVariables