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.
 
 
 
 
 
 

221 lines
9.4 KiB

  1. module CChokeProblems
  2. use CChokeProblemsVariables
  3. implicit none
  4. public
  5. contains
  6. ! Input routines
  7. subroutine SetHydraulicChoke1Plugged(v)
  8. !DEC$ ATTRIBUTES DLLEXPORT :: SetHydraulicChoke1Plugged
  9. !DEC$ ATTRIBUTES ALIAS: 'SetHydraulicChoke1Plugged' :: SetHydraulicChoke1Plugged
  10. implicit none
  11. type(CProblem), intent(in) :: v
  12. ChokeProblems%HydraulicChoke1Plugged = SetDue(v, ChangeHydraulicChoke1Plugged)
  13. #ifdef deb
  14. print*, 'HydraulicChoke1Plugged%ProblemType=', ChokeProblems%HydraulicChoke1Plugged%ProblemType
  15. print*, 'HydraulicChoke1Plugged%StatusType=', ChokeProblems%HydraulicChoke1Plugged%StatusType
  16. print*, 'HydraulicChoke1Plugged%Value=', ChokeProblems%HydraulicChoke1Plugged%Value
  17. #endif
  18. end subroutine
  19. subroutine SetHydraulicChoke1Fail(v)
  20. !DEC$ ATTRIBUTES DLLEXPORT :: SetHydraulicChoke1Fail
  21. !DEC$ ATTRIBUTES ALIAS: 'SetHydraulicChoke1Fail' :: SetHydraulicChoke1Fail
  22. implicit none
  23. type(CProblem), intent(in) :: v
  24. ChokeProblems%HydraulicChoke1Fail = SetDue(v, ChangeHydraulicChoke1Fail)
  25. #ifdef deb
  26. print*, 'HydraulicChoke1Fail%ProblemType=', ChokeProblems%HydraulicChoke1Fail%ProblemType
  27. print*, 'HydraulicChoke1Fail%StatusType=', ChokeProblems%HydraulicChoke1Fail%StatusType
  28. print*, 'HydraulicChoke1Fail%Value=', ChokeProblems%HydraulicChoke1Fail%Value
  29. #endif
  30. end subroutine
  31. subroutine SetHydraulicChoke1Washout(v)
  32. !DEC$ ATTRIBUTES DLLEXPORT :: SetHydraulicChoke1Washout
  33. !DEC$ ATTRIBUTES ALIAS: 'SetHydraulicChoke1Washout' :: SetHydraulicChoke1Washout
  34. implicit none
  35. type(CProblem), intent(in) :: v
  36. ChokeProblems%HydraulicChoke1Washout = SetDue(v, ChangeHydraulicChoke1Washout)
  37. #ifdef deb
  38. print*, 'HydraulicChoke1Washout%ProblemType=', ChokeProblems%HydraulicChoke1Washout%ProblemType
  39. print*, 'HydraulicChoke1Washout%StatusType=', ChokeProblems%HydraulicChoke1Washout%StatusType
  40. print*, 'HydraulicChoke1Washout%Value=', ChokeProblems%HydraulicChoke1Washout%Value
  41. #endif
  42. end subroutine
  43. subroutine SetHydraulicChoke1PluggedPercent(v)
  44. !DEC$ ATTRIBUTES DLLEXPORT :: SetHydraulicChoke1PluggedPercent
  45. !DEC$ ATTRIBUTES ALIAS: 'SetHydraulicChoke1PluggedPercent' :: SetHydraulicChoke1PluggedPercent
  46. implicit none
  47. integer, intent(in) :: v
  48. ChokeProblems%HydraulicChoke1PluggedPercent = v
  49. #ifdef deb
  50. print*, 'HydraulicChoke1PluggedPercent=', ChokeProblems%HydraulicChoke1PluggedPercent
  51. #endif
  52. end subroutine
  53. subroutine SetHydraulicChoke2Plugged(v)
  54. !DEC$ ATTRIBUTES DLLEXPORT :: SetHydraulicChoke2Plugged
  55. !DEC$ ATTRIBUTES ALIAS: 'SetHydraulicChoke2Plugged' :: SetHydraulicChoke2Plugged
  56. implicit none
  57. type(CProblem), intent(in) :: v
  58. ChokeProblems%HydraulicChoke2Plugged = SetDue(v, ChangeHydraulicChoke2Plugged)
  59. #ifdef deb
  60. print*, 'HydraulicChoke2Plugged%ProblemType=', ChokeProblems%HydraulicChoke2Plugged%ProblemType
  61. print*, 'HydraulicChoke2Plugged%StatusType=', ChokeProblems%HydraulicChoke2Plugged%StatusType
  62. print*, 'HydraulicChoke2Plugged%Value=', ChokeProblems%HydraulicChoke2Plugged%Value
  63. #endif
  64. end subroutine
  65. subroutine SetHydraulicChoke2Fail(v)
  66. !DEC$ ATTRIBUTES DLLEXPORT :: SetHydraulicChoke2Fail
  67. !DEC$ ATTRIBUTES ALIAS: 'SetHydraulicChoke2Fail' :: SetHydraulicChoke2Fail
  68. implicit none
  69. type(CProblem), intent(in) :: v
  70. ChokeProblems%HydraulicChoke2Fail = SetDue(v, ChangeHydraulicChoke2Fail)
  71. #ifdef deb
  72. print*, 'HydraulicChoke2Fail%ProblemType=', ChokeProblems%HydraulicChoke2Fail%ProblemType
  73. print*, 'HydraulicChoke2Fail%StatusType=', ChokeProblems%HydraulicChoke2Fail%StatusType
  74. print*, 'HydraulicChoke2Fail%Value=', ChokeProblems%HydraulicChoke2Fail%Value
  75. #endif
  76. end subroutine
  77. subroutine SetHydraulicChoke2Washout(v)
  78. !DEC$ ATTRIBUTES DLLEXPORT :: SetHydraulicChoke2Washout
  79. !DEC$ ATTRIBUTES ALIAS: 'SetHydraulicChoke2Washout' :: SetHydraulicChoke2Washout
  80. implicit none
  81. type(CProblem), intent(in) :: v
  82. ChokeProblems%HydraulicChoke2Washout = SetDue(v, ChangeHydraulicChoke2Washout)
  83. #ifdef deb
  84. print*, 'HydraulicChoke2Washout%ProblemType=', ChokeProblems%HydraulicChoke2Washout%ProblemType
  85. print*, 'HydraulicChoke2Washout%StatusType=', ChokeProblems%HydraulicChoke2Washout%StatusType
  86. print*, 'HydraulicChoke2Washout%Value=', ChokeProblems%HydraulicChoke2Washout%Value
  87. #endif
  88. end subroutine
  89. subroutine SetHydraulicChoke2PluggedPercent(v)
  90. !DEC$ ATTRIBUTES DLLEXPORT :: SetHydraulicChoke2PluggedPercent
  91. !DEC$ ATTRIBUTES ALIAS: 'SetHydraulicChoke2PluggedPercent' :: SetHydraulicChoke2PluggedPercent
  92. implicit none
  93. integer, intent(in) :: v
  94. ChokeProblems%HydraulicChoke2PluggedPercent = v
  95. #ifdef deb
  96. print*, 'HydraulicChoke2PluggedPercent=', ChokeProblems%HydraulicChoke2PluggedPercent
  97. #endif
  98. end subroutine
  99. subroutine SetManualChoke1Plugged(v)
  100. !DEC$ ATTRIBUTES DLLEXPORT :: SetManualChoke1Plugged
  101. !DEC$ ATTRIBUTES ALIAS: 'SetManualChoke1Plugged' :: SetManualChoke1Plugged
  102. implicit none
  103. type(CProblem), intent(in) :: v
  104. ChokeProblems%ManualChoke1Plugged = SetDue(v, ChangeManualChoke1Plugged)
  105. #ifdef deb
  106. print*, 'ManualChoke1Plugged%ProblemType=', ChokeProblems%ManualChoke1Plugged%ProblemType
  107. print*, 'ManualChoke1Plugged%StatusType=', ChokeProblems%ManualChoke1Plugged%StatusType
  108. print*, 'ManualChoke1Plugged%Value=', ChokeProblems%ManualChoke1Plugged%Value
  109. #endif
  110. end subroutine
  111. subroutine SetManualChoke1Fail(v)
  112. !DEC$ ATTRIBUTES DLLEXPORT :: SetManualChoke1Fail
  113. !DEC$ ATTRIBUTES ALIAS: 'SetManualChoke1Fail' :: SetManualChoke1Fail
  114. implicit none
  115. type(CProblem), intent(in) :: v
  116. ChokeProblems%ManualChoke1Fail = SetDue(v, ChangeManualChoke1Fail)
  117. #ifdef deb
  118. print*, 'ManualChoke1Fail%ProblemType=', ChokeProblems%ManualChoke1Fail%ProblemType
  119. print*, 'ManualChoke1Fail%StatusType=', ChokeProblems%ManualChoke1Fail%StatusType
  120. print*, 'ManualChoke1Fail%Value=', ChokeProblems%ManualChoke1Fail%Value
  121. #endif
  122. end subroutine
  123. subroutine SetManualChoke1Washout(v)
  124. !DEC$ ATTRIBUTES DLLEXPORT :: SetManualChoke1Washout
  125. !DEC$ ATTRIBUTES ALIAS: 'SetManualChoke1Washout' :: SetManualChoke1Washout
  126. implicit none
  127. type(CProblem), intent(in) :: v
  128. ChokeProblems%ManualChoke1Washout = SetDue(v, ChangeManualChoke1Washout)
  129. #ifdef deb
  130. print*, 'ManualChoke1Washout%ProblemType=', ChokeProblems%ManualChoke1Washout%ProblemType
  131. print*, 'ManualChoke1Washout%StatusType=', ChokeProblems%ManualChoke1Washout%StatusType
  132. print*, 'ManualChoke1Washout%Value=', ChokeProblems%ManualChoke1Washout%Value
  133. #endif
  134. end subroutine
  135. subroutine SetManualChoke1PluggedPercent(v)
  136. !DEC$ ATTRIBUTES DLLEXPORT :: SetManualChoke1PluggedPercent
  137. !DEC$ ATTRIBUTES ALIAS: 'SetManualChoke1PluggedPercent' :: SetManualChoke1PluggedPercent
  138. implicit none
  139. integer, intent(in) :: v
  140. ChokeProblems%ManualChoke1PluggedPercent = v
  141. #ifdef deb
  142. print*, 'ManualChoke1PluggedPercent=', ChokeProblems%ManualChoke1PluggedPercent
  143. #endif
  144. end subroutine
  145. subroutine SetManualChoke2Plugged(v)
  146. !DEC$ ATTRIBUTES DLLEXPORT :: SetManualChoke2Plugged
  147. !DEC$ ATTRIBUTES ALIAS: 'SetManualChoke2Plugged' :: SetManualChoke2Plugged
  148. implicit none
  149. type(CProblem), intent(in) :: v
  150. ChokeProblems%ManualChoke2Plugged = SetDue(v, ChangeManualChoke2Plugged)
  151. #ifdef deb
  152. print*, 'ManualChoke2Plugged%ProblemType=', ChokeProblems%ManualChoke2Plugged%ProblemType
  153. print*, 'ManualChoke2Plugged%StatusType=', ChokeProblems%ManualChoke2Plugged%StatusType
  154. print*, 'ManualChoke2Plugged%Value=', ChokeProblems%ManualChoke2Plugged%Value
  155. #endif
  156. end subroutine
  157. subroutine SetManualChoke2Fail(v)
  158. !DEC$ ATTRIBUTES DLLEXPORT :: SetManualChoke2Fail
  159. !DEC$ ATTRIBUTES ALIAS: 'SetManualChoke2Fail' :: SetManualChoke2Fail
  160. implicit none
  161. type(CProblem), intent(in) :: v
  162. ChokeProblems%ManualChoke2Fail = SetDue(v, ChangeManualChoke2Fail)
  163. #ifdef deb
  164. print*, 'ManualChoke2Fail%ProblemType=', ChokeProblems%ManualChoke2Fail%ProblemType
  165. print*, 'ManualChoke2Fail%StatusType=', ChokeProblems%ManualChoke2Fail%StatusType
  166. print*, 'ManualChoke2Fail%Value=', ChokeProblems%ManualChoke2Fail%Value
  167. #endif
  168. end subroutine
  169. subroutine SetManualChoke2Washout(v)
  170. !DEC$ ATTRIBUTES DLLEXPORT :: SetManualChoke2Washout
  171. !DEC$ ATTRIBUTES ALIAS: 'SetManualChoke2Washout' :: SetManualChoke2Washout
  172. implicit none
  173. type(CProblem), intent(in) :: v
  174. ChokeProblems%ManualChoke2Washout = SetDue(v, ChangeManualChoke2Washout)
  175. #ifdef deb
  176. print*, 'ManualChoke2Washout%ProblemType=', ChokeProblems%ManualChoke2Washout%ProblemType
  177. print*, 'ManualChoke2Washout%StatusType=', ChokeProblems%ManualChoke2Washout%StatusType
  178. print*, 'ManualChoke2Washout%Value=', ChokeProblems%ManualChoke2Washout%Value
  179. #endif
  180. end subroutine
  181. subroutine SetManualChoke2PluggedPercent(v)
  182. !DEC$ ATTRIBUTES DLLEXPORT :: SetManu alChoke2PluggedPercent
  183. !DEC$ ATTRIBUTES ALIAS: 'SetManualChoke2PluggedPercent' :: SetManualChoke2PluggedPercent
  184. implicit none
  185. integer, intent(in) :: v
  186. ChokeProblems%ManualChoke2PluggedPercent = v
  187. #ifdef deb
  188. print*, 'ManualChoke2PluggedPercent=', ChokeProblems%ManualChoke2PluggedPercent
  189. #endif
  190. end subroutine
  191. subroutine SetChokePanelAirFail(v)
  192. !DEC$ ATTRIBUTES DLLEXPORT :: SetChokePanelAirFail
  193. !DEC$ ATTRIBUTES ALIAS: 'SetChokePanelAirFail' :: SetChokePanelAirFail
  194. implicit none
  195. type(CProblem), intent(in) :: v
  196. ChokeProblems%ChokePanelAirFail = SetDue(v, ChangeChokePanelAirFail)
  197. #ifdef deb
  198. print*, 'ChokePanelAirFail%ProblemType=', ChokeProblems%ChokePanelAirFail%ProblemType
  199. print*, 'ChokePanelAirFail%StatusType=', ChokeProblems%ChokePanelAirFail%StatusType
  200. print*, 'ChokePanelAirFail%Value=', ChokeProblems%ChokePanelAirFail%Value
  201. #endif
  202. end subroutine
  203. end module CChokeProblems