Skip to content

Commit

Permalink
Use od_tol for targeting enthalpy
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorbrown75 committed Dec 5, 2024
1 parent 3d101f8 commit eda47e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcs/heat_exchangers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3195,7 +3195,7 @@ int C_HX_htf_to_steam::off_design_target_cold_PH_out(double h_c_out_target /*kJ/
C_MEQ__target_cold_PH_out h_out_eq(this, h_c_out_target, h_c_in, P_c_in, P_c_out,
h_h_in, P_h_in, P_h_out, m_dot_h, od_tol);
C_monotonic_eq_solver h_out_solver(h_out_eq);
h_out_solver.settings(1e-1, max_iter, m_dot_c_min, m_dot_c_max, false);
h_out_solver.settings(od_tol, max_iter, m_dot_c_min, m_dot_c_max, false);

double m_dot_c_solved, tol_solved;
int iter_solved = -1;
Expand Down

0 comments on commit eda47e0

Please sign in to comment.