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.

Drawworks_VARIABLES.i90 2.3 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # 1 "/home/admin/SimulationCore2/Equipments/Drawworks/Drawworks_VARIABLES.f90"
  2. MODULE Drawworks_VARIABLES
  3. IMPLICIT NONE
  4. PUBLIC
  5. ! REAL, PARAMETER :: pi=3.14159265
  6. !**************************************************************************************************
  7. !**************** Define Drawworks Array ****************************************************
  8. TYPE, PUBLIC :: Drawworks_Var
  9. !***** Drawworks_VARIABLES **********************
  10. logical :: CrownCollision, FloorCollision
  11. INTEGER :: AssignmentSwitch , K_Throttle , Switch
  12. INTEGER :: MotorFaileMalf , ClutchEngageMalf , ClutchDisengageMalf
  13. INTEGER :: motion, DriveType, ShearBopSituation, TDDrillStemComponentsNumbs
  14. INTEGER :: DrillModeCond, StringIsBottomOfWell
  15. INTEGER , Dimension(6) :: TDBOPElementNo
  16. REAL :: Throttle, RateChange
  17. REAL :: Diameter
  18. REAL :: Hook_Height, Hook_Height_ini, Hook_Height_inim, Hook_Height_ini_graph_output, Hook_Height_final, max_Hook_Height, min_Hook_Height, HookHeight_graph_output
  19. REAL :: N_Throtle, Conv_Ratio, NumberOfLine, Speed, N_new, N_old ! N[RPM]
  20. REAL :: w_drum, w_old_drum ! w[rad/s]
  21. REAL :: HookLinearVelocity ! [m/s]
  22. REAL :: HookLinearVelocity_final ! [ft/s]
  23. REAL , Dimension(6) :: TDBOPHeight
  24. REAL , Dimension(4) :: TDBOPRamDiam
  25. REAL :: TDBOPThickness, TDDrillStemBottom, TDWellTotalLength, TDDlMax
  26. REAL , Allocatable, DIMENSION(:) :: TDDrillStemsDownDepth
  27. REAL , Allocatable, DIMENSION(:) :: TDDrillStemsTopDepth
  28. REAL , Allocatable, DIMENSION(:) :: TDDrillStemsToolJointRange
  29. REAL , Allocatable, DIMENSION(:) :: TDDrillStemsRtoolJoint
  30. REAL :: TDHookHeight
  31. REAL :: time_step
  32. INTEGER :: BLWR ! 1=On , 0=Off
  33. !************* Sound_VARIABLES **********************
  34. INTEGER :: SoundFw , SoundRev
  35. Logical :: SoundBlower
  36. Logical :: SoundFloorCollision , SoundCrownCollision
  37. END TYPE Drawworks_Var
  38. !***********************************************************************************************
  39. !****************************************************************************************************
  40. END MODULE Drawworks_VARIABLES