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.3.6) - Sinergym normalization fix for DRL evaluations and new Ubuntu and Python version #419

Closed AlejandroCN7 closed 4 months ago

AlejandroCN7 commented 4 months ago

Description

When an experiment is conducted using the evaluation callback, the evaluations during intermediate learning processes do not use the learned calibration of normalized variables from the training and instead update on their own.

For an evaluation, the model should use the same calibration (without updating) and start from the values at the point where the training is interrupted. This patch fixes that functionality to ensure this happens.

Due to the recent update from the opyplus package, as mentioned in issue #418, this update caused an error by breaking the dependency system on internal packages. The calls to these packages with new names in Sinergym have been fixed.

Since this update made opyplus compatible with new Python versions, we have taken advantage of this update to become compatible with the new versions of Ubuntu and Python (24.04 and 3.12.3), making us officially compatible.

Fixes #418

Types of changes

Checklist:

Changelog: