When you use 20241125 chronic for instance and run load_evaluation_data on it with pypowsybl2grid as a backend and "check_isolated_and_disconnected_injections=True" at the creation of the backend, you wil encounter a ""Impossible to initialize the powergrid, the powerflow diverge at iteration 0" error because it detects isolated_and_disconnected_injections (works fine if this argument is False).
When using Lightsim2grid backend with make_grid2op_training_env, it convergences and does not detect a non connex grid.
So there is an inconsistency in the way the two backends computes this isolated grid. In this scenario, the grid actually seems connex, so it might be an issue on pypowsybl2grid side.
When you use 20241125 chronic for instance and run load_evaluation_data on it with pypowsybl2grid as a backend and "check_isolated_and_disconnected_injections=True" at the creation of the backend, you wil encounter a ""Impossible to initialize the powergrid, the powerflow diverge at iteration 0" error because it detects isolated_and_disconnected_injections (works fine if this argument is False).
When using Lightsim2grid backend with make_grid2op_training_env, it convergences and does not detect a non connex grid.
So there is an inconsistency in the way the two backends computes this isolated grid. In this scenario, the grid actually seems connex, so it might be an issue on pypowsybl2grid side.