Skip to content

Commit

Permalink
feat: smiley lobotomy procedure #1
Browse files Browse the repository at this point in the history
  • Loading branch information
bruberu committed Jul 9, 2024
1 parent 2d7ad90 commit 002c9b5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,7 @@ public void regulateControlRods() {
if (!this.isOn || !this.controlRodRegulationOn)
return;

if (pressure > maxPressure * 0.8 || (temperature > coolantExitTemperature * 0.7 + maxTemperature * 0.3 &&
temperature > maxTemperature - 150)) {
if (pressure > maxPressure * 0.8 || temperature > (coolantExitTemperature + maxTemperature) / 2 || temperature > maxTemperature - 150) {
if (kEff > 1) {
this.controlRodInsertion += 0.004;
this.controlRodInsertion = Math.min(1, this.controlRodInsertion);
Expand Down

0 comments on commit 002c9b5

Please sign in to comment.