diff --git a/pumpingStation.html b/pumpingStation.html
index 8c56986..6103316 100644
--- a/pumpingStation.html
+++ b/pumpingStation.html
@@ -24,6 +24,7 @@
heightInlet: { value: 0.8 }, // m, centre of inlet pipe above floor
heightOutlet: { value: 0.2 }, // m, centre of outlet pipe above floor
heightOverflow: { value: 0.9 }, // m, overflow elevation
+ minHeightBasedOn: { value: "outlet" }, // basis for minimum height check: inlet or outlet
// Advanced reference information
refHeight: { value: "NAP" }, // reference height
@@ -86,6 +87,10 @@
refHeightEl.value = this.refHeight || "NAP";
}
+ const minHeightBasedOnEl = document.getElementById("node-input-minHeightBasedOn");
+ if (minHeightBasedOnEl) {
+ minHeightBasedOnEl.value = this.minHeightBasedOn;
+ }
//------------------- END OF CUSTOM config UI ELEMENTS ------------------- //
},
@@ -98,6 +103,7 @@
//node specific
node.refHeight = document.getElementById("node-input-refHeight").value || "NAP";
+ node.minHeightBasedOn = document.getElementById("node-input-minHeightBasedOn").value || "outlet";
node.simulator = document.getElementById("node-input-simulator").checked;
["basinVolume","basinHeight","heightInlet","heightOutlet","heightOverflow","basinBottomRef"]
@@ -151,6 +157,13 @@
+
+
+
+