Skip to content

Commit 23f7360

Browse files
authored
Merge pull request #517 from cse-sim/constrain-perfmaps-add-lg80-hpwh
Constrain recent performance maps; add 80-gal LG model
2 parents dbed601 + e0b0c8c commit 23f7360

File tree

6 files changed

+22
-5
lines changed

6 files changed

+22
-5
lines changed

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
# compiler: clang
2828
# experimental: true
2929
- os: macos
30-
os_ver: "12"
30+
os_ver: "13"
3131
config: Release
3232
arch: "64"
3333
compiler: clang

doc/src/records/dhwheater-doc.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,10 @@ Air source heat pump type, valid only if whHeatSrc=ASHPX. These choices are supp
312312
"AOSmithSHPT50","50 gal AOSmith SHPT"
313313
"AOSmithSHPT66","66 gal AOSmith SHPT"
314314
"AOSmithSHPT80","80 gal AOSmith SHPT"
315+
"AOSmithHPTS40","40 gal AOSmith HPTS"
316+
"AOSmithHPTS50","50 gal AOSmith HPTS"
317+
"AOSmithHPTS66","66 gal AOSmith HPTS"
318+
"AOSmithHPTS80","80 gal AOSmith HPTS"
315319
"ColmacCxV5_SP","Colmac CxA-xx modular external HPWHs (single pass mode)"
316320
"ColmacCxA10_SP","Colmac CxA-xx modular external HPWHs (single pass mode)"
317321
"ColmacCxA15_SP","Colmac CxA-xx modular external HPWHs (single pass mode)"
@@ -351,12 +355,17 @@ Air source heat pump type, valid only if whHeatSrc=ASHPX. These choices are supp
351355
"Rheem_HPHD135VNU_MP","Rheem HPHD135 MP external MP HPWHs"
352356
"Scalable_SP","single pass scalable type for autosized standard design"
353357
"Scalable_MP","multipass scalable type for autosized standard design"
354-
"AquaThermAire","Vallara AquaThermAire HPWH"
358+
"AquaThermAire","Villara AquaThermAire HPWH"
355359
"GenericUEF217","65-gal tank meeting Federal standard minimum requirement"
356360
"AWHSTier4Generic40","Any 40-gal tank meeting Advanced Water Heating Specification Tier-4 minimum requirements"
357361
"AWHSTier4Generic50","Any 50-gal tank meeting Advanced Water Heating Specification Tier-4 minimum requirements"
358362
"AWHSTier4Generic65","Any 65-gal tank meeting Advanced Water Heating Specification Tier-4 minimum requirements"
359363
"AWHSTier4Generic80","Any 80-gal tank meeting Advanced Water Heating Specification Tier-4 minimum requirements"
364+
"BradfordWhiteAeroThermRE2H50","Bradford White 50-gal AeroTherm2023"
365+
"BradfordWhiteAeroThermRE2H65","Bradford White 65-gal AeroTherm2023"
366+
"BradfordWhiteAeroThermRE2H80","Bradford White 80-gal AeroTherm2023"
367+
"LG_APHWC50","LG 50-gal integrated HPWH"
368+
"LG_APHWC80","LG 580-gal integrated HPWH"
360369
END
361370
%>
362371

src/CNDTYPES.DEF

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ PIPESEGP -- "class PIPESEG*"
414414
AOSMITHHPTU80 "AOSmithHPTU80" // 80 gallon AOSmith HPTU
415415
AOSMITHHPTU80DR "AOSmithHPTU80DR" // 80 gallon AOSmith HPTU (demand reduction variant)
416416
AOSMITHCAHP120 "AOSmithCAHP120" // 120 gallon AOSmith
417+
AOSMITHHPTS40 "AOSmithHPTS40" // 40 gallon AOSmith HPTS
417418
AOSMITHHPTS50 "AOSmithHPTS50" // 50 gallon AOSmith HPTS
418419
AOSMITHHPTS66 "AOSmithHPTS66" // 66 gallon AOSmith HPTS
419420
AOSMITHHPTS80 "AOSmithHPTS80" // 80 gallon AOSmith HPTS
@@ -535,6 +536,9 @@ PIPESEGP -- "class PIPESEG*"
535536
BRADFORDWHITEAEROTHERMRE2H50 "BradfordWhiteAeroThermRE2H50" // 50-gal AeroTherm2023
536537
BRADFORDWHITEAEROTHERMRE2H65 "BradfordWhiteAeroThermRE2H65" // 65-gal AeroTherm2023
537538
BRADFORDWHITEAEROTHERMRE2H80 "BradfordWhiteAeroThermRE2H80" // 80-gal AeroTherm2023
539+
540+
LG_APHWC50 "LG_APHWC50" // 50-gal LG model (added 11-11-2024)
541+
LG_APHWC80 "LG_APHWC80" // 80-gal LG model (added 12-10-2024)
538542
}
539543

540544
*choicb WHRESTYCH { // resistance heater types

src/RCDEF/rcdef.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ const int MAXFDREC=600; // Max fields in a record. Separated from MAXFIELDS, 4-
212212

213213
const int MAXDTH=600; // max+1 data type handle. 800-->200 1-92 ->400 3-92. ->432(0x1b0) 2-94. ->352 (0x160) 5-95.
214214
// 352->400, 1-16; 400->500, 4-16; 500->600, 9-20
215-
const int MAXDTC=108; // maximum number of choices for choice data type.
215+
const int MAXDTC=111; // maximum number of choices for choice data type.
216216
//#define MAXARRAY 20 // largest number of record array structure members * NOT checked, but should be.
217217
const int MAXNAMEL = 40; // Max length of name, etc ("s" token)
218218
const int MAXQSTRL = 512; // Max length for quoted string ("q" token). assumed >= MAXNAMEL for array allocations.

src/dhwcalc.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3004,7 +3004,7 @@ RC HPWHLINK::hw_InitResistance( // set up HPWH has EF-rated resistance heater
30043004
{ C_WHASHPTYCH_BASICINT, hwatSMALL | HPWH::MODELS_basicIntegrated },
30053005
{ C_WHASHPTYCH_RESTANK, hwatSMALL | HPWH::MODELS_restankRealistic },
30063006
{ C_WHASHPTYCH_RESTANKNOUA, hwatSMALL | HPWH::MODELS_restankNoUA },
3007-
{ C_WHASHPTYCH_AOSMITHSHPT50, hwatSMALL | HPWH::MODELS_GE2012 }, // AO Smith SHPT models: base on GE2012
3007+
{ C_WHASHPTYCH_AOSMITHSHPT50, hwatSMALL | HPWH::MODELS_GE2012 }, // AO Smith SHPT models: base on GE2012
30083008
{ C_WHASHPTYCH_AOSMITHSHPT66, hwatSMALL | HPWH::MODELS_GE2012 }, // caller must modify UA and vol
30093009
{ C_WHASHPTYCH_AOSMITHSHPT80, hwatSMALL | HPWH::MODELS_GE2012 },
30103010
{ C_WHASHPTYCH_AOSMITHPHPT60, hwatSMALL | HPWH::MODELS_AOSmithPHPT60 },
@@ -3014,6 +3014,7 @@ RC HPWHLINK::hw_InitResistance( // set up HPWH has EF-rated resistance heater
30143014
{ C_WHASHPTYCH_AOSMITHHPTU80, hwatSMALL | HPWH::MODELS_AOSmithHPTU80 },
30153015
{ C_WHASHPTYCH_AOSMITHHPTU80DR, hwatSMALL | HPWH::MODELS_AOSmithHPTU80_DR },
30163016
{ C_WHASHPTYCH_AOSMITHCAHP120, hwatSMALL | HPWH::MODELS_AOSmithCAHP120 },
3017+
{ C_WHASHPTYCH_AOSMITHHPTS40, hwatSMALL | HPWH::MODELS_AOSmithHPTS40},
30173018
{ C_WHASHPTYCH_AOSMITHHPTS50, hwatSMALL | HPWH::MODELS_AOSmithHPTS50 },
30183019
{ C_WHASHPTYCH_AOSMITHHPTS66, hwatSMALL | HPWH::MODELS_AOSmithHPTS66 },
30193020
{ C_WHASHPTYCH_AOSMITHHPTS80, hwatSMALL | HPWH::MODELS_AOSmithHPTS80 },
@@ -3130,6 +3131,9 @@ RC HPWHLINK::hw_InitResistance( // set up HPWH has EF-rated resistance heater
31303131
{ C_WHASHPTYCH_BRADFORDWHITEAEROTHERMRE2H65,hwatSMALL | HPWH::MODELS_BradfordWhiteAeroThermRE2H65},
31313132
{ C_WHASHPTYCH_BRADFORDWHITEAEROTHERMRE2H80,hwatSMALL | HPWH::MODELS_BradfordWhiteAeroThermRE2H80},
31323133

3134+
{ C_WHASHPTYCH_LG_APHWC50, hwatSMALL | HPWH::MODELS_LG_APHWC50},
3135+
{ C_WHASHPTYCH_LG_APHWC80, hwatSMALL | HPWH::MODELS_LG_APHWC80},
3136+
31333137
{ 32767, HPWH::MODELS(-1) } };
31343138

31353139
SI tableVal = presetTbl->lookup(ashpTy);

vendor/HPWHsim

Submodule HPWHsim updated 126 files

0 commit comments

Comments
 (0)