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

EnergyPlus Python API, actuate a handle for each timestep

asked 2023-05-12 21:08:24 -0600

LeSUTHU's avatar

updated 2023-05-24 09:19:02 -0600

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

edit retag flag offensive 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 -0600 )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 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-05-15 08:20:07 -0600

updated 2023-05-15 08:38:58 -0600

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.

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

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2023-05-12 21:08:24 -0600

Seen: 210 times

Last updated: May 23 '23