fix: resolve CLI solver state dimension mismatch
Removed mathematical singularity in HeatExchanger models (q_hot - q_cold = 0 was redundant) causing them to incorrectly request 3 equations without internal variables. Fixed ScrewEconomizerCompressor internal_state_len to perfectly align with the solver dimensions.
This commit is contained in:
@@ -185,7 +185,7 @@ mod tests {
|
||||
#[test]
|
||||
fn test_condenser_coil_n_equations() {
|
||||
let coil = CondenserCoil::new(10_000.0);
|
||||
assert_eq!(coil.n_equations(), 3);
|
||||
assert_eq!(coil.n_equations(), 2);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user