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.

CPower.f90 2.1 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. module CPower
  2. use CPowerVariables
  3. implicit none
  4. public
  5. contains
  6. subroutine SetNumberOfgenerators(v)
  7. !DEC$ ATTRIBUTES DLLEXPORT :: SetNumberOfgenerators
  8. !DEC$ ATTRIBUTES ALIAS: 'SetNumberOfgenerators' :: SetNumberOfgenerators
  9. implicit none
  10. integer, intent(in) :: v
  11. Power%NumberOfgenerators = v
  12. end subroutine
  13. subroutine SetGeneratorPowerRating(v)
  14. !DEC$ ATTRIBUTES DLLEXPORT :: SetGeneratorPowerRating
  15. !DEC$ ATTRIBUTES ALIAS: 'SetGeneratorPowerRating' :: SetGeneratorPowerRating
  16. implicit none
  17. real*8, intent(in) :: v
  18. Power%GeneratorPowerRating = v
  19. end subroutine
  20. subroutine SetMudPump1(v)
  21. !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump1
  22. !DEC$ ATTRIBUTES ALIAS: 'SetMudPump1' :: SetMudPump1
  23. implicit none
  24. real*8, intent(in) :: v
  25. Power%MudPump1 = v
  26. end subroutine
  27. subroutine SetMudPump2(v)
  28. !DEC$ ATTRIBUTES DLLEXPORT :: SetMudPump2
  29. !DEC$ ATTRIBUTES ALIAS: 'SetMudPump2' :: SetMudPump2
  30. implicit none
  31. real*8, intent(in) :: v
  32. Power%MudPump2 = v
  33. end subroutine
  34. subroutine SetCementPump(v)
  35. !DEC$ ATTRIBUTES DLLEXPORT :: SetCementPump
  36. !DEC$ ATTRIBUTES ALIAS: 'SetCementPump' :: SetCementPump
  37. implicit none
  38. real*8, intent(in) :: v
  39. Power%CementPump = v
  40. end subroutine
  41. subroutine SetRotaryTable(v)
  42. !DEC$ ATTRIBUTES DLLEXPORT :: SetRotaryTable
  43. !DEC$ ATTRIBUTES ALIAS: 'SetRotaryTable' :: SetRotaryTable
  44. implicit none
  45. real*8, intent(in) :: v
  46. Power%RotaryTable = v
  47. end subroutine
  48. subroutine SetDrawworks(v)
  49. !DEC$ ATTRIBUTES DLLEXPORT :: SetDrawworks
  50. !DEC$ ATTRIBUTES ALIAS: 'SetDrawworks' :: SetDrawworks
  51. implicit none
  52. real*8, intent(in) :: v
  53. Power%Drawworks = v
  54. end subroutine
  55. subroutine SetTopDrive(v)
  56. !DEC$ ATTRIBUTES DLLEXPORT :: SetTopDrive
  57. !DEC$ ATTRIBUTES ALIAS: 'SetTopDrive' :: SetTopDrive
  58. implicit none
  59. real*8, intent(in) :: v
  60. Power%TopDrive = v
  61. end subroutine
  62. end module CPower