for {lhc in HeatCascades, lc in ClustersOfLayer[lhc], , t in Time, s in HC_Hot_loc[lhc,lc,t] union HC_Cold_loc[lhc,lc,t]}
{ if (Streams_Tin[lhc,s,t] > Streams_Tout[lhc,s,t]) then
{ let Streams_Tin[lhc,s,t] := Streams_Tin[lhc,s,t] - dt[lhc,s,t];
let Streams_Tout[lhc,s,t] := Streams_Tout[lhc,s,t] - dt[lhc,s,t];
}
if (Streams_Tin[lhc,s,t] < Streams_Tout[lhc,s,t]) then
{ let Streams_Tin[lhc,s,t] := Streams_Tin[lhc,s,t] + dt[lhc,s,t];
let Streams_Tout[lhc,s,t] := Streams_Tout[lhc,s,t] + dt[lhc,s,t];
}
}
I was wondering if there is a difference in their performances. and if there is any other way to imrpove it.