ComputerCraft BigReactor Turbine automatic rate control

Discussion in 'Programming' started by MyrddinE, May 30, 2014.

  1. MyrddinE

    MyrddinE Active Member

    Joined:
    Dec 4, 2011
    Messages:
    220
    Likes Received:
    69
    This software controls the input rate (mB) of one or more turbines automatically, as power is needed or not. Note that this does not try to run the turbines at optimal speeds (what good is 'optimal' if 90% of the power is wasted anyway because it's not needed).

    http://pastebin.com/4Py9pgvU

    A similar program runs on the Active Reactor that supplies steam to the turbine(s). Since one reactor can power many turbines, I did not code this to control more than one. If you want more steam, just make it taller/bigger.

    http://pastebin.com/t6xzhasv

    Thanks to Thenrin for getting me off my butt to make this software more general purpose, and able to handle a multiple turbines and cells.
     
  2. Thenrin

    Thenrin Gamer Geezer

    Joined:
    Mar 8, 2014
    Messages:
    34
    Likes Received:
    13
    Thanks to Myrddin for programming my reactor / turbines :D