updated burnrate

This commit is contained in:
2025-06-14 19:12:23 -04:00
parent 70729ba4c9
commit 418afbb757
2 changed files with 5 additions and 5 deletions

View File

@@ -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()

View File

@@ -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")