-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix VRFFluidTCtrl OU Fan Power not considering system cycling #10650
Conversation
@@ -11736,7 +11736,7 @@ void VRFCondenserEquipment::CalcVRFCondenser_FluidTCtrl(EnergyPlusData &state) | |||
// Key outputs of this subroutine | |||
this->CompActSpeed = max(CompSpdActual, 0.0); | |||
this->Ncomp = max(Ncomp, 0.0) / this->EffCompInverter; | |||
this->OUFanPower = this->RatedOUFanPower; | |||
this->OUFanPower = this->RatedOUFanPower * CyclingRatio; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a reasonable change IF the system uses cycling fan. For constant fan I don't think you want to do this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, wait. this is the outdoor unit fan. Yes, I think this is reasonable that the entire system would cycle when below min part load ratio.
This is a side PR related to #10341, and it aligns with the changes we made in #10341. The test diffs are expected, and there are no conflicts with the develop branch. I believe this is good to go. @Myoldmopar |
This is now causing a unit test failure in develop, at least locally. I'm going to push the branch up and let CI confirm. FWIW, I'm seeing the issue with the assertion that these two are equal-ish:
|
I will check the unit test |
|
OK, CI confirmed my results, the unit test is failing here as seen here: https://github.com/NREL/EnergyPlus/actions/runs/10814479373/job/30001042106 |
@Myoldmopar I just fixed it. Need to multiply by cycling ratio in unit test too. |
|
Yep, that was it! More diffs appearing, but obviously not because you changed one line in a unit test :) It was behind develop and develop was moving way too fast. Anyway, this is good to go, will merge it in later when CI calms down a bit. Thanks! |
Thanks @Myoldmopar. Glad it resolved :) |
OK, got the branch pulled and merged develop. It's all happy now. Thanks @yujiex ! |
Pull request overview
It was originally in PR Fix VRF_FluidTCtrl cooling supply fan power calculation when cycling #10341. Was separated out as its own separate PR.
Regression diffs
Regression diffs occur in the following two files:
eplusout.csv diff
The diffs in eplusout.csv in the following variables.
VRF Heat Pump Cooling and Heating Electricity Rate and Energy differences are due to outdoor unit fan power changes in this feature (``this->ElecCoolingPower = state.dataHVACVarRefFlow->VRF(VRFCond).Ncomp + this->OUFanPower;`).
Cooling:Electricity is affected by VRF Heat Pump Cooling/Heating Electricity, so the diffs are also expected.
meter diff
The following variables have meter diffs. These are expected as OU fan power is part of cooling, HVAC, and facility electricity. So these diffs are also expected.
table diff
The following electricity terms have diffs. The Electricity:Facility, Electricity:HVAC, Heating:Electricity terms are due to reasons discussed above in meter and eplusout csv diffs. The ElectricityPurchased are also dependent on the electricity demand, which includes facility and HVAC electricity demand. These are affected by OU fan power as well. So diffs in *ElectricityPurchased is also expected.
NOTE: ENHANCEMENTS MUST FOLLOW A SUBMISSION PROCESS INCLUDING A FEATURE PROPOSAL AND DESIGN DOCUMENT PRIOR TO SUBMITTING CODE
Pull Request Author
Add to this list or remove from it as applicable. This is a simple templated set of guidelines.
Reviewer
This will not be exhaustively relevant to every PR.