Snapshot WIP: solver HP epic progress, BPHX/HX physics, BMAD skill refresh.
Some checks failed
CI / check (push) Has been cancelled

Capture uncommitted solver robustness work (regularization, domain errors, linear solver lifecycle, tube DP/MSH), web workbench updates, and synced BMAD skills across IDE agent folders before starting BPHX pressure-drop.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-19 16:35:31 +02:00
parent 88620790d6
commit 5bd180b5b8
1363 changed files with 101041 additions and 58547 deletions

View File

@@ -349,21 +349,23 @@ fn test_two_circuit_chiller_topology() {
sys.add_edge(comp0_node, coil_node).expect("comp→coil edge");
}
// FlowMerger (mock), EXV, FloodedEvap, Drum, Eco — all mock
// FlowMerger (mock), EXV, FloodedEvap, Drum, Eco — all mock.
// CM1.4: reduce mock equation counts so the topology stays square/under-constrained
// (this test only validates construction, not a solve).
let merger = sys
.add_component_to_circuit(Box::new(Mock::new(2, 0)), CircuitId::ZERO)
.add_component_to_circuit(Box::new(Mock::new(1, 0)), CircuitId::ZERO)
.unwrap();
let exv = sys
.add_component_to_circuit(Box::new(Mock::new(2, 0)), CircuitId::ZERO)
.add_component_to_circuit(Box::new(Mock::new(1, 0)), CircuitId::ZERO)
.unwrap();
let evap = sys
.add_component_to_circuit(Box::new(Mock::new(3, 0)), CircuitId::ZERO)
.add_component_to_circuit(Box::new(Mock::new(1, 0)), CircuitId::ZERO)
.unwrap();
let drum = sys
.add_component_to_circuit(Box::new(Mock::new(5, 0)), CircuitId::ZERO)
.add_component_to_circuit(Box::new(Mock::new(1, 0)), CircuitId::ZERO)
.unwrap();
let eco = sys
.add_component_to_circuit(Box::new(Mock::new(3, 0)), CircuitId::ZERO)
.add_component_to_circuit(Box::new(Mock::new(1, 0)), CircuitId::ZERO)
.unwrap();
// Connect: merger → exv → evap → drum → eco → comp0 (suction)
@@ -404,13 +406,13 @@ fn test_two_circuit_chiller_topology() {
}
let merger1 = sys
.add_component_to_circuit(Box::new(Mock::new(2, 1)), CircuitId(1))
.add_component_to_circuit(Box::new(Mock::new(1, 1)), CircuitId(1))
.unwrap();
let exv1 = sys
.add_component_to_circuit(Box::new(Mock::new(2, 1)), CircuitId(1))
.add_component_to_circuit(Box::new(Mock::new(1, 1)), CircuitId(1))
.unwrap();
let evap1 = sys
.add_component_to_circuit(Box::new(Mock::new(3, 1)), CircuitId(1))
.add_component_to_circuit(Box::new(Mock::new(1, 1)), CircuitId(1))
.unwrap();
sys.add_edge(merger1, exv1).unwrap();