Skip to content

Commit

Permalink
The dT is a temperature difference, so converting it to celsius shoul…
Browse files Browse the repository at this point in the history
…dn't use an offset.
  • Loading branch information
HansOlsson committed Sep 15, 2022
1 parent f325ed3 commit 5a9db51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modelica/Fluid/Examples/HeatExchanger.mo
Expand Up @@ -419,7 +419,7 @@ The design flow direction with positive m_flow variables is counterflow.</p>
"Formulation of energy balance"
annotation(Evaluate=true, Dialog(tab = "Assumptions", group="Dynamics"));
parameter SI.Temperature T_start "Wall temperature start value";
parameter SI.Temperature dT "Start value for port_b.T - port_a.T";
parameter SI.TemperatureDifference dT "Start value for port_b.T - port_a.T";
//Temperatures
SI.Temperature[n] Tb(each start=T_start+0.5*dT);
SI.Temperature[n] Ta(each start=T_start-0.5*dT);
Expand Down

0 comments on commit 5a9db51

Please sign in to comment.