NREL / EnergyPlus

EnergyPlus™ is a whole building energy simulation program that engineers, architects, and researchers use to model both energy consumption and water use in buildings.
https://energyplus.net
Other
1.12k stars 389 forks source link

Chillers IPLV calculation issue and missing warning when the curves limit are outside the AHRI test condition #9829

Closed Nigusse closed 1 year ago

Nigusse commented 1 year ago

Issue overview

Standard ratings calculations provide warning error message when the AHRI test conditions are outside the user specified upper or lower curve limits of the independent variables. AirCooled and EvaporativelyCooled chillers don't provide such warning for condenser entering air temperature lower curve limits. Found this issue when investigating a user request in a related issue.

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.

Nigusse commented 1 year ago

The capacity and EIR function of temperature curves for air cooled electric chiller from the user file are shown below to describe the issue. The lower temperature limit for condenser entering air temperature is 24.0 C. The 50% and 25% chiller loading condenser entering air temperatures for AirCooled chillers AHRI Std 550/590 test points are 18.3C and 12.8C, respectively. EnergyPlus does the IPLV calculation silently without providing any warning error message when the curve bound doesn't include the standard test conditions.

  Curve:Biquadratic,
    Air-cooled Cent Cap F(T),!- Name
    0.282511,                !- Coefficient1 Constant
    ...
    5,                       !- Minimum Value of x
    10,                      !- Maximum Value of x
    24,                      !- Minimum Value of y
    40;                      !- Maximum Value of y

  Curve:Biquadratic,
    Air-cooled Cent EIR F(T),!- Name
    0.817247,                !- Coefficient1 Constant
    ...
    5,                       !- Minimum Value of x
    10,                      !- Maximum Value of x
    24,                      !- Minimum Value of y
    35;                      !- Maximum Value of y

See the code snippet below. The condenser entering air lower temperature limits for AirCooled and EvaporativelyCooled chillers are set at the high temperature limit value here.

       if (CondenserType == DataPlant::CondenserType::WaterCooled) {
            HighCondenserEnteringTempLimit = HighEWTemp;
            LowCondenserEnteringTempLimit = LowEWTemp;
        } else if (CondenserType == DataPlant::CondenserType::AirCooled) {
            HighCondenserEnteringTempLimit = OAHighEDBTemp;
            LowCondenserEnteringTempLimit = OAHighEDBTemp;
        } else { // Evaporatively Cooled Condenser
            HighCondenserEnteringTempLimit = OAHighEWBTemp;
            LowCondenserEnteringTempLimit = OAHighEWBTemp;
        }
Nigusse commented 1 year ago

While testing a user file and communicating with user, I found chiller's condenser entering fluid temperatures used in E+ code in SI units are slightly off from what is tabulated in Engineering Reference documentation. Current Energyplus code equations that calculate condenser entering fluid temperatures need to be modified to match the AHRI STD 550/590 and the Engineering Reference. Sample calculation for AirCooled chillers is shown below.

image

The same problem exists in WaterCooled and EvaporativelyCooled Chillers as well.

lymereJ commented 1 year ago

I think this is somewhat related to https://github.com/NREL/EnergyPlus/issues/8967. It might be good report both the IPLV.IP (AHRI Std 550/590) and IPLV.SI (AHRI Std 551/591) since the values will vary slightly.

Nigusse commented 1 year ago

@lymereJ This fix addresses the inconsistency of model inputs used in the IPLV calculation in the current code implemented per the 2011 AHRI Std 550/590. Chiller's condenser entering air fluid (water, or air) temperature conversion from degree F to degree C were incorrect. As you know EnergyPlus calculation are done in SI units, hence any standards inputs in IP units must be correctly converted to SI equivalent.

AHRI Std 550/590 released after 2011 may have other changes (whether it is IP or SI) that needs to be reviewed and addressed accordingly. The SI version of AHRI Std 550/590 or 551/591 could be small tweak of the IP version but it has to be thoroughly reviewed before it is implemented.

Nigusse commented 1 year ago

I quickly reviewed the 2011 AHRI Std 551/591 (SI) and compared it with the 2011 AHRI Std 550/590 (IP) version, the EnergyPlus Engineering Reference and what is in current code. Findings:

(1) EnergyPlus code currently uses mixed (SI and IP) AHRI test conditions and reports IPLV.IP. The condenser entering fluid temperatures are SI version of the AHRI STD where as the evaporator leaving water temperature (LWT) is IP version of the STD. In PR #9830, I modified the code to use the IP version of condenser entering fluid temperatures such that IPLV reported remains IP version.

(2) SI version of the IPLV.SI calculation can be added as a new issue per https://github.com/NREL/EnergyPlus/issues/8967. If implemented this fix changes the tabular output and hence needs to go in before code freeze date. Is this a high priority enough to go in the spring release? @mjwitte @Myoldmopar

Nigusse commented 1 year ago

Below is summary of the comparison:

image

mjwitte commented 1 year ago

@Nigusse I don't see a defect file for 9829?

Nigusse commented 1 year ago

@mjwitte Just uploaded a defect file.