Posted 03 July 2017 - 10:00 PM
Hey guys,
just wanted to share a small tool I've written for the BigReactors Mod. As the title says it's a controller for a reactor in passive mode. The script controls the insertion of the Control Rods based on either or both the Core and Casing temperatures and the energy stored in the Energy Buffer of the reactor (that's why it's not working with Reactors in active mode). The temperature, Energy Buffer and Control Rod Insertion can be viewed via an integrated GUI when using an Advanced Computer/Monitor.
In the beginning of the script there's a configuration table with parameters for
You can install the controller via pastebin ID 2Sh8QFJs:
https://pastebin.com/2Sh8QFJs
Hope you enjoy my program :)/>
Adn
just wanted to share a small tool I've written for the BigReactors Mod. As the title says it's a controller for a reactor in passive mode. The script controls the insertion of the Control Rods based on either or both the Core and Casing temperatures and the energy stored in the Energy Buffer of the reactor (that's why it's not working with Reactors in active mode). The temperature, Energy Buffer and Control Rod Insertion can be viewed via an integrated GUI when using an Advanced Computer/Monitor.
In the beginning of the script there's a configuration table with parameters for
- Setting a prioritized Reactor Computer Port (helpful if there are more than one connected ports)
- Enabling/disabling the control mechanisms for temperature regulation and fuel save (Energy Buffer dependent Rod insertion, so less fuel is wasted for energy that can't be stored anywhere)
- Setting the parameters for the two control mechanisms
- If the temperature goes above tempLimitSoft, the Control Rods start inserting. The Amount of insertion is relative to tempLimitHard so that the Rods should be at 100% when tempLimitHard is reached.
- If the temperature goes above tempLimitHard, the reactor shuts down to avoid explosion (well, it's not implemented in the mod itself, but if someone wants to have a realistic reactor controller ;)/>.
- If the temperature (after a reactor shutdown) goes below tempRestartTarget, the reactor will be restarted.
- Below energyMarkLow the mechanism doesn't insert any Control Rods.
- Between energyMarkLow and energyMarkHigh the mechanism inserts the Control Rods in a linear scale, so that at energyMarkHigh the Control Rod should be inserted at 100%.
- Above energyMarkHigh the Control Rod will be inserted at 100%.
You can install the controller via pastebin ID 2Sh8QFJs:
pastebin get 2Sh8QFJs controller
https://pastebin.com/2Sh8QFJs
Hope you enjoy my program :)/>
Adn
Edited on 03 July 2017 - 08:01 PM