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

Revision history [back]

How to read ground temperature from epw file

When I run a simulation with OpenStudio I always get this warning in the .err file:

* Warning * GetHTSurfaceData: Surfaces with interface to Ground found but no "Ground Temperatures" were input. * ~~~ * Found first in surface=SURFACE 6 * ~~~ * Defaults, constant throughout the year of (18.0) will be used.

If my understanding is correct, the default value of 18.0 C will be used for the calculation of heat loss for a surface with oustide boundary condition set to "ground". This is kind of problematic in a region where ground temperatures are way below this default value.

What I don't understand is that there are data on ground temperature in the epw weather file. So I'm wondering why those are not read during the simulation.

epw print screen

Based on this question I've wrote an OpenStudio measure with wich I can manually set ground temperature for each month.

However, I'd like to know if there is a way to call the epw file and read the ground temperature so I would'nt have to do it manually for each simulation.

How to read ground temperature from epw file

When I run a simulation with OpenStudio I always get this warning in the .err file:

* Warning * GetHTSurfaceData: Surfaces with interface to Ground found but no "Ground Temperatures" were input. * ~~~ * Found first in surface=SURFACE 6 * ~~~ * Defaults, constant throughout the year of (18.0) will be used.

If my understanding is correct, the default value of 18.0 C will be used for the calculation of heat loss for a surface with oustide boundary condition set to "ground". This is kind of problematic in a region where ground temperatures are way below this default value.

What I don't understand is that there are data on ground temperature in the epw weather file. So I'm wondering why those are not read during the simulation.

epw print screen

Based on this question I've wrote an OpenStudio measure with wich I can manually set ground temperature for each month.

However, I'd like to know if there is a way to call the epw file and read the ground temperature so I would'nt have to do it manually for each simulation.