Basically it weighs down the difference between how much 238 do you have against 235 and depending on the ratio you want, it eithers lets it be or triggers the production of more 235 through Kovarex enrichment process.
I needed something like this because I had made what on the image is called "235 Distributor", which uses a fixed 40 U-235, separates the 1 extra produced, and re-feeds the rest back to the machine without having to feed it through an entire belt line.
The thing is, it was producing too many U-235 and I was dangerously close to running out of U-238. So I came up with the balancer idea. I'm sorry if this was done before.
The Blueprint of the prototype:
- 0eNrtXdtu48gR/ZUFHwNr0PeLsQkwm31NAgTIU2AIskTPECtTAkU5Oxn4A/If+bJ8SZqSLHFIFlVV9sxKmH3ZWctSqftUd9WpG/05u19u83VVlHV2+zkr5qtyk93+83O2KT6Us2XzWv1pnWe3WVHnj9lNVs4em5+21awsto8TpW32fJMV5SL/NbuVzzeET4bWJ9Xz3U2Wl3VRF/l+AbsfPk3L7eN9XiXRRwEPs009qZOUzXpV1ZP7fFkn6evVJn12VTbfm+RNzE32Kf0jbfqOtKm6Wi2n9/nH2VOxqpr3zItqvi3qaV7O7pf5dFFsmn+z24fZcpPfHH9d5bPF9OOsXEwbIWlNaXF1tW294+X1/VsfV4t8h0PzpWU+b5a0ab5PNv/5UOV52d5dsUhbD893z88Ncp0tqy+3vE1IVR+qVfr33KZN+v4D+Kttvd7W2YB4fRQ/T7+piofth3xApmzJrPJ5sZP6y+ppVuW/TvKyKuYfH9PnJ+tqNc83mySh0fduz5t1ni8mCZJtg6wa2qM5LqKoVuVk/jHfDGxMfanMHq5Vvuiialtf1vwcAZDtcQGbejb/ZfJQLOu8mhTlJq/S//TXIltrWRTVfinZrRs/Zs25mK4epqt1Xs32n9CUU7b7JeKEDSBhmp3fZPuN7e/Wy3Udvs53AzC5DkwwPqp1XsYQSb9bHD/3UFSbekqzOY2pqmeN3ZLND4/rWUK2+Y7sj7tffwtsfWO2Bm81dN486sAb+oF34FIg+xK+tC+wSjXryH9FBf+YPVMsrN/fgNVTXlVFuoe7I5wW8+/84LI6wEQsMPa3Bkb0Tz7JMAAnxgEnRgqaF3YtW9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dvYIxmkUbcrzDRQ7hnuFugzsD3a1F8zQCTbORymbj4OKcILFZ4oPP+jwtgDA5SaWzmEcZSvy06QsVBYDSJD5LBGqA98NAGSITxeFkKVSUuj2N5+vOEfk6oC9PJLmAmEAhuVRYenYebndwkUhrUVr3vMytvPwW3IbGdsEFXY3ntXnHK0BhKLEPoaCIVBd3xFg9bIjHB0nPykJhHicpuzOeMBRjNsg7AoOU4jU8SsFNLd7TGCJOq3hSM+ZVfaQwTRJE4IyRDIJGLFGABDR9GeVjraFJBEElAeJj78yApiBoImfFYWSIYa88uBtc391oGHymfoIOg4En6YJsLVgawVa0JF/PvAfTewVMlQVySlwO9yAGT+buCnNeAo1zK6rOugQBtKGBnBUHkIqCSt4xQEVJIu9EnAKepUZFJO8QTJpEu4mXJgwovvtKt4tPSXjThkrNUTq1xAAGgpLXYyivoGc+ajzFj8ye+Stomu+d1Yb1QzAEKsdHnVVWoyLqr3MI1h/MQv0lCiEp9FxRqFbPeggD/o0XRQs1hq+5EprI8hF6VcKQ6DkBoiZewbJRJSwx2IAwImaUcRiRUso0jPpcrvd4UnAsTYlAjEgg1CI1FsDAJoklsG8QCtjXV8RGDnFrtgT1BD6ph5/BpFqjJJhnOcFyqM+dOZhWS/XRDSB3+0Hw9F2nv5Z8ky1nyYin19bVql412vnhH3tt/HA/W87K+e6QPSVF7s9R8OkwJt6uUuz8f28/SXw=
The whole thing has 3 parts.
1: The centrifuge with the "235 distributor". I mostly already explained it, but it just takes 5 U-238 and uses 3 of them to produce a U-235. Once you give it its initials 40 235, you don't need to give it more and it will only give out 1 235.
Here's a gif of a early version of the distributor (Sorry I don't know how to post gifs directly): https://gfycat.com/AbandonedCautiousAmericanbadger
2: Storage for the Uranium (in the image called "reserves"). For the sake of the test and showcase, I made it into a bunch of chests. It didn't have to be. It could have been the information of the logistic network or something else. It just needed the information of the total amount of each uranium and a relative amount of 238.
3: The logic "balancer": Very simple. The Arithmetic combinator on the right sets the ratio I want and the Decider combinator just sends a signal if the process must go or not. If it must not, then the inserters that would give 238 won't.
The ratio is also simple: It multiplies the amount of 235 I have for the ratio X to 1 (238 to 235 respectively) I want it to have and then sends a signal if X*(amount of 235) is lower than (amount of 238). This way the whole thing will produce 235 until I get that ratio. I chose a 20 to 1 (again, 238 to 235 respectively) ratio, since that's what you need for getting the nuclear cells for the reactor. I use Uranium mainly for nuclear power, and the rest of the U-235 I have laying around for bullets fuel and such. But If I want a different ratio I just change the value of the Arithmetic combinator from 20 to whatever. If I want a close 50-50, or 1 to 1 ratio, the value of the Arithmetic combinator should be 1. Having twice the amount of 235 in 238? Ratio 2. The ration will always be either equal or in favor of 238 since I figure that you can always turn 238 into 235 but not the other way around, so it's better to have more of 238.
For just control and (fun) purposes, I added a constant combinator (with an extra Decider) to work as a switch, called "console" in the image. It adds an override of the switch so I can turn it on even if the weighs wouldn't let it. If the constant combinator has a M>0, then it will work.
Notes:
- It needs to get a feed the information of how much of both Uranium I have. I could've done it in the logistic system but since I was using just chests to store the U-238, I used that.
- The image here is a prototype, btw, but I tested it and it works.
- The constant combinators outside, right next to both reserves are not part of the design. I only used them to simulate the presence of uranium and test if it worked. But left them in the blueprint for that reason too.
- Currently, there's only 4 centrifuges on the blueprint. But just by propagating the signal, it's really easy to get as many as needed.