Link Search Menu Expand Document (external link)

On-Off Agent

The On-Off Agent,OnOff_Agent.py, implements all the functionalities of the Agent class.

It is a non-RL-based controller, it has two possible behaviours:

  • “step = True” : It sets the temperature to the minimum when the occupancy is zero, otherwise it’s the max temperature.

  • “step = False”: It sets the temperature as a linear function of occupancy, with the minimum when there’s no occupancy and linearly increasing until the maximum temperature when there’s max occupancy.

The current implementation is compatible with the Simple Environment, more precisely the ContinuousSimpleEnvironment.