0

Setting annual ground temp in PAT project

Hi,

I am using OpenStudio v2.9.0, EnergyPlus v9.2, and ResStock v2.2.4.

I would like to override the default E+ ground temp of 18 deg C and set the ground temp equal to the indoor setpoint of 70 deg F.

Is there a OpenStudio or EnergyPlus measure I can add to my PAT workflow to do this? I am not able to edit the IDF file directly, since it is automatically generated through OS-PAT.

sashadf1's avatar
1.1k
sashadf1
asked 2021-04-05 04:31:12 -0500
edit flag offensive 0 remove flag close merge delete

Comments

I used the following measure: https://unmethours.com/question/28814... code posted by https://unmethours.com/users/13223/is... to set the ground temperature to a user specified value. I confirmed in my timeseries output data that the value was indeed what I had specified.

sashadf1's avatar sashadf1 (2021-04-12 08:30:03 -0500) edit
add a comment see more comments

1 Answer

0

I used the following measure: https://unmethours.com/question/28814... code posted by https://unmethours.com/users/13223/is... to set the ground temperature to a user specified value. I confirmed in my timeseries output data that the value was indeed what I had specified.

However, my goal of changing ground heat transfer into the building by inputting a user specified Site Ground Temperature did not work. This is because my models are using Foundation Kiva to model ground heat transfer, instead of some other algorithms available.

Foundation Kiva calculated heat flow into the floor/wall (surfaces with "Foundation" Boundary Condition) is not impacted by Site Ground Temperature.

If my floor/wall surfaces had "Ground" Boundary condition instead of "Foundation" Boundary Condition, perhaps changing the Site Ground Temperature would impact heat flow.

sashadf1's avatar
1.1k
sashadf1
answered 2021-04-12 08:30:13 -0500, updated 2021-04-14 10:04:10 -0500
edit flag offensive 0 remove flag delete link

Comments

I saw the code you quoted, but I cannot find a tutorial about how to use it? Do I need to ceate *.rb & *.xml file to use it? Thanks.

Janko's avatar Janko (2022-03-18 08:26:08 -0500) edit
1

In general to implement OS measures, you need a .rb and .xml. The XML contains metadata while the Ruby file contains the actual measure code. You need both for the measure to run. I think the other files in a measure "package" are optional, but don't quote me on that.

I suggest referring to this guide for how to write and implement measures.

https://nrel.github.io/OpenStudio-use...

sashadf1's avatar sashadf1 (2022-04-04 17:51:49 -0500) edit

Thank you so much sashadf1!

Janko's avatar Janko (2022-09-19 02:45:00 -0500) edit
add a comment see more comments