This program controls an ExtremeReactors reactor with little efficiency loss in the form of a set/reset latch.
It doesn't change control rod settings and works by only turning the reactor on or off at set internal battery levels.
-
The percentages shown in the image above are the recommended settings but if you have a big reactor with a much higher reactivity you might want to lower the reset signal's trigger percentage on the left side, because the reactor will produce more energy while it's turned off for a short while.
Inversely if you want to min-max or have a smaller reactor you might want to increase the reset signal's trigger percentage and decrease the set signal percentage on the bottom side. -
If you want to tidy it up a bit more, you can set the
OUTPUT
variable toback
and place the redstone port that controls whether the reactor is on or off on the back of the computer.
Then, for symmetry, move the set signal at the bottom to the right side of the computer and set theSET_INPUT_SIDE
variable toright
.
- Craft a computer and place it like shown in the image above
- Run these commands:
label set reactor_control
pastebin get 6dGmpQaA startup.lua
edit startup.lua
- Change the settings at the top of the file to match your setup
- Press Ctrl, select
[Save]
and press Enter, then press Ctrl again, select[Exit]
and press Enter - Now run the command
reboot
to automatically start the program