So I have a passively cooled Big Reactor, using opencomputers I'm trying to control the reactor from afar, this program automates controlling the reactors control rods so that it only produces energy that is needed.
After a random period of time I get an error in the main chunk in reference to the function handleReactor
I'm not much of a lua person so I have no clue what's going on with it. Here's a pastebin of the code http://pastebin.com/ixiQuSV0