Skip to content

Conversation

@RoxaneChen02
Copy link
Collaborator

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • A PR or issue has been opened in all impacted repositories (if any)

Does this PR already have an issue describing the problem?

Fixes #1492

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

  • Yes
  • No

@RoxaneChen02 RoxaneChen02 changed the base branch from main to feat/add_ac_emulation_deactivation_action November 3, 2025 13:08
@RoxaneChen02 RoxaneChen02 force-pushed the feature/hvdc_apply_bug branch from 08030f6 to 1fafced Compare November 3, 2025 13:14
RoxaneChen02 and others added 22 commits November 3, 2025 14:22
Signed-off-by: Godelaine de Montmorillon <[email protected]>
Co-authored-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>
* adapt tests with hvdc initially in DC

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* delete test with HVDC in emulation mode and HVDC RA defined

Signed-off-by: Godelaine de Montmorillon <[email protected]>

---------

Signed-off-by: Godelaine de Montmorillon <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>
* remove usage methods

Signed-off-by: Thomas Bouquet <[email protected]>

* refine usage rule availability check

Signed-off-by: Thomas Bouquet <[email protected]>

* sonar

Signed-off-by: Thomas Bouquet <[email protected]>

* fix after comments

Signed-off-by: Thomas Bouquet <[email protected]>

* move method to remedial action API

Signed-off-by: Thomas Bouquet <[email protected]>

* remove usage methods from CRAC files

Signed-off-by: Thomas Bouquet <[email protected]>

* fix OnConstraint docstring

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Co-authored-by: Godelaine <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>
* pre filter remedial actions

Signed-off-by: Thomas Bouquet <[email protected]>

* remove useless argument

Signed-off-by: Thomas Bouquet <[email protected]>

* check right state for oFC activation

Signed-off-by: Thomas Bouquet <[email protected]>

* fix for OFCIC

Signed-off-by: Thomas Bouquet <[email protected]>

* add cucumber tests for on flow constraints

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>
Signed-off-by: Thomas Bouquet <[email protected]>
Co-authored-by: Godelaine <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>
* no longer read nominal V from JSON CRAC

Signed-off-by: Thomas Bouquet <[email protected]>

* fix import-related cucumbers

Signed-off-by: Thomas Bouquet <[email protected]>

* sonar

Signed-off-by: Thomas Bouquet <[email protected]>

* fix 5.1.0.b

Signed-off-by: Thomas Bouquet <[email protected]>

* post-process voltage levels to rollback to pre-dev situation

Signed-off-by: Thomas Bouquet <[email protected]>

* fix tests

Signed-off-by: Thomas Bouquet <[email protected]>

* fix hvdc tests

Signed-off-by: Thomas Bouquet <[email protected]>

* simplify deserialization as nominal V cannot be null

Signed-off-by: Thomas Bouquet <[email protected]>

* simplify import and handle error cases

Signed-off-by: Thomas Bouquet <[email protected]>

* cover case with bad fields order for FlowCNECs

Signed-off-by: Thomas Bouquet <[email protected]>

* handle tie lines as branches

Signed-off-by: Thomas Bouquet <[email protected]>

* fixes after merge

Signed-off-by: Philippe Edwards <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: phiedw <[email protected]>
Signed-off-by: Philippe Edwards <[email protected]>
Co-authored-by: phiedw <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>
* 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 <[email protected]>

* add log + fix style

Signed-off-by: CHEN Roxane <[email protected]>

* update code to match main

Signed-off-by: CHEN Roxane <[email protected]>

* fix US 19.7 features

Signed-off-by: CHEN Roxane <[email protected]>

* remove semaphore

Signed-off-by: CHEN Roxane <[email protected]>

* force global 2P

Signed-off-by: Philippe Edwards <[email protected]>

* fix merge main

Signed-off-by: CHEN Roxane <[email protected]>

* Refactor RemedialActionActivationResult to handle actions per state.

Signed-off-by: CHEN Roxane <[email protected]>

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

Signed-off-by: CHEN Roxane <[email protected]>

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

Signed-off-by: CHEN Roxane <[email protected]>

* remove unecessary function

Signed-off-by: CHEN Roxane <[email protected]>

* clean up

Signed-off-by: CHEN Roxane <[email protected]>

* remove unecessary import

Signed-off-by: CHEN Roxane <[email protected]>

* update log

Signed-off-by: CHEN Roxane <[email protected]>

* todo

Signed-off-by: CHEN Roxane <[email protected]>

* add fast rao parameters

Signed-off-by: CHEN Roxane <[email protected]>

* correct JsonRaoParametersTest

Signed-off-by: CHEN Roxane <[email protected]>

* add config loader + make the extension optional

Signed-off-by: CHEN Roxane <[email protected]>

* add tests

Signed-off-by: CHEN Roxane <[email protected]>

* branch fast rao parameters in code

Signed-off-by: CHEN Roxane <[email protected]>

* test fast rao in cucumber

Signed-off-by: CHEN Roxane <[email protected]>

* clean up

Signed-off-by: CHEN Roxane <[email protected]>

* add todo doc

Signed-off-by: CHEN Roxane <[email protected]>

* typo

Signed-off-by: CHEN Roxane <[email protected]>

* move check

Signed-off-by: CHEN Roxane <[email protected]>

* keep marmot change

Signed-off-by: CHEN Roxane <[email protected]>

* add fast rao doc

Signed-off-by: CHEN Roxane <[email protected]>

* typo

Signed-off-by: CHEN Roxane <[email protected]>

* typo

Signed-off-by: CHEN Roxane <[email protected]>

* add fast rao slide to doc

Signed-off-by: CHEN Roxane <[email protected]>

* variant manager correction

Signed-off-by: CHEN Roxane <[email protected]>

* add UT FastRaoResultImplTest

Signed-off-by: CHEN Roxane <[email protected]>

* update doc

Signed-off-by: CHEN Roxane <[email protected]>

* update doc

Signed-off-by: CHEN Roxane <[email protected]>

* revert and move to other branch

Signed-off-by: CHEN Roxane <[email protected]>

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <[email protected]>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <[email protected]>

* correction

Signed-off-by: CHEN Roxane <[email protected]>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <[email protected]>

* rename function

Signed-off-by: CHEN Roxane <[email protected]>

---------

Signed-off-by: CHEN Roxane <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>

* Fast rao/add ut (#1390)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <[email protected]>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <[email protected]>

* correction

Signed-off-by: CHEN Roxane <[email protected]>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <[email protected]>

* rename function

Signed-off-by: CHEN Roxane <[email protected]>

* add simple fast rao test

Signed-off-by: CHEN Roxane <[email protected]>

* correct test

Signed-off-by: CHEN Roxane <[email protected]>

* improve coverage

Signed-off-by: CHEN Roxane <[email protected]>

* add iniital sensi failed test

Signed-off-by: CHEN Roxane <[email protected]>

* add 2 UT

Signed-off-by: CHEN Roxane <[email protected]>

* fast rao result ut

Signed-off-by: CHEN Roxane <[email protected]>

* reformat

Signed-off-by: CHEN Roxane <[email protected]>

* change rao param

Signed-off-by: CHEN Roxane <[email protected]>

* blank space

Signed-off-by: CHEN Roxane <[email protected]>

---------

Signed-off-by: CHEN Roxane <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>

* copy paste original file as is

Signed-off-by: CHEN Roxane <[email protected]>

* copy paste original file as is

Signed-off-by: CHEN Roxane <[email protected]>

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

Signed-off-by: Peter Mitri <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Export execution details (#1193)

* export failure reason/executed steps to a executionDetails field

Signed-off-by: Philippe Edwards <[email protected]>

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

Signed-off-by: Philippe Edwards <[email protected]>

* add unit tests for try catch

Signed-off-by: Philippe Edwards <[email protected]>

* updated documentation

Signed-off-by: Philippe Edwards <[email protected]>

* clean code smells

Signed-off-by: Philippe Edwards <[email protected]>

* fixed tests

Signed-off-by: Philippe Edwards <[email protected]>

* rename section in rao result json documentation

Signed-off-by: Philippe Edwards <[email protected]>

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

Signed-off-by: Philippe Edwards <[email protected]>

* merge main

Signed-off-by: Thomas Bouquet <[email protected]>

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

Signed-off-by: Philippe Edwards <[email protected]>

* fix version

Signed-off-by: Godelaine de Montmorillon <[email protected]>

---------

Signed-off-by: Philippe Edwards <[email protected]>
Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: Godelaine de Montmorillon <[email protected]>
Co-authored-by: Thomas Bouquet <[email protected]>
Co-authored-by: Godelaine de Montmorillon <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

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

Signed-off-by: CHEN Roxane <[email protected]>

* debug test wip

Signed-off-by: CHEN Roxane <[email protected]>

* 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 <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Fixed cucumber tests

Signed-off-by: CHEN Roxane <[email protected]>

* add log + fix style

Signed-off-by: CHEN Roxane <[email protected]>

* Temporal data (#1228)

* temporal data

Signed-off-by: Thomas Bouquet <[email protected]>

* sonar

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* 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 <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* create class InterTemporalRaoInput (#1232)

* create class InterTemporalRaoInput

Signed-off-by: CHEN Roxane <[email protected]>

* removed parameters from input class

Signed-off-by: CHEN Roxane <[email protected]>

---------

Signed-off-by: CHEN Roxane <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* fix Jenkins (#1231)

* only keep PST_DE

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* keep previous crac

Signed-off-by: Godelaine de Montmorillon <[email protected]>

---------

Signed-off-by: Godelaine de Montmorillon <[email protected]>
Co-authored-by: phiedw <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* update code to match main

Signed-off-by: CHEN Roxane <[email protected]>

* Fix bug 2p (#1237)

* fix bug

Signed-off-by: CHEN Roxane <[email protected]>

* match style

Signed-off-by: CHEN Roxane <[email protected]>

* changed complete method to take into account previous failing contingencies

Signed-off-by: Philippe Edwards <[email protected]>

* add UT

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* add UT

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* add UT

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* add UT

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* fix UT

Signed-off-by: Godelaine de Montmorillon <[email protected]>

---------

Signed-off-by: CHEN Roxane <[email protected]>
Signed-off-by: Philippe Edwards <[email protected]>
Signed-off-by: Godelaine de Montmorillon <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>
Co-authored-by: Philippe Edwards <[email protected]>
Co-authored-by: Godelaine de Montmorillon <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* 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 <[email protected]>
Co-authored-by: Philippe Edwards <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

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

Signed-off-by: Philippe Edwards <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Bump to v6.2.0

Signed-off-by: Philippe Edwards <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Bump to v6.3.0-SNAPSHOT

Signed-off-by: Philippe Edwards <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* fix US 19.7 features

Signed-off-by: CHEN Roxane <[email protected]>

* remove semaphore

Signed-off-by: CHEN Roxane <[email protected]>

* Power Gradient Constraint (#1229)

* Power Gradient Constraint

Signed-off-by: Thomas Bouquet <[email protected]>

* JUnit

Signed-off-by: Thomas Bouquet <[email protected]>

* typo in test name

Signed-off-by: Thomas Bouquet <[email protected]>

* extract VariationDirection from RangeAction

Signed-off-by: Thomas Bouquet <[email protected]>

* replace record by class

Signed-off-by: Thomas Bouquet <[email protected]>

* update pom

Signed-off-by: Thomas Bouquet <[email protected]>

* add module to jacoco

Signed-off-by: Thomas Bouquet <[email protected]>

* add pgcs to RAO inputs

Signed-off-by: Thomas Bouquet <[email protected]>

* fix poms

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* udate new POM tp 6.3.0-SNAPSHOT

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: Godelaine de Montmorillon <[email protected]>
Co-authored-by: Godelaine de Montmorillon <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* inter-tempoal RAO API (#1236)

* inter-tempoal RAO API

Signed-off-by: Thomas Bouquet <[email protected]>

* move to right module

Signed-off-by: Thomas Bouquet <[email protected]>

* fix InterTemporalRaoInput creation

Signed-off-by: Godelaine de Montmorillon <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: Godelaine de Montmorillon <[email protected]>
Co-authored-by: Godelaine <[email protected]>
Co-authored-by: Godelaine de Montmorillon <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* 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 <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Swe cne threshold decimals (#1245)

* add decimals for thrsholds in swe cne

Signed-off-by: Philippe Edwards <[email protected]>

* include link fixes in documentation

Signed-off-by: Philippe Edwards <[email protected]>

* make constants final

Signed-off-by: Philippe Edwards <[email protected]>

---------

Signed-off-by: Philippe Edwards <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Add new method withNetworkElement for InjectionRangeActionAdder (#1087)

* Add new method withNetworkElement for InjectionRangeAction

Signed-off-by: wangjer <[email protected]>

* Return error if withNetworkElement() called twice

Signed-off-by: wangjer <[email protected]>

* Remove unused import

Signed-off-by: wangjer <[email protected]>

---------

Signed-off-by: wangjer <[email protected]>
Co-authored-by: Peter Mitri <[email protected]>
Co-authored-by: phiedw <[email protected]>
Co-authored-by: Thomas Bouquet <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* TemporalData::map (#1251)

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

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

Signed-off-by: Pauline Jean-Marie <[email protected]>
Co-authored-by: Pauline Jean-Marie <[email protected]>
Co-authored-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

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

Signed-off-by: CHEN Roxane <[email protected]>

* timestamp in variables and constraints (#1259)

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Make MonitoringResult combine function thread safe (#1260)

* make combine thread safe

Signed-off-by: CHEN Roxane <[email protected]>

* add comment

Signed-off-by: CHEN Roxane <[email protected]>

---------

Signed-off-by: CHEN Roxane <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Global balancing constraint (#1250)

* add global balancing constraint

Signed-off-by: Thomas Bouquet <[email protected]>

* add cucumber tests

Signed-off-by: CHEN Roxane <[email protected]>

* fix docs

Signed-off-by: Thomas Bouquet <[email protected]>

* Update crac-93-1-3.json

Signed-off-by: Roxane Chen <[email protected]>

* add comment

Signed-off-by: CHEN Roxane <[email protected]>

* merge main

Signed-off-by: Thomas Bouquet <[email protected]>

* add constants in doc

Signed-off-by: Thomas Bouquet <[email protected]>

* Update CoreProblemFiller.java

Signed-off-by: Roxane Chen <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>
Signed-off-by: Roxane Chen <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>
Co-authored-by: Roxane Chen <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Costly optimization of range actions (#1243)

* add costly variables and constraints

Signed-off-by: Thomas Bouquet <[email protected]>

* docs

Signed-off-by: Thomas Bouquet <[email protected]>

* cucumber tests

Signed-off-by: Thomas Bouquet <[email protected]>

* rollback absolute variation

Signed-off-by: Thomas Bouquet <[email protected]>

* typo

Signed-off-by: Thomas Bouquet <[email protected]>

* remove continuous tests

Signed-off-by: Thomas Bouquet <[email protected]>

* only allow APPROXIMATED_INTEGERS mode for costly optimization

Signed-off-by: Thomas Bouquet <[email protected]>

* fix doc

Signed-off-by: Thomas Bouquet <[email protected]>

* average cost/angle for PSTs

Signed-off-by: Thomas Bouquet <[email protected]>

* introduce tap variables

Signed-off-by: Thomas Bouquet <[email protected]>

* minor fixes

Signed-off-by: Thomas Bouquet <[email protected]>

* fix tests and doc

Signed-off-by: Thomas Bouquet <[email protected]>

* sonar

Signed-off-by: Thomas Bouquet <[email protected]>

* fix after comments

Signed-off-by: Thomas Bouquet <[email protected]>

* merge main

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

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

Signed-off-by: Olivier Perrin <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* duplicate redispatching test in costly (#1261)

Signed-off-by: Thomas Bouquet <[email protected]>
Co-authored-by: Godelaine <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Angle monitoring noglsk (#1249)

* fix typo

Signed-off-by: CHEN Roxane <[email protected]>

* crash if incomplete GLSK error

Signed-off-by: CHEN Roxane <[email protected]>

* fix style

Signed-off-by: CHEN Roxane <[email protected]>

* draft

Signed-off-by: CHEN Roxane <[email protected]>

* set MonitoringResult status to FAILURE when no GLSK given

Signed-off-by: CHEN Roxane <[email protected]>

* change global log message

Signed-off-by: CHEN Roxane <[email protected]>

* fix test

Signed-off-by: CHEN Roxane <[email protected]>

* Update Monitoring.java

Signed-off-by: Roxane Chen <[email protected]>

---------

Signed-off-by: CHEN Roxane <[email protected]>
Signed-off-by: Roxane Chen <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>
Co-authored-by: Godelaine <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Inter-Temporal Pool (#1235)

* create class InterTemporalRaoInput

Signed-off-by: CHEN Roxane <[email protected]>

* removed parameters from input class

Signed-off-by: CHEN Roxane <[email protected]>

* WIP Beginning of InterTemporal Sensitivity Analysis

Signed-off-by: CHEN Roxane <[email protected]>

* add LF and sensi values in test

Signed-off-by: Thomas Bouquet <[email protected]>

* Fixed sensi computation in parallel

Signed-off-by: CHEN Roxane <[email protected]>

* add InterTemporalParameters

Signed-off-by: CHEN Roxane <[email protected]>

* more relevant tests

Signed-off-by: Thomas Bouquet <[email protected]>

* merge head

Signed-off-by: CHEN Roxane <[email protected]>

* add json for inter temporal parameter

Signed-off-by: CHEN Roxane <[email protected]>

* fix style

Signed-off-by: CHEN Roxane <[email protected]>

* fix tests

Signed-off-by: Thomas Bouquet <[email protected]>

* parallel RAOs

Signed-off-by: Thomas Bouquet <[email protected]>

* use right Pait class

Signed-off-by: Thomas Bouquet <[email protected]>

* intertemporal pool

Signed-off-by: Thomas Bouquet <[email protected]>

* use of inter-temporal pool for parallel computation

Signed-off-by: Thomas Bouquet <[email protected]>

* some fixes

Signed-off-by: Thomas Bouquet <[email protected]>

* refactored inputs

Signed-off-by: Thomas Bouquet <[email protected]>

* changes after comments

Signed-off-by: Thomas Bouquet <[email protected]>

* use ThreadPoolExecutor for more relevant nested inter temporal pools

Signed-off-by: Thomas Bouquet <[email protected]>

* remove inter-temporal extension of parameters

Signed-off-by: Thomas Bouquet <[email protected]>

* fix tests

Signed-off-by: Thomas Bouquet <[email protected]>

* add unit test

Signed-off-by: CHEN Roxane <[email protected]>

* fix style

Signed-off-by: CHEN Roxane <[email protected]>

* use ForkJoinPool again

Signed-off-by: Thomas Bouquet <[email protected]>

* remove useless files

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: CHEN Roxane <[email protected]>
Signed-off-by: Thomas Bouquet <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>
Co-authored-by: Thomas Bouquet <[email protected]>
Co-authored-by: Thomas Bouquet <[email protected]>
Co-authored-by: Godelaine <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Power Gradient Constraint filler (#1257)

* Update gradient API

Signed-off-by: Thomas Bouquet <[email protected]>

* Gradient MIP equations in doc

Signed-off-by: Thomas Bouquet <[email protected]>

* fix problems on min/max signums

Signed-off-by: Thomas Bouquet <[email protected]>

* preparatory work for PGC filler

Signed-off-by: Thomas Bouquet <[email protected]>

* complete PowerGradientConstraintFiller + fix style

Signed-off-by: CHEN Roxane <[email protected]>

* rename to PowerGradient

Signed-off-by: Thomas Bouquet <[email protected]>

* rename to PowerGradientBuilder

Signed-off-by: Thomas Bouquet <[email protected]>

* docstring for PowerGradient

Signed-off-by: Thomas Bouquet <[email protected]>

* add Unit Test

Signed-off-by: CHEN Roxane <[email protected]>

* sonar

Signed-off-by: Thomas Bouquet <[email protected]>

* rename p0 to initialPower

Signed-off-by: Thomas Bouquet <[email protected]>

* merge main

Signed-off-by: Thomas Bouquet <[email protected]>

* update tests

Signed-off-by: Thomas Bouquet <[email protected]>

* add to do

Signed-off-by: CHEN Roxane <[email protected]>

* simplify function

Signed-off-by: CHEN Roxane <[email protected]>

* merge main

Signed-off-by: Thomas Bouquet <[email protected]>

* fix after review

Signed-off-by: CHEN Roxane <[email protected]>

* fix style

Signed-off-by: CHEN Roxane <[email protected]>

* merge main and update docs

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* 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 <[email protected]>
Co-authored-by: Philippe Edwards <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

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

* fix format of datetimes in variable names

Signed-off-by: Thomas Bouquet <[email protected]>

* use formatName for new variables and constraint

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

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

* Handle multi-curative in 2P global opt

Signed-off-by: Thomas Bouquet <[email protected]>

* cucumber test for validation of feature

Signed-off-by: Thomas Bouquet <[email protected]>

* merge main

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Co-authored-by: Godelaine <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Partial Failure and completeData (#1256)

* draft

Signed-off-by: CHEN Roxane <[email protected]>

* partial_failure fix

Signed-off-by: CHEN Roxane <[email protected]>

* fix import

Signed-off-by: CHEN Roxane <[email protected]>

* partial failure fix + automaton

Signed-off-by: CHEN Roxane <[email protected]>

* fix style

Signed-off-by: CHEN Roxane <[email protected]>

* add Unit Test

Signed-off-by: CHEN Roxane <[email protected]>

* clean up code

Signed-off-by: CHEN Roxane <[email protected]>

* add unit test

Signed-off-by: CHEN Roxane <[email protected]>

---------

Signed-off-by: CHEN Roxane <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>
Co-authored-by: phiedw <[email protected]>
Co-authored-by: Godelaine <[email protected]>

* ComputeHvdcAngleDroopActivePowerControlValue with getP (#1269)

* use getP to avoid nullpointer

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* adapt cucumber

Signed-off-by: Godelaine de Montmorillon <[email protected]>

---------

Signed-off-by: Godelaine de Montmorillon <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Delete mvn compiler version (#1270)

* delete useless compiler version(inherited from powsybl parent)

Signed-off-by: Godelaine de Montmorillon <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* prepare release v6.3.0

Signed-off-by: Godelaine de Montmorillon <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* prepare next release v6.4.0-SNAPSHOT

Signed-off-by: Godelaine de Montmorillon <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

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

Signed-off-by: Philippe Edwards <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Feature/timestamp in crac api (#1265)

* add timestamp in CRAC API

Signed-off-by: Thomas Bouquet <[email protected]>

* first works on JSON Crac with timestamp

Signed-off-by: Thomas Bouquet <[email protected]>

* add timestamp in state

Signed-off-by: Thomas Bouquet <[email protected]>

* deserialize ts

Signed-off-by: Thomas Bouquet <[email protected]>

* fix test

Signed-off-by: Thomas Bouquet <[email protected]>

* some fixes after comments

Signed-off-by: Thomas Bouquet <[email protected]>

* state id in helper

Signed-off-by: Thomas Bouquet <[email protected]>

* test to cover State API

Signed-off-by: Thomas Bouquet <[email protected]>

* date and author

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Co-authored-by: Godelaine <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Add offsetdatetime in cracparameter (#1274)

* add timestamp to crac creation parameters

Signed-off-by: CHEN Roxane <[email protected]>

* fix tests

Signed-off-by: CHEN Roxane <[email protected]>

* fix tests

Signed-off-by: CHEN Roxane <[email protected]>

* fix cse test

Signed-off-by: CHEN Roxane <[email protected]>

* fix fbconstraint test

Signed-off-by: CHEN Roxane <[email protected]>

* fix csa test

Signed-off-by: CHEN Roxane <[email protected]>

* fix style

Signed-off-by: CHEN Roxane <[email protected]>

* fix test

Signed-off-by: CHEN Roxane <[email protected]>

* fix json deserializer

Signed-off-by: CHEN Roxane <[email protected]>

* fix cucumber tests

Signed-off-by: CHEN Roxane <[email protected]>

* Remove Todo

Signed-off-by: CHEN Roxane <[email protected]>

* fix doc

Signed-off-by: CHEN Roxane <[email protected]>

* clean

Signed-off-by: CHEN Roxane <[email protected]>

* fix test

Signed-off-by: CHEN Roxane <[email protected]>

* add fb constraint extension doc

Signed-off-by: CHEN Roxane <[email protected]>

* add UT

Signed-off-by: CHEN Roxane <[email protected]>

* fic UT

Signed-off-by: CHEN Roxane <[email protected]>

* FbConstraintCracCreationParameters to FbconstraintCracCreatorParameters + fix duplicate line ?

Signed-off-by: CHEN Roxane <[email protected]>

* fix

Signed-off-by: CHEN Roxane <[email protected]>

* fix private cucumber tests

Signed-off-by: CHEN Roxane <[email protected]>

* review fix

Signed-off-by: CHEN Roxane <[email protected]>

* fix merge conflict

Signed-off-by: CHEN Roxane <[email protected]>

---------

Signed-off-by: CHEN Roxane <[email protected]>
Signed-off-by: Roxane Chen <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: Philippe Edwards <[email protected]>

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

Signed-off-by: Philippe Edwards <[email protected]>

* fix broken test after merge

Signed-off-by: Thomas Bouquet <[email protected]>

* fix version greater or equal to equal in deserializer

Signed-off-by: Philippe Edwards <[email protected]>

---------

Signed-off-by: Philippe Edwards <[email protected]>
Signed-off-by: Thomas Bouquet <[email protected]>
Co-authored-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

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

** add ptdfSumLowerBound to ptdfSums in evaluator

Signed-off-by: Godelaine de Montmorillon <[email protected]>
Co-authored-by: MURGEY Sebastien <[email protected]>
Co-authored-by: Philippe Edwards <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

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

* marmot first implementation

Signed-off-by: Thomas Bouquet <[email protected]>

* typo

Signed-off-by: Thomas Bouquet <[email protected]>

* add TODOs

Signed-off-by: Thomas Bouquet <[email protected]>

* typo in TODO

Signed-off-by: Thomas Bouquet <[email protected]>

* add initial sensi computation

Signed-off-by: CHEN Roxane <[email protected]>

* add topologyChanger + UT

Signed-off-by: CHEN Roxane <[email protected]>

* fic style

Signed-off-by: CHEN Roxane <[email protected]>

* Add Result Merger

Signed-off-by: CHEN Roxane <[email protected]>

* refactor skeleton

Signed-off-by: Thomas Bouquet <[email protected]>

* parameters order

Signed-off-by: Thomas Bouquet <[email protected]>

* introduce skeleton

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* inter-temporal linear optimization inputs ready

Signed-off-by: Thomas Bouquet <[email protected]>

* create fillers from linear optimizer input

Signed-off-by: Thomas Bouquet <[email protected]>

* adapt PowerGradientConstraintFiller inputs

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* minor

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* fix inputs of gradient filler

Signed-off-by: Thomas Bouquet <[email protected]>

* round set-point values

Signed-off-by: Thomas Bouquet <[email protected]>

* finalize first version of optimizer

Signed-off-by: Thomas Bouquet <[email protected]>

* fix parameters for compiling

Signed-off-by: Thomas Bouquet <[email protected]>

* add TODO

Signed-off-by: Thomas Bouquet <[email protected]>

* create global objective function

Signed-off-by: Thomas Bouquet <[email protected]>

* evaluate global objective function

Signed-off-by: Thomas Bouquet <[email protected]>

* first marmot test

Signed-off-by: Thomas Bouquet <[email protected]>

* MARMOT works !!

Signed-off-by: Thomas Bouquet <[email protected]>

* use initial scenario id

Signed-off-by: Thomas Bouquet <[email protected]>

* fix tests

Signed-off-by: Thomas Bouquet <[email protected]>

* test with rd

Signed-off-by: Thomas Bouquet <[email protected]>

* test with power gradient constraint

Signed-off-by: Thomas Bouquet <[email protected]>

* use individual rao result cost

Signed-off-by: Thomas Bouquet <[email protected]>

* create dedicated module for results

Signed-off-by: Thomas Bouquet <[email protected]>

* use only one linear opt result

Signed-off-by: Thomas Bouquet <[email protected]>

* add tests and fixes

Signed-off-by: Thomas Bouquet <[email protected]>

* tests global linear optimization result

Signed-off-by: Thomas Bouquet <[email protected]>

* use ProblemFillerHelper in castor

Signed-off-by: Thomas Bouquet <[email protected]>

* remove useless attributes

Signed-off-by: Thomas Bouquet <[email protected]>

* add new tests for global results

Signed-off-by: Thomas Bouquet <[email protected]>

* include preventive network actions in objective function evaluation

Signed-off-by: Thomas Bouquet <[email protected]>

* cleaning, comments, logging

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* explicit TODOs

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* delete TODO

Signed-off-by: Godelaine de Montmorillon <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>
Signed-off-by: Godelaine de Montmorillon <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>
Co-authored-by: Godelaine de Montmorillon <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Fix the action status badge (#1288)

Signed-off-by: Olivier Perrin <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* 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 <[email protected]>

* fix bad @author tag

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Clean up pom (#1281)

* Remove redundant dependency version overrides

Signed-off-by: CHEN Roxane <[email protected]>

* add project artefacts

Signed-off-by: CHEN Roxane <[email protected]>

* remove unused dependency

Signed-off-by: CHEN Roxane <[email protected]>

---------

Signed-off-by: CHEN Roxane <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>
Co-authored-by: Godelaine <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Priority ucte network analyser (#1280)

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

Signed-off-by: Philippe Edwards <[email protected]>

* modify cbcora importer to prioritize element names over order codes

Signed-off-by: Philippe Edwards <[email protected]>

---------

Signed-off-by: Philippe Edwards <[email protected]>
Co-authored-by: Godelaine <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Generator constraints (#1293)

* generator constraints

Signed-off-by: Thomas Bouquet <[email protected]>

* add generator constraints module

Signed-off-by: Thomas Bouquet <[email protected]>

* deprecate PowerGradient

Signed-off-by: Thomas Bouquet <[email protected]>

* update pom

Signed-off-by: Thomas Bouquet <[email protected]>

* update main pom

Signed-off-by: Thomas Bouquet <[email protected]>

* update distribution pom

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* [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 <[email protected]>

* coherent group name

Signed-off-by: Thomas Bouquet <[email protected]>

* remove useless TODO

Signed-off-by: Thomas Bouquet <[email protected]>

* sonar

Signed-off-by: Thomas Bouquet <[email protected]>

* logs, fix clear(), add UT

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* checkstyle

Signed-off-by: Godelaine de Montmorillon <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: Godelaine de Montmorillon <[email protected]>
Co-authored-by: Godelaine de Montmorillon <[email protected]>
Co-authored-by: Godelaine <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: Philippe Edwards <[email protected]>

---------

Signed-off-by: MURGEY Sebastien <[email protected]>
Signed-off-by: Philippe Edwards <[email protected]>
Co-authored-by: MURGEY Sebastien <[email protected]>
Co-authored-by: Godelaine <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* remove power gradients (#1295)

Signed-off-by: Thomas Bouquet <[email protected]>
Co-authored-by: Godelaine <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Cleaning/intertemporal features cleaner (#1289)

* remove some TODOs

Signed-off-by: Thomas Bouquet <[email protected]>

* add log

Signed-off-by: CHEN Roxane <[email protected]>

* log initial and final costs

Signed-off-by: Thomas Bouquet <[email protected]>

* add new SumMaxPerTimestampCostEvaluatorResult

Signed-off-by: CHEN Roxane <[email protected]>

* better tests names

Signed-off-by: Thomas Bouquet <[email protected]>

* remove useless method

Signed-off-by: Thomas Bouquet <[email protected]>

* merge identical methods

Signed-off-by: Thomas Bouquet <[email protected]>

* remove max cost evaluator

Signed-off-by: Thomas Bouquet <[email protected]>

* add comments in evaluator tests

Signed-off-by: Thomas Bouquet <[email protected]>

* add TODO for cost checking

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>
Co-authored-by: Godelaine <[email protected]>

* Ignore duplicated CNECs in RAO status (#1303)

* add exlude cnecs function

Signed-off-by: CHEN Roxane <[email protected]>

* add excludeCnecs in getCost

Signed-off-by: CHEN Roxane <[email protected]>

* add log and reevaluate cost

Signed-off-by: CHEN Roxane <[email protected]>

* remove cnec from raoresult

Signed-off-by: CHEN Roxane <[email protected]>

* remove unecessary class

Signed-off-by: CHEN Roxane <[email protected]>

* fix

Signed-off-by: CHEN Roxane <[email protected]>

* fix for merge

Signed-off-by: CHEN Roxane <[email protected]>

* fix

Signed-off-by: CHEN Roxane <[email protected]>

* remove unnecessary class

Signed-off-by: CHEN Roxane <[email protected]>

* sonarfix

Signed-off-by: CHEN Roxane <[email protected]>

* review correction

Signed-off-by: CHEN Roxane <[email protected]>

* clean up

Signed-off-by: CHEN Roxane <[email protected]>

* fix type

Signed-off-by: CHEN Roxane <[email protected]>

* log

Signed-off-by: CHEN Roxane <[email protected]>

* typo fix

Signed-off-by: CHEN Roxane <[email protected]>

* clean up

Signed-off-by: CHEN Roxane <[email protected]>

* clean up

Signed-off-by: CHEN Roxane <[email protected]>

---------

Signed-off-by: CHEN Roxane <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>

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

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

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* 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 <[email protected]>

* fix

Signed-off-by: Godelaine de Montmorillon <[email protected]>

---------

Signed-off-by: Godelaine de Montmorillon <[email protected]>
Co-authored-by: Godelaine <[email protected]>
Co-authored-by: Godelaine de Montmorillon <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* store highest threshold in evaluator result (#1322)

Signed-off-by: Philippe Edwards <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* 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 <[email protected]>

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

Signed-off-by: Olivier Perrin <[email protected]>

* Bump core to 6.7.0-RC1

Signed-off-by: Olivier Perrin <[email protected]>

* Bump core to 6.7.0 and OLF to 1.15.0

Signed-off-by: Olivier Perrin <[email protected]>

* Bump powsybl-entsoe to 2.13.0

Signed-off-by: Olivier Perrin <[email protected]>

---------

Signed-off-by: Olivier Perrin <[email protected]>
Co-authored-by: Godelaine <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* prepare release v6.4.0

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* prepare next release v6.5.0-SNAPSHOT

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* serialize PST's tap

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* remove useless exception

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* retrocompatibility test

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* initialTap

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

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

* renamed add method in temporal data to put

Signed-off-by: Philippe Edwards <[email protected]>

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

This reverts commit 89a23c01bcc6281c83a3f460fddd5df4ee05909c.

* only changed add for temporalData

Signed-off-by: Philippe Edwards <[email protected]>

---------

Signed-off-by: Philippe Edwards <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

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

* Move jniortools import into a separate thread.

Signed-off-by: thiriondan <[email protected]>

* Add EOF

Signed-off-by: thiriondan <[email protected]>

* Revert "Add EOF"

This reverts commit 6ce6ce4194c18a6aa4261ec88d92eaa387207176.

Signed-off-by: thiriondan <[email protected]>

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

This reverts commit 081280b6d8141c85a4417e554c5e00aa83da6707.

Signed-off-by: thiriondan <[email protected]>

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

Signed-off-by: thiriondan <[email protected]>

---------

Signed-off-by: thiriondan <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* All optional attributes in GeneratorConstraints (#1345)

* optional attributes in GeneratorConstraints

Signed-off-by: Thomas Bouquet <[email protected]>

* coverage

Signed-off-by: Thomas Bouquet <[email protected]>

* fix test

Signed-off-by: Thomas Bouquet <[email protected]>

* sonar

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Renaming CSA profiles to NC (#1340)

* rename CSA profiles to NC

Signed-off-by: Thomas Bouquet <[email protected]>

* remove CSA occurrences

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Remove auto search tree (#1318)

* remove auto search tree

Signed-off-by: Thomas Bouquet <[email protected]>

* update json parameters

Signed-off-by: Thomas Bouquet <[email protected]>

* remove auto search tree cucumber tests

Signed-off-by: Thomas Bouquet <[email protected]>

* update doc

Signed-off-by: Thomas Bouquet <[email protected]>

* remove max-auto-depth occurrences

Signed-off-by: Thomas Bouquet <[email protected]>

* remove max-auto-depth occurrences in docs

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Co-authored-by: Godelaine <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* 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 <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

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

* no longer export flows for instants after cnec's

Signed-off-by: Thomas Bouquet <[email protected]>

* fix typo in exception

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* Extract features from idcc test data (#1353)

* TemporalDataImpl : treeMap for reproductibility

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* offsetDateTime in FbConstraintCracCreator

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* perf: memoize previous state

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* add epsilon for range action filtering (range)

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* validate

Signed-off-by: Godelaine de Montmorillon <[email protected]>

---------

Signed-off-by: Godelaine de Montmorillon <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* fix merge main

Signed-off-by: CHEN Roxane <[email protected]>

* Refactor RemedialActionActivationResult to handle actions per state.

Signed-off-by: CHEN Roxane <[email protected]>

* Change RAO type from SEARCH_TREE_RAO to FAST_RAO in tests.

Signed-off-by: CHEN Roxane <[email protected]>

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

Signed-off-by: CHEN Roxane <[email protected]>

* remove unecessary function

Signed-off-by: CHEN Roxane <[email protected]>

* clean up

Signed-off-by: CHEN Roxane <[email protected]>

* remove unecessary import

Signed-off-by: CHEN Roxane <[email protected]>

* Remove unused flowbased-related modules (#1356)

* remove unused flowbased-related modules

Signed-off-by: Thomas Bouquet <[email protected]>

* update pom

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

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

* add isManual is queries

Signed-off-by: Thomas Bouquet <[email protected]>

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

Signed-off-by: Thomas Bouquet <[email protected]>

* add TODO

Signed-off-by: Thomas Bouquet <[email protected]>

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

Signed-off-by: Thomas Bouquet <[email protected]>

* TODO

Signed-off-by: Thomas Bouquet <[email protected]>

* update doc

Signed-off-by: Thomas Bouquet <[email protected]>

* add NC file in doc tree

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

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

* rename monitoring to open-rao-monitoring

Signed-off-by: Thomas Bouquet <[email protected]>

* update poms

Signed-off-by: Thomas Bouquet <[email protected]>

---------

Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* update log

Signed-off-by: CHEN Roxane <[email protected]>

* todo

Signed-off-by: CHEN Roxane <[email protected]>

* add fast rao parameters

Signed-off-by: CHEN Roxane <[email protected]>

* correct JsonRaoParametersTest

Signed-off-by: CHEN Roxane <[email protected]>

* add config loader + make the extension optional

Signed-off-by: CHEN Roxane <[email protected]>

* add tests

Signed-off-by: CHEN Roxane <[email protected]>

* branch fast rao parameters in code

Signed-off-by: CHEN Roxane <[email protected]>

* test fast rao in cucumber

Signed-off-by: CHEN Roxane <[email protected]>

* clean up

Signed-off-by: CHEN Roxane <[email protected]>

* add todo doc

Signed-off-by: CHEN Roxane <[email protected]>

* typo

Signed-off-by: CHEN Roxane <[email protected]>

* move check

Signed-off-by: CHEN Roxane <[email protected]>

* keep marmot change

Signed-off-by: CHEN Roxane <[email protected]>

* add fast rao doc

Signed-off-by: CHEN Roxane <[email protected]>

* typo

Signed-off-by: CHEN Roxane <[email protected]>

* typo

Signed-off-by: CHEN Roxane <[email protected]>

* add fast rao slide to doc

Signed-off-by: CHEN Roxane <[email protected]>

* variant manager correction

Signed-off-by: CHEN Roxane <[email protected]>

* add UT FastRaoResultImplTest

Signed-off-by: CHEN Roxane <[email protected]>

* update doc

Signed-off-by: CHEN Roxane <[email protected]>

* update doc

Signed-off-by: CHEN Roxane <[email protected]>

* revert and move to other branch

Signed-off-by: CHEN Roxane <[email protected]>

* Fast rao/add raoresult extension (#1387)

* add considered to FastRaoResultImpl

Signed-off-by: CHEN Roxane <[email protected]>

* fast rao result specific serializer and deserializer

Signed-off-by: CHEN Roxane <[email protected]>

* correction

Signed-off-by: CHEN Roxane <[email protected]>

* add fast rao extension + UT

Signed-off-by: CHEN Roxane <[email protected]>

* rename function

Signed-off-by: CHEN Roxane <[email protected]>

---------

Signed-off-by: CHEN Roxane <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>

* merge main

Signed-off-by: CHEN Roxane <[email protected]>

* correct merge issue

Signed-off-by: CHEN Roxane <[email protected]>

* correct merge issue pt2

Signed-off-by: CHEN Roxane <[email protected]>

* move fastrao doc to performance.md

Signed-off-by: CHEN Roxane <[email protected]>

* wip max min margin with fast rao

Signed-off-by: CHEN Roxane <[email protected]>

* update doc

Signed-off-by: CHEN Roxane <[email protected]>

* remove test

Signed-off-by: CHEN Roxane <[email protected]>

* fix after merge

Signed-off-by: Thomas Bouquet <[email protected]>

* bump parameters to v3.2 and add changelog

Signed-off-by: Thomas Bouquet <[email protected]>

* update doc + add gif

Signed-off-by: CHEN Roxane <[email protected]>

* center text

Signed-off-by: CHEN Roxane <[email protected]>

* complete tutorial

Signed-off-by: CHEN Roxane <[email protected]>

* update tutorial.md

Signed-off-by: CHEN Roxane <[email protected]>

* fix typo

Signed-off-by: CHEN Roxane <[email protected]>

* fix typo

Signed-off-by: CHEN Roxane <[email protected]>

* fix style

Signed-off-by: CHEN Roxane <[email protected]>

* style

Signed-off-by: CHEN Roxane <[email protected]>

* fix tests

Signed-off-by: Thomas Bouquet <[email protected]>

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

Signed-off-by: Philippe Edwards <[email protected]>

* merge main

Signed-off-by: Philippe Edwards <[email protected]>

* add comments to getRaLimitationParameters

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* doc

Signed-off-by: CHEN Roxane <[email protected]>

* doc

Signed-off-by: CHEN Roxane <[email protected]>

* 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 <[email protected]>

* clean/ adapt US20_1

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* fix merge

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* delete re-optimize everywhere

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* update parameter files

* update values far from ref

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* add CriticalCnecsResult extension to rao result + serializer and deserializer

Signed-off-by: CHEN Roxane <[email protected]>

* Add AbstractExtendable inheritance to InterTemporalRao classes

Signed-off-by: CHEN Roxane <[email protected]>

* fix values

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* Add utility class for JSON serialization of RaoResult extensions

Signed-off-by: CHEN Roxane <[email protected]>

* started changing loadflow calls

Signed-off-by: Philippe Edwards <[email protected]>

* add UT to improve sonar

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* checkstyle

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* improve sonar

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* fix test

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* more sonar

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* erreurs de compil residuelles critical cnecs

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* reliquat erreurs residuelles critical cnecs

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* force SearchTreeRao in Marmot

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* adapt runFilteredRao

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* force 2P reoptimization on US 20_1

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* IO exception never thrown

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* skip multi-curative

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* broken link

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* unused test files

Signed-off-by: Godelaine de Montmorillon <[email protected]>

* Async PostPerimeterSensitivityAnalysis run

Signed-off-by: CHEN Roxane <[email protected]>

* add comment

Signed-off-by: CHEN Roxane <[email protected]>

* mvn validate

Signed-off-by: CHEN Roxane <[email protected]>

* refacto

Signed-off-by: CHEN Roxane <[email protected]>

* todo

Signed-off-by: CHEN Roxane <[email protected]>

* use pre perimeter result

Signed-off-by: CHEN Roxane <[email protected]>

* only keep activated range action

Signed-off-by: CHEN Roxane <[email protected]>

* exclude duplicate cnec from final cost

Signed-off-by: CHEN Roxane <[email protected]>

* change fast rao continue condition

Signed-off-by: CHEN Roxane <[email protected]>

* add new condition

Signed-off-by: CHEN Roxane <[email protected]>

* export result (temporary to delete)

Signed-off-by: CHEN Roxane <[email protected]>

* some refactoring

Signed-off-by: CHEN Roxane <[email protected]>

* some refactoring

Signed-off-by: CHEN Roxane <[email protected]>

* fix UT

Signed-off-by: CHEN Roxane <[email protected]>

* match main

Signed-off-by: CHEN Roxane <[email protected]>

* Select rao implementation for cucumber tests in properties file

Signed-off-by: Vincent BOCHET <[email protected]>

* Generalize abstraction of rao implementation in Cucumber step definitions

Signed-off-by: Vincent BOCHET <[email protected]>

* Rename methods to be rao-agnostic

Signed-off-by: Vincent BOCHET <[email protected]>

---------

Signed-off-by: CHEN Roxane <[email protected]>
Signed-off-by: Philippe Edwards <[email protected]>
Signed-off-by: Peter Mitri <[email protected]>
Signed-off-by: Thomas Bouquet <[email protected]>
Signed-off-by: Godelaine de Montmorillon <[email protected]>
Signed-off-by: wangjer <[email protected]>
Signed-off-by: Pauline Jean-Marie <[email protected]>
Signed-off-by: Roxane Chen <[email protected]>
Signed-off-by: Olivier Perrin <[email protected]>
Signed-off-by: MURGEY Sebastien <[email protected]>
Signed-off-by: thiriondan <[email protected]>
Signed-off-by: Vincent BOCHET <[email protected]>
Co-authored-by: CHEN Roxane <[email protected]>
Co-authored-by: Philippe Edwards <[email protected]>
Co-authored-by: Roxane Chen <[email protected]>
Co-authored-by: Peter Mitri <[email protected]>
Co-authored-by: Thomas Bouquet <[email protected]>
Co-authored-by: Godelaine de Montmorillon <[email protected]>
Co-authored-by: Thomas Bouquet <[email protected]>
Co-authored-by: Godelaine <[email protected]>
Co-authored-by: Jérémy Wang <[email protected]>
Co-authored-by: pjeanmarie <[email protected]>
Co-authored-by: Pauline Jean-Marie <[email protected]>
Co-authored-by: Sébastien Murgey <[email protected]>
Co-authored-by: Olivier Perrin <[email protected]>
Co-authored-by: Viktor Terrier <[email protected]>
Co-authored-by: danielthirion <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>
@RoxaneChen02 RoxaneChen02 changed the base branch from feat/add_ac_emulation_deactivation_action to main November 24, 2025 13:38
@RoxaneChen02 RoxaneChen02 changed the base branch from main to feat/add_ac_emulation_deactivation_action November 24, 2025 13:38
@sonarqubecloud
Copy link

Please retry analysis of this Pull-Request directly on SonarQube Cloud

Signed-off-by: CHEN Roxane <[email protected]>
Signed-off-by: CHEN Roxane <[email protected]>
@Godelaine Godelaine added the next-release This issue or pull request should be resolved before next release label Nov 24, 2025
Signed-off-by: CHEN Roxane <[email protected]>
# Conflicts:
#	ra-optimisation/search-tree-rao/src/main/java/com/powsybl/openrao/searchtreerao/castor/algorithm/CastorFullOptimization.java
#	ra-optimisation/search-tree-rao/src/test/java/com/powsybl/openrao/searchtreerao/castor/algorithm/CastorFullOptimizationTest.java
Signed-off-by: CHEN Roxane <[email protected]>
Godelaine
Godelaine previously approved these changes Nov 28, 2025
Base automatically changed from feat/add_ac_emulation_deactivation_action to main November 28, 2025 07:45
@Godelaine Godelaine dismissed their stale review November 28, 2025 07:45

The base branch was changed.

@Godelaine Godelaine added PR: ready-to-be-merged This PR is waiting to be merged and removed PR: waiting-for-correction This PR is waiting to be corrected by its author labels Nov 28, 2025
Signed-off-by: Godelaine de Montmorillon <[email protected]>
@sonarqubecloud
Copy link

@Godelaine Godelaine merged commit 3995591 into main Nov 28, 2025
13 checks passed
@Godelaine Godelaine deleted the feature/hvdc_apply_bug branch November 28, 2025 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

next-release This issue or pull request should be resolved before next release PR: ready-to-be-merged This PR is waiting to be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Split HVDC range action into a network action and a range action

6 participants