Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Why is Site:WaterMainsTemperature Correlation from Weather File locked on one temperature for all times and locations?

asked 2021-11-11 15:59:59 -0600

matt's avatar

updated 2022-02-16 13:36:46 -0600

I'm trying to use a Site:WaterMainsTemperature object to get a Correlation Site Water Mains Temperature output variable. Because I want my model to be flexible across sites, I set the Calculation field to CorrelationFromWeatherFile. When I run a test, however, I see that the output is locked at 3.33 degC. This value appears for every timestep and for disparate locations; Phoenix and Chicago TMY3 files return the same value, 3.33 degC. I even tried Chicago TMY2 in case it was some sort of epw file version issue, but still it returned 3.33 degC.

If I switch to the Correlation method and throw in some input values, I see the water mains temperature vary as expected, with a different temperature each day and different temperatures between sites.

The HTML table gives me a possible hint; the numbers it apparently calculates from the weather file are very small and again are the same value for Phoenix and Chicago. Phoenix HTML Table output

I haven't found any other questions about this except for this question regarding OpenStudio not having Correlation from Weather, but I'm working directly with EnergyPlus IDF editor, not OpenStudio.

Has anyone else had this issue? Is it a bug or am I just missing an object input somewhere to make this work correctly?

edit retag flag offensive close merge delete


@nigusse I think you added this to EnergyPlus. Any idea?

shorowit's avatar shorowit  ( 2021-11-11 17:26:40 -0600 )edit

I've had this issue, too! No way to tell e+ to use the following object to inform the cold water supply temperature at source-side inlet node for water heater within plant loop: Site:WaterMainsTemperature, CorrelationFromWeatherFile; Within the WaterHeater:Stratified section (9.5.0), the following is indicated: Field: Cold Water Supply Temperature Schedule Name ... If blank, water temperatures are calculated as above. This field is for stand-alone operation only. If there are node connections, this field is not used. I can find no indication of how to assign to source-side node.

RMurray's avatar RMurray  ( 2021-11-14 21:09:34 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2021-11-15 09:36:29 -0600

updated 2021-11-15 09:36:51 -0600

I am able to reproduce the bug and have filed an EnergyPlus bug report. In the meantime, you'll have to use the Correlation calculation method and obtain the two input parameters yourself from the weather file or stat file.

edit flag offensive delete link more


Thanks @shorowit for looking into it and filing that report. I'll keep an eye out for the fix and use Correlation inputs in the meantime.

matt's avatar matt  ( 2021-11-15 10:00:26 -0600 )edit

answered 2021-11-17 11:44:51 -0600

RMurray's avatar

Demonstration of "frozen" Site:MainsWaterTemperature values against the backdrop of outdoor DBT. This despite including the following object: Site:MainsWaterTemperature, CorrelationFromWeatherFile;

image description

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer


Question Tools



Asked: 2021-11-11 15:59:59 -0600

Seen: 306 times

Last updated: Nov 17 '21