ugr-sail / sinergym

Gym environment for building simulation and control using reinforcement learning
https://ugr-sail.github.io/sinergym/
MIT License
131 stars 35 forks source link

[Enhancement]: terminated and truncated flag, correct use. #384

Closed AlejandroCN7 closed 8 months ago

AlejandroCN7 commented 8 months ago

Improvement 🔧

Recommended by @manjavacas, the flags terminated and truncated should be reformulated in Sinergym in order to be used correctly with SB3 algorithms.

Enhanced behavior

Additional context

For now, mechanisms for early-stopping of episodes under specific conditions will not be implemented. But it is an idea that could be implemented in the future.

Checklist

:pencil: Please, don't forget to include more labels besides enhancement if it is necessary.