Skip to content

More simple fix for ptdf sum#1287

Merged
Godelaine merged 7 commits intomainfrom
other_ptdf_sum_fix
Mar 10, 2025
Merged

More simple fix for ptdf sum#1287
Godelaine merged 7 commits intomainfrom
other_ptdf_sum_fix

Conversation

@phiedw
Copy link
Copy Markdown
Collaborator

@phiedw phiedw commented Feb 25, 2025

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

Bug fix

Does this PR introduce a new Powsybl Action implying to be implemented in simulators or pypowsybl?

  • Yes, the corresponding issue is here
  • No

What is the current behavior?

Made a fix to avoid dividing by 0, but now exports lower bound in cne.

What is the new behavior (if this is a feature change)?
Division by 0 is actually fine, just need to bound for export

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

@Godelaine Godelaine merged commit 8132763 into main Mar 10, 2025
12 checks passed
@Godelaine Godelaine deleted the other_ptdf_sum_fix branch March 10, 2025 19:39
RoxaneChen02 pushed a commit that referenced this pull request Jun 17, 2025
* Revert "Fix null ptdfSum in evaluator, relative margin case (#1264)"

This reverts commit a2d0d85.

* Add cucumber test for illustrating issue when monitoring open branch post contingency

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>

* bound values in export to avoid trying to export +- infinity

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Godelaine added a commit that referenced this pull request Sep 23, 2025
* copy paste original file as is

* copy paste original file as is

* copy paste original file as is + small change to match recent renaming

* debug test wip

* Fixed cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update code to match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix US 19.7 features

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove semaphore

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* force global 2P

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor RemedialActionActivationResult to handle actions per state.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao don't support optimization on one given state only

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct JsonRaoParametersTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add config loader + make the extension optional

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* branch fast rao parameters in code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* test fast rao in cucumber

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add todo doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move check

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* keep marmot change

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao slide to doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* variant manager correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT FastRaoResultImplTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* revert and move to other branch

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add ut (#1390)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add simple fast rao test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* improve coverage

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add iniital sensi failed test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add 2 UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result ut

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* reformat

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change rao param

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* blank space

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Run cucumber on mac. Update jaxb bindings (#1212)

Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Export execution details (#1193)

* export failure reason/executed steps to a executionDetails field

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added check of execution details for failed RAOs in cucumber tests

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add unit tests for try catch

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* updated documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* clean code smells

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fixed tests

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* rename section in rao result json documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added a business error with the error and the stack trace to not lose the information

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* added unit test to check serialization, updated version to 1.7, fixed ordering of states in range action results

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix version

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is + small change to match recent renaming

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* debug test wip

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Use upward and downward variation variables in MILP for Range Actions (#1205)

Use upward and downward variation variables in MILP for Range Actions

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fixed cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Temporal data (#1228)

* temporal data

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor objective function evaluators API and add cost-wise Search-Tree (#1186)

* refactor objective function evaluators API
* enable cost-wise Search Tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* create class InterTemporalRaoInput (#1232)

* create class InterTemporalRaoInput

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* removed parameters from input class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix Jenkins (#1231)

* only keep PST_DE

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* keep previous crac

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update code to match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix bug 2p (#1237)

* fix bug

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* match style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* changed complete method to take into account previous failing contingencies

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Run tests on graalvm, slightly change ra ordering method in search tree to make it os agnostic (#1234)

* run tests on java & graalvm
* changed min impact for a couple tests, and change search tree ordering to make it os agnostic (hopefully)

Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update powsybl dependencies (6.6.0 release train) (#1239)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump to v6.2.0

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump to v6.3.0-SNAPSHOT

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix US 19.7 features

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove semaphore

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Power Gradient Constraint (#1229)

* Power Gradient Constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* JUnit

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo in test name

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* extract VariationDirection from RangeAction

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* replace record by class

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add module to jacoco

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add pgcs to RAO inputs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix poms

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* udate new POM tp 6.3.0-SNAPSHOT

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* inter-tempoal RAO API (#1236)

* inter-tempoal RAO API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* move to right module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix InterTemporalRaoInput creation

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Classes generated by Jakarta implement interfaces (#1246)

* get back to previous JAXB behavior for interface inheritance
* remove Jakarta dependency in CSA profiles module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Swe cne threshold decimals (#1245)

* add decimals for thrsholds in swe cne

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* include link fixes in documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* make constants final

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add new method withNetworkElement for InjectionRangeActionAdder (#1087)

* Add new method withNetworkElement for InjectionRangeAction

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

* Return error if withNetworkElement() called twice

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

* Remove unused import

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

---------

Signed-off-by: wangjer <jeremy.wang@rte-france.com>
Co-authored-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* TemporalData::map (#1251)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Use hasImpactOnNetwork from powsybl-core, 'fix' tests (#1131)

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fixes CRAC import from Flowbased Constraint Document to enable correct handling of XML without any MNEC element defined. (#1253)

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* timestamp in variables and constraints (#1259)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Make MonitoringResult combine function thread safe (#1260)

* make combine thread safe

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Global balancing constraint (#1250)

* add global balancing constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Update crac-93-1-3.json

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add constants in doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Update CoreProblemFiller.java

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Costly optimization of range actions (#1243)

* add costly variables and constraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cucumber tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rollback absolute variation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove continuous tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* only allow APPROXIMATED_INTEGERS mode for costly optimization

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* average cost/angle for PSTs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* introduce tap variables

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* minor fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests and doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove inexistant 'com.powsybl:powsybl-action-util' dependency (#1262)

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* duplicate redispatching test in costly (#1261)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Angle monitoring noglsk (#1249)

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* crash if incomplete GLSK error

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* draft

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* set MonitoringResult status to FAILURE when no GLSK given

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change global log message

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Update Monitoring.java

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Inter-Temporal Pool (#1235)

* create class InterTemporalRaoInput

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* removed parameters from input class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* WIP Beginning of InterTemporal Sensitivity Analysis

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add LF and sensi values in test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Fixed sensi computation in parallel

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add InterTemporalParameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* more relevant tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge head

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add json for inter temporal parameter

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* parallel RAOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use right Pait class

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* intertemporal pool

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use of inter-temporal pool for parallel computation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* some fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* refactored inputs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* changes after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use ThreadPoolExecutor for more relevant nested inter temporal pools

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove inter-temporal extension of parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add unit test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* use ForkJoinPool again

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless files

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Power Gradient Constraint filler (#1257)

* Update gradient API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Gradient MIP equations in doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix problems on min/max signums

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* preparatory work for PGC filler

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* complete PowerGradientConstraintFiller + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename to PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rename to PowerGradientBuilder

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* docstring for PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add Unit Test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rename p0 to initialPower

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add to do

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* simplify function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix after review

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main and update docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Rao parameters forbid cost increase always true (#1112)

* Remove ForbidCostIncrease parameter (should always be true)
* Remove curative stop criterion and 'optimize curative if preventive unsecure' and partially replace them by 'enforce curative security'
* Move unit out of objective function type
* Merge content of preventive stop criterion into type
* Move implem specific rao parameters into extensions
* The object multithreading parameters should be the same than its input, so it contains one parameter available-cpus
* Upgrade rao parameters version to 3.0
* Separate previous extensions in business/search-tree as optional
* Rename to avoid having same class name in rao parameters and its extension
* Separate rao parameters doc in multiple pages
* change python script to be able to do all the changes to parameters

---------

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix format of datetimes in variable and constraint names (#1266)

* fix format of datetimes in variable names

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use formatName for new variables and constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* 2P for multi-curative optimization (#1263)

* Handle multi-curative in 2P global opt

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cucumber test for validation of feature

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Partial Failure and completeData (#1256)

* draft

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* partial_failure fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* partial failure fix + automaton

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add Unit Test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add unit test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>

* ComputeHvdcAngleDroopActivePowerControlValue with getP (#1269)

* use getP to avoid nullpointer

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* adapt cucumber

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Delete mvn compiler version (#1270)

* delete useless compiler version(inherited from powsybl parent)

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare release v6.3.0

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare next release v6.4.0-SNAPSHOT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change url of info in rao result json serialization (#1273)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Feature/timestamp in crac api (#1265)

* add timestamp in CRAC API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* first works on JSON Crac with timestamp

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add timestamp in state

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* deserialize ts

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* some fixes after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* state id in helper

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test to cover State API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* date and author

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add offsetdatetime in cracparameter (#1274)

* add timestamp to crac creation parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix cse test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix fbconstraint test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix csa test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix json deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove Todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fb constraint extension doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fic UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* FbConstraintCracCreationParameters to FbconstraintCracCreatorParameters + fix duplicate line ?

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix private cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* review fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix merge conflict

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove initial tap and tap to angle conversion map from json crac files (#1278)

* removed initial tap and conversion map from json crac file (getting from network instead)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* changed retrocompatibility tests to validate the files before reading them, changed documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added a test to try import a crac with a PST missing in network

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix broken test after merge

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix version greater or equal to equal in deserializer

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix null ptdfSum in evaluator, relative margin case (#1264)

** add ptdfSumLowerBound to ptdfSums in evaluator

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Inter-Temporal Skeleton (MARMOT) (#1258)

* marmot first implementation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo in TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add initial sensi computation

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add topologyChanger + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fic style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add Result Merger

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* refactor skeleton

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* parameters order

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* introduce skeleton

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* inter-temporal linear optimization inputs ready

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create fillers from linear optimizer input

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* adapt PowerGradientConstraintFiller inputs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* minor

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix inputs of gradient filler

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* round set-point values

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* finalize first version of optimizer

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix parameters for compiling

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create global objective function

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* evaluate global objective function

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* first marmot test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* MARMOT works !!

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use initial scenario id

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test with rd

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test with power gradient constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use individual rao result cost

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create dedicated module for results

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use only one linear opt result

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add tests and fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* tests global linear optimization result

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use ProblemFillerHelper in castor

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless attributes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add new tests for global results

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* include preventive network actions in objective function evaluation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cleaning, comments, logging

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* explicit TODOs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* delete TODO

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix the action status badge (#1288)

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove timestamp in variables name for which a state is already provided (#1284)

* remove timestamp in variables name for which a state is already provided

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix bad @author tag

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Clean up pom (#1281)

* Remove redundant dependency version overrides

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add project artefacts

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unused dependency

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Priority ucte network analyser (#1280)

* added priority to UCTE network analyzer parameters to prioritize order code or element name

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* modify cbcora importer to prioritize element names over order codes

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Generator constraints (#1293)

* generator constraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add generator constraints module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* deprecate PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update main pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update distribution pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* [CIM] Import only one HVDC action if one line is disconnected (#1282)

* do not import HVDC RA if HVDC disconnected

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* coherent group name

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* logs, fix clear(), add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* checkstyle

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* More simple fix for ptdf sum (#1287)

* Revert "Fix null ptdfSum in evaluator, relative margin case (#1264)"

This reverts commit a2d0d856b390c99f34e4b6faa42200f222ce801d.

* Add cucumber test for illustrating issue when monitoring open branch post contingency

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>

* bound values in export to avoid trying to export +- infinity

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove power gradients (#1295)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Cleaning/intertemporal features cleaner (#1289)

* remove some TODOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* log initial and final costs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add new SumMaxPerTimestampCostEvaluatorResult

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* better tests names

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless method

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge identical methods

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max cost evaluator

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add comments in evaluator tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO for cost checking

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>

* Ignore duplicated CNECs in RAO status (#1303)

* add exlude cnecs function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add excludeCnecs in getCost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log and reevaluate cost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove cnec from raoresult

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix for merge

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unnecessary class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* sonarfix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* review correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix type

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* Separate global result from individual results per timestamp (#1302)

Separate global result from individual results per timestamp (#1302)

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix RA import after invalid Contingency (#1308)

* Fix RA import after invalid Contingency

* Fix dev

* Remove useless argument

* Test fix

* Fix

* After review

* fix sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* store highest threshold in evaluator result (#1322)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump powsybl-core to 6.7.0, OLF to 1.15.0 and entsoe to 2.13.0 (#1309)

* Add new powsybl-open-loadflow 'forceTargetQInReactiveLimits' parameter in test files

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Add new OLF 'voltageRemoteControlRobustMode' and 'disableInconsistentVoltageControls' params in test files

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump core to 6.7.0-RC1

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump core to 6.7.0 and OLF to 1.15.0

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump powsybl-entsoe to 2.13.0

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

---------

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare release v6.4.0

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare next release v6.5.0-SNAPSHOT

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* serialize PST's tap

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove useless exception

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* retrocompatibility test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* initialTap

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename add method in TemporalData to put (#1329)

* renamed add method in temporal data to put

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* Revert "renamed add method in temporal data to put"

This reverts commit 89a23c01bcc6281c83a3f460fddd5df4ee05909c.

* only changed add for temporalData

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Move jniortools import into a separate thread. (#1331)

* Move jniortools import into a separate thread.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Add EOF

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Revert "Add EOF"

This reverts commit 6ce6ce4194c18a6aa4261ec88d92eaa387207176.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Revert "Move jniortools import into a separate thread."

This reverts commit 081280b6d8141c85a4417e554c5e00aa83da6707.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Add OR-tools loading in Castor class so it gets loaded upon start

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

---------

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* All optional attributes in GeneratorConstraints (#1345)

* optional attributes in GeneratorConstraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* coverage

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Renaming CSA profiles to NC (#1340)

* rename CSA profiles to NC

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove CSA occurrences

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove auto search tree (#1318)

* remove auto search tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update json parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove auto search tree cucumber tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max-auto-depth occurrences

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max-auto-depth occurrences in docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* added a filter on versions to avoid printing the wrong version (was happening in pypowsybl where it was printing powsybl diagram version) (#1352)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* No longer export flows for instants after CNEC's (#1347)

* no longer export flows for instants after cnec's

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix typo in exception

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Extract features from idcc test data (#1353)

* TemporalDataImpl : treeMap for reproductibility

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* offsetDateTime in FbConstraintCracCreator

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* perf: memoize previous state

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add epsilon for range action filtering (range)

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* validate

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor RemedialActionActivationResult to handle actions per state.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao don't support optimization on one given state only

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove unused flowbased-related modules (#1356)

* remove unused flowbased-related modules

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Import automatons is `nc:RemedialAction.isManual` is `false` (#1349)

* add isManual is queries

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove scheme remedial actions and import ARAs from isManual=false

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove auto-instant-time in NC CRAC creation parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add NC file in doc tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Rename `monitoring` to `open-rao-monitoring` (#1357)

* rename monitoring to open-rao-monitoring

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update poms

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct JsonRaoParametersTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add config loader + make the extension optional

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* branch fast rao parameters in code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* test fast rao in cucumber

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add todo doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move check

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* keep marmot change

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao slide to doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* variant manager correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT FastRaoResultImplTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* revert and move to other branch

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct merge issue

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct merge issue pt2

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move fastrao doc to performance.md

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* wip max min margin with fast rao

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix after merge

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* bump parameters to v3.2 and add changelog

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc + add gif

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* center text

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* complete tutorial

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update tutorial.md

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* delete commonslang3 from pom to pull version from powsybl-core

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* merge main

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add comments to getRaLimitationParameters

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* adapt 20.2.2 by using topo CRA to ensure CRA is kept in 2P now that 2P is global

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* clean/ adapt US20_1

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix merge

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* delete re-optimize everywhere

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* update parameter files

* update values far from ref

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add CriticalCnecsResult extension to rao result + serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add AbstractExtendable inheritance to InterTemporalRao classes

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix values

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* Add utility class for JSON serialization of RaoResult extensions

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* started changing loadflow calls

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add UT to improve sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* checkstyle

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* improve sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix test

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* more sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* erreurs de compil residuelles critical cnecs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* reliquat erreurs residuelles critical cnecs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* force SearchTreeRao in Marmot

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* adapt runFilteredRao

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* force 2P reoptimization on US 20_1

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* IO exception never thrown

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* skip multi-curative

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* broken link

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* unused test files

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* Async PostPerimeterSensitivityAnalysis run

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* mvn validate

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* refacto

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* use pre perimeter result

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* only keep activated range action

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* exclude duplicate cnec from final cost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change fast rao continue condition

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add new condition

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* export result (temporary to delete)

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* some refactoring

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* some refactoring

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove fast rao from cucumber test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* revert logback

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* sonar fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* check style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* interrupt thread

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* interrupt thread

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* review comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* unoptimized rao

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: wangjer <jeremy.wang@rte-france.com>
Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: thiriondan <daniel.thirion@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: Jérémy Wang <jeremy.wang@rte-france.com>
Co-authored-by: pjeanmarie <72982611+pjeanmarie@users.noreply.github.com>
Co-authored-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Sébastien Murgey <sebastien.murgey@rte-france.com>
Co-authored-by: Olivier Perrin <olivier.perrin@rte-france.com>
Co-authored-by: Viktor Terrier <11834022+terriervik@users.noreply.github.com>
Co-authored-by: danielthirion <152513244+danielthirion@users.noreply.github.com>
RoxaneChen02 added a commit that referenced this pull request Oct 8, 2025
* copy paste original file as is

* copy paste original file as is

* copy paste original file as is + small change to match recent renaming

* debug test wip

* Fixed cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update code to match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix US 19.7 features

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove semaphore

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* force global 2P

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor RemedialActionActivationResult to handle actions per state.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao don't support optimization on one given state only

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct JsonRaoParametersTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add config loader + make the extension optional

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* branch fast rao parameters in code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* test fast rao in cucumber

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add todo doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move check

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* keep marmot change

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao slide to doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* variant manager correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT FastRaoResultImplTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* revert and move to other branch

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add ut (#1390)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add simple fast rao test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* improve coverage

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add iniital sensi failed test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add 2 UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result ut

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* reformat

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change rao param

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* blank space

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Run cucumber on mac. Update jaxb bindings (#1212)

Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Export execution details (#1193)

* export failure reason/executed steps to a executionDetails field

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added check of execution details for failed RAOs in cucumber tests

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add unit tests for try catch

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* updated documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* clean code smells

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fixed tests

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* rename section in rao result json documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added a business error with the error and the stack trace to not lose the information

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* added unit test to check serialization, updated version to 1.7, fixed ordering of states in range action results

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix version

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is + small change to match recent renaming

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* debug test wip

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Use upward and downward variation variables in MILP for Range Actions (#1205)

Use upward and downward variation variables in MILP for Range Actions

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fixed cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Temporal data (#1228)

* temporal data

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor objective function evaluators API and add cost-wise Search-Tree (#1186)

* refactor objective function evaluators API
* enable cost-wise Search Tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* create class InterTemporalRaoInput (#1232)

* create class InterTemporalRaoInput

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* removed parameters from input class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix Jenkins (#1231)

* only keep PST_DE

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* keep previous crac

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update code to match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix bug 2p (#1237)

* fix bug

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* match style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* changed complete method to take into account previous failing contingencies

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Run tests on graalvm, slightly change ra ordering method in search tree to make it os agnostic (#1234)

* run tests on java & graalvm
* changed min impact for a couple tests, and change search tree ordering to make it os agnostic (hopefully)

Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update powsybl dependencies (6.6.0 release train) (#1239)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump to v6.2.0

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump to v6.3.0-SNAPSHOT

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix US 19.7 features

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove semaphore

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Power Gradient Constraint (#1229)

* Power Gradient Constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* JUnit

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo in test name

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* extract VariationDirection from RangeAction

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* replace record by class

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add module to jacoco

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add pgcs to RAO inputs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix poms

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* udate new POM tp 6.3.0-SNAPSHOT

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* inter-tempoal RAO API (#1236)

* inter-tempoal RAO API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* move to right module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix InterTemporalRaoInput creation

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Classes generated by Jakarta implement interfaces (#1246)

* get back to previous JAXB behavior for interface inheritance
* remove Jakarta dependency in CSA profiles module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Swe cne threshold decimals (#1245)

* add decimals for thrsholds in swe cne

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* include link fixes in documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* make constants final

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add new method withNetworkElement for InjectionRangeActionAdder (#1087)

* Add new method withNetworkElement for InjectionRangeAction

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

* Return error if withNetworkElement() called twice

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

* Remove unused import

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

---------

Signed-off-by: wangjer <jeremy.wang@rte-france.com>
Co-authored-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* TemporalData::map (#1251)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Use hasImpactOnNetwork from powsybl-core, 'fix' tests (#1131)

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fixes CRAC import from Flowbased Constraint Document to enable correct handling of XML without any MNEC element defined. (#1253)

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* timestamp in variables and constraints (#1259)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Make MonitoringResult combine function thread safe (#1260)

* make combine thread safe

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Global balancing constraint (#1250)

* add global balancing constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Update crac-93-1-3.json

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add constants in doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Update CoreProblemFiller.java

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Costly optimization of range actions (#1243)

* add costly variables and constraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cucumber tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rollback absolute variation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove continuous tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* only allow APPROXIMATED_INTEGERS mode for costly optimization

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* average cost/angle for PSTs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* introduce tap variables

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* minor fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests and doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove inexistant 'com.powsybl:powsybl-action-util' dependency (#1262)

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* duplicate redispatching test in costly (#1261)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Angle monitoring noglsk (#1249)

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* crash if incomplete GLSK error

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* draft

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* set MonitoringResult status to FAILURE when no GLSK given

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change global log message

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Update Monitoring.java

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Inter-Temporal Pool (#1235)

* create class InterTemporalRaoInput

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* removed parameters from input class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* WIP Beginning of InterTemporal Sensitivity Analysis

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add LF and sensi values in test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Fixed sensi computation in parallel

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add InterTemporalParameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* more relevant tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge head

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add json for inter temporal parameter

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* parallel RAOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use right Pait class

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* intertemporal pool

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use of inter-temporal pool for parallel computation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* some fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* refactored inputs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* changes after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use ThreadPoolExecutor for more relevant nested inter temporal pools

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove inter-temporal extension of parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add unit test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* use ForkJoinPool again

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless files

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Power Gradient Constraint filler (#1257)

* Update gradient API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Gradient MIP equations in doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix problems on min/max signums

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* preparatory work for PGC filler

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* complete PowerGradientConstraintFiller + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename to PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rename to PowerGradientBuilder

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* docstring for PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add Unit Test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rename p0 to initialPower

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add to do

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* simplify function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix after review

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main and update docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Rao parameters forbid cost increase always true (#1112)

* Remove ForbidCostIncrease parameter (should always be true)
* Remove curative stop criterion and 'optimize curative if preventive unsecure' and partially replace them by 'enforce curative security'
* Move unit out of objective function type
* Merge content of preventive stop criterion into type
* Move implem specific rao parameters into extensions
* The object multithreading parameters should be the same than its input, so it contains one parameter available-cpus
* Upgrade rao parameters version to 3.0
* Separate previous extensions in business/search-tree as optional
* Rename to avoid having same class name in rao parameters and its extension
* Separate rao parameters doc in multiple pages
* change python script to be able to do all the changes to parameters

---------

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix format of datetimes in variable and constraint names (#1266)

* fix format of datetimes in variable names

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use formatName for new variables and constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* 2P for multi-curative optimization (#1263)

* Handle multi-curative in 2P global opt

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cucumber test for validation of feature

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Partial Failure and completeData (#1256)

* draft

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* partial_failure fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* partial failure fix + automaton

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add Unit Test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add unit test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>

* ComputeHvdcAngleDroopActivePowerControlValue with getP (#1269)

* use getP to avoid nullpointer

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* adapt cucumber

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Delete mvn compiler version (#1270)

* delete useless compiler version(inherited from powsybl parent)

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare release v6.3.0

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare next release v6.4.0-SNAPSHOT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change url of info in rao result json serialization (#1273)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Feature/timestamp in crac api (#1265)

* add timestamp in CRAC API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* first works on JSON Crac with timestamp

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add timestamp in state

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* deserialize ts

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* some fixes after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* state id in helper

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test to cover State API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* date and author

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add offsetdatetime in cracparameter (#1274)

* add timestamp to crac creation parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix cse test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix fbconstraint test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix csa test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix json deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove Todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fb constraint extension doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fic UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* FbConstraintCracCreationParameters to FbconstraintCracCreatorParameters + fix duplicate line ?

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix private cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* review fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix merge conflict

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove initial tap and tap to angle conversion map from json crac files (#1278)

* removed initial tap and conversion map from json crac file (getting from network instead)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* changed retrocompatibility tests to validate the files before reading them, changed documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added a test to try import a crac with a PST missing in network

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix broken test after merge

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix version greater or equal to equal in deserializer

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix null ptdfSum in evaluator, relative margin case (#1264)

** add ptdfSumLowerBound to ptdfSums in evaluator

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Inter-Temporal Skeleton (MARMOT) (#1258)

* marmot first implementation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo in TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add initial sensi computation

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add topologyChanger + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fic style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add Result Merger

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* refactor skeleton

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* parameters order

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* introduce skeleton

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* inter-temporal linear optimization inputs ready

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create fillers from linear optimizer input

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* adapt PowerGradientConstraintFiller inputs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* minor

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix inputs of gradient filler

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* round set-point values

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* finalize first version of optimizer

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix parameters for compiling

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create global objective function

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* evaluate global objective function

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* first marmot test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* MARMOT works !!

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use initial scenario id

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test with rd

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test with power gradient constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use individual rao result cost

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create dedicated module for results

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use only one linear opt result

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add tests and fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* tests global linear optimization result

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use ProblemFillerHelper in castor

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless attributes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add new tests for global results

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* include preventive network actions in objective function evaluation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cleaning, comments, logging

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* explicit TODOs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* delete TODO

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix the action status badge (#1288)

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove timestamp in variables name for which a state is already provided (#1284)

* remove timestamp in variables name for which a state is already provided

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix bad @author tag

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Clean up pom (#1281)

* Remove redundant dependency version overrides

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add project artefacts

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unused dependency

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Priority ucte network analyser (#1280)

* added priority to UCTE network analyzer parameters to prioritize order code or element name

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* modify cbcora importer to prioritize element names over order codes

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Generator constraints (#1293)

* generator constraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add generator constraints module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* deprecate PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update main pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update distribution pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* [CIM] Import only one HVDC action if one line is disconnected (#1282)

* do not import HVDC RA if HVDC disconnected

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* coherent group name

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* logs, fix clear(), add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* checkstyle

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* More simple fix for ptdf sum (#1287)

* Revert "Fix null ptdfSum in evaluator, relative margin case (#1264)"

This reverts commit a2d0d856b390c99f34e4b6faa42200f222ce801d.

* Add cucumber test for illustrating issue when monitoring open branch post contingency

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>

* bound values in export to avoid trying to export +- infinity

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove power gradients (#1295)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Cleaning/intertemporal features cleaner (#1289)

* remove some TODOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* log initial and final costs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add new SumMaxPerTimestampCostEvaluatorResult

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* better tests names

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless method

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge identical methods

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max cost evaluator

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add comments in evaluator tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO for cost checking

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>

* Ignore duplicated CNECs in RAO status (#1303)

* add exlude cnecs function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add excludeCnecs in getCost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log and reevaluate cost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove cnec from raoresult

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix for merge

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unnecessary class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* sonarfix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* review correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix type

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* Separate global result from individual results per timestamp (#1302)

Separate global result from individual results per timestamp (#1302)

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix RA import after invalid Contingency (#1308)

* Fix RA import after invalid Contingency

* Fix dev

* Remove useless argument

* Test fix

* Fix

* After review

* fix sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* store highest threshold in evaluator result (#1322)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump powsybl-core to 6.7.0, OLF to 1.15.0 and entsoe to 2.13.0 (#1309)

* Add new powsybl-open-loadflow 'forceTargetQInReactiveLimits' parameter in test files

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Add new OLF 'voltageRemoteControlRobustMode' and 'disableInconsistentVoltageControls' params in test files

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump core to 6.7.0-RC1

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump core to 6.7.0 and OLF to 1.15.0

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump powsybl-entsoe to 2.13.0

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

---------

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare release v6.4.0

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare next release v6.5.0-SNAPSHOT

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* serialize PST's tap

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove useless exception

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* retrocompatibility test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* initialTap

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename add method in TemporalData to put (#1329)

* renamed add method in temporal data to put

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* Revert "renamed add method in temporal data to put"

This reverts commit 89a23c01bcc6281c83a3f460fddd5df4ee05909c.

* only changed add for temporalData

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Move jniortools import into a separate thread. (#1331)

* Move jniortools import into a separate thread.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Add EOF

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Revert "Add EOF"

This reverts commit 6ce6ce4194c18a6aa4261ec88d92eaa387207176.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Revert "Move jniortools import into a separate thread."

This reverts commit 081280b6d8141c85a4417e554c5e00aa83da6707.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Add OR-tools loading in Castor class so it gets loaded upon start

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

---------

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* All optional attributes in GeneratorConstraints (#1345)

* optional attributes in GeneratorConstraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* coverage

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Renaming CSA profiles to NC (#1340)

* rename CSA profiles to NC

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove CSA occurrences

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove auto search tree (#1318)

* remove auto search tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update json parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove auto search tree cucumber tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max-auto-depth occurrences

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max-auto-depth occurrences in docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* added a filter on versions to avoid printing the wrong version (was happening in pypowsybl where it was printing powsybl diagram version) (#1352)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* No longer export flows for instants after CNEC's (#1347)

* no longer export flows for instants after cnec's

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix typo in exception

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Extract features from idcc test data (#1353)

* TemporalDataImpl : treeMap for reproductibility

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* offsetDateTime in FbConstraintCracCreator

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* perf: memoize previous state

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add epsilon for range action filtering (range)

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* validate

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor RemedialActionActivationResult to handle actions per state.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao don't support optimization on one given state only

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove unused flowbased-related modules (#1356)

* remove unused flowbased-related modules

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Import automatons is `nc:RemedialAction.isManual` is `false` (#1349)

* add isManual is queries

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove scheme remedial actions and import ARAs from isManual=false

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove auto-instant-time in NC CRAC creation parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add NC file in doc tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Rename `monitoring` to `open-rao-monitoring` (#1357)

* rename monitoring to open-rao-monitoring

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update poms

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct JsonRaoParametersTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add config loader + make the extension optional

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* branch fast rao parameters in code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* test fast rao in cucumber

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add todo doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move check

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* keep marmot change

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao slide to doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* variant manager correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT FastRaoResultImplTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* revert and move to other branch

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct merge issue

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct merge issue pt2

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move fastrao doc to performance.md

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* wip max min margin with fast rao

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix after merge

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* bump parameters to v3.2 and add changelog

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc + add gif

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* center text

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* complete tutorial

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update tutorial.md

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* delete commonslang3 from pom to pull version from powsybl-core

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* merge main

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add comments to getRaLimitationParameters

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* adapt 20.2.2 by using topo CRA to ensure CRA is kept in 2P now that 2P is global

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* clean/ adapt US20_1

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix merge

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* delete re-optimize everywhere

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* update parameter files

* update values far from ref

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add CriticalCnecsResult extension to rao result + serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add AbstractExtendable inheritance to InterTemporalRao classes

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix values

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* Add utility class for JSON serialization of RaoResult extensions

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* started changing loadflow calls

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add UT to improve sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* checkstyle

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* improve sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix test

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* more sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* erreurs de compil residuelles critical cnecs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* reliquat erreurs residuelles critical cnecs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* force SearchTreeRao in Marmot

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* adapt runFilteredRao

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* force 2P reoptimization on US 20_1

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* IO exception never thrown

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* skip multi-curative

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* broken link

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* unused test files

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* Async PostPerimeterSensitivityAnalysis run

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* mvn validate

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* refacto

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* use pre perimeter result

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* only keep activated range action

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* exclude duplicate cnec from final cost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change fast rao continue condition

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add new condition

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* export result (temporary to delete)

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* some refactoring

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* some refactoring

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Select rao implementation for cucumber tests in properties file

Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>

* Generalize abstraction of rao implementation in Cucumber step definitions

Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>

* Rename methods to be rao-agnostic

Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: wangjer <jeremy.wang@rte-france.com>
Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: thiriondan <daniel.thirion@rte-france.com>
Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Jérémy Wang <jeremy.wang@rte-france.com>
Co-authored-by: pjeanmarie <72982611+pjeanmarie@users.noreply.github.com>
Co-authored-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Sébastien Murgey <sebastien.murgey@rte-france.com>
Co-authored-by: Olivier Perrin <olivier.perrin@rte-france.com>
Co-authored-by: Viktor Terrier <11834022+terriervik@users.noreply.github.com>
Co-authored-by: danielthirion <152513244+danielthirion@users.noreply.github.com>
bqth29 added a commit that referenced this pull request Oct 9, 2025
* copy paste original file as is

* copy paste original file as is

* copy paste original file as is + small change to match recent renaming

* debug test wip

* Fixed cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update code to match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix US 19.7 features

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove semaphore

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* force global 2P

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor RemedialActionActivationResult to handle actions per state.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao don't support optimization on one given state only

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct JsonRaoParametersTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add config loader + make the extension optional

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* branch fast rao parameters in code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* test fast rao in cucumber

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add todo doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move check

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* keep marmot change

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao slide to doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* variant manager correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT FastRaoResultImplTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* revert and move to other branch

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add ut (#1390)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add simple fast rao test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* improve coverage

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add iniital sensi failed test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add 2 UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result ut

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* reformat

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change rao param

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* blank space

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Run cucumber on mac. Update jaxb bindings (#1212)

Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Export execution details (#1193)

* export failure reason/executed steps to a executionDetails field

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added check of execution details for failed RAOs in cucumber tests

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add unit tests for try catch

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* updated documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* clean code smells

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fixed tests

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* rename section in rao result json documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added a business error with the error and the stack trace to not lose the information

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* added unit test to check serialization, updated version to 1.7, fixed ordering of states in range action results

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix version

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is + small change to match recent renaming

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* debug test wip

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Use upward and downward variation variables in MILP for Range Actions (#1205)

Use upward and downward variation variables in MILP for Range Actions

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fixed cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Temporal data (#1228)

* temporal data

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor objective function evaluators API and add cost-wise Search-Tree (#1186)

* refactor objective function evaluators API
* enable cost-wise Search Tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* create class InterTemporalRaoInput (#1232)

* create class InterTemporalRaoInput

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* removed parameters from input class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix Jenkins (#1231)

* only keep PST_DE

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* keep previous crac

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update code to match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix bug 2p (#1237)

* fix bug

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* match style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* changed complete method to take into account previous failing contingencies

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Run tests on graalvm, slightly change ra ordering method in search tree to make it os agnostic (#1234)

* run tests on java & graalvm
* changed min impact for a couple tests, and change search tree ordering to make it os agnostic (hopefully)

Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update powsybl dependencies (6.6.0 release train) (#1239)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump to v6.2.0

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump to v6.3.0-SNAPSHOT

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix US 19.7 features

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove semaphore

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Power Gradient Constraint (#1229)

* Power Gradient Constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* JUnit

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo in test name

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* extract VariationDirection from RangeAction

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* replace record by class

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add module to jacoco

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add pgcs to RAO inputs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix poms

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* udate new POM tp 6.3.0-SNAPSHOT

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* inter-tempoal RAO API (#1236)

* inter-tempoal RAO API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* move to right module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix InterTemporalRaoInput creation

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Classes generated by Jakarta implement interfaces (#1246)

* get back to previous JAXB behavior for interface inheritance
* remove Jakarta dependency in CSA profiles module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Swe cne threshold decimals (#1245)

* add decimals for thrsholds in swe cne

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* include link fixes in documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* make constants final

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add new method withNetworkElement for InjectionRangeActionAdder (#1087)

* Add new method withNetworkElement for InjectionRangeAction

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

* Return error if withNetworkElement() called twice

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

* Remove unused import

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

---------

Signed-off-by: wangjer <jeremy.wang@rte-france.com>
Co-authored-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* TemporalData::map (#1251)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Use hasImpactOnNetwork from powsybl-core, 'fix' tests (#1131)

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fixes CRAC import from Flowbased Constraint Document to enable correct handling of XML without any MNEC element defined. (#1253)

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* timestamp in variables and constraints (#1259)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Make MonitoringResult combine function thread safe (#1260)

* make combine thread safe

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Global balancing constraint (#1250)

* add global balancing constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Update crac-93-1-3.json

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add constants in doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Update CoreProblemFiller.java

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Costly optimization of range actions (#1243)

* add costly variables and constraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cucumber tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rollback absolute variation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove continuous tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* only allow APPROXIMATED_INTEGERS mode for costly optimization

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* average cost/angle for PSTs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* introduce tap variables

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* minor fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests and doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove inexistant 'com.powsybl:powsybl-action-util' dependency (#1262)

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* duplicate redispatching test in costly (#1261)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Angle monitoring noglsk (#1249)

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* crash if incomplete GLSK error

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* draft

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* set MonitoringResult status to FAILURE when no GLSK given

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change global log message

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Update Monitoring.java

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Inter-Temporal Pool (#1235)

* create class InterTemporalRaoInput

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* removed parameters from input class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* WIP Beginning of InterTemporal Sensitivity Analysis

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add LF and sensi values in test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Fixed sensi computation in parallel

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add InterTemporalParameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* more relevant tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge head

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add json for inter temporal parameter

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* parallel RAOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use right Pait class

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* intertemporal pool

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use of inter-temporal pool for parallel computation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* some fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* refactored inputs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* changes after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use ThreadPoolExecutor for more relevant nested inter temporal pools

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove inter-temporal extension of parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add unit test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* use ForkJoinPool again

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless files

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Power Gradient Constraint filler (#1257)

* Update gradient API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Gradient MIP equations in doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix problems on min/max signums

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* preparatory work for PGC filler

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* complete PowerGradientConstraintFiller + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename to PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rename to PowerGradientBuilder

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* docstring for PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add Unit Test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rename p0 to initialPower

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add to do

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* simplify function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix after review

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main and update docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Rao parameters forbid cost increase always true (#1112)

* Remove ForbidCostIncrease parameter (should always be true)
* Remove curative stop criterion and 'optimize curative if preventive unsecure' and partially replace them by 'enforce curative security'
* Move unit out of objective function type
* Merge content of preventive stop criterion into type
* Move implem specific rao parameters into extensions
* The object multithreading parameters should be the same than its input, so it contains one parameter available-cpus
* Upgrade rao parameters version to 3.0
* Separate previous extensions in business/search-tree as optional
* Rename to avoid having same class name in rao parameters and its extension
* Separate rao parameters doc in multiple pages
* change python script to be able to do all the changes to parameters

---------

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix format of datetimes in variable and constraint names (#1266)

* fix format of datetimes in variable names

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use formatName for new variables and constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* 2P for multi-curative optimization (#1263)

* Handle multi-curative in 2P global opt

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cucumber test for validation of feature

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Partial Failure and completeData (#1256)

* draft

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* partial_failure fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* partial failure fix + automaton

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add Unit Test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add unit test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>

* ComputeHvdcAngleDroopActivePowerControlValue with getP (#1269)

* use getP to avoid nullpointer

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* adapt cucumber

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Delete mvn compiler version (#1270)

* delete useless compiler version(inherited from powsybl parent)

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare release v6.3.0

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare next release v6.4.0-SNAPSHOT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change url of info in rao result json serialization (#1273)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Feature/timestamp in crac api (#1265)

* add timestamp in CRAC API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* first works on JSON Crac with timestamp

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add timestamp in state

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* deserialize ts

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* some fixes after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* state id in helper

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test to cover State API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* date and author

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add offsetdatetime in cracparameter (#1274)

* add timestamp to crac creation parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix cse test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix fbconstraint test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix csa test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix json deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove Todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fb constraint extension doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fic UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* FbConstraintCracCreationParameters to FbconstraintCracCreatorParameters + fix duplicate line ?

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix private cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* review fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix merge conflict

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove initial tap and tap to angle conversion map from json crac files (#1278)

* removed initial tap and conversion map from json crac file (getting from network instead)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* changed retrocompatibility tests to validate the files before reading them, changed documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added a test to try import a crac with a PST missing in network

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix broken test after merge

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix version greater or equal to equal in deserializer

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix null ptdfSum in evaluator, relative margin case (#1264)

** add ptdfSumLowerBound to ptdfSums in evaluator

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Inter-Temporal Skeleton (MARMOT) (#1258)

* marmot first implementation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo in TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add initial sensi computation

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add topologyChanger + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fic style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add Result Merger

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* refactor skeleton

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* parameters order

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* introduce skeleton

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* inter-temporal linear optimization inputs ready

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create fillers from linear optimizer input

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* adapt PowerGradientConstraintFiller inputs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* minor

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix inputs of gradient filler

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* round set-point values

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* finalize first version of optimizer

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix parameters for compiling

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create global objective function

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* evaluate global objective function

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* first marmot test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* MARMOT works !!

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use initial scenario id

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test with rd

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test with power gradient constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use individual rao result cost

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create dedicated module for results

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use only one linear opt result

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add tests and fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* tests global linear optimization result

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use ProblemFillerHelper in castor

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless attributes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add new tests for global results

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* include preventive network actions in objective function evaluation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cleaning, comments, logging

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* explicit TODOs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* delete TODO

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix the action status badge (#1288)

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove timestamp in variables name for which a state is already provided (#1284)

* remove timestamp in variables name for which a state is already provided

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix bad @author tag

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Clean up pom (#1281)

* Remove redundant dependency version overrides

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add project artefacts

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unused dependency

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Priority ucte network analyser (#1280)

* added priority to UCTE network analyzer parameters to prioritize order code or element name

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* modify cbcora importer to prioritize element names over order codes

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Generator constraints (#1293)

* generator constraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add generator constraints module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* deprecate PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update main pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update distribution pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* [CIM] Import only one HVDC action if one line is disconnected (#1282)

* do not import HVDC RA if HVDC disconnected

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* coherent group name

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* logs, fix clear(), add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* checkstyle

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* More simple fix for ptdf sum (#1287)

* Revert "Fix null ptdfSum in evaluator, relative margin case (#1264)"

This reverts commit a2d0d856b390c99f34e4b6faa42200f222ce801d.

* Add cucumber test for illustrating issue when monitoring open branch post contingency

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>

* bound values in export to avoid trying to export +- infinity

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove power gradients (#1295)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Cleaning/intertemporal features cleaner (#1289)

* remove some TODOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* log initial and final costs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add new SumMaxPerTimestampCostEvaluatorResult

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* better tests names

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless method

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge identical methods

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max cost evaluator

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add comments in evaluator tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO for cost checking

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>

* Ignore duplicated CNECs in RAO status (#1303)

* add exlude cnecs function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add excludeCnecs in getCost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log and reevaluate cost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove cnec from raoresult

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix for merge

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unnecessary class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* sonarfix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* review correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix type

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* Separate global result from individual results per timestamp (#1302)

Separate global result from individual results per timestamp (#1302)

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix RA import after invalid Contingency (#1308)

* Fix RA import after invalid Contingency

* Fix dev

* Remove useless argument

* Test fix

* Fix

* After review

* fix sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* store highest threshold in evaluator result (#1322)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump powsybl-core to 6.7.0, OLF to 1.15.0 and entsoe to 2.13.0 (#1309)

* Add new powsybl-open-loadflow 'forceTargetQInReactiveLimits' parameter in test files

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Add new OLF 'voltageRemoteControlRobustMode' and 'disableInconsistentVoltageControls' params in test files

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump core to 6.7.0-RC1

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump core to 6.7.0 and OLF to 1.15.0

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump powsybl-entsoe to 2.13.0

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

---------

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare release v6.4.0

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare next release v6.5.0-SNAPSHOT

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* serialize PST's tap

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove useless exception

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* retrocompatibility test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* initialTap

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename add method in TemporalData to put (#1329)

* renamed add method in temporal data to put

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* Revert "renamed add method in temporal data to put"

This reverts commit 89a23c01bcc6281c83a3f460fddd5df4ee05909c.

* only changed add for temporalData

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Move jniortools import into a separate thread. (#1331)

* Move jniortools import into a separate thread.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Add EOF

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Revert "Add EOF"

This reverts commit 6ce6ce4194c18a6aa4261ec88d92eaa387207176.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Revert "Move jniortools import into a separate thread."

This reverts commit 081280b6d8141c85a4417e554c5e00aa83da6707.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Add OR-tools loading in Castor class so it gets loaded upon start

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

---------

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* All optional attributes in GeneratorConstraints (#1345)

* optional attributes in GeneratorConstraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* coverage

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Renaming CSA profiles to NC (#1340)

* rename CSA profiles to NC

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove CSA occurrences

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove auto search tree (#1318)

* remove auto search tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update json parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove auto search tree cucumber tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max-auto-depth occurrences

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max-auto-depth occurrences in docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* added a filter on versions to avoid printing the wrong version (was happening in pypowsybl where it was printing powsybl diagram version) (#1352)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* No longer export flows for instants after CNEC's (#1347)

* no longer export flows for instants after cnec's

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix typo in exception

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Extract features from idcc test data (#1353)

* TemporalDataImpl : treeMap for reproductibility

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* offsetDateTime in FbConstraintCracCreator

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* perf: memoize previous state

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add epsilon for range action filtering (range)

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* validate

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor RemedialActionActivationResult to handle actions per state.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao don't support optimization on one given state only

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove unused flowbased-related modules (#1356)

* remove unused flowbased-related modules

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Import automatons is `nc:RemedialAction.isManual` is `false` (#1349)

* add isManual is queries

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove scheme remedial actions and import ARAs from isManual=false

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove auto-instant-time in NC CRAC creation parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add NC file in doc tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Rename `monitoring` to `open-rao-monitoring` (#1357)

* rename monitoring to open-rao-monitoring

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update poms

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct JsonRaoParametersTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add config loader + make the extension optional

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* branch fast rao parameters in code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* test fast rao in cucumber

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add todo doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move check

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* keep marmot change

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao slide to doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* variant manager correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT FastRaoResultImplTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* revert and move to other branch

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct merge issue

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct merge issue pt2

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move fastrao doc to performance.md

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* wip max min margin with fast rao

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix after merge

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* bump parameters to v3.2 and add changelog

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc + add gif

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* center text

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* complete tutorial

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update tutorial.md

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* delete commonslang3 from pom to pull version from powsybl-core

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* merge main

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add comments to getRaLimitationParameters

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* adapt 20.2.2 by using topo CRA to ensure CRA is kept in 2P now that 2P is global

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* clean/ adapt US20_1

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix merge

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* delete re-optimize everywhere

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* update parameter files

* update values far from ref

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add CriticalCnecsResult extension to rao result + serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add AbstractExtendable inheritance to InterTemporalRao classes

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix values

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* Add utility class for JSON serialization of RaoResult extensions

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* started changing loadflow calls

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add UT to improve sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* checkstyle

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* improve sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix test

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* more sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* erreurs de compil residuelles critical cnecs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* reliquat erreurs residuelles critical cnecs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* force SearchTreeRao in Marmot

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* adapt runFilteredRao

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* force 2P reoptimization on US 20_1

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* IO exception never thrown

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* skip multi-curative

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* broken link

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* unused test files

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* Async PostPerimeterSensitivityAnalysis run

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* mvn validate

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* refacto

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* use pre perimeter result

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* only keep activated range action

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* exclude duplicate cnec from final cost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change fast rao continue condition

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add new condition

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* export result (temporary to delete)

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* some refactoring

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* some refactoring

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Select rao implementation for cucumber tests in properties file

Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>

* Generalize abstraction of rao implementation in Cucumber step definitions

Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>

* Rename methods to be rao-agnostic

Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: wangjer <jeremy.wang@rte-france.com>
Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: thiriondan <daniel.thirion@rte-france.com>
Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Jérémy Wang <jeremy.wang@rte-france.com>
Co-authored-by: pjeanmarie <72982611+pjeanmarie@users.noreply.github.com>
Co-authored-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Sébastien Murgey <sebastien.murgey@rte-france.com>
Co-authored-by: Olivier Perrin <olivier.perrin@rte-france.com>
Co-authored-by: Viktor Terrier <11834022+terriervik@users.noreply.github.com>
Co-authored-by: danielthirion <152513244+danielthirion@users.noreply.github.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Godelaine added a commit that referenced this pull request Oct 9, 2025
* Remove FlowCNECs' Nominal Voltage (#1452)

* no longer read nominal V from JSON CRAC

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix import-related cucumbers

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix 5.1.0.b

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* post-process voltage levels to rollback to pre-dev situation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix hvdc tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* simplify deserialization as nominal V cannot be null

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* simplify import and handle error cases

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cover case with bad fields order for FlowCNECs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* handle tie lines as branches

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fixes after merge

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: phiedw <philippe.edwards@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>

* allow dc run with hvdc ac emulation (#1484)

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* [FastRAO] Adapt tests for CI needs (#1482)

* copy paste original file as is

* copy paste original file as is

* copy paste original file as is + small change to match recent renaming

* debug test wip

* Fixed cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update code to match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix US 19.7 features

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove semaphore

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* force global 2P

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor RemedialActionActivationResult to handle actions per state.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao don't support optimization on one given state only

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct JsonRaoParametersTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add config loader + make the extension optional

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* branch fast rao parameters in code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* test fast rao in cucumber

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add todo doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move check

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* keep marmot change

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao slide to doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* variant manager correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT FastRaoResultImplTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* revert and move to other branch

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add ut (#1390)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add simple fast rao test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* improve coverage

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add iniital sensi failed test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add 2 UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result ut

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* reformat

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change rao param

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* blank space

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Run cucumber on mac. Update jaxb bindings (#1212)

Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Export execution details (#1193)

* export failure reason/executed steps to a executionDetails field

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added check of execution details for failed RAOs in cucumber tests

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add unit tests for try catch

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* updated documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* clean code smells

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fixed tests

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* rename section in rao result json documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added a business error with the error and the stack trace to not lose the information

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* added unit test to check serialization, updated version to 1.7, fixed ordering of states in range action results

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix version

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is + small change to match recent renaming

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* debug test wip

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Use upward and downward variation variables in MILP for Range Actions (#1205)

Use upward and downward variation variables in MILP for Range Actions

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fixed cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Temporal data (#1228)

* temporal data

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor objective function evaluators API and add cost-wise Search-Tree (#1186)

* refactor objective function evaluators API
* enable cost-wise Search Tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* create class InterTemporalRaoInput (#1232)

* create class InterTemporalRaoInput

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* removed parameters from input class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix Jenkins (#1231)

* only keep PST_DE

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* keep previous crac

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update code to match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix bug 2p (#1237)

* fix bug

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* match style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* changed complete method to take into account previous failing contingencies

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Run tests on graalvm, slightly change ra ordering method in search tree to make it os agnostic (#1234)

* run tests on java & graalvm
* changed min impact for a couple tests, and change search tree ordering to make it os agnostic (hopefully)

Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update powsybl dependencies (6.6.0 release train) (#1239)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump to v6.2.0

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump to v6.3.0-SNAPSHOT

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix US 19.7 features

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove semaphore

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Power Gradient Constraint (#1229)

* Power Gradient Constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* JUnit

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo in test name

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* extract VariationDirection from RangeAction

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* replace record by class

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add module to jacoco

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add pgcs to RAO inputs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix poms

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* udate new POM tp 6.3.0-SNAPSHOT

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* inter-tempoal RAO API (#1236)

* inter-tempoal RAO API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* move to right module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix InterTemporalRaoInput creation

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Classes generated by Jakarta implement interfaces (#1246)

* get back to previous JAXB behavior for interface inheritance
* remove Jakarta dependency in CSA profiles module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Swe cne threshold decimals (#1245)

* add decimals for thrsholds in swe cne

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* include link fixes in documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* make constants final

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add new method withNetworkElement for InjectionRangeActionAdder (#1087)

* Add new method withNetworkElement for InjectionRangeAction

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

* Return error if withNetworkElement() called twice

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

* Remove unused import

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

---------

Signed-off-by: wangjer <jeremy.wang@rte-france.com>
Co-authored-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* TemporalData::map (#1251)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Use hasImpactOnNetwork from powsybl-core, 'fix' tests (#1131)

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fixes CRAC import from Flowbased Constraint Document to enable correct handling of XML without any MNEC element defined. (#1253)

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* timestamp in variables and constraints (#1259)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Make MonitoringResult combine function thread safe (#1260)

* make combine thread safe

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Global balancing constraint (#1250)

* add global balancing constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Update crac-93-1-3.json

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add constants in doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Update CoreProblemFiller.java

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Costly optimization of range actions (#1243)

* add costly variables and constraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cucumber tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rollback absolute variation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove continuous tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* only allow APPROXIMATED_INTEGERS mode for costly optimization

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* average cost/angle for PSTs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* introduce tap variables

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* minor fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests and doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove inexistant 'com.powsybl:powsybl-action-util' dependency (#1262)

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* duplicate redispatching test in costly (#1261)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Angle monitoring noglsk (#1249)

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* crash if incomplete GLSK error

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* draft

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* set MonitoringResult status to FAILURE when no GLSK given

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change global log message

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Update Monitoring.java

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Inter-Temporal Pool (#1235)

* create class InterTemporalRaoInput

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* removed parameters from input class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* WIP Beginning of InterTemporal Sensitivity Analysis

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add LF and sensi values in test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Fixed sensi computation in parallel

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add InterTemporalParameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* more relevant tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge head

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add json for inter temporal parameter

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* parallel RAOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use right Pait class

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* intertemporal pool

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use of inter-temporal pool for parallel computation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* some fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* refactored inputs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* changes after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use ThreadPoolExecutor for more relevant nested inter temporal pools

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove inter-temporal extension of parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add unit test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* use ForkJoinPool again

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless files

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Power Gradient Constraint filler (#1257)

* Update gradient API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Gradient MIP equations in doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix problems on min/max signums

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* preparatory work for PGC filler

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* complete PowerGradientConstraintFiller + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename to PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rename to PowerGradientBuilder

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* docstring for PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add Unit Test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rename p0 to initialPower

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add to do

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* simplify function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix after review

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main and update docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Rao parameters forbid cost increase always true (#1112)

* Remove ForbidCostIncrease parameter (should always be true)
* Remove curative stop criterion and 'optimize curative if preventive unsecure' and partially replace them by 'enforce curative security'
* Move unit out of objective function type
* Merge content of preventive stop criterion into type
* Move implem specific rao parameters into extensions
* The object multithreading parameters should be the same than its input, so it contains one parameter available-cpus
* Upgrade rao parameters version to 3.0
* Separate previous extensions in business/search-tree as optional
* Rename to avoid having same class name in rao parameters and its extension
* Separate rao parameters doc in multiple pages
* change python script to be able to do all the changes to parameters

---------

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix format of datetimes in variable and constraint names (#1266)

* fix format of datetimes in variable names

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use formatName for new variables and constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* 2P for multi-curative optimization (#1263)

* Handle multi-curative in 2P global opt

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cucumber test for validation of feature

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Partial Failure and completeData (#1256)

* draft

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* partial_failure fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* partial failure fix + automaton

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add Unit Test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add unit test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>

* ComputeHvdcAngleDroopActivePowerControlValue with getP (#1269)

* use getP to avoid nullpointer

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* adapt cucumber

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Delete mvn compiler version (#1270)

* delete useless compiler version(inherited from powsybl parent)

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare release v6.3.0

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare next release v6.4.0-SNAPSHOT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change url of info in rao result json serialization (#1273)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Feature/timestamp in crac api (#1265)

* add timestamp in CRAC API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* first works on JSON Crac with timestamp

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add timestamp in state

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* deserialize ts

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* some fixes after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* state id in helper

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test to cover State API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* date and author

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add offsetdatetime in cracparameter (#1274)

* add timestamp to crac creation parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix cse test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix fbconstraint test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix csa test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix json deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove Todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fb constraint extension doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fic UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* FbConstraintCracCreationParameters to FbconstraintCracCreatorParameters + fix duplicate line ?

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix private cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* review fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix merge conflict

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove initial tap and tap to angle conversion map from json crac files (#1278)

* removed initial tap and conversion map from json crac file (getting from network instead)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* changed retrocompatibility tests to validate the files before reading them, changed documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added a test to try import a crac with a PST missing in network

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix broken test after merge

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix version greater or equal to equal in deserializer

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix null ptdfSum in evaluator, relative margin case (#1264)

** add ptdfSumLowerBound to ptdfSums in evaluator

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Inter-Temporal Skeleton (MARMOT) (#1258)

* marmot first implementation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo in TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add initial sensi computation

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add topologyChanger + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fic style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add Result Merger

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* refactor skeleton

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* parameters order

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* introduce skeleton

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* inter-temporal linear optimization inputs ready

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create fillers from linear optimizer input

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* adapt PowerGradientConstraintFiller inputs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* minor

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix inputs of gradient filler

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* round set-point values

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* finalize first version of optimizer

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix parameters for compiling

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create global objective function

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* evaluate global objective function

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* first marmot test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* MARMOT works !!

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use initial scenario id

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test with rd

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test with power gradient constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use individual rao result cost

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create dedicated module for results

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use only one linear opt result

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add tests and fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* tests global linear optimization result

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use ProblemFillerHelper in castor

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless attributes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add new tests for global results

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* include preventive network actions in objective function evaluation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cleaning, comments, logging

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* explicit TODOs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* delete TODO

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix the action status badge (#1288)

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove timestamp in variables name for which a state is already provided (#1284)

* remove timestamp in variables name for which a state is already provided

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix bad @author tag

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Clean up pom (#1281)

* Remove redundant dependency version overrides

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add project artefacts

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unused dependency

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Priority ucte network analyser (#1280)

* added priority to UCTE network analyzer parameters to prioritize order code or element name

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* modify cbcora importer to prioritize element names over order codes

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Generator constraints (#1293)

* generator constraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add generator constraints module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* deprecate PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update main pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update distribution pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* [CIM] Import only one HVDC action if one line is disconnected (#1282)

* do not import HVDC RA if HVDC disconnected

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* coherent group name

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* logs, fix clear(), add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* checkstyle

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* More simple fix for ptdf sum (#1287)

* Revert "Fix null ptdfSum in evaluator, relative margin case (#1264)"

This reverts commit a2d0d856b390c99f34e4b6faa42200f222ce801d.

* Add cucumber test for illustrating issue when monitoring open branch post contingency

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>

* bound values in export to avoid trying to export +- infinity

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove power gradients (#1295)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Cleaning/intertemporal features cleaner (#1289)

* remove some TODOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* log initial and final costs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add new SumMaxPerTimestampCostEvaluatorResult

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* better tests names

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless method

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge identical methods

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max cost evaluator

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add comments in evaluator tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO for cost checking

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>

* Ignore duplicated CNECs in RAO status (#1303)

* add exlude cnecs function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add excludeCnecs in getCost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log and reevaluate cost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove cnec from raoresult

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix for merge

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unnecessary class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* sonarfix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* review correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix type

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* Separate global result from individual results per timestamp (#1302)

Separate global result from individual results per timestamp (#1302)

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix RA import after invalid Contingency (#1308)

* Fix RA import after invalid Contingency

* Fix dev

* Remove useless argument

* Test fix

* Fix

* After review

* fix sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* store highest threshold in evaluator result (#1322)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump powsybl-core to 6.7.0, OLF to 1.15.0 and entsoe to 2.13.0 (#1309)

* Add new powsybl-open-loadflow 'forceTargetQInReactiveLimits' parameter in test files

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Add new OLF 'voltageRemoteControlRobustMode' and 'disableInconsistentVoltageControls' params in test files

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump core to 6.7.0-RC1

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump core to 6.7.0 and OLF to 1.15.0

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump powsybl-entsoe to 2.13.0

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

---------

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare release v6.4.0

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare next release v6.5.0-SNAPSHOT

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* serialize PST's tap

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove useless exception

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* retrocompatibility test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* initialTap

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename add method in TemporalData to put (#1329)

* renamed add method in temporal data to put

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* Revert "renamed add method in temporal data to put"

This reverts commit 89a23c01bcc6281c83a3f460fddd5df4ee05909c.

* only changed add for temporalData

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Move jniortools import into a separate thread. (#1331)

* Move jniortools import into a separate thread.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Add EOF

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Revert "Add EOF"

This reverts commit 6ce6ce4194c18a6aa4261ec88d92eaa387207176.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Revert "Move jniortools import into a separate thread."

This reverts commit 081280b6d8141c85a4417e554c5e00aa83da6707.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Add OR-tools loading in Castor class so it gets loaded upon start

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

---------

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* All optional attributes in GeneratorConstraints (#1345)

* optional attributes in GeneratorConstraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* coverage

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Renaming CSA profiles to NC (#1340)

* rename CSA profiles to NC

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove CSA occurrences

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove auto search tree (#1318)

* remove auto search tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update json parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove auto search tree cucumber tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max-auto-depth occurrences

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max-auto-depth occurrences in docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* added a filter on versions to avoid printing the wrong version (was happening in pypowsybl where it was printing powsybl diagram version) (#1352)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* No longer export flows for instants after CNEC's (#1347)

* no longer export flows for instants after cnec's

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix typo in exception

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Extract features from idcc test data (#1353)

* TemporalDataImpl : treeMap for reproductibility

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* offsetDateTime in FbConstraintCracCreator

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* perf: memoize previous state

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add epsilon for range action filtering (range)

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* validate

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor RemedialActionActivationResult to handle actions per state.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao don't support optimization on one given state only

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove unused flowbased-related modules (#1356)

* remove unused flowbased-related modules

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Import automatons is `nc:RemedialAction.isManual` is `false` (#1349)

* add isManual is queries

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove scheme remedial actions and import ARAs from isManual=false

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove auto-instant-time in NC CRAC creation parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add NC file in doc tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Rename `monitoring` to `open-rao-monitoring` (#1357)

* rename monitoring to open-rao-monitoring

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update poms

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct JsonRaoParametersTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add config loader + make the extension optional

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* branch fast rao parameters in code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* test fast rao in cucumber

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add todo doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move check

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* keep marmot change

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao slide to doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* variant manager correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT FastRaoResultImplTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* revert and move to other branch

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct merge issue

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct merge issue pt2

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move fastrao doc to performance.md

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* wip max min margin with fast rao

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix after merge

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* bump parameters to v3.2 and add changelog

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc + add gif

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* center text

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* complete tutorial

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update tutorial.md

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* delete commonslang3 from pom to pull version from powsybl-core

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* merge main

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add comments to getRaLimitationParameters

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* adapt 20.2.2 by using topo CRA to ensure CRA is kept in 2P now that 2P is global

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* clean/ adapt US20_1

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix merge

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* delete re-optimize everywhere

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* update parameter files

* update values far from ref

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add CriticalCnecsResult extension to rao result + serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add AbstractExtendable inheritance to InterTemporalRao classes

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix values

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* Add utility class for JSON serialization of RaoResult extensions

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* started changing loadflow calls

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add UT to improve sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* checkstyle

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* improve sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix test

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* more sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* erreurs de compil residuelles critical cnecs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* reliquat erreurs residuelles critical cnecs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* force SearchTreeRao in Marmot

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* adapt runFilteredRao

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* force 2P reoptimization on US 20_1

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* IO exception never thrown

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* skip multi-curative

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* broken link

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* unused test files

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* Async PostPerimeterSensitivityAnalysis run

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* mvn validate

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* refacto

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* use pre perimeter result

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* only keep activated range action

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* exclude duplicate cnec from final cost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change fast rao continue condition

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add new condition

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* export result (temporary to delete)

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* some refactoring

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* some refactoring

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Select rao implementation for cucumber tests in properties file

Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>

* Generalize abstraction of rao implementation in Cucumber step definitions

Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>

* Rename methods to be rao-agnostic

Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: wangjer <jeremy.wang@rte-france.com>
Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: thiriondan <daniel.thirion@rte-france.com>
Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>
Co-authored-by…
bqth29 added a commit that referenced this pull request Oct 22, 2025
* update to Java 21

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update readme

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* extract methods in tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix InterTemporalPool

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* upgrade powsybl-parent to v23

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Update OLF params for json test

Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>

* Bump powsybl-parent to 24

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Upgrade PowSyBl dependencies

Upgrade powsybl-core, powsybl-entsoe & powsybl-open-loadflow to snapshot
versions.
Update rao-parameters expected files in unit tests with new default
values.

Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>

* fix voltage monitoring tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix automaton simulator tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* disable ac emulation mode for hvdc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* relicat de merge

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* relicat de merge 2

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* do not compute sensi for HVDC in AC emulation

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* Partially rollback to OLF default configuration (#1483)

* Remove FlowCNECs' Nominal Voltage (#1452)

* no longer read nominal V from JSON CRAC

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix import-related cucumbers

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix 5.1.0.b

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* post-process voltage levels to rollback to pre-dev situation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix hvdc tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* simplify deserialization as nominal V cannot be null

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* simplify import and handle error cases

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cover case with bad fields order for FlowCNECs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* handle tie lines as branches

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fixes after merge

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: phiedw <philippe.edwards@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>

* update network files to avoid changing OLF "plausibleActivePowerLimit" parameter

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: phiedw <philippe.edwards@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>

* Prepare release 6.7.0 (#1486)

* change log level

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* change log level to debug

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* update powsybl core version

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* Fix olf (#1489)

* update pom with release candidate from core

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix compil

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Update with main (#1491)

* Remove FlowCNECs' Nominal Voltage (#1452)

* no longer read nominal V from JSON CRAC

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix import-related cucumbers

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix 5.1.0.b

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* post-process voltage levels to rollback to pre-dev situation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix hvdc tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* simplify deserialization as nominal V cannot be null

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* simplify import and handle error cases

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cover case with bad fields order for FlowCNECs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* handle tie lines as branches

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fixes after merge

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: phiedw <philippe.edwards@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>

* allow dc run with hvdc ac emulation (#1484)

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* [FastRAO] Adapt tests for CI needs (#1482)

* copy paste original file as is

* copy paste original file as is

* copy paste original file as is + small change to match recent renaming

* debug test wip

* Fixed cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update code to match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix US 19.7 features

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove semaphore

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* force global 2P

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor RemedialActionActivationResult to handle actions per state.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao don't support optimization on one given state only

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct JsonRaoParametersTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add config loader + make the extension optional

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* branch fast rao parameters in code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* test fast rao in cucumber

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add todo doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move check

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* keep marmot change

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao slide to doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* variant manager correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT FastRaoResultImplTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* revert and move to other branch

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add ut (#1390)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add simple fast rao test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* improve coverage

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add iniital sensi failed test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add 2 UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result ut

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* reformat

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change rao param

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* blank space

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Run cucumber on mac. Update jaxb bindings (#1212)

Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Export execution details (#1193)

* export failure reason/executed steps to a executionDetails field

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added check of execution details for failed RAOs in cucumber tests

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add unit tests for try catch

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* updated documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* clean code smells

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fixed tests

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* rename section in rao result json documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added a business error with the error and the stack trace to not lose the information

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* added unit test to check serialization, updated version to 1.7, fixed ordering of states in range action results

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix version

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is + small change to match recent renaming

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* debug test wip

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Use upward and downward variation variables in MILP for Range Actions (#1205)

Use upward and downward variation variables in MILP for Range Actions

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fixed cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Temporal data (#1228)

* temporal data

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor objective function evaluators API and add cost-wise Search-Tree (#1186)

* refactor objective function evaluators API
* enable cost-wise Search Tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* create class InterTemporalRaoInput (#1232)

* create class InterTemporalRaoInput

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* removed parameters from input class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix Jenkins (#1231)

* only keep PST_DE

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* keep previous crac

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update code to match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix bug 2p (#1237)

* fix bug

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* match style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* changed complete method to take into account previous failing contingencies

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Run tests on graalvm, slightly change ra ordering method in search tree to make it os agnostic (#1234)

* run tests on java & graalvm
* changed min impact for a couple tests, and change search tree ordering to make it os agnostic (hopefully)

Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update powsybl dependencies (6.6.0 release train) (#1239)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump to v6.2.0

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump to v6.3.0-SNAPSHOT

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix US 19.7 features

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove semaphore

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Power Gradient Constraint (#1229)

* Power Gradient Constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* JUnit

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo in test name

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* extract VariationDirection from RangeAction

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* replace record by class

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add module to jacoco

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add pgcs to RAO inputs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix poms

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* udate new POM tp 6.3.0-SNAPSHOT

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* inter-tempoal RAO API (#1236)

* inter-tempoal RAO API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* move to right module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix InterTemporalRaoInput creation

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Classes generated by Jakarta implement interfaces (#1246)

* get back to previous JAXB behavior for interface inheritance
* remove Jakarta dependency in CSA profiles module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Swe cne threshold decimals (#1245)

* add decimals for thrsholds in swe cne

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* include link fixes in documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* make constants final

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add new method withNetworkElement for InjectionRangeActionAdder (#1087)

* Add new method withNetworkElement for InjectionRangeAction

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

* Return error if withNetworkElement() called twice

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

* Remove unused import

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

---------

Signed-off-by: wangjer <jeremy.wang@rte-france.com>
Co-authored-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* TemporalData::map (#1251)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Use hasImpactOnNetwork from powsybl-core, 'fix' tests (#1131)

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fixes CRAC import from Flowbased Constraint Document to enable correct handling of XML without any MNEC element defined. (#1253)

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* timestamp in variables and constraints (#1259)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Make MonitoringResult combine function thread safe (#1260)

* make combine thread safe

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Global balancing constraint (#1250)

* add global balancing constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Update crac-93-1-3.json

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add constants in doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Update CoreProblemFiller.java

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Costly optimization of range actions (#1243)

* add costly variables and constraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cucumber tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rollback absolute variation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove continuous tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* only allow APPROXIMATED_INTEGERS mode for costly optimization

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* average cost/angle for PSTs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* introduce tap variables

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* minor fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests and doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove inexistant 'com.powsybl:powsybl-action-util' dependency (#1262)

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* duplicate redispatching test in costly (#1261)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Angle monitoring noglsk (#1249)

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* crash if incomplete GLSK error

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* draft

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* set MonitoringResult status to FAILURE when no GLSK given

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change global log message

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Update Monitoring.java

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Inter-Temporal Pool (#1235)

* create class InterTemporalRaoInput

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* removed parameters from input class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* WIP Beginning of InterTemporal Sensitivity Analysis

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add LF and sensi values in test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Fixed sensi computation in parallel

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add InterTemporalParameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* more relevant tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge head

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add json for inter temporal parameter

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* parallel RAOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use right Pait class

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* intertemporal pool

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use of inter-temporal pool for parallel computation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* some fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* refactored inputs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* changes after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use ThreadPoolExecutor for more relevant nested inter temporal pools

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove inter-temporal extension of parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add unit test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* use ForkJoinPool again

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless files

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Power Gradient Constraint filler (#1257)

* Update gradient API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Gradient MIP equations in doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix problems on min/max signums

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* preparatory work for PGC filler

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* complete PowerGradientConstraintFiller + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename to PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rename to PowerGradientBuilder

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* docstring for PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add Unit Test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rename p0 to initialPower

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add to do

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* simplify function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix after review

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main and update docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Rao parameters forbid cost increase always true (#1112)

* Remove ForbidCostIncrease parameter (should always be true)
* Remove curative stop criterion and 'optimize curative if preventive unsecure' and partially replace them by 'enforce curative security'
* Move unit out of objective function type
* Merge content of preventive stop criterion into type
* Move implem specific rao parameters into extensions
* The object multithreading parameters should be the same than its input, so it contains one parameter available-cpus
* Upgrade rao parameters version to 3.0
* Separate previous extensions in business/search-tree as optional
* Rename to avoid having same class name in rao parameters and its extension
* Separate rao parameters doc in multiple pages
* change python script to be able to do all the changes to parameters

---------

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix format of datetimes in variable and constraint names (#1266)

* fix format of datetimes in variable names

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use formatName for new variables and constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* 2P for multi-curative optimization (#1263)

* Handle multi-curative in 2P global opt

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cucumber test for validation of feature

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Partial Failure and completeData (#1256)

* draft

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* partial_failure fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* partial failure fix + automaton

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add Unit Test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add unit test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>

* ComputeHvdcAngleDroopActivePowerControlValue with getP (#1269)

* use getP to avoid nullpointer

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* adapt cucumber

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Delete mvn compiler version (#1270)

* delete useless compiler version(inherited from powsybl parent)

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare release v6.3.0

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare next release v6.4.0-SNAPSHOT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change url of info in rao result json serialization (#1273)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Feature/timestamp in crac api (#1265)

* add timestamp in CRAC API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* first works on JSON Crac with timestamp

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add timestamp in state

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* deserialize ts

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* some fixes after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* state id in helper

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test to cover State API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* date and author

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add offsetdatetime in cracparameter (#1274)

* add timestamp to crac creation parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix cse test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix fbconstraint test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix csa test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix json deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove Todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fb constraint extension doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fic UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* FbConstraintCracCreationParameters to FbconstraintCracCreatorParameters + fix duplicate line ?

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix private cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* review fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix merge conflict

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove initial tap and tap to angle conversion map from json crac files (#1278)

* removed initial tap and conversion map from json crac file (getting from network instead)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* changed retrocompatibility tests to validate the files before reading them, changed documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added a test to try import a crac with a PST missing in network

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix broken test after merge

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix version greater or equal to equal in deserializer

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix null ptdfSum in evaluator, relative margin case (#1264)

** add ptdfSumLowerBound to ptdfSums in evaluator

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Inter-Temporal Skeleton (MARMOT) (#1258)

* marmot first implementation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo in TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add initial sensi computation

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add topologyChanger + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fic style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add Result Merger

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* refactor skeleton

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* parameters order

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* introduce skeleton

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* inter-temporal linear optimization inputs ready

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create fillers from linear optimizer input

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* adapt PowerGradientConstraintFiller inputs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* minor

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix inputs of gradient filler

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* round set-point values

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* finalize first version of optimizer

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix parameters for compiling

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create global objective function

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* evaluate global objective function

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* first marmot test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* MARMOT works !!

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use initial scenario id

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test with rd

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test with power gradient constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use individual rao result cost

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create dedicated module for results

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use only one linear opt result

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add tests and fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* tests global linear optimization result

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use ProblemFillerHelper in castor

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless attributes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add new tests for global results

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* include preventive network actions in objective function evaluation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cleaning, comments, logging

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* explicit TODOs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* delete TODO

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix the action status badge (#1288)

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove timestamp in variables name for which a state is already provided (#1284)

* remove timestamp in variables name for which a state is already provided

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix bad @author tag

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Clean up pom (#1281)

* Remove redundant dependency version overrides

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add project artefacts

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unused dependency

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Priority ucte network analyser (#1280)

* added priority to UCTE network analyzer parameters to prioritize order code or element name

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* modify cbcora importer to prioritize element names over order codes

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Generator constraints (#1293)

* generator constraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add generator constraints module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* deprecate PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update main pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update distribution pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* [CIM] Import only one HVDC action if one line is disconnected (#1282)

* do not import HVDC RA if HVDC disconnected

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* coherent group name

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* logs, fix clear(), add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* checkstyle

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* More simple fix for ptdf sum (#1287)

* Revert "Fix null ptdfSum in evaluator, relative margin case (#1264)"

This reverts commit a2d0d856b390c99f34e4b6faa42200f222ce801d.

* Add cucumber test for illustrating issue when monitoring open branch post contingency

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>

* bound values in export to avoid trying to export +- infinity

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove power gradients (#1295)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Cleaning/intertemporal features cleaner (#1289)

* remove some TODOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* log initial and final costs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add new SumMaxPerTimestampCostEvaluatorResult

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* better tests names

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless method

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge identical methods

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max cost evaluator

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add comments in evaluator tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO for cost checking

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>

* Ignore duplicated CNECs in RAO status (#1303)

* add exlude cnecs function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add excludeCnecs in getCost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log and reevaluate cost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove cnec from raoresult

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix for merge

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unnecessary class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* sonarfix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* review correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix type

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* Separate global result from individual results per timestamp (#1302)

Separate global result from individual results per timestamp (#1302)

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix RA import after invalid Contingency (#1308)

* Fix RA import after invalid Contingency

* Fix dev

* Remove useless argument

* Test fix

* Fix

* After review

* fix sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* store highest threshold in evaluator result (#1322)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump powsybl-core to 6.7.0, OLF to 1.15.0 and entsoe to 2.13.0 (#1309)

* Add new powsybl-open-loadflow 'forceTargetQInReactiveLimits' parameter in test files

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Add new OLF 'voltageRemoteControlRobustMode' and 'disableInconsistentVoltageControls' params in test files

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump core to 6.7.0-RC1

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump core to 6.7.0 and OLF to 1.15.0

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump powsybl-entsoe to 2.13.0

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

---------

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare release v6.4.0

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare next release v6.5.0-SNAPSHOT

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* serialize PST's tap

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove useless exception

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* retrocompatibility test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* initialTap

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename add method in TemporalData to put (#1329)

* renamed add method in temporal data to put

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* Revert "renamed add method in temporal data to put"

This reverts commit 89a23c01bcc6281c83a3f460fddd5df4ee05909c.

* only changed add for temporalData

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Move jniortools import into a separate thread. (#1331)

* Move jniortools import into a separate thread.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Add EOF

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Revert "Add EOF"

This reverts commit 6ce6ce4194c18a6aa4261ec88d92eaa387207176.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Revert "Move jniortools import into a separate thread."

This reverts commit 081280b6d8141c85a4417e554c5e00aa83da6707.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Add OR-tools loading in Castor class so it gets loaded upon start

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

---------

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* All optional attributes in GeneratorConstraints (#1345)

* optional attributes in GeneratorConstraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* coverage

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Renaming CSA profiles to NC (#1340)

* rename CSA profiles to NC

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove CSA occurrences

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove auto search tree (#1318)

* remove auto search tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update json parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove auto search tree cucumber tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max-auto-depth occurrences

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max-auto-depth occurrences in docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* added a filter on versions to avoid printing the wrong version (was happening in pypowsybl where it was printing powsybl diagram version) (#1352)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* No longer export flows for instants after CNEC's (#1347)

* no longer export flows for instants after cnec's

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix typo in exception

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Extract features from idcc test data (#1353)

* TemporalDataImpl : treeMap for reproductibility

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* offsetDateTime in FbConstraintCracCreator

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* perf: memoize previous state

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add epsilon for range action filtering (range)

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* validate

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor RemedialActionActivationResult to handle actions per state.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao don't support optimization on one given state only

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove unused flowbased-related modules (#1356)

* remove unused flowbased-related modules

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Import automatons is `nc:RemedialAction.isManual` is `false` (#1349)

* add isManual is queries

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove scheme remedial actions and import ARAs from isManual=false

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove auto-instant-time in NC CRAC creation parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add NC file in doc tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Rename `monitoring` to `open-rao-monitoring` (#1357)

* rename monitoring to open-rao-monitoring

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update poms

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct JsonRaoParametersTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add config loader + make the extension optional

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* branch fast rao parameters in code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* test fast rao in cucumber

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add todo doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move check

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* keep marmot change

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao slide to doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* variant manager correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT FastRaoResultImplTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* revert and move to other branch

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct merge issue

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct merge issue pt2

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move fastrao doc to performance.md

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* wip max min margin with fast rao

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix after merge

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* bump parameters to v3.2 and add changelog

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc + add gif

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* center text

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* complete tutorial

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update tutorial.md

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* delete commonslang3 from pom to pull version from powsybl-core

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* merge main

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add comments to getRaLimitationParameters

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* adapt 20.2.2 by using topo CRA to ensure CRA is kept in 2P now that 2P is global

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* clean/ adapt US20_1

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix merge

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* delete re-optimize everywhere

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* update parameter files

* update values far from ref

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add CriticalCnecsResult extension to rao result + serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add AbstractExtendable inheritance to InterTemporalRao classes

Signed-off…
@bqth29 bqth29 mentioned this pull request Oct 22, 2025
8 tasks
bqth29 added a commit that referenced this pull request Oct 22, 2025
* update to Java 21



* update readme



* extract methods in tests



* fix InterTemporalPool



* upgrade powsybl-parent to v23



* Update OLF params for json test



* Bump powsybl-parent to 24



* Upgrade PowSyBl dependencies

Upgrade powsybl-core, powsybl-entsoe & powsybl-open-loadflow to snapshot
versions.
Update rao-parameters expected files in unit tests with new default
values.



* fix voltage monitoring tests



* fix automaton simulator tests



* disable ac emulation mode for hvdc



* relicat de merge



* relicat de merge 2



* UT



* do not compute sensi for HVDC in AC emulation



* Partially rollback to OLF default configuration (#1483)

* Remove FlowCNECs' Nominal Voltage (#1452)

* no longer read nominal V from JSON CRAC



* fix import-related cucumbers



* sonar



* fix 5.1.0.b



* post-process voltage levels to rollback to pre-dev situation



* fix tests



* fix hvdc tests



* simplify deserialization as nominal V cannot be null



* simplify import and handle error cases



* cover case with bad fields order for FlowCNECs



* handle tie lines as branches



* fixes after merge



---------






* update network files to avoid changing OLF "plausibleActivePowerLimit" parameter



---------






* Prepare release 6.7.0 (#1486)

* change log level



* change log level to debug



* update powsybl core version



---------



* Fix olf (#1489)

* update pom with release candidate from core



* fix compil



---------



* Update with main (#1491)

* Remove FlowCNECs' Nominal Voltage (#1452)

* no longer read nominal V from JSON CRAC



* fix import-related cucumbers



* sonar



* fix 5.1.0.b



* post-process voltage levels to rollback to pre-dev situation



* fix tests



* fix hvdc tests



* simplify deserialization as nominal V cannot be null



* simplify import and handle error cases



* cover case with bad fields order for FlowCNECs



* handle tie lines as branches



* fixes after merge



---------






* allow dc run with hvdc ac emulation (#1484)



* [FastRAO] Adapt tests for CI needs (#1482)

* copy paste original file as is

* copy paste original file as is

* copy paste original file as is + small change to match recent renaming

* debug test wip

* Fixed cucumber tests



* add log + fix style



* update code to match main



* fix US 19.7 features



* remove semaphore



* force global 2P



* fix merge main



* Refactor RemedialActionActivationResult to handle actions per state.



* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.



* fast rao don't support optimization on one given state only



* remove unecessary function



* clean up



* remove unecessary import



* update log



* todo



* add fast rao parameters



* correct JsonRaoParametersTest



* add config loader + make the extension optional



* add tests



* branch fast rao parameters in code



* test fast rao in cucumber



* clean up



* add todo doc



* typo



* move check



* keep marmot change



* add fast rao doc



* typo



* typo



* add fast rao slide to doc



* variant manager correction



* add UT FastRaoResultImplTest



* update doc



* update doc



* revert and move to other branch



* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl



* fast rao result specific serializer and deserializer



* correction



* add fast rao extension + UT



* rename function



---------




* Fast rao/add ut (#1390)

* add considered to FastRaoResultImpl



* fast rao result specific serializer and deserializer



* correction



* add fast rao extension + UT



* rename function



* add simple fast rao test



* correct test



* improve coverage



* add iniital sensi failed test



* add 2 UT



* fast rao result ut



* reformat



* change rao param



* blank space



---------




* copy paste original file as is



* copy paste original file as is



* Run cucumber on mac. Update jaxb bindings (#1212)




* Export execution details (#1193)

* export failure reason/executed steps to a executionDetails field



* added check of execution details for failed RAOs in cucumber tests



* add unit tests for try catch



* updated documentation



* clean code smells



* fixed tests



* rename section in rao result json documentation



* added a business error with the error and the stack trace to not lose the information



* merge main



* added unit test to check serialization, updated version to 1.7, fixed ordering of states in range action results



* fix version



---------








* copy paste original file as is + small change to match recent renaming



* debug test wip



* Use upward and downward variation variables in MILP for Range Actions (#1205)

Use upward and downward variation variables in MILP for Range Actions




* Fixed cucumber tests



* add log + fix style



* Temporal data (#1228)

* temporal data



* sonar



---------




* Refactor objective function evaluators API and add cost-wise Search-Tree (#1186)

* refactor objective function evaluators API
* enable cost-wise Search Tree




* create class InterTemporalRaoInput (#1232)

* create class InterTemporalRaoInput



* removed parameters from input class



---------





* fix Jenkins (#1231)

* only keep PST_DE



* keep previous crac



---------





* update code to match main



* Fix bug 2p (#1237)

* fix bug



* match style



* changed complete method to take into account previous failing contingencies



* add UT



* add UT



* add UT



* add UT



* fix UT



---------









* Run tests on graalvm, slightly change ra ordering method in search tree to make it os agnostic (#1234)

* run tests on java & graalvm
* changed min impact for a couple tests, and change search tree ordering to make it os agnostic (hopefully)





* update powsybl dependencies (6.6.0 release train) (#1239)




* Bump to v6.2.0




* Bump to v6.3.0-SNAPSHOT




* fix US 19.7 features



* remove semaphore



* Power Gradient Constraint (#1229)

* Power Gradient Constraint



* JUnit



* typo in test name



* extract VariationDirection from RangeAction



* replace record by class



* update pom



* add module to jacoco



* add pgcs to RAO inputs



* fix poms



* udate new POM tp 6.3.0-SNAPSHOT



---------






* inter-tempoal RAO API (#1236)

* inter-tempoal RAO API



* move to right module



* fix InterTemporalRaoInput creation



---------







* Classes generated by Jakarta implement interfaces (#1246)

* get back to previous JAXB behavior for interface inheritance
* remove Jakarta dependency in CSA profiles module




* Swe cne threshold decimals (#1245)

* add decimals for thrsholds in swe cne



* include link fixes in documentation



* make constants final



---------




* Add new method withNetworkElement for InjectionRangeActionAdder (#1087)

* Add new method withNetworkElement for InjectionRangeAction



* Return error if withNetworkElement() called twice



* Remove unused import



---------








* TemporalData::map (#1251)




* Use hasImpactOnNetwork from powsybl-core, 'fix' tests (#1131)






* Fixes CRAC import from Flowbased Constraint Document to enable correct handling of XML without any MNEC element defined. (#1253)



* timestamp in variables and constraints (#1259)




* Make MonitoringResult combine function thread safe (#1260)

* make combine thread safe



* add comment



---------





* Global balancing constraint (#1250)

* add global balancing constraint



* add cucumber tests



* fix docs



* Update crac-93-1-3.json



* add comment



* merge main



* add constants in doc



* Update CoreProblemFiller.java



---------








* Costly optimization of range actions (#1243)

* add costly variables and constraints



* docs



* cucumber tests



* rollback absolute variation



* typo



* remove continuous tests



* only allow APPROXIMATED_INTEGERS mode for costly optimization



* fix doc



* average cost/angle for PSTs



* introduce tap variables



* minor fixes



* fix tests and doc



* sonar



* fix after comments



* merge main



---------




* Remove inexistant 'com.powsybl:powsybl-action-util' dependency (#1262)




* duplicate redispatching test in costly (#1261)





* Angle monitoring noglsk (#1249)

* fix typo



* crash if incomplete GLSK error



* fix style



* draft



* set MonitoringResult status to FAILURE when no GLSK given



* change global log message



* fix test



* Update Monitoring.java



---------







* Inter-Temporal Pool (#1235)

* create class InterTemporalRaoInput



* removed parameters from input class



* WIP Beginning of InterTemporal Sensitivity Analysis



* add LF and sensi values in test



* Fixed sensi computation in parallel



* add InterTemporalParameters



* more relevant tests



* merge head



* add json for inter temporal parameter



* fix style



* fix tests



* parallel RAOs



* use right Pait class



* intertemporal pool



* use of inter-temporal pool for parallel computation



* some fixes



* refactored inputs



* changes after comments



* use ThreadPoolExecutor for more relevant nested inter temporal pools



* remove inter-temporal extension of parameters



* fix tests



* add unit test



* fix style



* use ForkJoinPool again



* remove useless files



---------









* Power Gradient Constraint filler (#1257)

* Update gradient API



* Gradient MIP equations in doc



* fix problems on min/max signums



* preparatory work for PGC filler



* complete PowerGradientConstraintFiller + fix style



* rename to PowerGradient



* rename to PowerGradientBuilder



* docstring for PowerGradient



* add Unit Test



* sonar



* rename p0 to initialPower



* merge main



* update tests



* add to do



* simplify function



* merge main



* fix after review



* fix style



* merge main and update docs



---------






* Rao parameters forbid cost increase always true (#1112)

* Remove ForbidCostIncrease parameter (should always be true)
* Remove curative stop criterion and 'optimize curative if preventive unsecure' and partially replace them by 'enforce curative security'
* Move unit out of objective function type
* Merge content of preventive stop criterion into type
* Move implem specific rao parameters into extensions
* The object multithreading parameters should be the same than its input, so it contains one parameter available-cpus
* Upgrade rao parameters version to 3.0
* Separate previous extensions in business/search-tree as optional
* Rename to avoid having same class name in rao parameters and its extension
* Separate rao parameters doc in multiple pages
* change python script to be able to do all the changes to parameters

---------





* Fix format of datetimes in variable and constraint names (#1266)

* fix format of datetimes in variable names



* use formatName for new variables and constraint



---------




* 2P for multi-curative optimization (#1263)

* Handle multi-curative in 2P global opt



* cucumber test for validation of feature



* merge main



---------





* Partial Failure and completeData (#1256)

* draft



* partial_failure fix



* fix import



* partial failure fix + automaton



* fix style



* add Unit Test



* clean up code



* add unit test



---------






* ComputeHvdcAngleDroopActivePowerControlValue with getP (#1269)

* use getP to avoid nullpointer



* adapt cucumber



---------




* Delete mvn compiler version (#1270)

* delete useless compiler version(inherited from powsybl parent)




* prepare release v6.3.0




* prepare next release v6.4.0-SNAPSHOT




* change url of info in rao result json serialization (#1273)




* Feature/timestamp in crac api (#1265)

* add timestamp in CRAC API



* first works on JSON Crac with timestamp



* add timestamp in state



* deserialize ts



* fix test



* some fixes after comments



* state id in helper



* test to cover State API



* date and author



---------





* Add offsetdatetime in cracparameter (#1274)

* add timestamp to crac creation parameters



* fix tests



* fix tests



* fix cse test



* fix fbconstraint test



* fix csa test



* fix style



* fix test



* fix json deserializer



* fix cucumber tests



* Remove Todo



* fix doc



* clean



* fix test



* add fb constraint extension doc



* add UT



* fic UT



* FbConstraintCracCreationParameters to FbconstraintCracCreatorParameters + fix duplicate line ?



* fix



* fix private cucumber tests



* review fix



* fix merge conflict



---------






* Remove initial tap and tap to angle conversion map from json crac files (#1278)

* removed initial tap and conversion map from json crac file (getting from network instead)



* changed retrocompatibility tests to validate the files before reading them, changed documentation



* added a test to try import a crac with a PST missing in network



* fix broken test after merge



* fix version greater or equal to equal in deserializer



---------






* Fix null ptdfSum in evaluator, relative margin case (#1264)

** add ptdfSumLowerBound to ptdfSums in evaluator






* Inter-Temporal Skeleton (MARMOT) (#1258)

* marmot first implementation



* typo



* add TODOs



* typo in TODO



* add initial sensi computation



* add topologyChanger + UT



* fic style



* Add Result Merger



* refactor skeleton



* parameters order



* introduce skeleton



* inter-temporal linear optimization inputs ready



* create fillers from linear optimizer input



* adapt PowerGradientConstraintFiller inputs



* minor



* fix inputs of gradient filler



* round set-point values



* finalize first version of optimizer



* fix parameters for compiling



* add TODO



* create global objective function



* evaluate global objective function



* first marmot test



* MARMOT works !!



* use initial scenario id



* fix tests



* test with rd



* test with power gradient constraint



* use individual rao result cost



* create dedicated module for results



* use only one linear opt result



* add tests and fixes



* tests global linear optimization result



* use ProblemFillerHelper in castor



* remove useless attributes



* add new tests for global results



* include preventive network actions in objective function evaluation



* cleaning, comments, logging



* explicit TODOs



* delete TODO



---------








* Fix the action status badge (#1288)




* Remove timestamp in variables name for which a state is already provided (#1284)

* remove timestamp in variables name for which a state is already provided



* fix bad @author tag



---------




* Clean up pom (#1281)

* Remove redundant dependency version overrides



* add project artefacts



* remove unused dependency



---------






* Priority ucte network analyser (#1280)

* added priority to UCTE network analyzer parameters to prioritize order code or element name



* modify cbcora importer to prioritize element names over order codes



---------





* Generator constraints (#1293)

* generator constraints



* add generator constraints module



* deprecate PowerGradient



* update pom



* update main pom



* update distribution pom



---------




* [CIM] Import only one HVDC action if one line is disconnected (#1282)

* do not import HVDC RA if HVDC disconnected



* coherent group name



* remove useless TODO



* sonar



* logs, fix clear(), add UT



* checkstyle



---------







* More simple fix for ptdf sum (#1287)

* Revert "Fix null ptdfSum in evaluator, relative margin case (#1264)"

This reverts commit a2d0d85.

* Add cucumber test for illustrating issue when monitoring open branch post contingency



* bound values in export to avoid trying to export +- infinity



---------







* remove power gradients (#1295)





* Cleaning/intertemporal features cleaner (#1289)

* remove some TODOs



* add log



* log initial and final costs



* add new SumMaxPerTimestampCostEvaluatorResult



* better tests names



* remove useless method



* merge identical methods



* remove max cost evaluator



* add comments in evaluator tests



* add TODO for cost checking



---------






* Ignore duplicated CNECs in RAO status (#1303)

* add exlude cnecs function



* add excludeCnecs in getCost



* add log and reevaluate cost



* remove cnec from raoresult



* remove unecessary class



* fix



* fix for merge



* fix



* remove unnecessary class



* sonarfix



* review correction



* clean up



* fix type



* log



* typo fix



* clean up



* clean up



---------




* Separate global result from individual results per timestamp (#1302)

Separate global result from individual results per timestamp (#1302)

---------





* Fix RA import after invalid Contingency (#1308)

* Fix RA import after invalid Contingency

* Fix dev

* Remove useless argument

* Test fix

* Fix

* After review

* fix sonar



* fix



---------






* store highest threshold in evaluator result (#1322)




* Bump powsybl-core to 6.7.0, OLF to 1.15.0 and entsoe to 2.13.0 (#1309)

* Add new powsybl-open-loadflow 'forceTargetQInReactiveLimits' parameter in test files



* Add new OLF 'voltageRemoteControlRobustMode' and 'disableInconsistentVoltageControls' params in test files



* Bump core to 6.7.0-RC1



* Bump core to 6.7.0 and OLF to 1.15.0



* Bump powsybl-entsoe to 2.13.0



---------





* prepare release v6.4.0




* prepare next release v6.5.0-SNAPSHOT




* serialize PST's tap




* remove useless exception




* retrocompatibility test




* initialTap




* rename add method in TemporalData to put (#1329)

* renamed add method in temporal data to put



* Revert "renamed add method in temporal data to put"

This reverts commit 89a23c0.

* only changed add for temporalData



---------




* Move jniortools import into a separate thread. (#1331)

* Move jniortools import into a separate thread.



* Add EOF



* Revert "Add EOF"

This reverts commit 6ce6ce4194c18a6aa4261ec88d92eaa387207176.



* Revert "Move jniortools import into a separate thread."

This reverts commit 081280b6d8141c85a4417e554c5e00aa83da6707.



* Add OR-tools loading in Castor class so it gets loaded upon start



---------




* All optional attributes in GeneratorConstraints (#1345)

* optional attributes in GeneratorConstraints



* coverage



* fix test



* sonar



---------




* Renaming CSA profiles to NC (#1340)

* rename CSA profiles to NC



* remove CSA occurrences



---------




* Remove auto search tree (#1318)

* remove auto search tree



* update json parameters



* remove auto search tree cucumber tests



* update doc



* remove max-auto-depth occurrences



* remove max-auto-depth occurrences in docs



---------





* added a filter on versions to avoid printing the wrong version (was happening in pypowsybl where it was printing powsybl diagram version) (#1352)




* No longer export flows for instants after CNEC's (#1347)

* no longer export flows for instants after cnec's



* fix typo in exception



---------




* Extract features from idcc test data (#1353)

* TemporalDataImpl : treeMap for reproductibility



* offsetDateTime in FbConstraintCracCreator



* perf: memoize previous state



* add epsilon for range action filtering (range)



* validate



---------




* fix merge main



* Refactor RemedialActionActivationResult to handle actions per state.



* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.



* fast rao don't support optimization on one given state only



* remove unecessary function



* clean up



* remove unecessary import



* Remove unused flowbased-related modules (#1356)

* remove unused flowbased-related modules



* update pom



---------




* Import automatons is `nc:RemedialAction.isManual` is `false` (#1349)

* add isManual is queries



* remove scheme remedial actions and import ARAs from isManual=false



* add TODO



* remove auto-instant-time in NC CRAC creation parameters



* TODO



* update doc



* add NC file in doc tree



---------




* Rename `monitoring` to `open-rao-monitoring` (#1357)

* rename monitoring to open-rao-monitoring



* update poms



---------




* update log



* todo



* add fast rao parameters



* correct JsonRaoParametersTest



* add config loader + make the extension optional



* add tests



* branch fast rao parameters in code



* test fast rao in cucumber



* clean up



* add todo doc



* typo



* move check



* keep marmot change



* add fast rao doc



* typo



* typo



* add fast rao slide to doc



* variant manager correction



* add UT FastRaoResultImplTest



* update doc



* update doc



* revert and move to other branch



* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl



* fast rao result specific serializer and deserializer



* correction



* add fast rao extension + UT



* rename function



---------





* merge main



* correct merge issue



* correct merge issue pt2



* move fastrao doc to performance.md



* wip max min margin with fast rao



* update doc



* remove test



* fix after merge



* bump parameters to v3.2 and add changelog



* update doc + add gif



* center text



* complete tutorial



* update tutorial.md



* fix typo



* fix typo



* fix style



* style



* fix tests



* delete commonslang3 from pom to pull version from powsybl-core



* merge main



* add comments to getRaLimitationParameters



* doc



* doc



* adapt 20.2.2 by using topo CRA to ensure CRA is kept in 2P now that 2P is global



* clean/ adapt US20_1



* fix merge



* delete re-optimize everywhere



* update parameter files

* update values far from ref



* add CriticalCnecsResult extension to rao result + serializer and deserializer



* Add AbstractExtendable inheritance to InterTemporalRao classes

Signed-off…

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: phiedw <philippe.edwards@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Signed-off-by: wangjer <jeremy.wang@rte-france.com>
Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: thiriondan <daniel.thirion@rte-france.com>
Co-authored-by: Godelaine <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Co-authored-by: Olivier Perrin <olivier.perrin@rte-france.com>
Co-authored-by: Vincent BOCHET <vincent.bochet@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Roxane Chen <roxane.chen@rte-france.com>
Co-authored-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: Jérémy Wang <jeremy.wang@rte-france.com>
Co-authored-by: pjeanmarie <72982611+pjeanmarie@users.noreply.github.com>
Co-authored-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Sébastien Murgey <sebastien.murgey@rte-france.com>
Co-authored-by: Viktor Terrier <11834022+terriervik@users.noreply.github.com>
Co-authored-by: danielthirion <152513244+danielthirion@users.noreply.github.com>
RoxaneChen02 added a commit that referenced this pull request Nov 3, 2025
* copy paste original file as is

* copy paste original file as is

* copy paste original file as is + small change to match recent renaming

* debug test wip

* Fixed cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update code to match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix US 19.7 features

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove semaphore

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* force global 2P

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor RemedialActionActivationResult to handle actions per state.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao don't support optimization on one given state only

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct JsonRaoParametersTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add config loader + make the extension optional

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* branch fast rao parameters in code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* test fast rao in cucumber

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add todo doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move check

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* keep marmot change

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao slide to doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* variant manager correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT FastRaoResultImplTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* revert and move to other branch

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add ut (#1390)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add simple fast rao test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* improve coverage

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add iniital sensi failed test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add 2 UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result ut

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* reformat

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change rao param

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* blank space

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Run cucumber on mac. Update jaxb bindings (#1212)

Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Export execution details (#1193)

* export failure reason/executed steps to a executionDetails field

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added check of execution details for failed RAOs in cucumber tests

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add unit tests for try catch

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* updated documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* clean code smells

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fixed tests

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* rename section in rao result json documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added a business error with the error and the stack trace to not lose the information

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* added unit test to check serialization, updated version to 1.7, fixed ordering of states in range action results

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix version

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is + small change to match recent renaming

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* debug test wip

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Use upward and downward variation variables in MILP for Range Actions (#1205)

Use upward and downward variation variables in MILP for Range Actions

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fixed cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Temporal data (#1228)

* temporal data

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor objective function evaluators API and add cost-wise Search-Tree (#1186)

* refactor objective function evaluators API
* enable cost-wise Search Tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* create class InterTemporalRaoInput (#1232)

* create class InterTemporalRaoInput

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* removed parameters from input class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix Jenkins (#1231)

* only keep PST_DE

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* keep previous crac

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update code to match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix bug 2p (#1237)

* fix bug

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* match style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* changed complete method to take into account previous failing contingencies

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Run tests on graalvm, slightly change ra ordering method in search tree to make it os agnostic (#1234)

* run tests on java & graalvm
* changed min impact for a couple tests, and change search tree ordering to make it os agnostic (hopefully)

Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update powsybl dependencies (6.6.0 release train) (#1239)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump to v6.2.0

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump to v6.3.0-SNAPSHOT

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix US 19.7 features

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove semaphore

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Power Gradient Constraint (#1229)

* Power Gradient Constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* JUnit

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo in test name

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* extract VariationDirection from RangeAction

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* replace record by class

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add module to jacoco

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add pgcs to RAO inputs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix poms

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* udate new POM tp 6.3.0-SNAPSHOT

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* inter-tempoal RAO API (#1236)

* inter-tempoal RAO API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* move to right module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix InterTemporalRaoInput creation

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Classes generated by Jakarta implement interfaces (#1246)

* get back to previous JAXB behavior for interface inheritance
* remove Jakarta dependency in CSA profiles module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Swe cne threshold decimals (#1245)

* add decimals for thrsholds in swe cne

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* include link fixes in documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* make constants final

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add new method withNetworkElement for InjectionRangeActionAdder (#1087)

* Add new method withNetworkElement for InjectionRangeAction

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

* Return error if withNetworkElement() called twice

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

* Remove unused import

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

---------

Signed-off-by: wangjer <jeremy.wang@rte-france.com>
Co-authored-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* TemporalData::map (#1251)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Use hasImpactOnNetwork from powsybl-core, 'fix' tests (#1131)

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fixes CRAC import from Flowbased Constraint Document to enable correct handling of XML without any MNEC element defined. (#1253)

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* timestamp in variables and constraints (#1259)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Make MonitoringResult combine function thread safe (#1260)

* make combine thread safe

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Global balancing constraint (#1250)

* add global balancing constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Update crac-93-1-3.json

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add constants in doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Update CoreProblemFiller.java

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Costly optimization of range actions (#1243)

* add costly variables and constraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cucumber tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rollback absolute variation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove continuous tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* only allow APPROXIMATED_INTEGERS mode for costly optimization

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* average cost/angle for PSTs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* introduce tap variables

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* minor fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests and doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove inexistant 'com.powsybl:powsybl-action-util' dependency (#1262)

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* duplicate redispatching test in costly (#1261)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Angle monitoring noglsk (#1249)

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* crash if incomplete GLSK error

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* draft

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* set MonitoringResult status to FAILURE when no GLSK given

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change global log message

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Update Monitoring.java

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Inter-Temporal Pool (#1235)

* create class InterTemporalRaoInput

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* removed parameters from input class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* WIP Beginning of InterTemporal Sensitivity Analysis

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add LF and sensi values in test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Fixed sensi computation in parallel

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add InterTemporalParameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* more relevant tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge head

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add json for inter temporal parameter

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* parallel RAOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use right Pait class

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* intertemporal pool

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use of inter-temporal pool for parallel computation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* some fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* refactored inputs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* changes after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use ThreadPoolExecutor for more relevant nested inter temporal pools

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove inter-temporal extension of parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add unit test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* use ForkJoinPool again

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless files

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Power Gradient Constraint filler (#1257)

* Update gradient API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Gradient MIP equations in doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix problems on min/max signums

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* preparatory work for PGC filler

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* complete PowerGradientConstraintFiller + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename to PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rename to PowerGradientBuilder

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* docstring for PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add Unit Test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rename p0 to initialPower

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add to do

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* simplify function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix after review

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main and update docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Rao parameters forbid cost increase always true (#1112)

* Remove ForbidCostIncrease parameter (should always be true)
* Remove curative stop criterion and 'optimize curative if preventive unsecure' and partially replace them by 'enforce curative security'
* Move unit out of objective function type
* Merge content of preventive stop criterion into type
* Move implem specific rao parameters into extensions
* The object multithreading parameters should be the same than its input, so it contains one parameter available-cpus
* Upgrade rao parameters version to 3.0
* Separate previous extensions in business/search-tree as optional
* Rename to avoid having same class name in rao parameters and its extension
* Separate rao parameters doc in multiple pages
* change python script to be able to do all the changes to parameters

---------

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix format of datetimes in variable and constraint names (#1266)

* fix format of datetimes in variable names

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use formatName for new variables and constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* 2P for multi-curative optimization (#1263)

* Handle multi-curative in 2P global opt

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cucumber test for validation of feature

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Partial Failure and completeData (#1256)

* draft

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* partial_failure fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* partial failure fix + automaton

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add Unit Test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add unit test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>

* ComputeHvdcAngleDroopActivePowerControlValue with getP (#1269)

* use getP to avoid nullpointer

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* adapt cucumber

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Delete mvn compiler version (#1270)

* delete useless compiler version(inherited from powsybl parent)

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare release v6.3.0

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare next release v6.4.0-SNAPSHOT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change url of info in rao result json serialization (#1273)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Feature/timestamp in crac api (#1265)

* add timestamp in CRAC API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* first works on JSON Crac with timestamp

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add timestamp in state

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* deserialize ts

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* some fixes after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* state id in helper

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test to cover State API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* date and author

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add offsetdatetime in cracparameter (#1274)

* add timestamp to crac creation parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix cse test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix fbconstraint test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix csa test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix json deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove Todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fb constraint extension doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fic UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* FbConstraintCracCreationParameters to FbconstraintCracCreatorParameters + fix duplicate line ?

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix private cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* review fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix merge conflict

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove initial tap and tap to angle conversion map from json crac files (#1278)

* removed initial tap and conversion map from json crac file (getting from network instead)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* changed retrocompatibility tests to validate the files before reading them, changed documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added a test to try import a crac with a PST missing in network

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix broken test after merge

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix version greater or equal to equal in deserializer

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix null ptdfSum in evaluator, relative margin case (#1264)

** add ptdfSumLowerBound to ptdfSums in evaluator

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Inter-Temporal Skeleton (MARMOT) (#1258)

* marmot first implementation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo in TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add initial sensi computation

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add topologyChanger + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fic style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add Result Merger

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* refactor skeleton

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* parameters order

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* introduce skeleton

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* inter-temporal linear optimization inputs ready

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create fillers from linear optimizer input

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* adapt PowerGradientConstraintFiller inputs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* minor

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix inputs of gradient filler

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* round set-point values

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* finalize first version of optimizer

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix parameters for compiling

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create global objective function

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* evaluate global objective function

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* first marmot test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* MARMOT works !!

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use initial scenario id

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test with rd

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test with power gradient constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use individual rao result cost

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create dedicated module for results

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use only one linear opt result

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add tests and fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* tests global linear optimization result

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use ProblemFillerHelper in castor

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless attributes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add new tests for global results

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* include preventive network actions in objective function evaluation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cleaning, comments, logging

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* explicit TODOs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* delete TODO

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix the action status badge (#1288)

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove timestamp in variables name for which a state is already provided (#1284)

* remove timestamp in variables name for which a state is already provided

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix bad @author tag

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Clean up pom (#1281)

* Remove redundant dependency version overrides

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add project artefacts

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unused dependency

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Priority ucte network analyser (#1280)

* added priority to UCTE network analyzer parameters to prioritize order code or element name

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* modify cbcora importer to prioritize element names over order codes

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Generator constraints (#1293)

* generator constraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add generator constraints module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* deprecate PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update main pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update distribution pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* [CIM] Import only one HVDC action if one line is disconnected (#1282)

* do not import HVDC RA if HVDC disconnected

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* coherent group name

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* logs, fix clear(), add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* checkstyle

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* More simple fix for ptdf sum (#1287)

* Revert "Fix null ptdfSum in evaluator, relative margin case (#1264)"

This reverts commit a2d0d856b390c99f34e4b6faa42200f222ce801d.

* Add cucumber test for illustrating issue when monitoring open branch post contingency

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>

* bound values in export to avoid trying to export +- infinity

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove power gradients (#1295)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Cleaning/intertemporal features cleaner (#1289)

* remove some TODOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* log initial and final costs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add new SumMaxPerTimestampCostEvaluatorResult

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* better tests names

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless method

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge identical methods

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max cost evaluator

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add comments in evaluator tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO for cost checking

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>

* Ignore duplicated CNECs in RAO status (#1303)

* add exlude cnecs function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add excludeCnecs in getCost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log and reevaluate cost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove cnec from raoresult

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix for merge

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unnecessary class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* sonarfix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* review correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix type

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* Separate global result from individual results per timestamp (#1302)

Separate global result from individual results per timestamp (#1302)

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix RA import after invalid Contingency (#1308)

* Fix RA import after invalid Contingency

* Fix dev

* Remove useless argument

* Test fix

* Fix

* After review

* fix sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* store highest threshold in evaluator result (#1322)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump powsybl-core to 6.7.0, OLF to 1.15.0 and entsoe to 2.13.0 (#1309)

* Add new powsybl-open-loadflow 'forceTargetQInReactiveLimits' parameter in test files

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Add new OLF 'voltageRemoteControlRobustMode' and 'disableInconsistentVoltageControls' params in test files

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump core to 6.7.0-RC1

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump core to 6.7.0 and OLF to 1.15.0

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump powsybl-entsoe to 2.13.0

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

---------

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare release v6.4.0

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare next release v6.5.0-SNAPSHOT

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* serialize PST's tap

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove useless exception

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* retrocompatibility test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* initialTap

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename add method in TemporalData to put (#1329)

* renamed add method in temporal data to put

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* Revert "renamed add method in temporal data to put"

This reverts commit 89a23c01bcc6281c83a3f460fddd5df4ee05909c.

* only changed add for temporalData

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Move jniortools import into a separate thread. (#1331)

* Move jniortools import into a separate thread.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Add EOF

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Revert "Add EOF"

This reverts commit 6ce6ce4194c18a6aa4261ec88d92eaa387207176.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Revert "Move jniortools import into a separate thread."

This reverts commit 081280b6d8141c85a4417e554c5e00aa83da6707.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Add OR-tools loading in Castor class so it gets loaded upon start

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

---------

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* All optional attributes in GeneratorConstraints (#1345)

* optional attributes in GeneratorConstraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* coverage

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Renaming CSA profiles to NC (#1340)

* rename CSA profiles to NC

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove CSA occurrences

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove auto search tree (#1318)

* remove auto search tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update json parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove auto search tree cucumber tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max-auto-depth occurrences

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max-auto-depth occurrences in docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* added a filter on versions to avoid printing the wrong version (was happening in pypowsybl where it was printing powsybl diagram version) (#1352)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* No longer export flows for instants after CNEC's (#1347)

* no longer export flows for instants after cnec's

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix typo in exception

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Extract features from idcc test data (#1353)

* TemporalDataImpl : treeMap for reproductibility

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* offsetDateTime in FbConstraintCracCreator

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* perf: memoize previous state

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add epsilon for range action filtering (range)

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* validate

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor RemedialActionActivationResult to handle actions per state.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao don't support optimization on one given state only

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove unused flowbased-related modules (#1356)

* remove unused flowbased-related modules

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Import automatons is `nc:RemedialAction.isManual` is `false` (#1349)

* add isManual is queries

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove scheme remedial actions and import ARAs from isManual=false

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove auto-instant-time in NC CRAC creation parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add NC file in doc tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Rename `monitoring` to `open-rao-monitoring` (#1357)

* rename monitoring to open-rao-monitoring

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update poms

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct JsonRaoParametersTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add config loader + make the extension optional

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* branch fast rao parameters in code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* test fast rao in cucumber

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add todo doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move check

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* keep marmot change

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao slide to doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* variant manager correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT FastRaoResultImplTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* revert and move to other branch

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct merge issue

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct merge issue pt2

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move fastrao doc to performance.md

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* wip max min margin with fast rao

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix after merge

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* bump parameters to v3.2 and add changelog

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc + add gif

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* center text

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* complete tutorial

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update tutorial.md

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* delete commonslang3 from pom to pull version from powsybl-core

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* merge main

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add comments to getRaLimitationParameters

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* adapt 20.2.2 by using topo CRA to ensure CRA is kept in 2P now that 2P is global

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* clean/ adapt US20_1

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix merge

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* delete re-optimize everywhere

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* update parameter files

* update values far from ref

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add CriticalCnecsResult extension to rao result + serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add AbstractExtendable inheritance to InterTemporalRao classes

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix values

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* Add utility class for JSON serialization of RaoResult extensions

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* started changing loadflow calls

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add UT to improve sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* checkstyle

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* improve sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix test

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* more sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* erreurs de compil residuelles critical cnecs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* reliquat erreurs residuelles critical cnecs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* force SearchTreeRao in Marmot

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* adapt runFilteredRao

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* force 2P reoptimization on US 20_1

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* IO exception never thrown

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* skip multi-curative

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* broken link

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* unused test files

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* Async PostPerimeterSensitivityAnalysis run

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* mvn validate

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* refacto

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* use pre perimeter result

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* only keep activated range action

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* exclude duplicate cnec from final cost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change fast rao continue condition

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add new condition

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* export result (temporary to delete)

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* some refactoring

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* some refactoring

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Select rao implementation for cucumber tests in properties file

Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>

* Generalize abstraction of rao implementation in Cucumber step definitions

Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>

* Rename methods to be rao-agnostic

Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: wangjer <jeremy.wang@rte-france.com>
Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: thiriondan <daniel.thirion@rte-france.com>
Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Jérémy Wang <jeremy.wang@rte-france.com>
Co-authored-by: pjeanmarie <72982611+pjeanmarie@users.noreply.github.com>
Co-authored-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Sébastien Murgey <sebastien.murgey@rte-france.com>
Co-authored-by: Olivier Perrin <olivier.perrin@rte-france.com>
Co-authored-by: Viktor Terrier <11834022+terriervik@users.noreply.github.com>
Co-authored-by: danielthirion <152513244+danielthirion@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
RoxaneChen02 added a commit that referenced this pull request Nov 3, 2025
* update to Java 21

* update readme

* extract methods in tests

* fix InterTemporalPool

* upgrade powsybl-parent to v23

* Update OLF params for json test

* Bump powsybl-parent to 24

* Upgrade PowSyBl dependencies

Upgrade powsybl-core, powsybl-entsoe & powsybl-open-loadflow to snapshot
versions.
Update rao-parameters expected files in unit tests with new default
values.

* fix voltage monitoring tests

* fix automaton simulator tests

* disable ac emulation mode for hvdc

* relicat de merge

* relicat de merge 2

* UT

* do not compute sensi for HVDC in AC emulation

* Partially rollback to OLF default configuration (#1483)

* Remove FlowCNECs' Nominal Voltage (#1452)

* no longer read nominal V from JSON CRAC

* fix import-related cucumbers

* sonar

* fix 5.1.0.b

* post-process voltage levels to rollback to pre-dev situation

* fix tests

* fix hvdc tests

* simplify deserialization as nominal V cannot be null

* simplify import and handle error cases

* cover case with bad fields order for FlowCNECs

* handle tie lines as branches

* fixes after merge

---------

* update network files to avoid changing OLF "plausibleActivePowerLimit" parameter

---------

* Prepare release 6.7.0 (#1486)

* change log level

* change log level to debug

* update powsybl core version

---------

* Fix olf (#1489)

* update pom with release candidate from core

* fix compil

---------

* Update with main (#1491)

* Remove FlowCNECs' Nominal Voltage (#1452)

* no longer read nominal V from JSON CRAC

* fix import-related cucumbers

* sonar

* fix 5.1.0.b

* post-process voltage levels to rollback to pre-dev situation

* fix tests

* fix hvdc tests

* simplify deserialization as nominal V cannot be null

* simplify import and handle error cases

* cover case with bad fields order for FlowCNECs

* handle tie lines as branches

* fixes after merge

---------

* allow dc run with hvdc ac emulation (#1484)

* [FastRAO] Adapt tests for CI needs (#1482)

* copy paste original file as is

* copy paste original file as is

* copy paste original file as is + small change to match recent renaming

* debug test wip

* Fixed cucumber tests

* add log + fix style

* update code to match main

* fix US 19.7 features

* remove semaphore

* force global 2P

* fix merge main

* Refactor RemedialActionActivationResult to handle actions per state.

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

* fast rao don't support optimization on one given state only

* remove unecessary function

* clean up

* remove unecessary import

* update log

* todo

* add fast rao parameters

* correct JsonRaoParametersTest

* add config loader + make the extension optional

* add tests

* branch fast rao parameters in code

* test fast rao in cucumber

* clean up

* add todo doc

* typo

* move check

* keep marmot change

* add fast rao doc

* typo

* typo

* add fast rao slide to doc

* variant manager correction

* add UT FastRaoResultImplTest

* update doc

* update doc

* revert and move to other branch

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

* fast rao result specific serializer and deserializer

* correction

* add fast rao extension + UT

* rename function

---------

* Fast rao/add ut (#1390)

* add considered to FastRaoResultImpl

* fast rao result specific serializer and deserializer

* correction

* add fast rao extension + UT

* rename function

* add simple fast rao test

* correct test

* improve coverage

* add iniital sensi failed test

* add 2 UT

* fast rao result ut

* reformat

* change rao param

* blank space

---------

* copy paste original file as is

* copy paste original file as is

* Run cucumber on mac. Update jaxb bindings (#1212)

* Export execution details (#1193)

* export failure reason/executed steps to a executionDetails field

* added check of execution details for failed RAOs in cucumber tests

* add unit tests for try catch

* updated documentation

* clean code smells

* fixed tests

* rename section in rao result json documentation

* added a business error with the error and the stack trace to not lose the information

* merge main

* added unit test to check serialization, updated version to 1.7, fixed ordering of states in range action results

* fix version

---------

* copy paste original file as is + small change to match recent renaming

* debug test wip

* Use upward and downward variation variables in MILP for Range Actions (#1205)

Use upward and downward variation variables in MILP for Range Actions

* Fixed cucumber tests

* add log + fix style

* Temporal data (#1228)

* temporal data

* sonar

---------

* Refactor objective function evaluators API and add cost-wise Search-Tree (#1186)

* refactor objective function evaluators API
* enable cost-wise Search Tree

* create class InterTemporalRaoInput (#1232)

* create class InterTemporalRaoInput

* removed parameters from input class

---------

* fix Jenkins (#1231)

* only keep PST_DE

* keep previous crac

---------

* update code to match main

* Fix bug 2p (#1237)

* fix bug

* match style

* changed complete method to take into account previous failing contingencies

* add UT

* add UT

* add UT

* add UT

* fix UT

---------

* Run tests on graalvm, slightly change ra ordering method in search tree to make it os agnostic (#1234)

* run tests on java & graalvm
* changed min impact for a couple tests, and change search tree ordering to make it os agnostic (hopefully)

* update powsybl dependencies (6.6.0 release train) (#1239)

* Bump to v6.2.0

* Bump to v6.3.0-SNAPSHOT

* fix US 19.7 features

* remove semaphore

* Power Gradient Constraint (#1229)

* Power Gradient Constraint

* JUnit

* typo in test name

* extract VariationDirection from RangeAction

* replace record by class

* update pom

* add module to jacoco

* add pgcs to RAO inputs

* fix poms

* udate new POM tp 6.3.0-SNAPSHOT

---------

* inter-tempoal RAO API (#1236)

* inter-tempoal RAO API

* move to right module

* fix InterTemporalRaoInput creation

---------

* Classes generated by Jakarta implement interfaces (#1246)

* get back to previous JAXB behavior for interface inheritance
* remove Jakarta dependency in CSA profiles module

* Swe cne threshold decimals (#1245)

* add decimals for thrsholds in swe cne

* include link fixes in documentation

* make constants final

---------

* Add new method withNetworkElement for InjectionRangeActionAdder (#1087)

* Add new method withNetworkElement for InjectionRangeAction

* Return error if withNetworkElement() called twice

* Remove unused import

---------

* TemporalData::map (#1251)

* Use hasImpactOnNetwork from powsybl-core, 'fix' tests (#1131)

* Fixes CRAC import from Flowbased Constraint Document to enable correct handling of XML without any MNEC element defined. (#1253)

* timestamp in variables and constraints (#1259)

* Make MonitoringResult combine function thread safe (#1260)

* make combine thread safe

* add comment

---------

* Global balancing constraint (#1250)

* add global balancing constraint

* add cucumber tests

* fix docs

* Update crac-93-1-3.json

* add comment

* merge main

* add constants in doc

* Update CoreProblemFiller.java

---------

* Costly optimization of range actions (#1243)

* add costly variables and constraints

* docs

* cucumber tests

* rollback absolute variation

* typo

* remove continuous tests

* only allow APPROXIMATED_INTEGERS mode for costly optimization

* fix doc

* average cost/angle for PSTs

* introduce tap variables

* minor fixes

* fix tests and doc

* sonar

* fix after comments

* merge main

---------

* Remove inexistant 'com.powsybl:powsybl-action-util' dependency (#1262)

* duplicate redispatching test in costly (#1261)

* Angle monitoring noglsk (#1249)

* fix typo

* crash if incomplete GLSK error

* fix style

* draft

* set MonitoringResult status to FAILURE when no GLSK given

* change global log message

* fix test

* Update Monitoring.java

---------

* Inter-Temporal Pool (#1235)

* create class InterTemporalRaoInput

* removed parameters from input class

* WIP Beginning of InterTemporal Sensitivity Analysis

* add LF and sensi values in test

* Fixed sensi computation in parallel

* add InterTemporalParameters

* more relevant tests

* merge head

* add json for inter temporal parameter

* fix style

* fix tests

* parallel RAOs

* use right Pait class

* intertemporal pool

* use of inter-temporal pool for parallel computation

* some fixes

* refactored inputs

* changes after comments

* use ThreadPoolExecutor for more relevant nested inter temporal pools

* remove inter-temporal extension of parameters

* fix tests

* add unit test

* fix style

* use ForkJoinPool again

* remove useless files

---------

* Power Gradient Constraint filler (#1257)

* Update gradient API

* Gradient MIP equations in doc

* fix problems on min/max signums

* preparatory work for PGC filler

* complete PowerGradientConstraintFiller + fix style

* rename to PowerGradient

* rename to PowerGradientBuilder

* docstring for PowerGradient

* add Unit Test

* sonar

* rename p0 to initialPower

* merge main

* update tests

* add to do

* simplify function

* merge main

* fix after review

* fix style

* merge main and update docs

---------

* Rao parameters forbid cost increase always true (#1112)

* Remove ForbidCostIncrease parameter (should always be true)
* Remove curative stop criterion and 'optimize curative if preventive unsecure' and partially replace them by 'enforce curative security'
* Move unit out of objective function type
* Merge content of preventive stop criterion into type
* Move implem specific rao parameters into extensions
* The object multithreading parameters should be the same than its input, so it contains one parameter available-cpus
* Upgrade rao parameters version to 3.0
* Separate previous extensions in business/search-tree as optional
* Rename to avoid having same class name in rao parameters and its extension
* Separate rao parameters doc in multiple pages
* change python script to be able to do all the changes to parameters

---------

* Fix format of datetimes in variable and constraint names (#1266)

* fix format of datetimes in variable names

* use formatName for new variables and constraint

---------

* 2P for multi-curative optimization (#1263)

* Handle multi-curative in 2P global opt

* cucumber test for validation of feature

* merge main

---------

* Partial Failure and completeData (#1256)

* draft

* partial_failure fix

* fix import

* partial failure fix + automaton

* fix style

* add Unit Test

* clean up code

* add unit test

---------

* ComputeHvdcAngleDroopActivePowerControlValue with getP (#1269)

* use getP to avoid nullpointer

* adapt cucumber

---------

* Delete mvn compiler version (#1270)

* delete useless compiler version(inherited from powsybl parent)

* prepare release v6.3.0

* prepare next release v6.4.0-SNAPSHOT

* change url of info in rao result json serialization (#1273)

* Feature/timestamp in crac api (#1265)

* add timestamp in CRAC API

* first works on JSON Crac with timestamp

* add timestamp in state

* deserialize ts

* fix test

* some fixes after comments

* state id in helper

* test to cover State API

* date and author

---------

* Add offsetdatetime in cracparameter (#1274)

* add timestamp to crac creation parameters

* fix tests

* fix tests

* fix cse test

* fix fbconstraint test

* fix csa test

* fix style

* fix test

* fix json deserializer

* fix cucumber tests

* Remove Todo

* fix doc

* clean

* fix test

* add fb constraint extension doc

* add UT

* fic UT

* FbConstraintCracCreationParameters to FbconstraintCracCreatorParameters + fix duplicate line ?

* fix

* fix private cucumber tests

* review fix

* fix merge conflict

---------

* Remove initial tap and tap to angle conversion map from json crac files (#1278)

* removed initial tap and conversion map from json crac file (getting from network instead)

* changed retrocompatibility tests to validate the files before reading them, changed documentation

* added a test to try import a crac with a PST missing in network

* fix broken test after merge

* fix version greater or equal to equal in deserializer

---------

* Fix null ptdfSum in evaluator, relative margin case (#1264)

** add ptdfSumLowerBound to ptdfSums in evaluator

* Inter-Temporal Skeleton (MARMOT) (#1258)

* marmot first implementation

* typo

* add TODOs

* typo in TODO

* add initial sensi computation

* add topologyChanger + UT

* fic style

* Add Result Merger

* refactor skeleton

* parameters order

* introduce skeleton

* inter-temporal linear optimization inputs ready

* create fillers from linear optimizer input

* adapt PowerGradientConstraintFiller inputs

* minor

* fix inputs of gradient filler

* round set-point values

* finalize first version of optimizer

* fix parameters for compiling

* add TODO

* create global objective function

* evaluate global objective function

* first marmot test

* MARMOT works !!

* use initial scenario id

* fix tests

* test with rd

* test with power gradient constraint

* use individual rao result cost

* create dedicated module for results

* use only one linear opt result

* add tests and fixes

* tests global linear optimization result

* use ProblemFillerHelper in castor

* remove useless attributes

* add new tests for global results

* include preventive network actions in objective function evaluation

* cleaning, comments, logging

* explicit TODOs

* delete TODO

---------

* Fix the action status badge (#1288)

* Remove timestamp in variables name for which a state is already provided (#1284)

* remove timestamp in variables name for which a state is already provided

* fix bad @author tag

---------

* Clean up pom (#1281)

* Remove redundant dependency version overrides

* add project artefacts

* remove unused dependency

---------

* Priority ucte network analyser (#1280)

* added priority to UCTE network analyzer parameters to prioritize order code or element name

* modify cbcora importer to prioritize element names over order codes

---------

* Generator constraints (#1293)

* generator constraints

* add generator constraints module

* deprecate PowerGradient

* update pom

* update main pom

* update distribution pom

---------

* [CIM] Import only one HVDC action if one line is disconnected (#1282)

* do not import HVDC RA if HVDC disconnected

* coherent group name

* remove useless TODO

* sonar

* logs, fix clear(), add UT

* checkstyle

---------

* More simple fix for ptdf sum (#1287)

* Revert "Fix null ptdfSum in evaluator, relative margin case (#1264)"

This reverts commit a2d0d85.

* Add cucumber test for illustrating issue when monitoring open branch post contingency

* bound values in export to avoid trying to export +- infinity

---------

* remove power gradients (#1295)

* Cleaning/intertemporal features cleaner (#1289)

* remove some TODOs

* add log

* log initial and final costs

* add new SumMaxPerTimestampCostEvaluatorResult

* better tests names

* remove useless method

* merge identical methods

* remove max cost evaluator

* add comments in evaluator tests

* add TODO for cost checking

---------

* Ignore duplicated CNECs in RAO status (#1303)

* add exlude cnecs function

* add excludeCnecs in getCost

* add log and reevaluate cost

* remove cnec from raoresult

* remove unecessary class

* fix

* fix for merge

* fix

* remove unnecessary class

* sonarfix

* review correction

* clean up

* fix type

* log

* typo fix

* clean up

* clean up

---------

* Separate global result from individual results per timestamp (#1302)

Separate global result from individual results per timestamp (#1302)

---------

* Fix RA import after invalid Contingency (#1308)

* Fix RA import after invalid Contingency

* Fix dev

* Remove useless argument

* Test fix

* Fix

* After review

* fix sonar

* fix

---------

* store highest threshold in evaluator result (#1322)

* Bump powsybl-core to 6.7.0, OLF to 1.15.0 and entsoe to 2.13.0 (#1309)

* Add new powsybl-open-loadflow 'forceTargetQInReactiveLimits' parameter in test files

* Add new OLF 'voltageRemoteControlRobustMode' and 'disableInconsistentVoltageControls' params in test files

* Bump core to 6.7.0-RC1

* Bump core to 6.7.0 and OLF to 1.15.0

* Bump powsybl-entsoe to 2.13.0

---------

* prepare release v6.4.0

* prepare next release v6.5.0-SNAPSHOT

* serialize PST's tap

* remove useless exception

* retrocompatibility test

* initialTap

* rename add method in TemporalData to put (#1329)

* renamed add method in temporal data to put

* Revert "renamed add method in temporal data to put"

This reverts commit 89a23c0.

* only changed add for temporalData

---------

* Move jniortools import into a separate thread. (#1331)

* Move jniortools import into a separate thread.

* Add EOF

* Revert "Add EOF"

This reverts commit 6ce6ce4194c18a6aa4261ec88d92eaa387207176.

* Revert "Move jniortools import into a separate thread."

This reverts commit 081280b6d8141c85a4417e554c5e00aa83da6707.

* Add OR-tools loading in Castor class so it gets loaded upon start

---------

* All optional attributes in GeneratorConstraints (#1345)

* optional attributes in GeneratorConstraints

* coverage

* fix test

* sonar

---------

* Renaming CSA profiles to NC (#1340)

* rename CSA profiles to NC

* remove CSA occurrences

---------

* Remove auto search tree (#1318)

* remove auto search tree

* update json parameters

* remove auto search tree cucumber tests

* update doc

* remove max-auto-depth occurrences

* remove max-auto-depth occurrences in docs

---------

* added a filter on versions to avoid printing the wrong version (was happening in pypowsybl where it was printing powsybl diagram version) (#1352)

* No longer export flows for instants after CNEC's (#1347)

* no longer export flows for instants after cnec's

* fix typo in exception

---------

* Extract features from idcc test data (#1353)

* TemporalDataImpl : treeMap for reproductibility

* offsetDateTime in FbConstraintCracCreator

* perf: memoize previous state

* add epsilon for range action filtering (range)

* validate

---------

* fix merge main

* Refactor RemedialActionActivationResult to handle actions per state.

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

* fast rao don't support optimization on one given state only

* remove unecessary function

* clean up

* remove unecessary import

* Remove unused flowbased-related modules (#1356)

* remove unused flowbased-related modules

* update pom

---------

* Import automatons is `nc:RemedialAction.isManual` is `false` (#1349)

* add isManual is queries

* remove scheme remedial actions and import ARAs from isManual=false

* add TODO

* remove auto-instant-time in NC CRAC creation parameters

* TODO

* update doc

* add NC file in doc tree

---------

* Rename `monitoring` to `open-rao-monitoring` (#1357)

* rename monitoring to open-rao-monitoring

* update poms

---------

* update log

* todo

* add fast rao parameters

* correct JsonRaoParametersTest

* add config loader + make the extension optional

* add tests

* branch fast rao parameters in code

* test fast rao in cucumber

* clean up

* add todo doc

* typo

* move check

* keep marmot change

* add fast rao doc

* typo

* typo

* add fast rao slide to doc

* variant manager correction

* add UT FastRaoResultImplTest

* update doc

* update doc

* revert and move to other branch

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

* fast rao result specific serializer and deserializer

* correction

* add fast rao extension + UT

* rename function

---------

* merge main

* correct merge issue

* correct merge issue pt2

* move fastrao doc to performance.md

* wip max min margin with fast rao

* update doc

* remove test

* fix after merge

* bump parameters to v3.2 and add changelog

* update doc + add gif

* center text

* complete tutorial

* update tutorial.md

* fix typo

* fix typo

* fix style

* style

* fix tests

* delete commonslang3 from pom to pull version from powsybl-core

* merge main

* add comments to getRaLimitationParameters

* doc

* doc

* adapt 20.2.2 by using topo CRA to ensure CRA is kept in 2P now that 2P is global

* clean/ adapt US20_1

* fix merge

* delete re-optimize everywhere

* update parameter files

* update values far from ref

* add CriticalCnecsResult extension to rao result + serializer and deserializer

* Add AbstractExtendable inheritance to InterTemporalRao classes

Signed-off…

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: phiedw <philippe.edwards@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Signed-off-by: wangjer <jeremy.wang@rte-france.com>
Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: thiriondan <daniel.thirion@rte-france.com>
Co-authored-by: Godelaine <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Co-authored-by: Olivier Perrin <olivier.perrin@rte-france.com>
Co-authored-by: Vincent BOCHET <vincent.bochet@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Roxane Chen <roxane.chen@rte-france.com>
Co-authored-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: Jérémy Wang <jeremy.wang@rte-france.com>
Co-authored-by: pjeanmarie <72982611+pjeanmarie@users.noreply.github.com>
Co-authored-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Sébastien Murgey <sebastien.murgey@rte-france.com>
Co-authored-by: Viktor Terrier <11834022+terriervik@users.noreply.github.com>
Co-authored-by: danielthirion <152513244+danielthirion@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
RoxaneChen02 pushed a commit that referenced this pull request Mar 17, 2026
* Revert "Fix null ptdfSum in evaluator, relative margin case (#1264)"

This reverts commit 3976db0.

* Add cucumber test for illustrating issue when monitoring open branch post contingency

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>

* bound values in export to avoid trying to export +- infinity

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
RoxaneChen02 added a commit that referenced this pull request Mar 17, 2026
* copy paste original file as is

* copy paste original file as is

* copy paste original file as is + small change to match recent renaming

* debug test wip

* Fixed cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update code to match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix US 19.7 features

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove semaphore

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* force global 2P

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor RemedialActionActivationResult to handle actions per state.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao don't support optimization on one given state only

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct JsonRaoParametersTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add config loader + make the extension optional

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* branch fast rao parameters in code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* test fast rao in cucumber

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add todo doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move check

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* keep marmot change

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao slide to doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* variant manager correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT FastRaoResultImplTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* revert and move to other branch

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add ut (#1390)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add simple fast rao test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* improve coverage

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add iniital sensi failed test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add 2 UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result ut

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* reformat

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change rao param

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* blank space

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Run cucumber on mac. Update jaxb bindings (#1212)

Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Export execution details (#1193)

* export failure reason/executed steps to a executionDetails field

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added check of execution details for failed RAOs in cucumber tests

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add unit tests for try catch

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* updated documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* clean code smells

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fixed tests

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* rename section in rao result json documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added a business error with the error and the stack trace to not lose the information

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* added unit test to check serialization, updated version to 1.7, fixed ordering of states in range action results

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix version

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is + small change to match recent renaming

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* debug test wip

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Use upward and downward variation variables in MILP for Range Actions (#1205)

Use upward and downward variation variables in MILP for Range Actions

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fixed cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Temporal data (#1228)

* temporal data

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor objective function evaluators API and add cost-wise Search-Tree (#1186)

* refactor objective function evaluators API
* enable cost-wise Search Tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* create class InterTemporalRaoInput (#1232)

* create class InterTemporalRaoInput

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* removed parameters from input class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix Jenkins (#1231)

* only keep PST_DE

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* keep previous crac

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update code to match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix bug 2p (#1237)

* fix bug

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* match style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* changed complete method to take into account previous failing contingencies

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Run tests on graalvm, slightly change ra ordering method in search tree to make it os agnostic (#1234)

* run tests on java & graalvm
* changed min impact for a couple tests, and change search tree ordering to make it os agnostic (hopefully)

Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update powsybl dependencies (6.6.0 release train) (#1239)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump to v6.2.0

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump to v6.3.0-SNAPSHOT

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix US 19.7 features

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove semaphore

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Power Gradient Constraint (#1229)

* Power Gradient Constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* JUnit

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo in test name

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* extract VariationDirection from RangeAction

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* replace record by class

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add module to jacoco

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add pgcs to RAO inputs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix poms

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* udate new POM tp 6.3.0-SNAPSHOT

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* inter-tempoal RAO API (#1236)

* inter-tempoal RAO API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* move to right module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix InterTemporalRaoInput creation

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Classes generated by Jakarta implement interfaces (#1246)

* get back to previous JAXB behavior for interface inheritance
* remove Jakarta dependency in CSA profiles module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Swe cne threshold decimals (#1245)

* add decimals for thrsholds in swe cne

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* include link fixes in documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* make constants final

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add new method withNetworkElement for InjectionRangeActionAdder (#1087)

* Add new method withNetworkElement for InjectionRangeAction

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

* Return error if withNetworkElement() called twice

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

* Remove unused import

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

---------

Signed-off-by: wangjer <jeremy.wang@rte-france.com>
Co-authored-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* TemporalData::map (#1251)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Use hasImpactOnNetwork from powsybl-core, 'fix' tests (#1131)

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fixes CRAC import from Flowbased Constraint Document to enable correct handling of XML without any MNEC element defined. (#1253)

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* timestamp in variables and constraints (#1259)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Make MonitoringResult combine function thread safe (#1260)

* make combine thread safe

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Global balancing constraint (#1250)

* add global balancing constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Update crac-93-1-3.json

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add constants in doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Update CoreProblemFiller.java

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Costly optimization of range actions (#1243)

* add costly variables and constraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cucumber tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rollback absolute variation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove continuous tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* only allow APPROXIMATED_INTEGERS mode for costly optimization

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* average cost/angle for PSTs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* introduce tap variables

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* minor fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests and doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove inexistant 'com.powsybl:powsybl-action-util' dependency (#1262)

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* duplicate redispatching test in costly (#1261)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Angle monitoring noglsk (#1249)

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* crash if incomplete GLSK error

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* draft

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* set MonitoringResult status to FAILURE when no GLSK given

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change global log message

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Update Monitoring.java

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Inter-Temporal Pool (#1235)

* create class InterTemporalRaoInput

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* removed parameters from input class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* WIP Beginning of InterTemporal Sensitivity Analysis

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add LF and sensi values in test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Fixed sensi computation in parallel

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add InterTemporalParameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* more relevant tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge head

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add json for inter temporal parameter

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* parallel RAOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use right Pait class

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* intertemporal pool

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use of inter-temporal pool for parallel computation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* some fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* refactored inputs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* changes after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use ThreadPoolExecutor for more relevant nested inter temporal pools

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove inter-temporal extension of parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add unit test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* use ForkJoinPool again

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless files

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Power Gradient Constraint filler (#1257)

* Update gradient API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Gradient MIP equations in doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix problems on min/max signums

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* preparatory work for PGC filler

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* complete PowerGradientConstraintFiller + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename to PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rename to PowerGradientBuilder

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* docstring for PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add Unit Test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rename p0 to initialPower

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add to do

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* simplify function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix after review

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main and update docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Rao parameters forbid cost increase always true (#1112)

* Remove ForbidCostIncrease parameter (should always be true)
* Remove curative stop criterion and 'optimize curative if preventive unsecure' and partially replace them by 'enforce curative security'
* Move unit out of objective function type
* Merge content of preventive stop criterion into type
* Move implem specific rao parameters into extensions
* The object multithreading parameters should be the same than its input, so it contains one parameter available-cpus
* Upgrade rao parameters version to 3.0
* Separate previous extensions in business/search-tree as optional
* Rename to avoid having same class name in rao parameters and its extension
* Separate rao parameters doc in multiple pages
* change python script to be able to do all the changes to parameters

---------

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix format of datetimes in variable and constraint names (#1266)

* fix format of datetimes in variable names

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use formatName for new variables and constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* 2P for multi-curative optimization (#1263)

* Handle multi-curative in 2P global opt

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cucumber test for validation of feature

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Partial Failure and completeData (#1256)

* draft

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* partial_failure fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* partial failure fix + automaton

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add Unit Test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add unit test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>

* ComputeHvdcAngleDroopActivePowerControlValue with getP (#1269)

* use getP to avoid nullpointer

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* adapt cucumber

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Delete mvn compiler version (#1270)

* delete useless compiler version(inherited from powsybl parent)

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare release v6.3.0

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare next release v6.4.0-SNAPSHOT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change url of info in rao result json serialization (#1273)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Feature/timestamp in crac api (#1265)

* add timestamp in CRAC API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* first works on JSON Crac with timestamp

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add timestamp in state

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* deserialize ts

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* some fixes after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* state id in helper

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test to cover State API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* date and author

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add offsetdatetime in cracparameter (#1274)

* add timestamp to crac creation parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix cse test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix fbconstraint test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix csa test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix json deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove Todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fb constraint extension doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fic UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* FbConstraintCracCreationParameters to FbconstraintCracCreatorParameters + fix duplicate line ?

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix private cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* review fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix merge conflict

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove initial tap and tap to angle conversion map from json crac files (#1278)

* removed initial tap and conversion map from json crac file (getting from network instead)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* changed retrocompatibility tests to validate the files before reading them, changed documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added a test to try import a crac with a PST missing in network

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix broken test after merge

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix version greater or equal to equal in deserializer

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix null ptdfSum in evaluator, relative margin case (#1264)

** add ptdfSumLowerBound to ptdfSums in evaluator

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Inter-Temporal Skeleton (MARMOT) (#1258)

* marmot first implementation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo in TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add initial sensi computation

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add topologyChanger + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fic style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add Result Merger

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* refactor skeleton

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* parameters order

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* introduce skeleton

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* inter-temporal linear optimization inputs ready

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create fillers from linear optimizer input

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* adapt PowerGradientConstraintFiller inputs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* minor

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix inputs of gradient filler

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* round set-point values

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* finalize first version of optimizer

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix parameters for compiling

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create global objective function

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* evaluate global objective function

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* first marmot test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* MARMOT works !!

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use initial scenario id

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test with rd

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test with power gradient constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use individual rao result cost

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create dedicated module for results

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use only one linear opt result

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add tests and fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* tests global linear optimization result

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use ProblemFillerHelper in castor

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless attributes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add new tests for global results

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* include preventive network actions in objective function evaluation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cleaning, comments, logging

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* explicit TODOs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* delete TODO

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix the action status badge (#1288)

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove timestamp in variables name for which a state is already provided (#1284)

* remove timestamp in variables name for which a state is already provided

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix bad @author tag

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Clean up pom (#1281)

* Remove redundant dependency version overrides

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add project artefacts

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unused dependency

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Priority ucte network analyser (#1280)

* added priority to UCTE network analyzer parameters to prioritize order code or element name

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* modify cbcora importer to prioritize element names over order codes

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Generator constraints (#1293)

* generator constraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add generator constraints module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* deprecate PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update main pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update distribution pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* [CIM] Import only one HVDC action if one line is disconnected (#1282)

* do not import HVDC RA if HVDC disconnected

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* coherent group name

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* logs, fix clear(), add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* checkstyle

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* More simple fix for ptdf sum (#1287)

* Revert "Fix null ptdfSum in evaluator, relative margin case (#1264)"

This reverts commit 3976db05e03669c4751dfc3fc4a0a1066a53794c.

* Add cucumber test for illustrating issue when monitoring open branch post contingency

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>

* bound values in export to avoid trying to export +- infinity

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove power gradients (#1295)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Cleaning/intertemporal features cleaner (#1289)

* remove some TODOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* log initial and final costs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add new SumMaxPerTimestampCostEvaluatorResult

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* better tests names

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless method

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge identical methods

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max cost evaluator

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add comments in evaluator tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO for cost checking

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>

* Ignore duplicated CNECs in RAO status (#1303)

* add exlude cnecs function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add excludeCnecs in getCost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log and reevaluate cost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove cnec from raoresult

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix for merge

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unnecessary class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* sonarfix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* review correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix type

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* Separate global result from individual results per timestamp (#1302)

Separate global result from individual results per timestamp (#1302)

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix RA import after invalid Contingency (#1308)

* Fix RA import after invalid Contingency

* Fix dev

* Remove useless argument

* Test fix

* Fix

* After review

* fix sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* store highest threshold in evaluator result (#1322)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump powsybl-core to 6.7.0, OLF to 1.15.0 and entsoe to 2.13.0 (#1309)

* Add new powsybl-open-loadflow 'forceTargetQInReactiveLimits' parameter in test files

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Add new OLF 'voltageRemoteControlRobustMode' and 'disableInconsistentVoltageControls' params in test files

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump core to 6.7.0-RC1

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump core to 6.7.0 and OLF to 1.15.0

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump powsybl-entsoe to 2.13.0

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

---------

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare release v6.4.0

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare next release v6.5.0-SNAPSHOT

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* serialize PST's tap

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove useless exception

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* retrocompatibility test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* initialTap

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename add method in TemporalData to put (#1329)

* renamed add method in temporal data to put

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* Revert "renamed add method in temporal data to put"

This reverts commit 89a23c01bcc6281c83a3f460fddd5df4ee05909c.

* only changed add for temporalData

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Move jniortools import into a separate thread. (#1331)

* Move jniortools import into a separate thread.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Add EOF

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Revert "Add EOF"

This reverts commit 6ce6ce4194c18a6aa4261ec88d92eaa387207176.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Revert "Move jniortools import into a separate thread."

This reverts commit 081280b6d8141c85a4417e554c5e00aa83da6707.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Add OR-tools loading in Castor class so it gets loaded upon start

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

---------

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* All optional attributes in GeneratorConstraints (#1345)

* optional attributes in GeneratorConstraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* coverage

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Renaming CSA profiles to NC (#1340)

* rename CSA profiles to NC

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove CSA occurrences

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove auto search tree (#1318)

* remove auto search tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update json parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove auto search tree cucumber tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max-auto-depth occurrences

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max-auto-depth occurrences in docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* added a filter on versions to avoid printing the wrong version (was happening in pypowsybl where it was printing powsybl diagram version) (#1352)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* No longer export flows for instants after CNEC's (#1347)

* no longer export flows for instants after cnec's

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix typo in exception

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Extract features from idcc test data (#1353)

* TemporalDataImpl : treeMap for reproductibility

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* offsetDateTime in FbConstraintCracCreator

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* perf: memoize previous state

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add epsilon for range action filtering (range)

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* validate

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor RemedialActionActivationResult to handle actions per state.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao don't support optimization on one given state only

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove unused flowbased-related modules (#1356)

* remove unused flowbased-related modules

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Import automatons is `nc:RemedialAction.isManual` is `false` (#1349)

* add isManual is queries

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove scheme remedial actions and import ARAs from isManual=false

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove auto-instant-time in NC CRAC creation parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add NC file in doc tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Rename `monitoring` to `open-rao-monitoring` (#1357)

* rename monitoring to open-rao-monitoring

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update poms

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct JsonRaoParametersTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add config loader + make the extension optional

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* branch fast rao parameters in code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* test fast rao in cucumber

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add todo doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move check

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* keep marmot change

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao slide to doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* variant manager correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT FastRaoResultImplTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* revert and move to other branch

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct merge issue

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct merge issue pt2

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move fastrao doc to performance.md

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* wip max min margin with fast rao

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix after merge

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* bump parameters to v3.2 and add changelog

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc + add gif

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* center text

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* complete tutorial

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update tutorial.md

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* delete commonslang3 from pom to pull version from powsybl-core

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* merge main

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add comments to getRaLimitationParameters

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* adapt 20.2.2 by using topo CRA to ensure CRA is kept in 2P now that 2P is global

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* clean/ adapt US20_1

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix merge

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* delete re-optimize everywhere

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* update parameter files

* update values far from ref

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add CriticalCnecsResult extension to rao result + serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add AbstractExtendable inheritance to InterTemporalRao classes

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix values

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* Add utility class for JSON serialization of RaoResult extensions

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* started changing loadflow calls

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add UT to improve sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* checkstyle

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* improve sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix test

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* more sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* erreurs de compil residuelles critical cnecs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* reliquat erreurs residuelles critical cnecs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* force SearchTreeRao in Marmot

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* adapt runFilteredRao

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* force 2P reoptimization on US 20_1

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* IO exception never thrown

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* skip multi-curative

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* broken link

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* unused test files

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* Async PostPerimeterSensitivityAnalysis run

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* mvn validate

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* refacto

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* use pre perimeter result

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* only keep activated range action

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* exclude duplicate cnec from final cost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change fast rao continue condition

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add new condition

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* export result (temporary to delete)

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* some refactoring

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* some refactoring

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove fast rao from cucumber test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* revert logback

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* sonar fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* check style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* interrupt thread

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* interrupt thread

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* review comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* unoptimized rao

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: wangjer <jeremy.wang@rte-france.com>
Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: thiriondan <daniel.thirion@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: Jérémy Wang <jeremy.wang@rte-france.com>
Co-authored-by: pjeanmarie <72982611+pjeanmarie@users.noreply.github.com>
Co-authored-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Sébastien Murgey <sebastien.murgey@rte-france.com>
Co-authored-by: Olivier Perrin <olivier.perrin@rte-france.com>
Co-authored-by: Viktor Terrier <11834022+terriervik@users.noreply.github.com>
Co-authored-by: danielthirion <152513244+danielthirion@users.noreply.github.com>
RoxaneChen02 added a commit that referenced this pull request Mar 17, 2026
* copy paste original file as is

* copy paste original file as is

* copy paste original file as is + small change to match recent renaming

* debug test wip

* Fixed cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update code to match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix US 19.7 features

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove semaphore

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* force global 2P

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor RemedialActionActivationResult to handle actions per state.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao don't support optimization on one given state only

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct JsonRaoParametersTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add config loader + make the extension optional

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* branch fast rao parameters in code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* test fast rao in cucumber

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add todo doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move check

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* keep marmot change

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao slide to doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* variant manager correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT FastRaoResultImplTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* revert and move to other branch

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add ut (#1390)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add simple fast rao test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* improve coverage

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add iniital sensi failed test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add 2 UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result ut

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* reformat

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change rao param

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* blank space

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Run cucumber on mac. Update jaxb bindings (#1212)

Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Export execution details (#1193)

* export failure reason/executed steps to a executionDetails field

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added check of execution details for failed RAOs in cucumber tests

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add unit tests for try catch

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* updated documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* clean code smells

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fixed tests

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* rename section in rao result json documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added a business error with the error and the stack trace to not lose the information

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* added unit test to check serialization, updated version to 1.7, fixed ordering of states in range action results

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix version

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* copy paste original file as is + small change to match recent renaming

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* debug test wip

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Use upward and downward variation variables in MILP for Range Actions (#1205)

Use upward and downward variation variables in MILP for Range Actions

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fixed cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Temporal data (#1228)

* temporal data

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor objective function evaluators API and add cost-wise Search-Tree (#1186)

* refactor objective function evaluators API
* enable cost-wise Search Tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* create class InterTemporalRaoInput (#1232)

* create class InterTemporalRaoInput

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* removed parameters from input class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix Jenkins (#1231)

* only keep PST_DE

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* keep previous crac

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update code to match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix bug 2p (#1237)

* fix bug

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* match style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* changed complete method to take into account previous failing contingencies

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Run tests on graalvm, slightly change ra ordering method in search tree to make it os agnostic (#1234)

* run tests on java & graalvm
* changed min impact for a couple tests, and change search tree ordering to make it os agnostic (hopefully)

Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update powsybl dependencies (6.6.0 release train) (#1239)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump to v6.2.0

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump to v6.3.0-SNAPSHOT

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix US 19.7 features

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove semaphore

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Power Gradient Constraint (#1229)

* Power Gradient Constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* JUnit

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo in test name

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* extract VariationDirection from RangeAction

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* replace record by class

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add module to jacoco

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add pgcs to RAO inputs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix poms

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* udate new POM tp 6.3.0-SNAPSHOT

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* inter-tempoal RAO API (#1236)

* inter-tempoal RAO API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* move to right module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix InterTemporalRaoInput creation

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Classes generated by Jakarta implement interfaces (#1246)

* get back to previous JAXB behavior for interface inheritance
* remove Jakarta dependency in CSA profiles module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Swe cne threshold decimals (#1245)

* add decimals for thrsholds in swe cne

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* include link fixes in documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* make constants final

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add new method withNetworkElement for InjectionRangeActionAdder (#1087)

* Add new method withNetworkElement for InjectionRangeAction

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

* Return error if withNetworkElement() called twice

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

* Remove unused import

Signed-off-by: wangjer <jeremy.wang@rte-france.com>

---------

Signed-off-by: wangjer <jeremy.wang@rte-france.com>
Co-authored-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* TemporalData::map (#1251)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Use hasImpactOnNetwork from powsybl-core, 'fix' tests (#1131)

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fixes CRAC import from Flowbased Constraint Document to enable correct handling of XML without any MNEC element defined. (#1253)

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* timestamp in variables and constraints (#1259)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Make MonitoringResult combine function thread safe (#1260)

* make combine thread safe

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Global balancing constraint (#1250)

* add global balancing constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Update crac-93-1-3.json

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add constants in doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Update CoreProblemFiller.java

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Costly optimization of range actions (#1243)

* add costly variables and constraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cucumber tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rollback absolute variation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove continuous tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* only allow APPROXIMATED_INTEGERS mode for costly optimization

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* average cost/angle for PSTs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* introduce tap variables

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* minor fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests and doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove inexistant 'com.powsybl:powsybl-action-util' dependency (#1262)

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* duplicate redispatching test in costly (#1261)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Angle monitoring noglsk (#1249)

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* crash if incomplete GLSK error

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* draft

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* set MonitoringResult status to FAILURE when no GLSK given

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change global log message

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Update Monitoring.java

Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Inter-Temporal Pool (#1235)

* create class InterTemporalRaoInput

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* removed parameters from input class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* WIP Beginning of InterTemporal Sensitivity Analysis

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add LF and sensi values in test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Fixed sensi computation in parallel

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add InterTemporalParameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* more relevant tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge head

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add json for inter temporal parameter

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* parallel RAOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use right Pait class

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* intertemporal pool

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use of inter-temporal pool for parallel computation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* some fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* refactored inputs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* changes after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use ThreadPoolExecutor for more relevant nested inter temporal pools

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove inter-temporal extension of parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add unit test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* use ForkJoinPool again

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless files

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Power Gradient Constraint filler (#1257)

* Update gradient API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* Gradient MIP equations in doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix problems on min/max signums

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* preparatory work for PGC filler

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* complete PowerGradientConstraintFiller + fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename to PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rename to PowerGradientBuilder

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* docstring for PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add Unit Test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* rename p0 to initialPower

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add to do

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* simplify function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix after review

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main and update docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Rao parameters forbid cost increase always true (#1112)

* Remove ForbidCostIncrease parameter (should always be true)
* Remove curative stop criterion and 'optimize curative if preventive unsecure' and partially replace them by 'enforce curative security'
* Move unit out of objective function type
* Merge content of preventive stop criterion into type
* Move implem specific rao parameters into extensions
* The object multithreading parameters should be the same than its input, so it contains one parameter available-cpus
* Upgrade rao parameters version to 3.0
* Separate previous extensions in business/search-tree as optional
* Rename to avoid having same class name in rao parameters and its extension
* Separate rao parameters doc in multiple pages
* change python script to be able to do all the changes to parameters

---------

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix format of datetimes in variable and constraint names (#1266)

* fix format of datetimes in variable names

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use formatName for new variables and constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* 2P for multi-curative optimization (#1263)

* Handle multi-curative in 2P global opt

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cucumber test for validation of feature

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge main

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Partial Failure and completeData (#1256)

* draft

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* partial_failure fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* partial failure fix + automaton

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add Unit Test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add unit test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>

* ComputeHvdcAngleDroopActivePowerControlValue with getP (#1269)

* use getP to avoid nullpointer

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* adapt cucumber

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Delete mvn compiler version (#1270)

* delete useless compiler version(inherited from powsybl parent)

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare release v6.3.0

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare next release v6.4.0-SNAPSHOT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change url of info in rao result json serialization (#1273)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Feature/timestamp in crac api (#1265)

* add timestamp in CRAC API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* first works on JSON Crac with timestamp

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add timestamp in state

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* deserialize ts

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* some fixes after comments

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* state id in helper

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test to cover State API

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* date and author

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add offsetdatetime in cracparameter (#1274)

* add timestamp to crac creation parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix cse test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix fbconstraint test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix csa test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix json deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove Todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fb constraint extension doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fic UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* FbConstraintCracCreationParameters to FbconstraintCracCreatorParameters + fix duplicate line ?

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix private cucumber tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* review fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix merge conflict

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove initial tap and tap to angle conversion map from json crac files (#1278)

* removed initial tap and conversion map from json crac file (getting from network instead)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* changed retrocompatibility tests to validate the files before reading them, changed documentation

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* added a test to try import a crac with a PST missing in network

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* fix broken test after merge

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix version greater or equal to equal in deserializer

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix null ptdfSum in evaluator, relative margin case (#1264)

** add ptdfSumLowerBound to ptdfSums in evaluator

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Inter-Temporal Skeleton (MARMOT) (#1258)

* marmot first implementation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* typo in TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add initial sensi computation

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add topologyChanger + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fic style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add Result Merger

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* refactor skeleton

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* parameters order

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* introduce skeleton

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* inter-temporal linear optimization inputs ready

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create fillers from linear optimizer input

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* adapt PowerGradientConstraintFiller inputs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* minor

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix inputs of gradient filler

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* round set-point values

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* finalize first version of optimizer

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix parameters for compiling

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create global objective function

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* evaluate global objective function

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* first marmot test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* MARMOT works !!

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use initial scenario id

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test with rd

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* test with power gradient constraint

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use individual rao result cost

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* create dedicated module for results

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use only one linear opt result

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add tests and fixes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* tests global linear optimization result

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* use ProblemFillerHelper in castor

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless attributes

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add new tests for global results

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* include preventive network actions in objective function evaluation

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* cleaning, comments, logging

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* explicit TODOs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* delete TODO

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix the action status badge (#1288)

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove timestamp in variables name for which a state is already provided (#1284)

* remove timestamp in variables name for which a state is already provided

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix bad @author tag

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Clean up pom (#1281)

* Remove redundant dependency version overrides

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add project artefacts

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unused dependency

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Priority ucte network analyser (#1280)

* added priority to UCTE network analyzer parameters to prioritize order code or element name

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* modify cbcora importer to prioritize element names over order codes

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Generator constraints (#1293)

* generator constraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add generator constraints module

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* deprecate PowerGradient

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update main pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update distribution pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* [CIM] Import only one HVDC action if one line is disconnected (#1282)

* do not import HVDC RA if HVDC disconnected

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* coherent group name

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* logs, fix clear(), add UT

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* checkstyle

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* More simple fix for ptdf sum (#1287)

* Revert "Fix null ptdfSum in evaluator, relative margin case (#1264)"

This reverts commit 3976db05e03669c4751dfc3fc4a0a1066a53794c.

* Add cucumber test for illustrating issue when monitoring open branch post contingency

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>

* bound values in export to avoid trying to export +- infinity

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove power gradients (#1295)

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Cleaning/intertemporal features cleaner (#1289)

* remove some TODOs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* log initial and final costs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add new SumMaxPerTimestampCostEvaluatorResult

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* better tests names

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove useless method

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* merge identical methods

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max cost evaluator

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add comments in evaluator tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO for cost checking

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>

* Ignore duplicated CNECs in RAO status (#1303)

* add exlude cnecs function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add excludeCnecs in getCost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add log and reevaluate cost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove cnec from raoresult

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix for merge

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unnecessary class

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* sonarfix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* review correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix type

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo fix

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>

* Separate global result from individual results per timestamp (#1302)

Separate global result from individual results per timestamp (#1302)

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fix RA import after invalid Contingency (#1308)

* Fix RA import after invalid Contingency

* Fix dev

* Remove useless argument

* Test fix

* Fix

* After review

* fix sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* store highest threshold in evaluator result (#1322)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Bump powsybl-core to 6.7.0, OLF to 1.15.0 and entsoe to 2.13.0 (#1309)

* Add new powsybl-open-loadflow 'forceTargetQInReactiveLimits' parameter in test files

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Add new OLF 'voltageRemoteControlRobustMode' and 'disableInconsistentVoltageControls' params in test files

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump core to 6.7.0-RC1

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump core to 6.7.0 and OLF to 1.15.0

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

* Bump powsybl-entsoe to 2.13.0

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>

---------

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare release v6.4.0

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* prepare next release v6.5.0-SNAPSHOT

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* serialize PST's tap

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove useless exception

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* retrocompatibility test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* initialTap

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename add method in TemporalData to put (#1329)

* renamed add method in temporal data to put

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* Revert "renamed add method in temporal data to put"

This reverts commit 89a23c01bcc6281c83a3f460fddd5df4ee05909c.

* only changed add for temporalData

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

---------

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Move jniortools import into a separate thread. (#1331)

* Move jniortools import into a separate thread.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Add EOF

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Revert "Add EOF"

This reverts commit 6ce6ce4194c18a6aa4261ec88d92eaa387207176.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Revert "Move jniortools import into a separate thread."

This reverts commit 081280b6d8141c85a4417e554c5e00aa83da6707.

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

* Add OR-tools loading in Castor class so it gets loaded upon start

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>

---------

Signed-off-by: thiriondan <daniel.thirion@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* All optional attributes in GeneratorConstraints (#1345)

* optional attributes in GeneratorConstraints

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* coverage

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix test

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* sonar

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Renaming CSA profiles to NC (#1340)

* rename CSA profiles to NC

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove CSA occurrences

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove auto search tree (#1318)

* remove auto search tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update json parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove auto search tree cucumber tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max-auto-depth occurrences

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove max-auto-depth occurrences in docs

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* added a filter on versions to avoid printing the wrong version (was happening in pypowsybl where it was printing powsybl diagram version) (#1352)

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* No longer export flows for instants after CNEC's (#1347)

* no longer export flows for instants after cnec's

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* fix typo in exception

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Extract features from idcc test data (#1353)

* TemporalDataImpl : treeMap for reproductibility

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* offsetDateTime in FbConstraintCracCreator

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* perf: memoize previous state

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add epsilon for range action filtering (range)

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* validate

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

---------

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Refactor RemedialActionActivationResult to handle actions per state.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao don't support optimization on one given state only

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove unecessary import

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Remove unused flowbased-related modules (#1356)

* remove unused flowbased-related modules

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update pom

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Import automatons is `nc:RemedialAction.isManual` is `false` (#1349)

* add isManual is queries

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove scheme remedial actions and import ARAs from isManual=false

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* remove auto-instant-time in NC CRAC creation parameters

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* TODO

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* add NC file in doc tree

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Rename `monitoring` to `open-rao-monitoring` (#1357)

* rename monitoring to open-rao-monitoring

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update poms

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

---------

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update log

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao parameters

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct JsonRaoParametersTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add config loader + make the extension optional

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add tests

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* branch fast rao parameters in code

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* test fast rao in cucumber

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* clean up

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add todo doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move check

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* keep marmot change

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao slide to doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* variant manager correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add UT FastRaoResultImplTest

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* revert and move to other branch

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correction

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* rename function

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* merge main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct merge issue

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* correct merge issue pt2

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* move fastrao doc to performance.md

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* wip max min margin with fast rao

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* remove test

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix after merge

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* bump parameters to v3.2 and add changelog

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* update doc + add gif

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* center text

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* complete tutorial

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* update tutorial.md

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix typo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* style

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix tests

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>

* delete commonslang3 from pom to pull version from powsybl-core

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* merge main

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add comments to getRaLimitationParameters

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* doc

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* adapt 20.2.2 by using topo CRA to ensure CRA is kept in 2P now that 2P is global

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* clean/ adapt US20_1

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix merge

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* delete re-optimize everywhere

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* update parameter files

* update values far from ref

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* add CriticalCnecsResult extension to rao result + serializer and deserializer

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Add AbstractExtendable inheritance to InterTemporalRao classes

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix values

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* Add utility class for JSON serialization of RaoResult extensions

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* started changing loadflow calls

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>

* add UT to improve sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* checkstyle

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* improve sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* fix test

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* more sonar

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* erreurs de compil residuelles critical cnecs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* reliquat erreurs residuelles critical cnecs

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* force SearchTreeRao in Marmot

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* adapt runFilteredRao

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* force 2P reoptimization on US 20_1

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* IO exception never thrown

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* skip multi-curative

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* broken link

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* unused test files

Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>

* Async PostPerimeterSensitivityAnalysis run

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add comment

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* mvn validate

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* refacto

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* todo

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* use pre perimeter result

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* only keep activated range action

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* exclude duplicate cnec from final cost

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* change fast rao continue condition

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* add new condition

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* export result (temporary to delete)

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* some refactoring

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* some refactoring

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* fix UT

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* match main

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>

* Select rao implementation for cucumber tests in properties file

Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>

* Generalize abstraction of rao implementation in Cucumber step definitions

Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>

* Rename methods to be rao-agnostic

Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>

---------

Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: wangjer <jeremy.wang@rte-france.com>
Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: thiriondan <daniel.thirion@rte-france.com>
Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>
Co-authored-by: CHEN Roxane <roxane.chen@rte-france.com>
Co-authored-by: Philippe Edwards <philippe.edwards@rte-france.com>
Co-authored-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Co-authored-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Thomas Bouquet <63302082+bqth29@users.noreply.github.com>
Co-authored-by: Godelaine <87479798+Godelaine@users.noreply.github.com>
Co-authored-by: Jérémy Wang <jeremy.wang@rte-france.com>
Co-authored-by: pjeanmarie <72982611+pjeanmarie@users.noreply.github.com>
Co-authored-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Sébastien Murgey <sebastien.murgey@rte-france.com>
Co-authored-by: Olivier Perrin <olivier.perrin@rte-france.com>
Co-authored-by: Viktor Terrier <11834022+terriervik@users.noreply.github.com>
Co-authored-by: danielthirion <152513244+danielthirion@users.noreply.github.com>
RoxaneChen02 added a commit that referenced this pull request Mar 17, 2026
* update to Java 21



* update readme



* extract methods in tests



* fix InterTemporalPool



* upgrade powsybl-parent to v23



* Update OLF params for json test



* Bump powsybl-parent to 24



* Upgrade PowSyBl dependencies

Upgrade powsybl-core, powsybl-entsoe & powsybl-open-loadflow to snapshot
versions.
Update rao-parameters expected files in unit tests with new default
values.



* fix voltage monitoring tests



* fix automaton simulator tests



* disable ac emulation mode for hvdc



* relicat de merge



* relicat de merge 2



* UT



* do not compute sensi for HVDC in AC emulation



* Partially rollback to OLF default configuration (#1483)

* Remove FlowCNECs' Nominal Voltage (#1452)

* no longer read nominal V from JSON CRAC



* fix import-related cucumbers



* sonar



* fix 5.1.0.b



* post-process voltage levels to rollback to pre-dev situation



* fix tests



* fix hvdc tests



* simplify deserialization as nominal V cannot be null



* simplify import and handle error cases



* cover case with bad fields order for FlowCNECs



* handle tie lines as branches



* fixes after merge



---------






* update network files to avoid changing OLF "plausibleActivePowerLimit" parameter



---------






* Prepare release 6.7.0 (#1486)

* change log level



* change log level to debug



* update powsybl core version



---------



* Fix olf (#1489)

* update pom with release candidate from core



* fix compil



---------



* Update with main (#1491)

* Remove FlowCNECs' Nominal Voltage (#1452)

* no longer read nominal V from JSON CRAC



* fix import-related cucumbers



* sonar



* fix 5.1.0.b



* post-process voltage levels to rollback to pre-dev situation



* fix tests



* fix hvdc tests



* simplify deserialization as nominal V cannot be null



* simplify import and handle error cases



* cover case with bad fields order for FlowCNECs



* handle tie lines as branches



* fixes after merge



---------






* allow dc run with hvdc ac emulation (#1484)



* [FastRAO] Adapt tests for CI needs (#1482)

* copy paste original file as is

* copy paste original file as is

* copy paste original file as is + small change to match recent renaming

* debug test wip

* Fixed cucumber tests



* add log + fix style



* update code to match main



* fix US 19.7 features



* remove semaphore



* force global 2P



* fix merge main



* Refactor RemedialActionActivationResult to handle actions per state.



* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.



* fast rao don't support optimization on one given state only



* remove unecessary function



* clean up



* remove unecessary import



* update log



* todo



* add fast rao parameters



* correct JsonRaoParametersTest



* add config loader + make the extension optional



* add tests



* branch fast rao parameters in code



* test fast rao in cucumber



* clean up



* add todo doc



* typo



* move check



* keep marmot change



* add fast rao doc



* typo



* typo



* add fast rao slide to doc



* variant manager correction



* add UT FastRaoResultImplTest



* update doc



* update doc



* revert and move to other branch



* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl



* fast rao result specific serializer and deserializer



* correction



* add fast rao extension + UT



* rename function



---------




* Fast rao/add ut (#1390)

* add considered to FastRaoResultImpl



* fast rao result specific serializer and deserializer



* correction



* add fast rao extension + UT



* rename function



* add simple fast rao test



* correct test



* improve coverage



* add iniital sensi failed test



* add 2 UT



* fast rao result ut



* reformat



* change rao param



* blank space



---------




* copy paste original file as is



* copy paste original file as is



* Run cucumber on mac. Update jaxb bindings (#1212)




* Export execution details (#1193)

* export failure reason/executed steps to a executionDetails field



* added check of execution details for failed RAOs in cucumber tests



* add unit tests for try catch



* updated documentation



* clean code smells



* fixed tests



* rename section in rao result json documentation



* added a business error with the error and the stack trace to not lose the information



* merge main



* added unit test to check serialization, updated version to 1.7, fixed ordering of states in range action results



* fix version



---------








* copy paste original file as is + small change to match recent renaming



* debug test wip



* Use upward and downward variation variables in MILP for Range Actions (#1205)

Use upward and downward variation variables in MILP for Range Actions




* Fixed cucumber tests



* add log + fix style



* Temporal data (#1228)

* temporal data



* sonar



---------




* Refactor objective function evaluators API and add cost-wise Search-Tree (#1186)

* refactor objective function evaluators API
* enable cost-wise Search Tree




* create class InterTemporalRaoInput (#1232)

* create class InterTemporalRaoInput



* removed parameters from input class



---------





* fix Jenkins (#1231)

* only keep PST_DE



* keep previous crac



---------





* update code to match main



* Fix bug 2p (#1237)

* fix bug



* match style



* changed complete method to take into account previous failing contingencies



* add UT



* add UT



* add UT



* add UT



* fix UT



---------









* Run tests on graalvm, slightly change ra ordering method in search tree to make it os agnostic (#1234)

* run tests on java & graalvm
* changed min impact for a couple tests, and change search tree ordering to make it os agnostic (hopefully)





* update powsybl dependencies (6.6.0 release train) (#1239)




* Bump to v6.2.0




* Bump to v6.3.0-SNAPSHOT




* fix US 19.7 features



* remove semaphore



* Power Gradient Constraint (#1229)

* Power Gradient Constraint



* JUnit



* typo in test name



* extract VariationDirection from RangeAction



* replace record by class



* update pom



* add module to jacoco



* add pgcs to RAO inputs



* fix poms



* udate new POM tp 6.3.0-SNAPSHOT



---------






* inter-tempoal RAO API (#1236)

* inter-tempoal RAO API



* move to right module



* fix InterTemporalRaoInput creation



---------







* Classes generated by Jakarta implement interfaces (#1246)

* get back to previous JAXB behavior for interface inheritance
* remove Jakarta dependency in CSA profiles module




* Swe cne threshold decimals (#1245)

* add decimals for thrsholds in swe cne



* include link fixes in documentation



* make constants final



---------




* Add new method withNetworkElement for InjectionRangeActionAdder (#1087)

* Add new method withNetworkElement for InjectionRangeAction



* Return error if withNetworkElement() called twice



* Remove unused import



---------








* TemporalData::map (#1251)




* Use hasImpactOnNetwork from powsybl-core, 'fix' tests (#1131)






* Fixes CRAC import from Flowbased Constraint Document to enable correct handling of XML without any MNEC element defined. (#1253)



* timestamp in variables and constraints (#1259)




* Make MonitoringResult combine function thread safe (#1260)

* make combine thread safe



* add comment



---------





* Global balancing constraint (#1250)

* add global balancing constraint



* add cucumber tests



* fix docs



* Update crac-93-1-3.json



* add comment



* merge main



* add constants in doc



* Update CoreProblemFiller.java



---------








* Costly optimization of range actions (#1243)

* add costly variables and constraints



* docs



* cucumber tests



* rollback absolute variation



* typo



* remove continuous tests



* only allow APPROXIMATED_INTEGERS mode for costly optimization



* fix doc



* average cost/angle for PSTs



* introduce tap variables



* minor fixes



* fix tests and doc



* sonar



* fix after comments



* merge main



---------




* Remove inexistant 'com.powsybl:powsybl-action-util' dependency (#1262)




* duplicate redispatching test in costly (#1261)





* Angle monitoring noglsk (#1249)

* fix typo



* crash if incomplete GLSK error



* fix style



* draft



* set MonitoringResult status to FAILURE when no GLSK given



* change global log message



* fix test



* Update Monitoring.java



---------







* Inter-Temporal Pool (#1235)

* create class InterTemporalRaoInput



* removed parameters from input class



* WIP Beginning of InterTemporal Sensitivity Analysis



* add LF and sensi values in test



* Fixed sensi computation in parallel



* add InterTemporalParameters



* more relevant tests



* merge head



* add json for inter temporal parameter



* fix style



* fix tests



* parallel RAOs



* use right Pait class



* intertemporal pool



* use of inter-temporal pool for parallel computation



* some fixes



* refactored inputs



* changes after comments



* use ThreadPoolExecutor for more relevant nested inter temporal pools



* remove inter-temporal extension of parameters



* fix tests



* add unit test



* fix style



* use ForkJoinPool again



* remove useless files



---------









* Power Gradient Constraint filler (#1257)

* Update gradient API



* Gradient MIP equations in doc



* fix problems on min/max signums



* preparatory work for PGC filler



* complete PowerGradientConstraintFiller + fix style



* rename to PowerGradient



* rename to PowerGradientBuilder



* docstring for PowerGradient



* add Unit Test



* sonar



* rename p0 to initialPower



* merge main



* update tests



* add to do



* simplify function



* merge main



* fix after review



* fix style



* merge main and update docs



---------






* Rao parameters forbid cost increase always true (#1112)

* Remove ForbidCostIncrease parameter (should always be true)
* Remove curative stop criterion and 'optimize curative if preventive unsecure' and partially replace them by 'enforce curative security'
* Move unit out of objective function type
* Merge content of preventive stop criterion into type
* Move implem specific rao parameters into extensions
* The object multithreading parameters should be the same than its input, so it contains one parameter available-cpus
* Upgrade rao parameters version to 3.0
* Separate previous extensions in business/search-tree as optional
* Rename to avoid having same class name in rao parameters and its extension
* Separate rao parameters doc in multiple pages
* change python script to be able to do all the changes to parameters

---------





* Fix format of datetimes in variable and constraint names (#1266)

* fix format of datetimes in variable names



* use formatName for new variables and constraint



---------




* 2P for multi-curative optimization (#1263)

* Handle multi-curative in 2P global opt



* cucumber test for validation of feature



* merge main



---------





* Partial Failure and completeData (#1256)

* draft



* partial_failure fix



* fix import



* partial failure fix + automaton



* fix style



* add Unit Test



* clean up code



* add unit test



---------






* ComputeHvdcAngleDroopActivePowerControlValue with getP (#1269)

* use getP to avoid nullpointer



* adapt cucumber



---------




* Delete mvn compiler version (#1270)

* delete useless compiler version(inherited from powsybl parent)




* prepare release v6.3.0




* prepare next release v6.4.0-SNAPSHOT




* change url of info in rao result json serialization (#1273)




* Feature/timestamp in crac api (#1265)

* add timestamp in CRAC API



* first works on JSON Crac with timestamp



* add timestamp in state



* deserialize ts



* fix test



* some fixes after comments



* state id in helper



* test to cover State API



* date and author



---------





* Add offsetdatetime in cracparameter (#1274)

* add timestamp to crac creation parameters



* fix tests



* fix tests



* fix cse test



* fix fbconstraint test



* fix csa test



* fix style



* fix test



* fix json deserializer



* fix cucumber tests



* Remove Todo



* fix doc



* clean



* fix test



* add fb constraint extension doc



* add UT



* fic UT



* FbConstraintCracCreationParameters to FbconstraintCracCreatorParameters + fix duplicate line ?



* fix



* fix private cucumber tests



* review fix



* fix merge conflict



---------






* Remove initial tap and tap to angle conversion map from json crac files (#1278)

* removed initial tap and conversion map from json crac file (getting from network instead)



* changed retrocompatibility tests to validate the files before reading them, changed documentation



* added a test to try import a crac with a PST missing in network



* fix broken test after merge



* fix version greater or equal to equal in deserializer



---------






* Fix null ptdfSum in evaluator, relative margin case (#1264)

** add ptdfSumLowerBound to ptdfSums in evaluator






* Inter-Temporal Skeleton (MARMOT) (#1258)

* marmot first implementation



* typo



* add TODOs



* typo in TODO



* add initial sensi computation



* add topologyChanger + UT



* fic style



* Add Result Merger



* refactor skeleton



* parameters order



* introduce skeleton



* inter-temporal linear optimization inputs ready



* create fillers from linear optimizer input



* adapt PowerGradientConstraintFiller inputs



* minor



* fix inputs of gradient filler



* round set-point values



* finalize first version of optimizer



* fix parameters for compiling



* add TODO



* create global objective function



* evaluate global objective function



* first marmot test



* MARMOT works !!



* use initial scenario id



* fix tests



* test with rd



* test with power gradient constraint



* use individual rao result cost



* create dedicated module for results



* use only one linear opt result



* add tests and fixes



* tests global linear optimization result



* use ProblemFillerHelper in castor



* remove useless attributes



* add new tests for global results



* include preventive network actions in objective function evaluation



* cleaning, comments, logging



* explicit TODOs



* delete TODO



---------








* Fix the action status badge (#1288)




* Remove timestamp in variables name for which a state is already provided (#1284)

* remove timestamp in variables name for which a state is already provided



* fix bad @author tag



---------




* Clean up pom (#1281)

* Remove redundant dependency version overrides



* add project artefacts



* remove unused dependency



---------






* Priority ucte network analyser (#1280)

* added priority to UCTE network analyzer parameters to prioritize order code or element name



* modify cbcora importer to prioritize element names over order codes



---------





* Generator constraints (#1293)

* generator constraints



* add generator constraints module



* deprecate PowerGradient



* update pom



* update main pom



* update distribution pom



---------




* [CIM] Import only one HVDC action if one line is disconnected (#1282)

* do not import HVDC RA if HVDC disconnected



* coherent group name



* remove useless TODO



* sonar



* logs, fix clear(), add UT



* checkstyle



---------







* More simple fix for ptdf sum (#1287)

* Revert "Fix null ptdfSum in evaluator, relative margin case (#1264)"

This reverts commit 3976db0.

* Add cucumber test for illustrating issue when monitoring open branch post contingency



* bound values in export to avoid trying to export +- infinity



---------







* remove power gradients (#1295)





* Cleaning/intertemporal features cleaner (#1289)

* remove some TODOs



* add log



* log initial and final costs



* add new SumMaxPerTimestampCostEvaluatorResult



* better tests names



* remove useless method



* merge identical methods



* remove max cost evaluator



* add comments in evaluator tests



* add TODO for cost checking



---------






* Ignore duplicated CNECs in RAO status (#1303)

* add exlude cnecs function



* add excludeCnecs in getCost



* add log and reevaluate cost



* remove cnec from raoresult



* remove unecessary class



* fix



* fix for merge



* fix



* remove unnecessary class



* sonarfix



* review correction



* clean up



* fix type



* log



* typo fix



* clean up



* clean up



---------




* Separate global result from individual results per timestamp (#1302)

Separate global result from individual results per timestamp (#1302)

---------





* Fix RA import after invalid Contingency (#1308)

* Fix RA import after invalid Contingency

* Fix dev

* Remove useless argument

* Test fix

* Fix

* After review

* fix sonar



* fix



---------






* store highest threshold in evaluator result (#1322)




* Bump powsybl-core to 6.7.0, OLF to 1.15.0 and entsoe to 2.13.0 (#1309)

* Add new powsybl-open-loadflow 'forceTargetQInReactiveLimits' parameter in test files



* Add new OLF 'voltageRemoteControlRobustMode' and 'disableInconsistentVoltageControls' params in test files



* Bump core to 6.7.0-RC1



* Bump core to 6.7.0 and OLF to 1.15.0



* Bump powsybl-entsoe to 2.13.0



---------





* prepare release v6.4.0




* prepare next release v6.5.0-SNAPSHOT




* serialize PST's tap




* remove useless exception




* retrocompatibility test




* initialTap




* rename add method in TemporalData to put (#1329)

* renamed add method in temporal data to put



* Revert "renamed add method in temporal data to put"

This reverts commit 89a23c0.

* only changed add for temporalData



---------




* Move jniortools import into a separate thread. (#1331)

* Move jniortools import into a separate thread.



* Add EOF



* Revert "Add EOF"

This reverts commit 6ce6ce4194c18a6aa4261ec88d92eaa387207176.



* Revert "Move jniortools import into a separate thread."

This reverts commit 081280b6d8141c85a4417e554c5e00aa83da6707.



* Add OR-tools loading in Castor class so it gets loaded upon start



---------




* All optional attributes in GeneratorConstraints (#1345)

* optional attributes in GeneratorConstraints



* coverage



* fix test



* sonar



---------




* Renaming CSA profiles to NC (#1340)

* rename CSA profiles to NC



* remove CSA occurrences



---------




* Remove auto search tree (#1318)

* remove auto search tree



* update json parameters



* remove auto search tree cucumber tests



* update doc



* remove max-auto-depth occurrences



* remove max-auto-depth occurrences in docs



---------





* added a filter on versions to avoid printing the wrong version (was happening in pypowsybl where it was printing powsybl diagram version) (#1352)




* No longer export flows for instants after CNEC's (#1347)

* no longer export flows for instants after cnec's



* fix typo in exception



---------




* Extract features from idcc test data (#1353)

* TemporalDataImpl : treeMap for reproductibility



* offsetDateTime in FbConstraintCracCreator



* perf: memoize previous state



* add epsilon for range action filtering (range)



* validate



---------




* fix merge main



* Refactor RemedialActionActivationResult to handle actions per state.



* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.



* fast rao don't support optimization on one given state only



* remove unecessary function



* clean up



* remove unecessary import



* Remove unused flowbased-related modules (#1356)

* remove unused flowbased-related modules



* update pom



---------




* Import automatons is `nc:RemedialAction.isManual` is `false` (#1349)

* add isManual is queries



* remove scheme remedial actions and import ARAs from isManual=false



* add TODO



* remove auto-instant-time in NC CRAC creation parameters



* TODO



* update doc



* add NC file in doc tree



---------




* Rename `monitoring` to `open-rao-monitoring` (#1357)

* rename monitoring to open-rao-monitoring



* update poms



---------




* update log



* todo



* add fast rao parameters



* correct JsonRaoParametersTest



* add config loader + make the extension optional



* add tests



* branch fast rao parameters in code



* test fast rao in cucumber



* clean up



* add todo doc



* typo



* move check



* keep marmot change



* add fast rao doc



* typo



* typo



* add fast rao slide to doc



* variant manager correction



* add UT FastRaoResultImplTest



* update doc



* update doc



* revert and move to other branch



* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl



* fast rao result specific serializer and deserializer



* correction



* add fast rao extension + UT



* rename function



---------





* merge main



* correct merge issue



* correct merge issue pt2



* move fastrao doc to performance.md



* wip max min margin with fast rao



* update doc



* remove test



* fix after merge



* bump parameters to v3.2 and add changelog



* update doc + add gif



* center text



* complete tutorial



* update tutorial.md



* fix typo



* fix typo



* fix style



* style



* fix tests



* delete commonslang3 from pom to pull version from powsybl-core



* merge main



* add comments to getRaLimitationParameters



* doc



* doc



* adapt 20.2.2 by using topo CRA to ensure CRA is kept in 2P now that 2P is global



* clean/ adapt US20_1



* fix merge



* delete re-optimize everywhere



* update parameter files

* update values far from ref



* add CriticalCnecsResult extension to rao result + serializer and deserializer



* Add AbstractExtendable inheritance to InterTemporalRao classes

Signed-off…

Signed-off-by: Thomas Bouquet <thomas.bouquet@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Vincent BOCHET <vincent.bochet@rte-france.com>
Signed-off-by: Godelaine de Montmorillon <godelaine.demontmorillon@rte-france.com>
Signed-off-by: phiedw <philippe.edwards@rte-france.com>
Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
Signed-off-by: CHEN Roxane <roxane.chen@rte-france.com>
Signed-off-by: Peter Mitri <peter.mitri@rte-france.com>
Signed-off-by: wangjer <jeremy.wang@rte-france.com>
Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Signed-off-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Signed-off-by: MURGEY Sebastien <sebastien.murgey@rte-france.com>
Signed-off-by: thiriondan <daniel.thirion@rte-france.com>
Co-authored-by: Godelaine <godelaine.demontmorillon@rte-france.com>
Co-authored-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Co-authored-by: Olivier Perrin <olivier.perrin@rte-france.com>
Co-authored-by: Vincent BOCHET <vincent.bochet@rte-france.com>
Co-authored-by: phiedw <philippe.edwards@rte-france.com>
Co-authored-by: Roxane Chen <roxane.chen@rte-france.com>
Co-authored-by: Roxane Chen <94446464+RoxaneChen02@users.noreply.github.com>
Co-authored-by: Peter Mitri <peter.mitri@rte-france.com>
Co-authored-by: Jérémy Wang <jeremy.wang@rte-france.com>
Co-authored-by: pjeanmarie <72982611+pjeanmarie@users.noreply.github.com>
Co-authored-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Co-authored-by: Sébastien Murgey <sebastien.murgey@rte-france.com>
Co-authored-by: Viktor Terrier <11834022+terriervik@users.noreply.github.com>
Co-authored-by: danielthirion <152513244+danielthirion@users.noreply.github.com>
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.

3 participants