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

(v3.0.9) - New Sinergym preconfigured environments definition #373

Closed AlejandroCN7 closed 11 months ago

AlejandroCN7 commented 11 months ago

Description

As we introduce more buildings officially into the tool, it becomes more complex to define the default spaces. Even if we want to overwrite the spaces of a predefined environment, this can be very extensive in the code.

In this PR, it is proposed to migrate spaces, variables and reward definition for pre-configured environments to JSON files, one per each building model type. These JSON will have all the configuration required for continuous and discrete environments (except action mapping functions for discrete environments, since these functions are not pretty in JSON format).

Motivation and Context

Fixes #365

For more information about motivation, read the closed issue.

Types of changes

Checklist:

Changelog:

Extra: