powsybl / powsybl-open-rao

A toolbox based on powsybl framework dedicated to power systems coordinated capacity calculation and security analysis projects
Mozilla Public License 2.0
15 stars 6 forks source link

Improve PRAO2 performance #1108

Open pet-mit opened 1 month ago

pet-mit commented 1 month ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem?

Fixes #1061

What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior (if this is a feature change)?

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

If yes, please check if the following requirements are fulfilled

What changes might users need to make in their application due to this PR? (migration steps)

Other information:

pet-mit commented 1 month ago

Tested on cucumber tests but the performance improvement does not seem huge. To do if validated : add tests + see if new methods can be used elsewhere

phiedw commented 1 month ago

I'll have to do check properly but I think the copy is now much much faster, so this is probably why the gains were small.