-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete node count #1161
Delete node count #1161
Conversation
a7f3870
to
18d8cc4
Compare
iidm/iidm-xml-converter/src/main/java/com/powsybl/iidm/xml/util/IidmXmlUtil.java
Outdated
Show resolved
Hide resolved
iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/NodeBreakerVoltageLevel.java
Outdated
Show resolved
Hide resolved
iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/NodeBreakerVoltageLevel.java
Outdated
Show resolved
Hide resolved
iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/BusBreakerVoltageLevel.java
Outdated
Show resolved
Hide resolved
@MioRtia I think it's strange to not be able to reuse a vertex. How can I replace an injection by another? If it's supported by the API (remove + add), it's OK for me to keep it like this |
With this proposition, when an injection (for example) is removed and another replaces it, there is no issue. There is an issue however, when |
0a2f04c
to
df86197
Compare
36c5e6f
to
080c070
Compare
…oltage levels Signed-off-by: RALAMBOTIANA MIORA <miora.ralambotiana@rte-france.com> correct code smells Signed-off-by: RALAMBOTIANA MIORA <miora.ralambotiana@rte-france.com> Update javadoc on VoltageLevel.cleanTopology() Signed-off-by: RALAMBOTIANA MIORA <miora.ralambotiana@rte-france.com> Add removeInternalConnection + Change mechanism (delete cleanTopology and auto-clean each time a connectable, a switch or an internal connection is removed) Signed-off-by: RALAMBOTIANA MIORA <miora.ralambotiana@rte-france.com>
Signed-off-by: RALAMBOTIANA MIORA <miora.ralambotiana@rte-france.com>
Signed-off-by: RALAMBOTIANA MIORA <miora.ralambotiana@rte-france.com>
Signed-off-by: RALAMBOTIANA MIORA <miora.ralambotiana@rte-france.com>
Signed-off-by: RALAMBOTIANA MIORA <miora.ralambotiana@rte-france.com>
Signed-off-by: RALAMBOTIANA MIORA <miora.ralambotiana@rte-france.com>
Signed-off-by: RALAMBOTIANA MIORA <miora.ralambotiana@rte-france.com>
Signed-off-by: RALAMBOTIANA MIORA <miora.ralambotiana@rte-france.com>
Signed-off-by: RALAMBOTIANA MIORA <miora.ralambotiana@rte-france.com>
Signed-off-by: RALAMBOTIANA MIORA <miora.ralambotiana@rte-france.com>
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
Please check if the PR fulfills these requirements (please use
'[x]'
to check the checkboxes, or submit the PR and then click the checkboxes)Does this PR already have an issue describing the problem ?
fix #781
fix #1118
What kind of change does this PR introduce?
Bug fix
Does this PR introduce a breaking change or deprecate an API? If yes, check the following:
Other information:
In this proposition, I kept the same behaviour for
NodeBreakerVoltageLevel.cleanTopology()
thanNodeBreakerVoltageLevel.clean()
used to have with the same issues: hence, when the topology is cleaned and intermediate nodes are removed, they cannot be used again e.g. if a node/breaker voltage level only used nodes 1, 2 and 4 and is cleaned, attempting to use node 3 will throw aPowsyblException
with the messageVertex 3 not found
. Is this the behavior we want?