From 04306d0996de81e20ac28d6740112f887f7d0a4f Mon Sep 17 00:00:00 2001
From: "p.vanderwilt"
Date: Mon, 29 Sep 2025 09:40:17 +0200
Subject: [PATCH] Fix measurement type string for oxygen in _updateMeasurement
method
---
src/specificClass.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/specificClass.js b/src/specificClass.js
index 75100d7..636f678 100644
--- a/src/specificClass.js
+++ b/src/specificClass.js
@@ -322,7 +322,7 @@ class Reactor_PFR extends Reactor {
_updateMeasurement(measurementType, value, position, context) {
switch(measurementType) {
- case "Quantity (oxygen)":
+ case "quantity (oxygen)":
grid_pos = Math.round(position / this.config.length * this.n_x);
this.state[grid_pos][S_O_INDEX] = value; // naive approach for reconciling measurements and simulation
break;