Skip to content

Commit

Permalink
Inclusion of Jumper in connectivity check.
Browse files Browse the repository at this point in the history
  • Loading branch information
cuihantao committed Aug 10, 2023
1 parent 39e325d commit ed06198
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions andes/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -1221,6 +1221,11 @@ def connectivity(self, info=True):
to.extend(self.Line.a2.a.tolist())
u.extend(self.Line.u.v.tolist())

# collect from Jumper
fr.extend(self.Jumper.a1.a.tolist())
to.extend(self.Jumper.a2.a.tolist())
u.extend(self.Jumper.u.v.tolist())

# collect from Fortescue
fr.extend(self.Fortescue.a.a.tolist())
to.extend(self.Fortescue.aa.a.tolist())
Expand Down

0 comments on commit ed06198

Please sign in to comment.