Simulation Core
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

CPumpProblems.f90 3.0 KiB

vor 1 Jahr
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. module CPumpProblems
  2. use CPumpProblemsVariables
  3. implicit none
  4. public
  5. contains
  6. ! Input routines
  7. subroutine SetPump1PowerFail(v)
  8. !DEC$ ATTRIBUTES DLLEXPORT :: SetPump1PowerFail
  9. !DEC$ ATTRIBUTES ALIAS: 'SetPump1PowerFail' :: SetPump1PowerFail
  10. implicit none
  11. type(CProblem), intent(in) :: v
  12. Pump1PowerFail = SetDue(v, ChangePump1PowerFail)
  13. #ifdef deb
  14. print*, 'Pump1PowerFail%ProblemType=', V%ProblemType
  15. print*, 'Pump1PowerFail%StatusType=', V%StatusType
  16. print*, 'Pump1PowerFail%Value=', V%Value
  17. #endif
  18. end subroutine
  19. subroutine SetPump1BlowPopOffValve(v)
  20. !DEC$ ATTRIBUTES DLLEXPORT :: SetPump1BlowPopOffValve
  21. !DEC$ ATTRIBUTES ALIAS: 'SetPump1BlowPopOffValve' :: SetPump1BlowPopOffValve
  22. implicit none
  23. type(CProblem), intent(in) :: v
  24. Pump1BlowPopOffValve = SetDue(v, ChangePump1BlowPopOffValve)
  25. #ifdef deb
  26. print*, 'Pump1BlowPopOffValve%ProblemType=', V%ProblemType
  27. print*, 'Pump1BlowPopOffValve%StatusType=', V%StatusType
  28. print*, 'Pump1BlowPopOffValve%Value=', V%Value
  29. #endif
  30. end subroutine
  31. subroutine SetPump2PowerFail(v)
  32. !DEC$ ATTRIBUTES DLLEXPORT :: SetPump2PowerFail
  33. !DEC$ ATTRIBUTES ALIAS: 'SetPump2PowerFail' :: SetPump2PowerFail
  34. implicit none
  35. type(CProblem), intent(in) :: v
  36. Pump2PowerFail = SetDue(v, ChangePump2PowerFail)
  37. #ifdef deb
  38. print*, 'Pump2PowerFail%ProblemType=', V%ProblemType
  39. print*, 'Pump2PowerFail%StatusType=', V%StatusType
  40. print*, 'Pump2PowerFail%Value=', V%Value
  41. #endif
  42. end subroutine
  43. subroutine SetPump2BlowPopOffValve(v)
  44. !DEC$ ATTRIBUTES DLLEXPORT :: SetPump2BlowPopOffValve
  45. !DEC$ ATTRIBUTES ALIAS: 'SetPump2BlowPopOffValve' :: SetPump2BlowPopOffValve
  46. implicit none
  47. type(CProblem), intent(in) :: v
  48. Pump2BlowPopOffValve = SetDue(v, ChangePump2BlowPopOffValve)
  49. #ifdef deb
  50. print*, 'Pump2BlowPopOffValve%ProblemType=', V%ProblemType
  51. print*, 'Pump2BlowPopOffValve%StatusType=', V%StatusType
  52. print*, 'Pump2BlowPopOffValve%Value=', V%Value
  53. #endif
  54. end subroutine
  55. subroutine SetCementPumpPowerFail(v)
  56. !DEC$ ATTRIBUTES DLLEXPORT :: SetCementPumpPowerFail
  57. !DEC$ ATTRIBUTES ALIAS: 'SetCementPumpPowerFail' :: SetCementPumpPowerFail
  58. implicit none
  59. type(CProblem), intent(in) :: v
  60. CementPumpPowerFail = SetDue(v, ChangeCementPumpPowerFail)
  61. #ifdef deb
  62. print*, 'CementPumpPowerFail%ProblemType=', V%ProblemType
  63. print*, 'CementPumpPowerFail%StatusType=', V%StatusType
  64. print*, 'CementPumpPowerFail%Value=', V%Value
  65. #endif
  66. end subroutine
  67. subroutine SetCementPumpBlowPopOffValve(v)
  68. !DEC$ ATTRIBUTES DLLEXPORT :: SetCementPumpBlowPopOffValve
  69. !DEC$ ATTRIBUTES ALIAS: 'SetCementPumpBlowPopOffValve' :: SetCementPumpBlowPopOffValve
  70. implicit none
  71. type(CProblem), intent(in) :: v
  72. CementPumpBlowPopOffValve = SetDue(v, ChangeCementPumpBlowPopOffValve)
  73. #ifdef deb
  74. print*, 'CementPumpBlowPopOffValve%ProblemType=', V%ProblemType
  75. print*, 'CementPumpBlowPopOffValve%StatusType=', V%StatusType
  76. print*, 'CementPumpBlowPopOffValve%Value=', V%Value
  77. #endif
  78. end subroutine
  79. end module CPumpProblems