Skip to content

Commit ce85568

Browse files
committed
Add HPWHSim Colmax CxA-20
1 parent 7ac4f5b commit ce85568

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

src/CNDTYPES.DEF

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ PIPESEGP -- "class PIPESEG*" 4 none
405405
AOSMITHSHPT50 "AOSmithSHPT50" // AOSmith add'l models (added 3-24-2017)
406406
AOSMITHSHPT66 "AOSmithSHPT66"
407407
AOSMITHSHPT80 "AOSmithSHPT80"
408+
COLMACCXA20 "ColmacCxA20" // Colmac CxA-20 modular HPWH
408409
}
409410

410411
*choicb DHWEUCH { // hot end uses

src/DHWCalc.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2159,6 +2159,7 @@ RC HPWHLINK::hw_InitPreset( // set up HPWH from model type choice
21592159
: ashpTy == C_WHASHPTYCH_AOSMITHHPTU80DR ? HPWH::MODELS_AOSmithHPTU80_DR
21602160
: ashpTy == C_WHASHPTYCH_SANDEN40 ? HPWH::MODELS_Sanden40
21612161
: ashpTy == C_WHASHPTYCH_SANDEN80 ? HPWH::MODELS_Sanden80
2162+
: ashpTy == C_WHASHPTYCH_COLMACCXA20 ? HPWH::MODELS_CxA_20
21622163
: ashpTy == C_WHASHPTYCH_GE2012 ? HPWH::MODELS_GE2012
21632164
: ashpTy == C_WHASHPTYCH_GE2014 ? HPWH::MODELS_GE2014
21642165
: ashpTy == C_WHASHPTYCH_GE2014_80 ? HPWH::MODELS_GE2014_80

src/WFPAK.CPP

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,7 +1887,7 @@ RC WFILE::wf_CSWRead( // read and unpack data from CSW
18871887
return rc;
18881888
} // WFILE::wf_CSWRead
18891889
//------------------------------------------------------------------------------
1890-
RC WFILE::wf_TDVOpen( // open California CSW weather file
1890+
RC WFILE::wf_TDVOpen( // open California Time of Day Valuation (TDV) file
18911891
const char* TDVfName, // pathName of file to open
18921892
int erOp)
18931893

@@ -1918,7 +1918,7 @@ RC WFILE::wf_TDVOpen( // open California CSW weather file
19181918
//----------------------------------------------------------------------------
19191919
void WFILE::wf_TDVInitHdrInfo()
19201920
{ memset( wf_TDVFileTimeStamp, 0, sizeof( wf_TDVFileTimeStamp));
1921-
memset( wf_TDVFileTitle, 0, sizeof( wf_TDVFileTimeStamp));
1921+
memset( wf_TDVFileTitle, 0, sizeof( wf_TDVFileTitle));
19221922
} // WFILE::wf_TDVInitHdrInfo
19231923
//----------------------------------------------------------------------------
19241924
RC WFILE::wf_TDVReadHdr( int erOp) // read / decode TDV file header

vendor/HPWHsim

0 commit comments

Comments
 (0)