Skip to content

Commit

Permalink
fix bug in hx UA calc when cold stream is 2 phase
Browse files Browse the repository at this point in the history
  • Loading branch information
tyneises committed Jan 17, 2025
1 parent 50491f2 commit 15a3023
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 @@ -792,7 +792,7 @@ void NS_HX_counterflow_eqs::calc_req_UA_enth(int hot_fl_code /*-*/, HTFPropertie
C_dot_min = m_dot_c * cp_c_avg; // [kW/K] cold stream capacitance rate
C_R = 0.0;
}
else if (!is_c_2phase && is_h_2phase)
else if (!is_h_2phase && is_c_2phase)
{
C_dot_min = m_dot_h * cp_h_avg; // [kW/K] hot stream capacitance rate
C_R = 0.0;
Expand Down

0 comments on commit 15a3023

Please sign in to comment.