Skip to content

Commit 33acdac

Browse files
committed
Fix comments in DcTopologyModel and DcTopologyModelTest.
Signed-off-by: Landry Huet <landry.huet@supergrid-institute.com>
1 parent 18807c8 commit 33acdac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

iidm/iidm-impl/src/main/java/com/powsybl/iidm/network/impl/DcTopologyModel.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
* It is only meant to be used in NetworkImpl.
3030
* DC buses are parts of the DC network with the same voltage, i.e. connected by
3131
* zero impedance links. The only links with zero impedance are closed DcSwitches
32-
* with non-zero resistance.
32+
* with zero resistance.
33+
* Only nodes with terminal create buses. In particular, disconnected nodes do
34+
* not create buses.
3335
*
3436
*/
3537
class DcTopologyModel implements MultiVariantObject {

iidm/iidm-impl/src/test/java/com/powsybl/iidm/network/impl/DcTopologyModelTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package com.powsybl.iidm.network.impl;
22

3-
//import com.powsybl.commons.PowsyblException;
4-
//import com.powsybl.commons.ref.RefChain;
53
import com.powsybl.iidm.network.*;
64
import org.junit.jupiter.api.Test;
75

0 commit comments

Comments
 (0)