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

40 рядки
1.4 KiB

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