Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog


## [0.3.2.post2] - 2026-05-07

### New Features

- **Operator-supplied "extra lines to cut"** (PR #76): `OverFlowGraph` accepts an `extra_lines_to_cut` argument naming a subset of `lines_to_cut` that the operator chose to disconnect to prevent flow increase elsewhere (ExpertAgent's `additionalLinesToCut` semantic). Those edges keep their natural flow colour (coral/blue) instead of black/yellow, are stamped `is_extra_cut=True` (alongside `constrained=True`) so downstream consumers can find them by flag, and are excluded from `is_overload` / `is_monitored` tagging in `highlight_significant_line_loading`. The before% → after% loading annotation still fires on extras so the operator sees how their cut materialises.
- **Interactive HTML viewer layer**: new "Extra lines to prevent flow increase" semantic layer (`semantic:is_extra_cut`) with a dashed-blue swatch, surfaced under the "Individual entities properties" section.

### Tests

- `TestExtraLinesToCut` in `test_overflow_graph.py` covers default empty extras, set storage, natural coral/blue colour, `is_extra_cut`/`constrained` flagging, exclusion from overload/monitored layers while still annotating the label, and the legacy "no extras" path.
- `test_layer_index_emits_extra_cut_layer_with_endpoints` verifies the new viewer layer (endpoint nodes, swatch, label, section).


## [0.3.0.post1] - 2026-03-10

### New Features
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'Antoine Marot, Mario Jothy, Nicolas Megel'

# The full version, including alpha/beta/rc tags
release = '0.3.2.post1'
release = '0.3.2.post2'


# -- General configuration ---------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}

setup(name='ExpertOp4Grid',
version='0.3.2.post1',
version='0.3.2.post2',
description='Expert analysis algorithm for solving overloads in a powergrid',
long_description_content_type="text/markdown",
python_requires=">=3.9",
Expand All @@ -50,7 +50,7 @@
author='Antoine Marot',
author_email='antoine.marot@rte-france.com',
url="https://github.com/marota/ExpertOp4Grid/",
download_url = 'https://github.com/marota/ExpertOp4Grid/archive/refs/tags/v0.3.2.post1.tar.gz',
download_url = 'https://github.com/marota/ExpertOp4Grid/archive/refs/tags/v0.3.2.post2.tar.gz',
license='Mozilla Public License 2.0 (MPL 2.0)',
packages=setuptools.find_packages(),
extras_require=pkgs["extras"],
Expand Down
Loading