Skip to content

Commit 741c21e

Browse files
committed
CSE 0.836
ACM heat pump autosize
1 parent dddceda commit 741c21e

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

src/CNLOADS.CPP

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,19 +1892,38 @@ void RSYS::rs_AuszFinal() // called at end of successful autosize (after all xx
18921892

18931893
if (rs_IsASHP())
18941894
{
1895+
#if 1
1896+
if (rs_isAuszC)
1897+
{ if (IsAusz( RSYS_CAP47))
1898+
{ // both autosized
1899+
float cap47min = 0.75f * rs_cap47;
1900+
float cap95x = rs_Cap95FromCap47ASHP( cap47min);
1901+
if (rs_cap95 > cap95x)
1902+
{ // cooling dominated
1903+
// rs_cap95: per autosize
1904+
rs_cap47 = rs_Cap47FromCap95ASHP( rs_cap95);
1905+
}
1906+
else
1907+
{ // heating dominated
1908+
rs_cap95 = cap95x;
1909+
rs_cap47 = cap47min;
1910+
}
1911+
}
1912+
// else leave rs_cap95 autosized, rs_cap47 as input
1913+
}
1914+
#else
18951915
if (rs_isAuszC)
18961916
{ // ASHP cooling autosized
18971917
// force cap95 to be consistent with cap47
18981918
float cap47x = rs_Cap47FromCap95ASHP( rs_cap95);
1899-
#if 0
19001919
if (cap47x <= rs_cap47)
19011920
rs_cap95 = rs_Cap95FromCap47ASHP( rs_cap47);
19021921
else
1903-
#endif
19041922
if (IsAusz( RSYS_CAP47))
19051923
rs_cap47 = cap47x; // both cap47 and cap95 autosized
19061924
// force cap47 to be consistent with cap95
19071925
}
1926+
#endif
19081927
rs_SetupASHP(); // default other params as needed
19091928
rsi->rs_cap47 = rs_cap47; // copy back to input record
19101929

src/csevrsn.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,16 @@
1414
// version # for current build
1515
// change ONLY here
1616
#define CSEVRSN_MAJOR 0
17-
#define CSEVRSN_MINOR 835
17+
#define CSEVRSN_MINOR 836
1818

1919
// version # as quoted text ("x.xxx")
2020
#define CSEVRSN_TEXT MAKE_LIT(CSEVRSN_MAJOR##.##CSEVRSN_MINOR)
2121

2222
// ONLY comments below here
2323

2424
/* History:
25+
0.836: heat pump autosize: now uses ACM algorithm when both cap47 and cap95 autosized
26+
committed 7-20-2017
2527
0.835: heat pump autosize: don't force cap95 to be consistent with cap47
2628
committed 7-19-2017
2729
0.834: UEF model 2nd rev (cooldown-time-dependent startup energy, load carry-forward)

0 commit comments

Comments
 (0)