Quick techno-economic analysis of potential mini-grid sites. The script is based on OnSSET model with modifications to accommodate specifications related to the overall viability of mini-grids.
0
stars
0
forks
source link
IndexError: List index out of range when iterating over trunk_lines and voronois in create_candidate_poles function #13
An IndexError occurs in the script when the create_candidate_poles function is called. The error is triggered during the iteration over the trunk_lines list while trying to access corresponding elements in the voronois list. Specifically, the script attempts to access an index in the voronois list that is out of range, indicating a mismatch between the lengths of trunk_lines and voronois. The issue appears to be triggered by a combination of geometry and spacing, as illustrated in the figure below.
An IndexError occurs in the script when the create_candidate_poles function is called. The error is triggered during the iteration over the trunk_lines list while trying to access corresponding elements in the voronois list. Specifically, the script attempts to access an index in the voronois list that is out of range, indicating a mismatch between the lengths of trunk_lines and voronois. The issue appears to be triggered by a combination of geometry and spacing, as illustrated in the figure below.