First time here? Check our help page!
3

Access tomorrow's weather data using EMS

I'm trying to control the charging of a thermal energy storage object in energyplus using EMS. I have it working pretty well based on the date, but I want the logic for whether or not to charge the tank to use the weather forecast for tomorrow, which in energyplus would mean consulting the weather file. However, EMS only seems to have access to weather data at the current time step and not at a future time.

Is there a way to access the outdoor air temperatures for tomorrow using EMS?

mldichter's avatar
2.6k
mldichter
asked 2019-03-06 11:03:12 -0500, updated 2019-03-06 11:03:50 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

You could use a day ahead weather file schedule and access that schedule via EMS.

rraustad's avatar
13.8k
rraustad
answered 2019-03-06 11:11:13 -0500
edit flag offensive 0 remove flag delete link

Comments

@rraustad I'm hoping for something more automatic. I have a measure that adds the ice storage tank, controlling objects, and EMS to the idf file. If the user needs to make a schedule of the hourly temperatures shifted by one day, that would severely reduce the advantage of automation.

I could write some code to parse the epw file and create the shifted weather schedule, but I'm really hoping there's an easier way.

mldichter's avatar mldichter (2019-03-06 11:19:58 -0500) edit

I understand. That's the only suggestion I can think of at this time.

rraustad's avatar rraustad (2019-03-06 11:26:37 -0500) edit
add a comment see more comments