Python Forum
IndexError: index 10 is out of bounds for axis 0 with size 10
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IndexError: index 10 is out of bounds for axis 0 with size 10
#1
i am trying to run a Github repo for voltage control of various distribution system like IEEE10 bus, 23 bus and 30 bus system. When main files calls runpf.py file for power flow calculations it calls another file ext2int to convert external numbering to internal, which generates error as given below,
'bs[n2i[ppc["branch"][:, T_BUS].astype(int)]] ).astype(bool)'. I have created issues to this repo on github as well, but did not find any response. project line is given below. Plz help me out to resolve this issue,.
Link: https://github.com/sogno-platform/covee
Reply


Messages In This Thread
IndexError: index 10 is out of bounds for axis 0 with size 10 - by Mehboob - Sep-06-2023, 07:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  IndexError: index 31 is out of bounds for axis 0 with size 31 YL789 1 1,080 Sep-21-2024, 09:46 AM
Last Post: Gribouillis
Exclamation IndexError: Replacement index 2 out of range for positional args tuple - help? MrKnd94 2 14,439 Oct-14-2022, 09:57 PM
Last Post: MrKnd94
  IndexError: list index out of range dolac 4 3,630 Jul-25-2022, 03:42 PM
Last Post: deanhystad
  IndexError: list index out of range Anldra12 2 2,362 May-03-2022, 01:39 PM
Last Post: Anldra12
  For loop index out of bounds armitron121 2 4,520 Feb-08-2022, 04:23 PM
Last Post: armitron121
  Sample labels from excel file in order to put them on x-axis and y-axis of a plot hobbyist 11 7,238 Sep-14-2021, 08:29 AM
Last Post: hobbyist
  IndexError: list index out of range rf_kartal 6 4,814 Sep-07-2021, 02:36 PM
Last Post: Larz60+
  IndexError: list index out of range Laplace12 1 2,930 Jun-22-2021, 10:47 AM
Last Post: Yoriz
  IndexError: list index out of range brunolelli 11 13,830 Mar-25-2021, 11:36 PM
Last Post: brunolelli
  IndexError: list index out of range ramu4651 2 4,887 Jan-24-2021, 01:45 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020