powsybl / powsybl-open-loadflow

An open source loadflow based on PowSyBl
Mozilla Public License 2.0
45 stars 7 forks source link

Computing Hvdc line loss in AC emulation #1062

Closed SylvestreSakti closed 2 months ago

SylvestreSakti commented 2 months ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem? No

What kind of change does this PR introduce? The computation of power loss due to resistance in HVDC line in AC emulation has been added.

What is the current behavior? The resistance R of an HVDC line is not taken into account, the result of this approximation is that active power transit in the HVDC line can be overestimated.

What is the new behavior (if this is a feature change)? The power loss formula has been introduced in the computation of power in AC emulation and is given in the figure below. image

The Joule loss is minor compared to the power transit so its derivative has been neglected in the computation of the Jacobian matrix.

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

Other information:

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

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

See analysis details on SonarCloud