2

EnergyPlus Python API, actuate a handle for each timestep

Hello, I'm working on creating an RL agent that utilizes the EnergyPlus Python API.

I want to make a decision of the set temperature of the building for every timestep.

I was wondering, which callback function should I be using for my purpose?

Thanks

LeSUTHU's avatar
27
LeSUTHU
asked 2023-05-12 21:08:24 -0500
Aaron Boranian's avatar
14.1k
Aaron Boranian
updated 2023-05-24 09:19:02 -0500
edit flag offensive 0 remove flag close merge delete

Comments

@LeSUTHU does this post or this post answer your question?

You can also find more searching for "energyplus python actuator".

Aaron Boranian's avatar Aaron Boranian (2023-05-13 06:52:49 -0500) edit

I still am unsure, which callback function refers to being called every timestep during the simulation. I am very new to the field, and I apologize if I am asking not so great questions

LeSUTHU's avatar LeSUTHU (2023-05-13 12:50:50 -0500) edit
add a comment see more comments

1 Answer

1

The Python actuators and EnergyManagerSystem:Actuators share the same underlying code, so you can read on calling points here in the I/O Reference Guide: https://bigladdersoftware.com/epx/doc...

My initial guess, given the limited info about what you're trying to achieve, is that you probably can start with Begin Timestep Before Predictor (callback_begin_system_timestep_before_predictorin python) if what you're trying to change is the thermostat setpoint schedule. It's described in the EMS Application Guide here: https://bigladdersoftware.com/epx/doc...

Demand management routines might use this calling point to reduce lighting or process loads, change thermostat settings, etc.

Julien Marrec's avatar
29.7k
Julien Marrec
answered 2023-05-15 08:20:07 -0500, updated 2023-05-15 08:38:58 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments