Environment
- Grid2op version:
1.11.0
- System:
windows
Bug description
obs.simulate() seems to simulate on current step and not the next one as the documentation suggests here
Thanks for the insight!
How to reproduce
Code snippet
I noticed that on rte_case_14_realistic that does not seem to support simulation further timesteps.
import grid2op
import pandas as pd
from pathlib import Path
env = grid2op.make("rte_case14_realistic")
# Simulate
sim_obs, *_ = env.get_obs().simulate(env.action_space({}))
# Load the forecast from files
load_p_forecasted = pd.read_csv(Path(env.chronics_handler.path) / f"{env.chronics_handler.get_name()}/load_p_forecasted.csv.bz2", sep=";", compression="bz2", dtype="float32")
# We would expect that when looking for the matching row, it would be row 1 that would match sim_obs.load_p but it is row 0 actually
print(np.where((load_p_forecasted == sim_obs.load_p).all(1))[0])
Current output
Expected output
Environment
1.11.0windowsBug description
obs.simulate()seems to simulate on current step and not the next one as the documentation suggests hereThanks for the insight!
How to reproduce
Code snippet
I noticed that on rte_case_14_realistic that does not seem to support simulation further timesteps.
Current output
Expected output