Please check if the PR fulfills these requirements
[x] The commit message follows our guidelines
[x] 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?
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.
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?
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.
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: