Wire BPHX channel pressure drop on both sides with selectable correlations.
Some checks failed
CI / check (push) Has been cancelled
Some checks failed
CI / check (push) Has been cancelled
Replace isobaric 4-port closures with SimplifiedChannel (default) and Martin1996 DP models so z_dp and UI dp_correlation actually affect the Newton solve. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -29,7 +29,7 @@ fn test_simulation_result_serialization() {
|
||||
initialization_diagnostics: None,
|
||||
dof: None,
|
||||
elapsed_ms: 50,
|
||||
raw_state_vector: None,
|
||||
raw_state_vector: None, solved_variables: Vec::new(),
|
||||
};
|
||||
|
||||
let json = serde_json::to_string_pretty(&result).unwrap();
|
||||
@@ -70,7 +70,7 @@ fn test_error_result_serialization() {
|
||||
initialization_diagnostics: None,
|
||||
dof: None,
|
||||
elapsed_ms: 0,
|
||||
raw_state_vector: None,
|
||||
raw_state_vector: None, solved_variables: Vec::new(),
|
||||
};
|
||||
|
||||
let json = serde_json::to_string(&result).unwrap();
|
||||
@@ -96,7 +96,7 @@ fn test_error_result_serializes_failure_diagnostics() {
|
||||
initialization_diagnostics: None,
|
||||
dof: None,
|
||||
elapsed_ms: 0,
|
||||
raw_state_vector: None,
|
||||
raw_state_vector: None, solved_variables: Vec::new(),
|
||||
};
|
||||
|
||||
let json = serde_json::to_string(&result).unwrap();
|
||||
@@ -2303,7 +2303,7 @@ fn test_structural_failure_serializes_without_diagnostics() {
|
||||
initialization_diagnostics: None,
|
||||
dof: None,
|
||||
elapsed_ms: 0,
|
||||
raw_state_vector: None,
|
||||
raw_state_vector: None, solved_variables: Vec::new(),
|
||||
};
|
||||
|
||||
let json = serde_json::to_string(&result).unwrap();
|
||||
@@ -2348,7 +2348,7 @@ fn test_success_result_does_not_include_failure_diagnostics() {
|
||||
initialization_diagnostics: None,
|
||||
dof: None,
|
||||
elapsed_ms: 120,
|
||||
raw_state_vector: None,
|
||||
raw_state_vector: None, solved_variables: Vec::new(),
|
||||
};
|
||||
|
||||
let json = serde_json::to_string(&result).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user