We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14a877a commit d42aa65Copy full SHA for d42aa65
Modelica/Fluid/Examples/HeatExchanger.mo
@@ -469,8 +469,8 @@ The design flow direction with positive m_flow variables is counterflow.</p>
469
else
470
c_wall*m[i]*der(T[i]) = heatPort_a[i].Q_flow + heatPort_b[i].Q_flow;
471
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;
+ heatPort_a[i].Q_flow=2*k_wall/s*(Ta[i]-T[i])*area_h/n;
+ heatPort_b[i].Q_flow=2*k_wall/s*(Tb[i]-T[i])*area_h/n;
474
end for;
475
Ta=heatPort_a.T;
476
Tb=heatPort_b.T;
0 commit comments