Skip to content

Inconsistent non-connex grid between pypowsybl2grid and lightsim2grid backends #16

@marota

Description

@marota

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions