Open yujiex opened 1 month ago
@yujiex There are some special pysch functions for this that are used by the other DX coils. See https://github.com/NREL/EnergyPlus/blob/15f64911c898c7d5dd3465b2bd472fd107e7f148/src/EnergyPlus/Coils/CoilCoolingDX.cc#L753-L760
Indeed. This is how cooling coil cooling electricity rate (thisDXCoolingCoil.TotalCoolingEnergyRate) is calculated. While the TU cooling rate (thisVRFTU.TotalCoolingRate) uses the calculation in CalcVRF_FluidTCtrl
and CalcVRF
, so the TU one is a bit different from the coil one. I saw this happening when fixing some unit tests in another VRF branch.
Oh you mean I should change the TU sensible and latent output calculation in CalcVRF_FluidTCtrl
and CalcVRF
to use this function as well? @mjwitte
Issue overview
The following is how the sensible and latent output is computed in
CalcVRF_FluidTCtrl
andCalcVRF
The
LatentLoadMet
in kgWater/s is converted to W in functionReportVRFTerminalUnit
This is different from the calculation in the
GeneralRoutines.cc
as followsHowever when adding the sensible output to this latent output computed as the above as
(AirMassFlow * (SpecHumOut - SpecHumIn)) * PsyHgAirFnWTdb(0.0, TempOut)
, the total does not match the TotalOutput computed as follows.This can be observed by adding this to the code and running the
US+SF+CZ4A+hp+crawlspace+IECC_2006_VRF.idf
example file using weather fileUSA_NY_New.York-John.F.Kennedy.Intl.AP.744860_TMY3.epw
:This txt file has all has the output with the debugging print large_diff.txt
The following is an instance with large difference between the TotalOutput and the SensibleOutput + LatentOutput
Defect file
US+SF+CZ4A+hp+crawlspace+IECC_2006_VRF.idf with USA_NY_New.York-John.F.Kennedy.Intl.AP.744860_TMY3.epw
Details
Some additional details for this issue (if relevant):
Checklist
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.