updated burnrate
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
local max = 15
|
local max = 15
|
||||||
local init = 3
|
local init = 3
|
||||||
local rateStep = 0.10
|
local rateStep = 0.01
|
||||||
local smallRateStep = 0.05
|
local smallRateStep = 0.001
|
||||||
local min = 1
|
local min = 1
|
||||||
|
|
||||||
local function getValue()
|
local function getValue()
|
||||||
|
|||||||
@@ -21,10 +21,10 @@ local function checkSteamLevel()
|
|||||||
reactor.scram();
|
reactor.scram();
|
||||||
turbine.setDumpingMode("DUMPING")
|
turbine.setDumpingMode("DUMPING")
|
||||||
burnRateDriver.stepDown()
|
burnRateDriver.stepDown()
|
||||||
elseif value >= minVent and value <= maxVent then
|
elseif value <= maxVent-10 then
|
||||||
print("Steam within vent range. Adjusting vents.")
|
print("Steam within vent range. Adjusting vents.")
|
||||||
--turbine.setDumpingMode("DUMPING")
|
turbine.setDumpingMode("DUMPING")
|
||||||
--burnRateDriver.stepDown()
|
burnRateDriver.stepDown()
|
||||||
elseif value >= min and value < minVent then
|
elseif value >= min and value < minVent then
|
||||||
print("Steam within normal operation range.")
|
print("Steam within normal operation range.")
|
||||||
turbine.setDumpingMode("IDLE")
|
turbine.setDumpingMode("IDLE")
|
||||||
|
|||||||
Reference in New Issue
Block a user