Skip to content

Commit cc6706b

Browse files
authored
Merge pull request #400 from cse-sim/auxfeff
Added RSYS rsFEffAuxHBackup and rsFEffAuxHDefrost
2 parents 5756497 + 2089279 commit cc6706b

File tree

6 files changed

+264
-233
lines changed

6 files changed

+264
-233
lines changed

doc/src/records/rsys.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,28 @@ Cooling cyclic degradation coefficient, valid for configurations having compress
836836

837837
Heating efficiency factor. At each time step, the heating efficiency is multiplied by rsFEffH.
838838

839+
<%= member_table(
840+
units: "",
841+
legal_range: "*x* $>$ 0",
842+
default: "1",
843+
required: "No",
844+
variability: "subhourly") %>
845+
846+
**rsFEffAuxHBackup=*float***
847+
848+
Backup auxiliary heating efficiency factor. At each time step, the backup heating efficiency is multiplied by rsFEffAuxHBackup. Backup auxiliary heating is typically provided by electric resistance "strip heat" but may be provided by a furnace (see rsTypeAuxH). If rsTypeAuxH is not "none", backup heat operates when air source heat pump compressor capacity is insufficient to meet heating load. See also rsFEffAuxHDefrost.
849+
850+
<%= member_table(
851+
units: "",
852+
legal_range: "*x* $>$ 0",
853+
default: "1",
854+
required: "No",
855+
variability: "subhourly") %>
856+
857+
**rsFEffAuxHDefrost=*float***
858+
859+
Defrost auxiliary heating efficiency factor. At each time step, the defrost auxiliary heating efficiency is multiplied by rsFEffAuxHDefrost. Defrost auxiliary heating is typically provided by electric resistance "strip heat" but may be provided by a furnace (see rsTypeAuxH). If rsDefrostModel=REVCYCLEAUX, defrost auxiliary heat operates during air source heat pump defrost mode. Since defrost and backup heating are generally provided by the same equipment, rsFEffAuxHDefrost and rsFEffAuxHBackup are usually set to the same value, but separate inputs are available for special cases.
860+
839861
<%= member_table(
840862
units: "",
841863
legal_range: "*x* $>$ 0",

src/CNRECS.DEF

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3735,7 +3735,9 @@ x *declare "RC rs_SetDefaultsClg();"
37353735
*declare "int rs_Dsi( int iSR, int iHC=-1) const { if (iHC<0) iHC=rs_DsHC(); return rs_ducts[ iHC].dsi[ iSR]; }"
37363736

37373737
*s FLOAT_GZ rs_fEffH; // heating efficiency adjustment factor (applied to substep efficency), default=1
3738-
*s FLOAT_GZ rs_fEffC; // cooling efficiency adjustment factor (applied to substep efficency), default=1
3738+
*s FLOAT_GZ rs_fEffAuxHBackup; // auxiliary heating backup mode efficiency adjustment factor (applied to substep efficency), default=1
3739+
*s FLOAT_GZ rs_fEffAuxHDefrost; // auxiliary heating defrost mode efficiency adjustment factor (applied to substep efficency), default=1
3740+
*s FLOAT_GZ rs_fEffC; // cooling efficiency adjustment factor (applied to substep efficency), default=1
37393741

37403742
*s FLOAT rs_tdbOut // outdoor dry-bulb temp at condensor or other outdoor components, F
37413743
// default = from project weather data source (generally weather file)

src/cncult.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1685,6 +1685,8 @@ CULT( "rsParElec", DAT, RSYS_PARELEC, 0, 0, VHRLY, TYFL, 0, 0
16851685
CULT( "rsParFuel", DAT, RSYS_PARFUEL, 0, 0, VHRLY, TYFL, 0, 0.f, N, N),
16861686

16871687
CULT( "rsFEffH", DAT, RSYS_FEFFH, 0, 0, VSUBHRLY,TYFL, 0, 1.f, N, N),
1688+
CULT( "rsFEffAuxHBackup", DAT, RSYS_FEFFAUXHBACKUP, 0,0, VSUBHRLY,TYFL, 0, 1.f, N, N),
1689+
CULT( "rsFEffAuxHDefrost",DAT, RSYS_FEFFAUXHDEFROST,0,0, VSUBHRLY,TYFL, 0, 1.f, N, N),
16881690
CULT( "rsFEffC", DAT, RSYS_FEFFC, 0, 0, VSUBHRLY,TYFL, 0, 1.f, N, N),
16891691

16901692
CULT( "rsRhIn", DAT, RSYS_RHINTEST, 0, 0, VHRLY, TYFL, 0, 0.f, N, N),

src/cnloads.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6433,8 +6433,9 @@ x rs_inPrimary = rs_outSen / (rs_effHt * rs_PLF);
64336433
#endif
64346434
}
64356435

6436-
rs_inAux = rs_outAux / rs_effAuxH;
6437-
rs_inDefrost = rs_outDefrost / rs_effAuxH;
6436+
rs_inAux = rs_outAux / (rs_effAuxH * rs_fEffAuxHBackup);
6437+
rs_inDefrost = rs_outDefrost / (rs_effAuxH * rs_fEffAuxHDefrost);
6438+
64386439
if (rs_pMtrAux)
64396440
rs_pMtrAux->H.hpBU += (rs_inAux + rs_inDefrost) * Top.tp_subhrDur;
64406441
}

test/ashpvc2.cse

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2518,6 +2518,8 @@ ALTER RSYS "rsys1"
25182518
rsCtrlAuxH = ALTERNATE
25192519
rsDefrostModel = "RevCycleAux"
25202520
rsASHPLockOutT = 37
2521+
rsFEffAuxHDefrost = .9
2522+
rsFEffAuxHBackup = .83
25212523
FIXRPTITLES("RSYS -- Aux Alt / Def RevCycleAux / LO 37")
25222524

25232525
RUN

0 commit comments

Comments
 (0)