Skip to content

Commit d42aa65

Browse files
author
rfranke
committed
fix #1633
git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@8322 7ce873d0-865f-4ce7-a662-4bb36ea78beb
1 parent 14a877a commit d42aa65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modelica/Fluid/Examples/HeatExchanger.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,8 @@ The design flow direction with positive m_flow variables is counterflow.</p>
469469
else
470470
c_wall*m[i]*der(T[i]) = heatPort_a[i].Q_flow + heatPort_b[i].Q_flow;
471471
end if;
472-
heatPort_a[i].Q_flow=k_wall/s*(Ta[i]-T[i])*area_h/n;
473-
heatPort_b[i].Q_flow=k_wall/s*(Tb[i]-T[i])*area_h/n;
472+
heatPort_a[i].Q_flow=2*k_wall/s*(Ta[i]-T[i])*area_h/n;
473+
heatPort_b[i].Q_flow=2*k_wall/s*(Tb[i]-T[i])*area_h/n;
474474
end for;
475475
Ta=heatPort_a.T;
476476
Tb=heatPort_b.T;

0 commit comments

Comments
 (0)