Skip to content

Commit

Permalink
Modify comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Ahrenkiel authored and Phil Ahrenkiel committed Dec 7, 2023
1 parent 1fca3e9 commit df305f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HPWH.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2675,7 +2675,7 @@ double HPWH::addHeatAboveNode(double qAdd_kJ,int nodeNum,const double maxT_C) {
msg("node %2d cap_kwh %.4lf \n",nodeNum,KJ_TO_KWH(qAdd_kJ));
}

// find number of nodes above nodeNum with the same temperature
// find number of nodes at or above nodeNum with the same temperature
int numNodesToHeat = 1;
for(int i = nodeNum; i < getNumNodes() - 1; i++) {
if(tankTemps_C[i] != tankTemps_C[i + 1]) {
Expand Down Expand Up @@ -2739,7 +2739,7 @@ void HPWH::addExtraHeatAboveNode(double qAdd_kJ,const int nodeNum) {
msg("node %2d cap_kwh %.4lf \n",nodeNum,KJ_TO_KWH(qAdd_kJ));
}

// find number of nodes above nodeNum with the same temperature
// find number of nodes at or above nodeNum with the same temperature
int numNodesToHeat = 1;
for(int i = nodeNum; i < getNumNodes() - 1; i++) {
if(tankTemps_C[i] != tankTemps_C[i + 1]) {
Expand Down

0 comments on commit df305f2

Please sign in to comment.