Skip to content

Commit

Permalink
rename danglingline attribute (#447)
Browse files Browse the repository at this point in the history
Signed-off-by: maissa SOUISSI <[email protected]>
  • Loading branch information
souissimai authored Mar 1, 2024
1 parent 01076a1 commit 62f9709
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public static void createBattery(VoltageLevel vl, String id, String name,
}

public static void createDanglingLine(VoltageLevel vl, String id, String name,
int node, double r, double x, double b, double g, double p0, double q0, String ucteXnodeCode) {
int node, double r, double x, double b, double g, double p0, double q0, String pairingKey) {
vl.newDanglingLine()
.setId(id)
.setName(name)
Expand All @@ -331,7 +331,7 @@ public static void createDanglingLine(VoltageLevel vl, String id, String name,
.setG(g)
.setP0(p0)
.setQ0(q0)
.setPairingKey(ucteXnodeCode)
.setPairingKey(pairingKey)
.setNode(node)
.add();
}
Expand Down

0 comments on commit 62f9709

Please sign in to comment.