A recent bug fix has been implemented in the CityLearn environment. Please, upgrade the CityLearn environment by executing:
pip install git+https://github.com/intelligent-environments-lab/CityLearn.firstname.lastname@example.org
The fixed bugs are:
While the observation value for electrical_storage_soc was normalized between 0 and 1, the observation space was expecting values between 0 and the capacity of the electrical_storage (6.4).
The calculation of the electrical_storage_soc for a timestep used the degraded capacity instead of the capacity as at when the electrical_storage was last charged.
See https://github.com/intelligent-environments-lab/CityLearn/compare/v1.2.0…v1.3.0 for full change log.