Skip to content

Dev switches#120

Merged
BDonnot merged 8 commits intodev_0.12.1from
dev-switches
Jan 9, 2026
Merged

Dev switches#120
BDonnot merged 8 commits intodev_0.12.1from
dev-switches

Conversation

@BDonnot
Copy link
Collaborator

@BDonnot BDonnot commented Jan 9, 2026

[0.12.1] 2026-xx-yy

  • [FIXED] phase shift transformers are now properly modeled
    for both pandapower (new in this version) and pypowsybl (already
    the case in previous version)
  • [FIXED] a performance issue for all "XXXSingleSlack" (eg KLUSingleSlack) algorithm (filling of the initial
    Jacobian matrix was extremly slow due to the massive 'insert' of data in the eigen sparse matrix instead
    of relying on the "setFromTriplets" method)
  • [FIXED] an normal "exception" was not catched in the close() method of LightSimBackend in case the
    backend was closed before any grid was loaded.
  • [ADDED] possibility to pickle independantly all part of the grid (eg gridmodel.get_lines()
    can be pickled independantly from anything else) NB pickling and un-pickling
    lightsim2grid objects can only be used for the same lightsim2grid version.
  • [ADDED] the init_from_n_powerflow property for ContingencyAnalysis (and
    ContingencyAnalysisCPP). It allows to chose if the computation of the contingencies
    are initialized with the complex voltages resulting of the powerflow in N
    (init_from_n_powerflow=True) or if they are initialized from the
    given input vector (init_from_n_powerflow=False). Defaults to False

Signed-off-by: DONNOT Benjamin <benjamin.donnot@rte-france.com>
…pendantly

Signed-off-by: DONNOT Benjamin <benjamin.donnot@rte-france.com>
…eird inheritance

Signed-off-by: DONNOT Benjamin <benjamin.donnot@rte-france.com>
…ough

Signed-off-by: DONNOT Benjamin <benjamin.donnot@rte-france.com>
Signed-off-by: DONNOT Benjamin <benjamin.donnot@rte-france.com>
…esults of the N powerflow

Signed-off-by: DONNOT Benjamin <benjamin.donnot@rte-france.com>
Signed-off-by: DONNOT Benjamin <benjamin.donnot@rte-france.com>
Copy link
Collaborator Author

@BDonnot BDonnot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks pretty good with the changes

Signed-off-by: DONNOT Benjamin <benjamin.donnot@rte-france.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 9, 2026

Copy link
Collaborator Author

@BDonnot BDonnot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@BDonnot BDonnot merged commit 24391a8 into dev_0.12.1 Jan 9, 2026
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant