Skip to content

Commit

Permalink
Format.
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Ahrenkiel authored and Phil Ahrenkiel committed Jan 10, 2024
1 parent 5178988 commit bedc69c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/HPWH.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5486,8 +5486,7 @@ bool HPWH::prepForTest()
/// @param[in] setpointT_C setpoint temperature (optional)
/// @return true (success), false (failure).
//-----------------------------------------------------------------------------
bool HPWH::findUsageFromFirstHourRating(Usage &usage,
const double setpointT_C /* = 51.7 */)
bool HPWH::findUsageFromFirstHourRating(Usage& usage, const double setpointT_C /* = 51.7 */)
{
double flowRate_Lper_min = GAL_TO_L(3.);
if (tankVolume_L < GAL_TO_L(20.))
Expand Down Expand Up @@ -5658,7 +5657,8 @@ bool HPWH::findUsageFromFirstHourRating(Usage &usage,
/// @param[in] setpointT_C setpoint temperature (optional)
/// @return true (success), false (failure).
//-----------------------------------------------------------------------------
bool HPWH::run24hrTest(const Usage &usage, StandardTestSummary& standardTestSummary,
bool HPWH::run24hrTest(const Usage& usage,
StandardTestSummary& standardTestSummary,
const double setpointT_C /* = 51.7 */)
{
// select the draw pattern based on usage
Expand Down
6 changes: 4 additions & 2 deletions src/HPWH.hh
Original file line number Diff line number Diff line change
Expand Up @@ -975,10 +975,12 @@ class HPWH
bool prepForTest();

/// determine usage based on the first-hour rating method
bool findUsageFromFirstHourRating(Usage &usage, const double setpointT_C = 51.7);
bool findUsageFromFirstHourRating(Usage& usage, const double setpointT_C = 51.7);

/// run 24-hr draw pattern and compute metrics
bool run24hrTest(const Usage &usage, StandardTestSummary& standardTestSummary, const double setpointT_C = 51.7);
bool run24hrTest(const Usage& usage,
StandardTestSummary& standardTestSummary,
const double setpointT_C = 51.7);

/// specific information for a single draw
struct Draw
Expand Down

0 comments on commit bedc69c

Please sign in to comment.