Skip to content

Commit

Permalink
Naive fix for NREL#10524
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed May 30, 2024
1 parent 34a9291 commit 7e8efcb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/EnergyPlus/SetPointManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8174,6 +8174,8 @@ void DefineReturnWaterChWSetPointManager::calculate(EnergyPlusData &state, DataL
}
}
}
} else {
fluidIndex = state.dataPlnt->PlantLoop(this->plantLoopIndex).FluidIndex;
}

// we don't need fluid names since we have a real index, so just pass in the temperature and get properties
Expand Down Expand Up @@ -8280,6 +8282,8 @@ void DefineReturnWaterHWSetPointManager::calculate(EnergyPlusData &state, DataLo
}
}
}
} else {
fluidIndex = state.dataPlnt->PlantLoop(this->plantLoopIndex).FluidIndex;
}

// we don't need fluid names since we have a real index, so just pass in the temperature and get properties
Expand Down

0 comments on commit 7e8efcb

Please sign in to comment.