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.
 
 
 
 
 
 

39 lines
1.5 KiB

  1. # 1 "/home/admin/SimulationCore2/Equipments/Drawworks/Drawworks_Outputs.f90"
  2. subroutine Drawworks_Outputs
  3. Use CSounds
  4. use CHook
  5. use SimulationVariables
  6. use CWarnings
  7. use SimulationVariables !@
  8. use CDrillingConsoleVariables
  9. use SimulationVariables
  10. use SimulationVariables
  11. IMPLICIT NONE
  12. data%Equipments%DrillingConsole%DWBLWR = data%State%Drawworks%BLWR
  13. Call SetSoundBlowerDW( data%State%Drawworks%SoundBlower ) !.true. or .false.
  14. Call SetSoundDwRev( data%State%Drawworks%SoundRev ) ![rpm] ??? or rad/s, Integer
  15. Call SetSoundDwFw( data%State%Drawworks%SoundFw ) ![rpm] , Integer
  16. Call SetSoundCrownCollision( data%State%Drawworks%SoundCrownCollision ) !.true. or .false.
  17. Call SetSoundFloorCollision( data%State%Drawworks%SoundFloorCollision ) !.true. or .false.
  18. if (data%State%Drawworks%CrownCollision==1) then
  19. Call Activate_CrownCollision()
  20. end if
  21. if (data%State%Drawworks%FloorCollision==1) then
  22. Call Activate_FloorCollision()
  23. end if
  24. !Call Set_HookHeight( real(data%State%Drawworks%Hook_Height_final) ) ![ft]
  25. data%State%Drawworks%TDHookHeight = data%State%Drawworks%Hook_Height_final ![ft]
  26. ! = data%State%Drawworks%HookLinearVelocity_final ![ft/s]
  27. !!data%State%Drawworks%HookHeight_graph_output
  28. !data%Equipments%DrillingConsole%ParkingBrakeLed = 0 ! in Drawworks_Inputs
  29. end subroutine Drawworks_Outputs