Skip to content

Commit

Permalink
Refine BW coeffs.
Browse files Browse the repository at this point in the history
  • Loading branch information
spahrenk committed Dec 9, 2024
1 parent 4ef38fc commit ba2de39
Show file tree
Hide file tree
Showing 11 changed files with 8,317 additions and 8,317 deletions.
14 changes: 7 additions & 7 deletions src/HPWHpresets.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4449,15 +4449,15 @@ void HPWH::initPreset(MODELS presetNum)
compressor->perfMap.reserve(2);

compressor->perfMap.push_back({
50, // Temperature (T_F)
{148, 2.0, 0.0}, // Input Power Coefficients (inputPower_coeffs)
{5.88, -0.024, 0.0} // COP Coefficients (COP_coeffs)
50, // Temperature (T_F)
{120, 2.45, 0.0}, // Input Power Coefficients (inputPower_coeffs)
{6.3, -0.030, 0.0} // COP Coefficients (COP_coeffs)
});

compressor->perfMap.push_back({
70, // Temperature (T_F)
{110, 2.5, 0.0}, // Input Power Coefficients (inputPower_coeffs)
{6.8, -0.0323, 0.0} // COP Coefficients (COP_coeffs)
70, // Temperature (T_F)
{124, 2.45, 0.0}, // Input Power Coefficients (inputPower_coeffs)
{6.8, -0.030, 0.0} // COP Coefficients (COP_coeffs)
});

compressor->minT = F_TO_C(37.0);
Expand All @@ -4480,7 +4480,7 @@ void HPWH::initPreset(MODELS presetNum)

resistiveElementBottom->addShutOffLogic(bottomTwelfthMaxTemp(F_TO_C(86.1)));

compressor->addTurnOnLogic(bottomThird(dF_TO_dC(30)));
compressor->addTurnOnLogic(bottomThird(dF_TO_dC(25)));
compressor->addTurnOnLogic(standby(dF_TO_dC(12.392)));

//
Expand Down
16 changes: 8 additions & 8 deletions test/BradfordWhiteAeroThermRE2H50.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,19 @@ heatsource 2 condensity 1 0 0

heatsource 2 nTemps 2
heatsource 2 T1 50 F
heatsource 2 inPowT1const 148
heatsource 2 inPowT1lin 2
heatsource 2 inPowT1const 120
heatsource 2 inPowT1lin 2.45
heatsource 2 inPowT1quad 0
heatsource 2 copT1const 5.88
heatsource 2 copT1lin -0.024
heatsource 2 copT1const 6.3
heatsource 2 copT1lin -0.030
heatsource 2 copT1quad 0.0

heatsource 2 T2 70 F
heatsource 2 inPowT2const 110
heatsource 2 inPowT2lin 2.5
heatsource 2 inPowT2const 124
heatsource 2 inPowT2lin 2.45
heatsource 2 inPowT2quad 0
heatsource 2 copT2const 6.8
heatsource 2 copT2lin -0.0323
heatsource 2 copT2lin -0.030
heatsource 2 copT2quad 0.0

heatsource 2 minT 37 F
Expand All @@ -90,7 +90,7 @@ heatsource 0 onlogic fourthSixth 32 F

heatsource 1 offlogic bottomTwelfthMaxTemp 86.1 F

heatsource 2 onlogic bottomThird 30 F
heatsource 2 onlogic bottomThird 25 F
heatsource 2 onlogic standby 12.392 F

#relative
Expand Down
16 changes: 8 additions & 8 deletions test/BradfordWhiteAeroThermRE2H65.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,19 @@ heatsource 2 condensity 1 0 0

heatsource 2 nTemps 2
heatsource 2 T1 50 F
heatsource 2 inPowT1const 148
heatsource 2 inPowT1lin 2
heatsource 2 inPowT1const 120
heatsource 2 inPowT1lin 2.45
heatsource 2 inPowT1quad 0
heatsource 2 copT1const 5.88
heatsource 2 copT1lin -0.024
heatsource 2 copT1const 6.3
heatsource 2 copT1lin -0.030
heatsource 2 copT1quad 0.0

heatsource 2 T2 70 F
heatsource 2 inPowT2const 110
heatsource 2 inPowT2lin 2.5
heatsource 2 inPowT2const 124
heatsource 2 inPowT2lin 2.45
heatsource 2 inPowT2quad 0
heatsource 2 copT2const 6.8
heatsource 2 copT2lin -0.0323
heatsource 2 copT2lin -0.030
heatsource 2 copT2quad 0.0

heatsource 2 minT 37 F
Expand All @@ -90,7 +90,7 @@ heatsource 0 onlogic fourthSixth 32 F

heatsource 1 offlogic bottomTwelfthMaxTemp 86.1 F

heatsource 2 onlogic bottomThird 30 F
heatsource 2 onlogic bottomThird 25 F
heatsource 2 onlogic standby 12.392 F

#relative
Expand Down
16 changes: 8 additions & 8 deletions test/BradfordWhiteAeroThermRE2H80.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,19 @@ heatsource 2 condensity 1 0 0

heatsource 2 nTemps 2
heatsource 2 T1 50 F
heatsource 2 inPowT1const 148
heatsource 2 inPowT1lin 2
heatsource 2 inPowT1const 120
heatsource 2 inPowT1lin 2.45
heatsource 2 inPowT1quad 0
heatsource 2 copT1const 5.88
heatsource 2 copT1lin -0.024
heatsource 2 copT1const 6.3
heatsource 2 copT1lin -0.030
heatsource 2 copT1quad 0.0

heatsource 2 T2 70 F
heatsource 2 inPowT2const 110
heatsource 2 inPowT2lin 2.5
heatsource 2 inPowT2const 124
heatsource 2 inPowT2lin 2.45
heatsource 2 inPowT2quad 0
heatsource 2 copT2const 6.8
heatsource 2 copT2lin -0.0323
heatsource 2 copT2lin -0.030
heatsource 2 copT2quad 0.0

heatsource 2 minT 37 F
Expand All @@ -90,7 +90,7 @@ heatsource 0 onlogic fourthSixth 32 F

heatsource 1 offlogic bottomTwelfthMaxTemp 86.1 F

heatsource 2 onlogic bottomThird 30 F
heatsource 2 onlogic bottomThird 25 F
heatsource 2 onlogic standby 12.392 F

#relative
Expand Down
2,198 changes: 1,099 additions & 1,099 deletions test/ref/RE2H50_UEF50_Preset_BradfordWhiteAeroThermRE2H50.csv

Large diffs are not rendered by default.

2,874 changes: 1,437 additions & 1,437 deletions test/ref/RE2H50_UEF67_Preset_BradfordWhiteAeroThermRE2H50.csv

Large diffs are not rendered by default.

2,876 changes: 1,438 additions & 1,438 deletions test/ref/RE2H65_UEF50_Preset_BradfordWhiteAeroThermRE2H65.csv

Large diffs are not rendered by default.

2,874 changes: 1,437 additions & 1,437 deletions test/ref/RE2H65_UEF67_Preset_BradfordWhiteAeroThermRE2H65.csv

Large diffs are not rendered by default.

2,876 changes: 1,438 additions & 1,438 deletions test/ref/RE2H80_UEF50_Preset_BradfordWhiteAeroThermRE2H80.csv

Large diffs are not rendered by default.

2,874 changes: 1,437 additions & 1,437 deletions test/ref/RE2H80_UEF67_Preset_BradfordWhiteAeroThermRE2H80.csv

Large diffs are not rendered by default.

0 comments on commit ba2de39

Please sign in to comment.