From 5c091cdce95fd260022aa653a97ca84dda9b7608 Mon Sep 17 00:00:00 2001 From: znetsixe Date: Wed, 27 May 2026 17:47:57 +0200 Subject: [PATCH] feat(config): add planner.emergencyPressurePa for MGC rendezvous emergency bypass Documented, defaults to null (inert). When set, the MGC pre-empts an in-flight rendezvous lock and re-plans immediately if the resolved header pressure reaches this canonical-Pa threshold. Mechanism is wired + tested; never fires until a real value is configured. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/configs/machineGroupControl.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/configs/machineGroupControl.json b/src/configs/machineGroupControl.json index df407b4..c650cd8 100644 --- a/src/configs/machineGroupControl.json +++ b/src/configs/machineGroupControl.json @@ -149,6 +149,13 @@ "type": "boolean", "description": "If true, every dispatch is routed through the rendezvous planner regardless of control strategy: per-pump moves are delayed so all pumps reach their setpoint at the same wall-clock instant t* = max(eta_i). If false, all flowmovement commands fire immediately and each pump ramps at its own speed (legacy behaviour)." } + }, + "emergencyPressurePa": { + "default": null, + "rules": { + "type": "number", + "description": "Safety threshold (canonical Pa) for the rendezvous emergency bypass. While a rendezvous is in flight new setpoints are locked out and queued sequentially; if the resolved header pressure reaches this value the lock is pre-empted and the group re-plans immediately. Null/unset (the default) leaves the bypass mechanism wired but INERT — it never fires until a real threshold is configured." + } } }, "mode": {