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.
 
 
 
 
 
 

54 lines
1.6 KiB

  1. subroutine Drawworks_StartUp
  2. Use CDrillingConsoleVariables
  3. Use CHoistingVariables
  4. Use Drawworks_VARIABLES
  5. !Use CWarningsVariables
  6. IMPLICIT NONE
  7. Drawworks%RateChange = 193.d0 ! [rpm/s?] !??????? motaghayere voroudi
  8. !===> Hook Height
  9. Drawworks%Hook_Height_ini = 75.0d0 ![ft]
  10. Drawworks%Hook_Height_ini_graph_output = -1.54090d0 ![ft]
  11. Drawworks%Hook_Height_inim = 0.3048d0*Drawworks%Hook_Height_ini ![m]
  12. Drawworks%Hook_Height = Drawworks%Hook_Height_inim ![m]
  13. Drawworks%Hook_Height_final = 75.d0 ![ft]
  14. Drawworks%TDHookHeight = 75.d0 ![ft]
  15. !===> Drum (Drawworks) Diameter
  16. Drawworks%Diameter = 2.50d0 ![ft]
  17. Drawworks%Diameter = 0.3048d0*Drawworks%Diameter ![m]
  18. !===> Number of Line
  19. Drawworks%NumberOfLine = Hoisting%NumberOfLine
  20. !===> Simulation time step
  21. Drawworks%time_step = 0.10d0 ![s]
  22. !===> Initial Values
  23. Drawworks%w_drum = 0.d0
  24. Drawworks%w_old_drum = 0.d0
  25. Drawworks%motion = 0
  26. Drawworks%K_Throttle = 0
  27. Drawworks%StringIsBottomOfWell = 0 ! 1= string is at the bottom of the well
  28. !Drawworks%CrownCollision = 0
  29. !Drawworks%FloorCollision = 0
  30. end subroutine Drawworks_StartUp