Simulation Core
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

9 місяці тому
1 рік тому
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. MODULE Drawworks_VARIABLES
  2. IMPLICIT NONE
  3. PUBLIC
  4. ! REAL, PARAMETER :: pi=3.14159265
  5. !**************************************************************************************************
  6. !**************** Define Drawworks Array ****************************************************
  7. TYPE, PUBLIC :: Drawworks_Var
  8. !***** Drawworks_VARIABLES **********************
  9. logical :: CrownCollision, FloorCollision
  10. INTEGER :: AssignmentSwitch , K_Throttle , Switch
  11. INTEGER :: MotorFaileMalf , ClutchEngageMalf , ClutchDisengageMalf
  12. INTEGER :: motion, DriveType, ShearBopSituation, TDDrillStemComponentsNumbs
  13. INTEGER :: DrillModeCond, StringIsBottomOfWell
  14. INTEGER , Dimension(6) :: TDBOPElementNo
  15. REAL :: Throttle, RateChange
  16. REAL :: Diameter
  17. 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
  18. REAL :: N_Throtle, Conv_Ratio, NumberOfLine, Speed, N_new, N_old ! N[RPM]
  19. REAL :: w_drum, w_old_drum ! w[rad/s]
  20. REAL :: HookLinearVelocity ! [m/s]
  21. REAL :: HookLinearVelocity_final ! [ft/s]
  22. REAL , Dimension(6) :: TDBOPHeight
  23. REAL , Dimension(4) :: TDBOPRamDiam
  24. REAL :: TDBOPThickness, TDDrillStemBottom, TDWellTotalLength, TDDlMax
  25. REAL , Allocatable, DIMENSION(:) :: TDDrillStemsDownDepth
  26. REAL , Allocatable, DIMENSION(:) :: TDDrillStemsTopDepth
  27. REAL , Allocatable, DIMENSION(:) :: TDDrillStemsToolJointRange
  28. REAL , Allocatable, DIMENSION(:) :: TDDrillStemsRtoolJoint
  29. REAL :: TDHookHeight
  30. REAL :: time_step
  31. INTEGER :: BLWR ! 1=On , 0=Off
  32. !************* Sound_VARIABLES **********************
  33. INTEGER :: SoundFw , SoundRev
  34. Logical :: SoundBlower
  35. Logical :: SoundFloorCollision , SoundCrownCollision
  36. END TYPE Drawworks_Var
  37. !***********************************************************************************************
  38. !****************************************************************************************************
  39. END MODULE Drawworks_VARIABLES