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.
 
 
 
 
 
 

59 lines
2.2 KiB

  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 = data%State%Drawworks%Hook_Height_final ![ft]
  18. data%State%Drawworks%HookLinearVelocity_final = 0.d0 ![ft/s]
  19. data%State%Drawworks%HookLinearVelocity = 0.d0 ![m/s]
  20. !===> Drum (Drawworks) Diameter
  21. data%State%Drawworks%Diameter = 2.50d0 ![ft]
  22. data%State%Drawworks%Diameter = 0.3048d0*data%State%Drawworks%Diameter ![m]
  23. !===> Number of Line
  24. data%State%Drawworks%NumberOfLine = data%Configuration%Hoisting%NumberOfLine
  25. !===> Simulation time step
  26. data%State%Drawworks%time_step = 0.10d0 ![s]
  27. !===> Initial Values
  28. data%State%Drawworks%w_drum = 0.d0
  29. data%State%Drawworks%w_old_drum = 0.d0
  30. data%State%Drawworks%motion = 0
  31. data%State%Drawworks%K_Throttle = 0
  32. data%State%Drawworks%StringIsBottomOfWell = 0 ! 1= string is at the bottom of the well
  33. !data%State%Drawworks%CrownCollision = 0
  34. !data%State%Drawworks%FloorCollision = 0
  35. end subroutine Drawworks_StartUp