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

Revision history [back]

click to hide/show revision 1
initial version

Which field to access during Runtime in order to modify Setpoint temperature of a Zone

Hi, i'm developing a Reinforcement Learning(RL) framework using EnergyPlus as the simulation enviroment.

I'm having an hard time figuring out which object to access during runtime in order to modify the temperature setpoint of a zone. Right now i have

ZoneControl:Thermostat,
    ZONE ONE Thermostat,     !- Name
    ZONE ONE,                !- Zone or ZoneList Name
    ALWAYS 4,                !- Control Type Schedule Name
    ThermostatSetpoint:DualSetpoint,  !- Control 1 Object Type
    Temperature Setpoints;  !- Control 1 Name

ThermostatSetpoint:DualSetpoint,
     Office Thermostat Dual SP Control,  !- Name
     ALWAYS 20,               !- Heating Setpoint Temperature Schedule Name
     ALWAYS 24;               !- Cooling Setpoint Temperature Schedule Name

Always N are schedules that set value to N for all the 24h of a day.

I get that i have to use the get_actuator_handle() and then set_actuator_handle() but i can't figure out the names/instances of the variables i need to access/retrieve in order to do that.

Do i need to add actuators or new objects in the idf file?

Thanks in advance for the response