Simulation Core
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

CChokeProblems.f90 8.6 KiB

hace 1 año
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  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. HydraulicChoke1Plugged = SetDue(v, ChangeHydraulicChoke1Plugged)
  13. #ifdef deb
  14. print*, 'HydraulicChoke1Plugged%ProblemType=', HydraulicChoke1Plugged%ProblemType
  15. print*, 'HydraulicChoke1Plugged%StatusType=', HydraulicChoke1Plugged%StatusType
  16. print*, 'HydraulicChoke1Plugged%Value=', 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. HydraulicChoke1Fail = SetDue(v, ChangeHydraulicChoke1Fail)
  25. #ifdef deb
  26. print*, 'HydraulicChoke1Fail%ProblemType=', HydraulicChoke1Fail%ProblemType
  27. print*, 'HydraulicChoke1Fail%StatusType=', HydraulicChoke1Fail%StatusType
  28. print*, 'HydraulicChoke1Fail%Value=', 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. HydraulicChoke1Washout = SetDue(v, ChangeHydraulicChoke1Washout)
  37. #ifdef deb
  38. print*, 'HydraulicChoke1Washout%ProblemType=', HydraulicChoke1Washout%ProblemType
  39. print*, 'HydraulicChoke1Washout%StatusType=', HydraulicChoke1Washout%StatusType
  40. print*, 'HydraulicChoke1Washout%Value=', 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. HydraulicChoke1PluggedPercent = v
  49. #ifdef deb
  50. print*, 'HydraulicChoke1PluggedPercent=', 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. HydraulicChoke2Plugged = SetDue(v, ChangeHydraulicChoke2Plugged)
  59. #ifdef deb
  60. print*, 'HydraulicChoke2Plugged%ProblemType=', HydraulicChoke2Plugged%ProblemType
  61. print*, 'HydraulicChoke2Plugged%StatusType=', HydraulicChoke2Plugged%StatusType
  62. print*, 'HydraulicChoke2Plugged%Value=', 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. HydraulicChoke2Fail = SetDue(v, ChangeHydraulicChoke2Fail)
  71. #ifdef deb
  72. print*, 'HydraulicChoke2Fail%ProblemType=', HydraulicChoke2Fail%ProblemType
  73. print*, 'HydraulicChoke2Fail%StatusType=', HydraulicChoke2Fail%StatusType
  74. print*, 'HydraulicChoke2Fail%Value=', 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. HydraulicChoke2Washout = SetDue(v, ChangeHydraulicChoke2Washout)
  83. #ifdef deb
  84. print*, 'HydraulicChoke2Washout%ProblemType=', HydraulicChoke2Washout%ProblemType
  85. print*, 'HydraulicChoke2Washout%StatusType=', HydraulicChoke2Washout%StatusType
  86. print*, 'HydraulicChoke2Washout%Value=', 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. HydraulicChoke2PluggedPercent = v
  95. #ifdef deb
  96. print*, 'HydraulicChoke2PluggedPercent=', 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. ManualChoke1Plugged = SetDue(v, ChangeManualChoke1Plugged)
  105. #ifdef deb
  106. print*, 'ManualChoke1Plugged%ProblemType=', ManualChoke1Plugged%ProblemType
  107. print*, 'ManualChoke1Plugged%StatusType=', ManualChoke1Plugged%StatusType
  108. print*, 'ManualChoke1Plugged%Value=', 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. ManualChoke1Fail = SetDue(v, ChangeManualChoke1Fail)
  117. #ifdef deb
  118. print*, 'ManualChoke1Fail%ProblemType=', ManualChoke1Fail%ProblemType
  119. print*, 'ManualChoke1Fail%StatusType=', ManualChoke1Fail%StatusType
  120. print*, 'ManualChoke1Fail%Value=', 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. ManualChoke1Washout = SetDue(v, ChangeManualChoke1Washout)
  129. #ifdef deb
  130. print*, 'ManualChoke1Washout%ProblemType=', ManualChoke1Washout%ProblemType
  131. print*, 'ManualChoke1Washout%StatusType=', ManualChoke1Washout%StatusType
  132. print*, 'ManualChoke1Washout%Value=', 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. ManualChoke1PluggedPercent = v
  141. #ifdef deb
  142. print*, 'ManualChoke1PluggedPercent=', 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. ManualChoke2Plugged = SetDue(v, ChangeManualChoke2Plugged)
  151. #ifdef deb
  152. print*, 'ManualChoke2Plugged%ProblemType=', ManualChoke2Plugged%ProblemType
  153. print*, 'ManualChoke2Plugged%StatusType=', ManualChoke2Plugged%StatusType
  154. print*, 'ManualChoke2Plugged%Value=', 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. ManualChoke2Fail = SetDue(v, ChangeManualChoke2Fail)
  163. #ifdef deb
  164. print*, 'ManualChoke2Fail%ProblemType=', ManualChoke2Fail%ProblemType
  165. print*, 'ManualChoke2Fail%StatusType=', ManualChoke2Fail%StatusType
  166. print*, 'ManualChoke2Fail%Value=', 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. ManualChoke2Washout = SetDue(v, ChangeManualChoke2Washout)
  175. #ifdef deb
  176. print*, 'ManualChoke2Washout%ProblemType=', ManualChoke2Washout%ProblemType
  177. print*, 'ManualChoke2Washout%StatusType=', ManualChoke2Washout%StatusType
  178. print*, 'ManualChoke2Washout%Value=', 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. ManualChoke2PluggedPercent = v
  187. #ifdef deb
  188. print*, 'ManualChoke2PluggedPercent=', 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. ChokePanelAirFail = SetDue(v, ChangeChokePanelAirFail)
  197. #ifdef deb
  198. print*, 'ChokePanelAirFail%ProblemType=', ChokePanelAirFail%ProblemType
  199. print*, 'ChokePanelAirFail%StatusType=', ChokePanelAirFail%StatusType
  200. print*, 'ChokePanelAirFail%Value=', ChokePanelAirFail%Value
  201. #endif
  202. end subroutine
  203. end module CChokeProblems