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