m
no edit summary
(I made delay wire scheme improve it) |
mNo edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1:
<br />'''''Warning:
It is recommended to use delay wire auto reactors▼
▲''It is recommended to use delay wire auto reactors''
<h2></h2>
Automatic Reactor is a term used for [[Reactor|reactors]] which are regulated through mechanisms rather than the player. They are necessary for feasible multi-reactor power systems.
== Delay
[[File:Delay wire autoreactor.png|thumb|350x350px|A working delay wire autoreactor they have many types u can even do line with tons of autoreactors or try use polysilicon frequency]]
Delay wire reactors are easiest and cheapest
For first you need make temperature control, put 2 temperature sensors on reactor and put polysilicon on them both. After config left one to 0:1000 and its polysilicon be deactivate, and on right one put 1000:inf and dont change polysilicon mode.
[[File:Scheme of delay wire autoreactor.png|thumb|Scheme of delay wire autoreactor red is transformer black is delay wire gray is dispencer orange is trigger wire green is flip flop poly and yellow is reactor]]
Delay wire reactors use 1 delay wire with delay 200 4 delay wires connected to flip flop poly with config 1-4▼
1 delay wire with delay 9▼
and one with delay 4▼
▲Delay wire reactors use 1 delay wire with delay 200, 4 delay wires connected to flip flop poly with config 1-4,
▲1 delay wire with delay 9,
▲and one with delay 4.
== Microcontroller
There are two mechanisms per reactor, one for managing temperature, the other for dispensing uranium when it runs out. Rod control is achieved through temperature sensors, which read the reactor's temperature when attached to it, and sends signals when it moves out of range. When used with polysilicons, the signals can be used to lower or raise the control rods.
Line 52 ⟶ 44:
<syntaxhighlight lang="lua" line="1">
--How much fuel is left in the reactor before the microcontroller ejects it.
--Change this to control when you want to refuel (0 to 1) (Recommeded is 0.2 to 0.5)
local eject_treshold = 0.25
local reactor = GetPartFromPort(1, "Reactor")
Line 58 ⟶ 52:
while wait() do
-- Don't eject when there's no fuel in there
if fuel[i] ~= 0 then
TriggerPort(3) -- Eject fuel
dispenser:Dispense() -- Dispense fresh fuel
end▼
wait(1)
end
end
</syntaxhighlight>
|