Skip to content

Commit

Permalink
Correct format.
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Ahrenkiel authored and Phil Ahrenkiel committed Dec 29, 2023
1 parent 48159a5 commit e7ab732
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/HPWH.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3444,8 +3444,8 @@ void HPWH::updateTankTemps(double drawVolume_L,

if (i > 0)
{
double heatTransferred_kJ = incrementalDrawVolume_N *
(1. - inletFraction) * tankTemps_C[i - 1];
double heatTransferred_kJ =
incrementalDrawVolume_N * (1. - inletFraction) * tankTemps_C[i - 1];
tankTemps_C[i] += heatTransferred_kJ;
tankTemps_C[i - 1] -= heatTransferred_kJ;
}
Expand Down
1 change: 0 additions & 1 deletion src/HPWHHeatSources.cc
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,6 @@ double HPWH::HeatSource::addHeatExternal(double externalT_C,
hpwh->mixTankNodes(
0, hpwh->getNumNodes(), 1.0); // 1.0 will give even mixing, so all temperatures
// mixed end at average temperature.

// how much heat is added this timestep
getCapacityMP(externalT_C,
hpwh->tankTemps_C[externalOutletHeight],
Expand Down

0 comments on commit e7ab732

Please sign in to comment.