Closed Mleyliabadi closed 3 years ago
Hello,
Warning messages are here to explicitely tell that during the import of the grid, lightsim2grid encounter some invalid values and these values are converted back to the default values.
This is a extremely important feature to debug : the loaded grid in memory will be different from the grid stored in the file. It is not a bug.
Warnings are here to warn that something has happened behind the hood. The previous behaviour was actually a bug (or rather "bug prone") as it was able to load "ill formated" grid without issuing anything.
Problem in this case is not lightsim2grid, but rather the grid2op powergrids, which came from the pandapower one.
Benjamin
Environment
Bug description
When I try to make an environment using the LightSimBackend, I have some warning messages that I have never had before when using previous versions.
How to reproduce
Simply importing the libraries of grid2op and lightsim2grid and try to make an environment "l2rpn_case14_sandbox" using the LightSimBackend.
Code snippet
Current output
Expected output