Simulation Core
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

Drawworks_Outputs.f90 1.4 KiB

12345678910111213141516171819202122232425262728293031323334353637383940
  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%EquipmentControl%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%EquipmentControl%DrillingConsole%ParkingBrakeLed = 0 ! in Drawworks_Inputs
  27. end subroutine Drawworks_Outputs