Conversation
|
@bperr can you please take a look at this PR? Thanks. |
|
I added the "PR: do-not-merge" label because the IIDM v1.16 format must not be changed now that it is released. |
|
@SGI-Landry: The sign-off is missing on your commits. This makes the DCO control fail. |
No multivariant management for this attribute. Signed-off-by: Landry Huet <landry.huet@supergrid-institute.com>
I used this opportunity to enhance the test coverage of DcTopologyModel. Signed-off-by: Landry Huet <landry.huet@supergrid-institute.com>
Signed-off-by: Landry Huet <landry.huet@supergrid-institute.com>
…for now. Signed-off-by: Landry Huet <landry.huet@supergrid-institute.com>
Signed-off-by: Landry Huet <landry.huet@supergrid-institute.com>
Signed-off-by: Landry Huet <landry.huet@supergrid-institute.com>
Signed-off-by: Landry Huet <landry.huet@supergrid-institute.com>
c6ab36a to
33acdac
Compare
Thanks for pointing this out. This is now fixed. |
jeandemanged
left a comment
There was a problem hiding this comment.
here some first comments (didn't have time to complete)
| DcSwitchImpl dcSwitch = new DcSwitchImpl(networkRef, subnetworkRef, id, getName(), isFictitious(), kind, dcNode1, dcNode2, open); | ||
| dcSwitch.setR(this.r); |
There was a problem hiding this comment.
add r to DcSwitchImpl constructor, otherwise you would send an update notification with the setter (see also further comment)
There was a problem hiding this comment.
Done. Is there any reasonable way to reduce the number of arguments in the constructor?
- change comment in DcSwitch. - add r to constructor of DcSwitchImpl and add network listener call in setR.
|



Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
Fixes #3827 with basic data model and IIDM import. DGS and CGMES imports yet to come.
What kind of change does this PR introduce?
rto class DcSwitch, with default value zero.Does this PR introduce a breaking change or deprecate an API?
Change in the IIDM format. Note that while the parameter is optional, it is only written if its value is non-zero. Therefore the round-trip test would not work for a file where the resistance is specified to value zero, because it will not be re-written to the file.
Other information:
Current limitation: for now parameter
rdoes not take variants into account.