powsybl-core
powsybl-core copied to clipboard
Matpower: export dclines
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:
Quality Gate passed
Issues
1 New issue
0 Accepted issues
Measures
0 Security Hotspots
89.9% Coverage on New Code
0.4% Duplication on New Code
Quality Gate passed
Issues
1 New issue
0 Accepted issues
Measures
0 Security Hotspots
90.2% Coverage on New Code
0.4% Duplication on New Code