Skip to content
This repository was archived by the owner on Dec 28, 2024. It is now read-only.
This repository was archived by the owner on Dec 28, 2024. It is now read-only.

IndexError at line 128, in run_Power_Flow #6

@HafizRiaz

Description

@HafizRiaz

@edoardo-dedin thanks for providing the base code to simulate the paper, When i tried to run this repository
, it gives index error at line 128 ( bus[i][PD] = load_profile[i]), in run_Power_Flow that 'index 22 is out of bounds for axis 0 with size 22'. in order to cater this issue i myself added a new loop (as : if i < bus.shape[0]:) so that index i may not go beyond the range of given data in load profile but same issue still persists (snap is attached ).
if you may help resolve this issue, it would be a great help. Stay blessed.
''
1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions