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.
 
 
 
 
 
 

394 lines
15 KiB

  1. ! make adjustments
  2. call data%state%manifold%Valve(1)%AdjacentTo(91)
  3. call data%state%manifold%Valve(2)%AdjacentTo(92)
  4. call data%state%manifold%Valve(2)%AdjacentTo(117)
  5. call data%state%manifold%Valve(3)%AdjacentTo(93)
  6. call data%state%manifold%Valve(3)%AdjacentTo(118)
  7. call data%state%manifold%Valve(4)%AdjacentTo(94)
  8. call data%state%manifold%Valve(5)%AdjacentTo(95)
  9. call data%state%manifold%Valve(6)%AdjacentTo(91)
  10. call data%state%manifold%Valve(6)%AdjacentTo(92)
  11. call data%state%manifold%Valve(7)%AdjacentTo(92)
  12. call data%state%manifold%Valve(7)%AdjacentTo(93)
  13. call data%state%manifold%Valve(8)%AdjacentTo(93)
  14. call data%state%manifold%Valve(8)%AdjacentTo(94)
  15. call data%state%manifold%Valve(9)%AdjacentTo(91)
  16. call data%state%manifold%Valve(9)%AdjacentTo(96)
  17. call data%state%manifold%Valve(10)%AdjacentTo(94)
  18. call data%state%manifold%Valve(10)%AdjacentTo(98)
  19. call data%state%manifold%Valve(11)%AdjacentTo(96)
  20. call data%state%manifold%Valve(11)%AdjacentTo(97)
  21. call data%state%manifold%Valve(12)%AdjacentTo(97)
  22. call data%state%manifold%Valve(12)%AdjacentTo(98)
  23. call data%state%manifold%Valve(13)%AdjacentTo(96)
  24. call data%state%manifold%Valve(13)%AdjacentTo(99)
  25. call data%state%manifold%Valve(14)%AdjacentTo(78)
  26. call data%state%manifold%Valve(14)%AdjacentTo(97)
  27. !call Valve(14)%AdjacentTo(126)
  28. call data%state%manifold%Valve(15)%AdjacentTo(98)
  29. call data%state%manifold%Valve(15)%AdjacentTo(99)
  30. call data%state%manifold%Valve(16)%AdjacentTo(121)
  31. !call Valve(16)%AdjacentTo()
  32. call data%state%manifold%Valve(17)%AdjacentTo(122)
  33. !call Valve(17)%AdjacentTo()
  34. call data%state%manifold%Valve(18)%AdjacentTo(123)
  35. !call Valve(18)%AdjacentTo()
  36. call data%state%manifold%Valve(19)%AdjacentTo(101)
  37. call data%state%manifold%Valve(19)%AdjacentTo(102)
  38. call data%state%manifold%Valve(20)%AdjacentTo(100)
  39. call data%state%manifold%Valve(21)%AdjacentTo(101)
  40. call data%state%manifold%Valve(22)%AdjacentTo(102)
  41. call data%state%manifold%Valve(23)%AdjacentTo(71)
  42. call data%state%manifold%Valve(24)%AdjacentTo(71)
  43. call data%state%manifold%Valve(25)%AdjacentTo(108)
  44. call data%state%manifold%Valve(25)%AdjacentTo(118)
  45. call data%state%manifold%Valve(26)%AdjacentTo(109)
  46. call data%state%manifold%Valve(26)%AdjacentTo(117)
  47. call data%state%manifold%Valve(27)%AdjacentTo(32)
  48. call data%state%manifold%Valve(27)%AdjacentTo(108)
  49. call data%state%manifold%Valve(28)%AdjacentTo(33)
  50. call data%state%manifold%Valve(28)%AdjacentTo(108)
  51. call data%state%manifold%Valve(29)%AdjacentTo(110)
  52. call data%state%manifold%Valve(29)%AdjacentTo(113)
  53. call data%state%manifold%Valve(30)%AdjacentTo(34)
  54. call data%state%manifold%Valve(30)%AdjacentTo(109)
  55. call data%state%manifold%Valve(31)%AdjacentTo(35)
  56. call data%state%manifold%Valve(31)%AdjacentTo(109)
  57. call data%state%manifold%Valve(32)%AdjacentTo(27)
  58. call data%state%manifold%Valve(32)%AdjacentTo(61)
  59. call data%state%manifold%Valve(33)%AdjacentTo(28)
  60. call data%state%manifold%Valve(33)%AdjacentTo(62)
  61. call data%state%manifold%Valve(34)%AdjacentTo(30)
  62. call data%state%manifold%Valve(34)%AdjacentTo(63)
  63. call data%state%manifold%Valve(35)%AdjacentTo(31)
  64. call data%state%manifold%Valve(35)%AdjacentTo(64)
  65. call data%state%manifold%Valve(36)%AdjacentTo(116)
  66. call data%state%manifold%Valve(37)%AdjacentTo(78)
  67. call data%state%manifold%Valve(38)%AdjacentTo(71)
  68. call data%state%manifold%Valve(39)%AdjacentTo(77)
  69. !call Valve(40)%AdjacentTo(105)
  70. call data%state%manifold%Valve(40)%AdjacentTo(80)
  71. call data%state%manifold%Valve(41)%AdjacentTo(77)
  72. call data%state%manifold%Valve(42)%AdjacentTo(71)
  73. call data%state%manifold%Valve(43)%AdjacentTo(106)
  74. call data%state%manifold%Valve(44)%AdjacentTo(77)
  75. call data%state%manifold%Valve(45)%AdjacentTo(71)
  76. call data%state%manifold%Valve(46)%AdjacentTo(104)
  77. call data%state%manifold%Valve(47)%AdjacentTo(104)
  78. call data%state%manifold%Valve(47)%AdjacentTo(117)
  79. call data%state%manifold%Valve(48)%AdjacentTo(69)
  80. call data%state%manifold%Valve(48)%AdjacentTo(79)
  81. call data%state%manifold%Valve(49)%AdjacentTo(104)
  82. call data%state%manifold%Valve(49)%AdjacentTo(79)
  83. !call Valve(50)%AdjacentTo(48)
  84. call data%state%manifold%Valve(50)%AdjacentTo(51)
  85. !call Valve(50)%AdjacentTo(54)
  86. call data%state%manifold%Valve(50)%AdjacentTo(104)
  87. call data%state%manifold%Valve(51)%AdjacentTo(50)
  88. call data%state%manifold%Valve(51)%AdjacentTo(52)
  89. call data%state%manifold%Valve(52)%AdjacentTo(51)
  90. !call Valve(52)%AdjacentTo(127)
  91. call data%state%manifold%Valve(52)%AdjacentTo(80)
  92. !call Valve(53)%AdjacentTo(103)
  93. !call Valve(53)%AdjacentTo(105)
  94. call data%state%manifold%Valve(53)%AdjacentTo(80)
  95. !call Valve(54)%AdjacentTo(69)
  96. !call Valve(54)%AdjacentTo(124)
  97. !call Valve(55)%AdjacentTo(103)
  98. !call Valve(55)%AdjacentTo(124)
  99. call data%state%manifold%Valve(56)%AdjacentTo(128)
  100. call data%state%manifold%Valve(56)%AdjacentTo(127)
  101. !call Valve(57)%AdjacentTo(14)
  102. !call Valve(57)%AdjacentTo(103)
  103. !call Valve(57)%AdjacentTo(126)
  104. call data%state%manifold%Valve(58)%AdjacentTo(78)
  105. call data%state%manifold%Valve(59)%AdjacentTo(78)
  106. call data%state%manifold%Valve(60)%AdjacentTo(78)
  107. call data%state%manifold%Valve(61)%AdjacentTo(32)
  108. call data%state%manifold%Valve(61)%AdjacentTo(115)
  109. call data%state%manifold%Valve(62)%AdjacentTo(33)
  110. call data%state%manifold%Valve(62)%AdjacentTo(114)
  111. call data%state%manifold%Valve(63)%AdjacentTo(112)
  112. call data%state%manifold%Valve(63)%AdjacentTo(34)
  113. call data%state%manifold%Valve(64)%AdjacentTo(35)
  114. call data%state%manifold%Valve(64)%AdjacentTo(111)
  115. call data%state%manifold%Valve(65)%AdjacentTo(120)
  116. call data%state%manifold%Valve(66)%AdjacentTo(120)
  117. call data%state%manifold%Valve(67)%AdjacentTo(73)
  118. call data%state%manifold%Valve(68)%AdjacentTo(125)
  119. call data%state%manifold%Valve(68)%AdjacentTo(126)
  120. call data%state%manifold%Valve(69)%AdjacentTo(48)
  121. call data%state%manifold%Valve(69)%AdjacentTo(124)
  122. !call Valve(70)%AdjacentTo()
  123. !call Valve(70)%AdjacentTo()
  124. call data%state%manifold%Valve(71)%AdjacentTo(20)
  125. call data%state%manifold%Valve(71)%AdjacentTo(44)
  126. call data%state%manifold%Valve(71)%AdjacentTo(59)
  127. call data%state%manifold%Valve(72)%AdjacentTo(21)
  128. call data%state%manifold%Valve(72)%AdjacentTo(23)
  129. call data%state%manifold%Valve(73)%AdjacentTo(22)
  130. call data%state%manifold%Valve(74)%AdjacentTo(24)
  131. !call Valve(75)%AdjacentTo()
  132. !call Valve(76)%AdjacentTo()
  133. call data%state%manifold%Valve(77)%AdjacentTo(43)
  134. call data%state%manifold%Valve(77)%AdjacentTo(58)
  135. !call Valve(78)%AdjacentTo()
  136. call data%state%manifold%Valve(79)%AdjacentTo(48)
  137. call data%state%manifold%Valve(79)%AdjacentTo(49)
  138. call data%state%manifold%Valve(80)%AdjacentTo(52)
  139. call data%state%manifold%Valve(80)%AdjacentTo(107)
  140. call data%state%manifold%Valve(81)%AdjacentTo(53)
  141. call data%state%manifold%Valve(82)%AdjacentTo(16)
  142. call data%state%manifold%Valve(83)%AdjacentTo(17)
  143. call data%state%manifold%Valve(84)%AdjacentTo(18)
  144. !call Valve(85)%AdjacentTo()
  145. !call Valve(86)%AdjacentTo()
  146. !call Valve(87)%AdjacentTo()
  147. !call Valve(88)%AdjacentTo()
  148. !!call Valve(89)%AdjacentTo()
  149. !call Valve(90)%AdjacentTo()
  150. call data%state%manifold%Valve(91)%AdjacentTo(6)
  151. call data%state%manifold%Valve(91)%AdjacentTo(9)
  152. call data%state%manifold%Valve(91)%AdjacentTo(75)
  153. call data%state%manifold%Valve(92)%AdjacentTo(6)
  154. call data%state%manifold%Valve(92)%AdjacentTo(7)
  155. call data%state%manifold%Valve(92)%AdjacentTo(2)
  156. call data%state%manifold%Valve(93)%AdjacentTo(3)
  157. call data%state%manifold%Valve(93)%AdjacentTo(7)
  158. call data%state%manifold%Valve(93)%AdjacentTo(8)
  159. call data%state%manifold%Valve(94)%AdjacentTo(8)
  160. call data%state%manifold%Valve(94)%AdjacentTo(10)
  161. call data%state%manifold%Valve(94)%AdjacentTo(95)
  162. call data%state%manifold%Valve(95)%AdjacentTo(76)
  163. call data%state%manifold%Valve(95)%AdjacentTo(94)
  164. call data%state%manifold%Valve(96)%AdjacentTo(9)
  165. call data%state%manifold%Valve(96)%AdjacentTo(11)
  166. call data%state%manifold%Valve(96)%AdjacentTo(13)
  167. call data%state%manifold%Valve(97)%AdjacentTo(11)
  168. call data%state%manifold%Valve(97)%AdjacentTo(12)
  169. call data%state%manifold%Valve(97)%AdjacentTo(14)
  170. call data%state%manifold%Valve(98)%AdjacentTo(10)
  171. call data%state%manifold%Valve(98)%AdjacentTo(12)
  172. call data%state%manifold%Valve(98)%AdjacentTo(15)
  173. call data%state%manifold%Valve(99)%AdjacentTo(13)
  174. call data%state%manifold%Valve(99)%AdjacentTo(15)
  175. call data%state%manifold%Valve(99)%AdjacentTo(125)
  176. !call Valve(100)%AdjacentTo(16)
  177. call data%state%manifold%Valve(100)%AdjacentTo(82)
  178. call data%state%manifold%Valve(100)%AdjacentTo(101)
  179. !call Valve(101)%AdjacentTo(17)
  180. call data%state%manifold%Valve(101)%AdjacentTo(19)
  181. call data%state%manifold%Valve(101)%AdjacentTo(83)
  182. call data%state%manifold%Valve(101)%AdjacentTo(100)
  183. !call Valve(102)%AdjacentTo(18)
  184. call data%state%manifold%Valve(102)%AdjacentTo(19)
  185. call data%state%manifold%Valve(102)%AdjacentTo(84)
  186. !call Valve(103)%AdjacentTo(53)
  187. !call Valve(103)%AdjacentTo(56)
  188. call data%state%manifold%Valve(103)%AdjacentTo(124)
  189. !call Valve(103)%AdjacentTo(56)
  190. !call Valve(103)%AdjacentTo(78)
  191. call data%state%manifold%Valve(104)%AdjacentTo(46)
  192. call data%state%manifold%Valve(104)%AdjacentTo(47)
  193. call data%state%manifold%Valve(104)%AdjacentTo(49)
  194. call data%state%manifold%Valve(104)%AdjacentTo(50)
  195. !call Valve(105)%AdjacentTo(53)
  196. !call Valve(105)%AdjacentTo(107)
  197. !call Valve(105)%AdjacentTo(127)
  198. call data%state%manifold%Valve(106)%AdjacentTo(40)
  199. call data%state%manifold%Valve(106)%AdjacentTo(45)
  200. call data%state%manifold%Valve(107)%AdjacentTo(41)
  201. !call Valve(107)%AdjacentTo(105)
  202. call data%state%manifold%Valve(107)%AdjacentTo(119)
  203. !call Valve(107)%AdjacentTo(42)
  204. call data%state%manifold%Valve(108)%AdjacentTo(25)
  205. call data%state%manifold%Valve(108)%AdjacentTo(27)
  206. call data%state%manifold%Valve(108)%AdjacentTo(28)
  207. call data%state%manifold%Valve(108)%AdjacentTo(110)
  208. call data%state%manifold%Valve(109)%AdjacentTo(26)
  209. call data%state%manifold%Valve(109)%AdjacentTo(30)
  210. call data%state%manifold%Valve(109)%AdjacentTo(31)
  211. call data%state%manifold%Valve(109)%AdjacentTo(110)
  212. call data%state%manifold%Valve(110)%AdjacentTo(29)
  213. call data%state%manifold%Valve(110)%AdjacentTo(85)
  214. call data%state%manifold%Valve(110)%AdjacentTo(108)
  215. call data%state%manifold%Valve(110)%AdjacentTo(109)
  216. call data%state%manifold%Valve(111)%AdjacentTo(37)
  217. call data%state%manifold%Valve(111)%AdjacentTo(64)
  218. call data%state%manifold%Valve(111)%AdjacentTo(112)
  219. call data%state%manifold%Valve(112)%AdjacentTo(63)
  220. call data%state%manifold%Valve(112)%AdjacentTo(111)
  221. call data%state%manifold%Valve(112)%AdjacentTo(113)
  222. call data%state%manifold%Valve(113)%AdjacentTo(29)
  223. call data%state%manifold%Valve(113)%AdjacentTo(112)
  224. call data%state%manifold%Valve(113)%AdjacentTo(114)
  225. call data%state%manifold%Valve(114)%AdjacentTo(62)
  226. call data%state%manifold%Valve(114)%AdjacentTo(113)
  227. call data%state%manifold%Valve(114)%AdjacentTo(115)
  228. call data%state%manifold%Valve(115)%AdjacentTo(36)
  229. call data%state%manifold%Valve(115)%AdjacentTo(61)
  230. call data%state%manifold%Valve(115)%AdjacentTo(114)
  231. call data%state%manifold%Valve(116)%AdjacentTo(38)
  232. call data%state%manifold%Valve(116)%AdjacentTo(39)
  233. call data%state%manifold%Valve(117)%AdjacentTo(2)
  234. call data%state%manifold%Valve(117)%AdjacentTo(26)
  235. call data%state%manifold%Valve(117)%AdjacentTo(47)
  236. call data%state%manifold%Valve(118)%AdjacentTo(3)
  237. call data%state%manifold%Valve(118)%AdjacentTo(25)
  238. call data%state%manifold%Valve(118)%AdjacentTo(46)
  239. call data%state%manifold%Valve(119)%AdjacentTo(42)
  240. call data%state%manifold%Valve(119)%AdjacentTo(60)
  241. call data%state%manifold%Valve(119)%AdjacentTo(107)
  242. call data%state%manifold%Valve(120)%AdjacentTo(71)
  243. !call Valve(121)%AdjacentTo(16)
  244. call data%state%manifold%Valve(121)%AdjacentTo(1)
  245. call data%state%manifold%Valve(121)%AdjacentTo(65)
  246. !call Valve(122)%AdjacentTo(17)
  247. call data%state%manifold%Valve(122)%AdjacentTo(4)
  248. call data%state%manifold%Valve(122)%AdjacentTo(66)
  249. !call Valve(123)%AdjacentTo(18)
  250. call data%state%manifold%Valve(123)%AdjacentTo(5)
  251. call data%state%manifold%Valve(123)%AdjacentTo(67)
  252. !call Valve(124)%AdjacentTo(54)
  253. !call Valve(124)%AdjacentTo(55)
  254. call data%state%manifold%Valve(124)%AdjacentTo(69)
  255. call data%state%manifold%Valve(124)%AdjacentTo(103)
  256. call data%state%manifold%Valve(125)%AdjacentTo(68)
  257. call data%state%manifold%Valve(125)%AdjacentTo(99)
  258. ! call Valve(125)%AdjacentTo(126)
  259. call data%state%manifold%Valve(126)%AdjacentTo(128)
  260. call data%state%manifold%Valve(126)%AdjacentTo(68)
  261. !call Valve(126)%AdjacentTo(125)
  262. call data%state%manifold%Valve(127)%AdjacentTo(56)
  263. call data%state%manifold%Valve(127)%AdjacentTo(78)
  264. !call Valve(127)%AdjacentTo(105)
  265. call data%state%manifold%Valve(128)%AdjacentTo(56)
  266. call data%state%manifold%Valve(128)%AdjacentTo(126)