Snapshot WIP: solver HP epic progress, BPHX/HX physics, BMAD skill refresh.
Some checks failed
CI / check (push) Has been cancelled
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:
@@ -26,7 +26,7 @@ impl Component for MockCalibratedComponent {
|
||||
) -> Result<(), ComponentError> {
|
||||
// Fix the edge states to a known value.
|
||||
// Per-edge state is (ṁ, P, h); P at index 1, h at index 2.
|
||||
residuals[0] = state[1] - 300.0;
|
||||
residuals[0] = state[1] - 300_000.0;
|
||||
residuals[1] = state[2] - 400.0;
|
||||
// CM1.3: mass-flow equation — pin ṁ at a seed value.
|
||||
residuals[2] = state[0] - 0.05;
|
||||
@@ -128,7 +128,7 @@ fn test_inverse_calibration_f_ua() {
|
||||
let result = solver.solve(&mut sys);
|
||||
|
||||
// Should converge quickly
|
||||
assert!(dbg!(&result).is_ok());
|
||||
assert!(result.is_ok());
|
||||
let converged = result.unwrap();
|
||||
|
||||
// The control variable `f_ua` is at the end of the state vector
|
||||
|
||||
Reference in New Issue
Block a user