Reset speedUpFactor in Reactor class for simulation acceleration, disable debug

This commit is contained in:
2025-07-08 15:41:41 +02:00
parent c566766c4d
commit 0efa76fa6a

View File

@@ -10,7 +10,7 @@ const math = create(all, config);
const S_O_INDEX = 0;
const NUM_SPECIES = 13;
const DEBUG = true;
const DEBUG = false;
class Reactor {
/**
@@ -30,7 +30,7 @@ class Reactor {
this.currentTime = Date.now(); // milliseconds since epoch [ms]
this.timeStep = 1 / (24*60*15); // time step [d]
this.speedUpFactor = 1; // speed up factor for simulation, 60 means 1 minute per simulated second
this.speedUpFactor = 60; // speed up factor for simulation, 60 means 1 minute per simulated second
}
/**