powsybl-core icon indicating copy to clipboard operation
powsybl-core copied to clipboard

Matpower: export dclines

Open marqueslanauja opened this issue 11 months ago • 1 comments

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?

What kind of change does this PR introduce?

Vsc HvdcLines are exported as dcLines.

What is the current behavior?

Vsc HvdcLines are exported as two independent generators.

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

Vsc HvdcLines are exported as dcLines Bus numbers are preserved if the iidm model has been imported from matpower.

The status of the dcLine is imported and exported. Disconnected hvdcLines are exported with status 0 if the connectable buses are inside the main component. This change will be extended to all equipment in a separated PR.

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

  • [ ] Yes
  • [x] No

If yes, please check if the following requirements are fulfilled

  • [ ] The Breaking Change or Deprecated label has been added
  • [ ] The migration steps are described in the following section

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

Other information:

marqueslanauja avatar Mar 14 '24 15:03 marqueslanauja