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
Empty DataFrames Generated Due to Disconnected Trunk Lines #11
In certain scenarios, when specific combinations of geometries and the spacing variable are used in the create_trunk_lines function, the script generates empty geometries for the grid. This issue does not raise an explicit error but leads to empty DataFrames in subsequent steps of the script. As it can be seeen in the attached picture, for an spacing=100 in create_trunk_lines, the script does not give as output trunk lines but empty dataframes.
Visually, the trunk line appear as two unconnected lines. Because of this disconnection, no valid trunk lines are produced, leading to empty geometries in the following steps of the workflow. This ultimately results in empty DataFrames, which can disrupt downstream processes.
However, when changing the spacing variable, geometries are generated.
In certain scenarios, when specific combinations of geometries and the spacing variable are used in the create_trunk_lines function, the script generates empty geometries for the grid. This issue does not raise an explicit error but leads to empty DataFrames in subsequent steps of the script. As it can be seeen in the attached picture, for an spacing=100 in create_trunk_lines, the script does not give as output trunk lines but empty dataframes.
Visually, the trunk line appear as two unconnected lines. Because of this disconnection, no valid trunk lines are produced, leading to empty geometries in the following steps of the workflow. This ultimately results in empty DataFrames, which can disrupt downstream processes.
However, when changing the spacing variable, geometries are generated.