Skip to content

Commit

Permalink
fix: remove temperature neglection pipeBeggs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sviatose committed Feb 10, 2025
1 parent c0d77af commit 70259bf
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -907,10 +907,6 @@ public double calcTemperatureDifference(SystemInterface system){
heatTransferCoefficient = estimateHeatTransferCoefficent(system);
}

if (Math.abs(Ts - Tmi) < 0.5) {
return 0.0;
}

for (int i = 0; i < maxIterations; i++) {
double dTlm = ((Ts - Tmo) - (Ts - Tmi)) / (Math.log((Ts - Tmo) / (Ts - Tmi)));
error = heatTransferCoefficient - system.getFlowRate("kg/sec") * cp * (Tmo - Tmi) / (3.1415 * insideDiameter * length * dTlm);
Expand Down

0 comments on commit 70259bf

Please sign in to comment.