The extra high voltage clustering is failing with the error message:
INFO:etrago.cluster.electrical:
----------------------- WARNING ---------------------------
THE FOLLOWING BUSES WERE DELETED BECAUSE THEY WERE ISOLATED:
['31578'].
IT IS POTENTIALLY A SIGN OF A PROBLEM IN THE DATASET
----------------------- WARNING ---------------------------
Busmap does not exist and will be created.
/home/student/venv/etrago_env9/lib/python3.8/site-packages/geopandas/array.py:1406: UserWarning: CRS not set for some of the concatenation inputs. Setting output's CRS as WGS 84 (the single non-null crs provided).
warnings.warn(
WARNING:pypsa.io:The following Line have buses which are not defined:
Index(['20139', '28193', '25899', '3937', '28101', '20802', '20904', '20055',
'20102', '20111', '22597', '23051', '28243'],
dtype='object', name='Line')
/home/student/venv/etrago_env9/lib/python3.8/site-packages/geopandas/array.py:1406: UserWarning: CRS not set for some of the concatenation inputs. Setting output's CRS as WGS 84 (the single non-null crs provided).
warnings.warn(
Traceback (most recent call last):
File ~/venv/etrago_env9/lib/python3.8/site-packages/spyder_kernels/py3compat.py:356 in compat_exec
exec(code, globals, locals)
The extra high voltage clustering is failing with the error message: INFO:etrago.cluster.electrical:
Busmap does not exist and will be created.
/home/student/venv/etrago_env9/lib/python3.8/site-packages/geopandas/array.py:1406: UserWarning: CRS not set for some of the concatenation inputs. Setting output's CRS as WGS 84 (the single non-null crs provided). warnings.warn( WARNING:pypsa.io:The following Line have buses which are not defined: Index(['20139', '28193', '25899', '3937', '28101', '20802', '20904', '20055', '20102', '20111', '22597', '23051', '28243'], dtype='object', name='Line') /home/student/venv/etrago_env9/lib/python3.8/site-packages/geopandas/array.py:1406: UserWarning: CRS not set for some of the concatenation inputs. Setting output's CRS as WGS 84 (the single non-null crs provided). warnings.warn( Traceback (most recent call last):
File ~/venv/etrago_env9/lib/python3.8/site-packages/spyder_kernels/py3compat.py:356 in compat_exec exec(code, globals, locals)
File ~/git/eTraGo/etrago/appl.py:514 etrago = run_etrago(args, json_path=None)
File ~/git/eTraGo/etrago/appl.py:475 in run_etrago etrago.ehv_clustering()
File ~/git/eTraGo/etrago/cluster/electrical.py:419 in ehv_clustering self.network, busmap = cluster_on_extra_high_voltage(
File ~/git/eTraGo/etrago/cluster/electrical.py:340 in cluster_on_extra_high_voltage network_c.determine_network_topology()
File ~/venv/etrago_env9/lib/python3.8/site-packages/pypsa/components.py:1237 in determine_network_topology adjacency_matrix = self.adjacency_matrix(
File ~/venv/etrago_env9/lib/python3.8/site-packages/pypsa/graph.py:165 in adjacency_matrix return sp.sparse.coo_matrix(
File ~/venv/etrago_env9/lib/python3.8/site-packages/scipy/sparse/_coo.py:197 in init self._check()
File ~/venv/etrago_env9/lib/python3.8/site-packages/scipy/sparse/_coo.py:290 in _check raise ValueError('negative column index found')
ValueError: negative column index found