Skip to content

[powergrid_usecase] Using a larger environment creates a corruption error. #8

@ahmerique

Description

@ahmerique

When using a large environment (in development), I had a corruption error after this line
if self._stop_if_anticipation_security_analysis(f_obs, f_env, contingency_line_ids)

Steps to reproduce:
I made a standalone script to reproduce the bug.

  • git clone my fork
  • follow the standard installation of the usecase example (no need to install interactiveAI)
  • activate venv
  • run python standalone_bug.py
  • There should be a critical error on step 52 or above : a double free or corruption (!prev)

Clues:

  • The large environment introduces the concept of alerts, this happens after an alert happen. So it might be linked to an incompatible f_obs and lightsim2grid.SecurityAnalysis

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