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_StartUp.f90 2.0 KiB

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