powsybl / powsybl-network-store

Persistent implementation of PowSyBl network based on Spring Boot
Mozilla Public License 2.0
3 stars 6 forks source link

Synchronization between views for v and angle bus values. #452

Open FranckLecuyer opened 2 months ago

FranckLecuyer commented 2 months ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem?

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

Currently, when updating the V and angle value in Bus for different topologies (NodeBreaker or BusBreaker), the synchronization between CalculatedBus and ConfiguredBus is not consistently handled across views, leading to potential inconsistencies in voltage values.

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

And when calculating a new view, the v and theta values should be taken from the other source (NodeBreaker: busview/busbreakerview; BusBreaker: busview/configuredbus).

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:

SlimaneAmar commented 2 months ago

Resolve Sonar issue ?

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
98.6% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

FranckLecuyer commented 2 months ago

Resolve Sonar issue ?

Removed