Skip to content

Commit b4f180c

Browse files
Phil AhrenkielPhil Ahrenkiel
authored andcommitted
Update btwxt.
1 parent b86b287 commit b4f180c

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

src/dhwcalc.cpp

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3898,17 +3898,24 @@ RC HPWHLINK::hw_DoSubhrTick( // calcs for 1 tick
38983898
*hw_pFCSV << strtprintf( "%s%s %s %s HPWH %s\n",
38993899
Top.tp_RepTestPfx(), ProgName, ProgVersion, ProgVariant,
39003900
Top.tp_HPWHVersion.CStr());
3901+
#if defined( HPWH_DUMPSMALL)
3902+
*hw_pFCSV << strtprintf( "minYear,draw( L)\n");
3903+
#else
39013904
WStr s("mon,day,hr,");
39023905
s += csvGen.cg_Hdgs(dumpUx);
39033906
// hw_pHPWH->WriteCSVHeading(hw_pFCSV, s.c_str(), nTCouples, hpwhOptions);
39043907
#endif
39053908
}
39063909
}
39073910
if (hw_pFCSV->is_open())
3908-
{ WStr s = strtprintf("%d,%d,%d,",
3911+
{
3912+
#if defined( HPWH_DUMPSMALL)
3913+
*hw_pFCSV << strtprintf( "%0.2f,%0.3f\n", minYear, GAL_TO_L(drawForTick));
3914+
#else
3915+
WStr s = strtprintf("%d,%d,%d,",
39093916
Top.tp_date.month, Top.tp_date.mday, Top.iHr + 1);
39103917
s += csvGen.cg_Values(dumpUx);
3911-
// hw_pHPWH->WriteCSVRow(hw_pFCSV, s.c_str(), nTCouples, hpwhOptions);
3918+
//hw_pHPWH->WriteCSVRow(*hw_pFCSV, s.c_str(), nTCouples, hpwhOptions);
39123919
#endif
39133920
}
39143921
}

vendor/btwxt

Submodule btwxt updated 58 files

0 commit comments

Comments
 (0)