You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
obs.storage_max_p_absorb attribute is None for a simulated obs when using a sim2real environment with LightSIm2grid backend
How to reproduce
Command line
# command line used if any
Code snippet
fromgrid2opimportmakefromlightsim2gridimportLightSimBackendBACKEND=LightSimBackendenv=make("input_data_local_sim2real",backend=BACKEND()) #an env from sim2real trackobs,reward,done,info=env.step(env.action_space({}))
obs_simu,reward,done,info=obs.simulate(env.action_space({}),time_step=1)
assert(obs_simu.storage_max_p_absorbisnotNone)
I tried to reproduce also with env "l2rpn_case14_sandbox_diff_grid" but I don't get this behavior probably because there are no storage in the first place on that grid
Current output
obs_simu.storage_max_p_absorb is None
Expected output
obs_simu.storage_max_p_absorb should be the same as obs.storage_max_p_absorb
The text was updated successfully, but these errors were encountered:
Environment
1.9.4
ubuntu 20.04.3 LTS, ...
Bug description
obs.storage_max_p_absorb attribute is None for a simulated obs when using a sim2real environment with LightSIm2grid backend
How to reproduce
Command line
# command line used if any
Code snippet
I tried to reproduce also with env "l2rpn_case14_sandbox_diff_grid" but I don't get this behavior probably because there are no storage in the first place on that grid
Current output
Expected output
The text was updated successfully, but these errors were encountered: