Skip to content

Commit

Permalink
Compute busview topology only for needed voltage level (#391)
Browse files Browse the repository at this point in the history
Signed-off-by: HARPER Jon <jon.harper87@gmail.com>
  • Loading branch information
jonenst authored May 13, 2022
1 parent 65515b5 commit b0ba861
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ private VoltageLevelInfos getWindingVoltageLevelInfos(Middle3WTNode node, String

@Override
public List<String> getBusStyles(String busId, VoltageLevelGraph graph) {
Bus bus = network.getBusView().getBus(busId);
Bus bus = network.getVoltageLevel(graph.getVoltageLevelInfos().getId()).getBusView().getBus(busId);
if (bus != null) {
for (Terminal t : bus.getConnectedTerminals()) {
for (FeederNode feederNode : graph.getFeederNodes()) {
Expand Down

0 comments on commit b0ba861

Please sign in to comment.