__copyright__ = "Reiner Lemoine Institut gGmbH"
__license__ = "GNU Affero General Public License Version 3 (AGPL-3.0)"
__url__ = "https://github.com/openego/eDisGo/blob/master/LICENSE"
__author__ = "gplssm, birgits"
Zur Verwendung dieses Notebooks wird die aktuelle eDisGo Version sowie das python package jupyter benötigt. Installiere diese mit
pip install eDisGo
pip install jupyter
Zur Darstellung der MS-Netze auf einer Karte kann optional das python package contextily installiert werden (möglicherweise benötigt contextily einige Systemanwendungen, die zusätzlich installiert werden müssen):
pip install contextily
Für die Verwendung von eDisGo werden Netztopologiedaten benötigt. Die derzeit einzige unterstützte Quelle hierfür sind ding0 Netze (=> weiteres in der ding0 Session). Diese können entweder von zenodo heruntergeladen oder selbst erstellt werden. Im Folgenden wird kurz gezeigt, wie ein ding0 Netz erstellt werden kann. Dieses soll im Folgenden für alle Anwendungsfälle als Beispielnetz dienen. Voraussetzung für die Verwendung von ding0 ist ein Nutzerkonto auf der OpenEnergy Platform (OEP) (=> weiteres dazu in der OEP Session).
# imports zur Erstellung eines ding0 Netzes
from egoio.tools import db
from sqlalchemy.orm import sessionmaker
from ding0.core import NetworkDing0
from ding0.tools.results import save_nd_to_pickle
/home/birgit/virtualenvs/edisgo_release/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>. """) /home/birgit/virtualenvs/edisgo_release/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88 return f(*args, **kwds) /home/birgit/virtualenvs/edisgo_release/lib/python3.6/site-packages/sqlalchemy/ext/declarative/base.py:338: SAWarning: Ignoring declarative-like tuple value of attribute segment: possibly a copy-and-paste error with a comma left at the end of the line? "left at the end of the line?" % k) /home/birgit/virtualenvs/edisgo_release/lib/python3.6/site-packages/sqlalchemy/ext/declarative/base.py:338: SAWarning: Ignoring declarative-like tuple value of attribute cable: possibly a copy-and-paste error with a comma left at the end of the line? "left at the end of the line?" % k)
# wähle zu erstellendes Mittelspannungsnetz durch Angabe der Netz-Regions ID
mv_grid_districts = [460]
ding0_grid = 'ding0_grid_example.pkl'
engine = db.connection(section='oedb')
session = sessionmaker(bind=engine)()
# instanziiere ding0 Network Objekt
nd = NetworkDing0(name='network')
# erstelle ding0 Netz
nd.run_ding0(session=session,
mv_grid_districts_no=mv_grid_districts)
# exportiere das Netz als pickle Datei
save_nd_to_pickle(nd, filename=ding0_grid)
INFO:ding0:=====> MV Grid Districts imported WARNING:ding0:Generator generator_run_of_river_hydro_mvgd460_863757 has no la_id and was assigned to a random LV Grid District (lv_grid_district_402809). WARNING:ding0:Generator generator_run_of_river_hydro_mvgd460_873919 has no la_id and was assigned to a random LV Grid District (lv_grid_district_133650). WARNING:ding0:Generator generator_run_of_river_hydro_mvgd460_874864 has no la_id and was assigned to a random LV Grid District (lv_grid_district_133447). WARNING:ding0:Generator generator_run_of_river_hydro_mvgd460_874866 has no la_id and was assigned to a random LV Grid District (lv_grid_district_135392). INFO:ding0:=====> Generators imported INFO:ding0:=====> MV Grids parametrized WARNING:ding0: INFO:ding0:=====> MV Grids validated INFO:ding0:lv_grid_district_399941 has got no residential load. No grid is created. INFO:ding0:lv_grid_district_403155 has got no residential load. No grid is created. INFO:ding0:lv_load_area_85334 is of type aggregated. No grid is created. INFO:ding0:lv_grid_district_133192 has got no residential load. No grid is created. INFO:ding0:lv_grid_district_401632 has got no residential load. No grid is created. INFO:ding0:lv_grid_district_135931 has got no residential load. No grid is created. INFO:ding0:lv_grid_district_399236 has got no residential load. No grid is created. INFO:ding0:=====> LV model grids created INFO:ding0:==> MV Routing for mv_grid_460 done INFO:ding0:==> MV Sat1 for mv_grid_460 done INFO:ding0:==> MV Sat2 for mv_grid_460 done INFO:ding0:==> MV Stations for mv_grid_460 done INFO:ding0:=====> MV Routing (Routing, Connection of Satellites & Stations) performed WARNING:ding0:No valid conn. target found for generator_solar_solar_roof_mounted_mvgd460_863811.Connected to lv_station_127332. WARNING:ding0:No valid conn. target found for generator_solar_solar_roof_mounted_mvgd460_873960.Connected to lv_station_127333. WARNING:ding0:No valid conn. target found for generator_solar_solar_roof_mounted_mvgd460_863828.Connected to lv_station_399941. WARNING:ding0:No valid conn. target found for generator_solar_solar_roof_mounted_mvgd460_873938.Connected to lv_station_131998. INFO:ding0:lv_load_area_85334 is of type aggregated. LV generators are not connected to LV grids. WARNING:ding0:No valid conn. target found for generator_solar_solar_roof_mounted_mvgd460_874882.Connected to lv_station_133651. WARNING:ding0:No valid conn. target found for generator_solar_solar_roof_mounted_mvgd460_874118.Connected to lv_station_401632. WARNING:ding0:No valid conn. target found for generator_solar_solar_roof_mounted_mvgd460_874931.Connected to lv_station_401632. WARNING:ding0:No valid conn. target found for generator_solar_solar_roof_mounted_mvgd460_872487.Connected to lv_station_134178. WARNING:ding0:No valid conn. target found for generator_solar_solar_roof_mounted_mvgd460_872432.Connected to lv_station_134810. WARNING:ding0:No valid conn. target found for generator_solar_solar_roof_mounted_mvgd460_875093.Connected to lv_station_134951. WARNING:ding0:No valid conn. target found for generator_solar_solar_roof_mounted_mvgd460_863834.Connected to lv_station_135389. WARNING:ding0:No valid conn. target found for generator_solar_solar_roof_mounted_mvgd460_875079.Connected to lv_station_135390. WARNING:ding0:No valid conn. target found for generator_solar_solar_roof_mounted_mvgd460_872445.Connected to lv_station_135391. WARNING:ding0:No valid conn. target found for generator_solar_solar_roof_mounted_mvgd460_873961.Connected to lv_station_136168. INFO:ding0:=====> Generators connected INFO:ding0:=====> Branch IDs set INFO:ding0:=====> MV Circuit Breakers relocated INFO:ding0:=====> MV Circuit Breakers opened INFO:ding0:Only MV side bus of MVStation will be added. WARNING:ding0:Node lv_station_132213 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132188 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_496358 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132189 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132191 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132190 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132192 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132194 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132193 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132198 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132197 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132196 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132195 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_496362 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132199 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132202 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132201 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132205 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132200 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132204 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132208 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132207 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132203 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132206 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132209 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132210 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132212 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132220 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132211 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132214 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132215 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132219 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132216 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132217 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132218 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132221 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132222 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132223 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132227 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132224 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132225 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132226 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132228 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132229 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node circuit_breaker_1 is not connected to the graph and will be omitted in power flow analysis. WARNING:ding0:Node circuit_breaker_2 is not connected to the graph and will be omitted in power flow analysis. WARNING:ding0:Node circuit_breaker_3 is not connected to the graph and will be omitted in power flow analysis. WARNING:ding0:Node circuit_breaker_4 is not connected to the graph and will be omitted in power flow analysis. INFO:pypsa.pf:Slack bus for sub-network 0 is HV_460_trd INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.034455 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.039170 seconds INFO:ding0:==> 71 nodes have voltage issues. INFO:ding0:==> 71 branches were reinforced. INFO:ding0:Only MV side bus of MVStation will be added. WARNING:ding0:Node lv_station_132213 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132188 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_496358 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132189 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132191 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132190 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132192 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132194 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132193 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132198 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132197 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132196 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132195 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_496362 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132199 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132202 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132201 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132205 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132200 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132204 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132208 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132207 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132203 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132206 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132209 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132210 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132212 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132220 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132211 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132214 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132215 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132219 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132216 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132217 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132218 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132221 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132222 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132223 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132227 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132224 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132225 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132226 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132228 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132229 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node circuit_breaker_1 is not connected to the graph and will be omitted in power flow analysis. WARNING:ding0:Node circuit_breaker_2 is not connected to the graph and will be omitted in power flow analysis. WARNING:ding0:Node circuit_breaker_3 is not connected to the graph and will be omitted in power flow analysis. WARNING:ding0:Node circuit_breaker_4 is not connected to the graph and will be omitted in power flow analysis. INFO:pypsa.pf:Slack bus for sub-network 0 is HV_460_trd INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.033595 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.037006 seconds INFO:ding0:==> 67 nodes have voltage issues. INFO:ding0:==> 70 branches were reinforced. INFO:ding0:Only MV side bus of MVStation will be added. WARNING:ding0:Node lv_station_132213 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132188 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_496358 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132189 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132191 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132190 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132192 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132194 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132193 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132198 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132197 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132196 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132195 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_496362 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132199 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132202 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132201 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132205 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132200 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132204 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132208 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132207 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132203 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132206 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132209 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132210 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132212 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132220 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132211 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132214 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132215 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132219 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132216 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132217 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132218 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132221 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132222 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132223 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132227 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132224 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132225 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132226 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132228 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132229 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node circuit_breaker_1 is not connected to the graph and will be omitted in power flow analysis. WARNING:ding0:Node circuit_breaker_2 is not connected to the graph and will be omitted in power flow analysis. WARNING:ding0:Node circuit_breaker_3 is not connected to the graph and will be omitted in power flow analysis. WARNING:ding0:Node circuit_breaker_4 is not connected to the graph and will be omitted in power flow analysis. INFO:pypsa.pf:Slack bus for sub-network 0 is HV_460_trd INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.031970 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.039030 seconds INFO:ding0:==> 42 nodes have voltage issues. INFO:ding0:==> 61 branches were reinforced. INFO:ding0:Only MV side bus of MVStation will be added. WARNING:ding0:Node lv_station_132213 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132188 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_496358 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132189 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132191 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132190 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132192 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132194 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132193 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132198 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132197 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132196 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132195 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_496362 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132199 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132202 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132201 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132205 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132200 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132204 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132208 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132207 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132203 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132206 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132209 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132210 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132212 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132220 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132211 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132214 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132215 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132219 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132216 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132217 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132218 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132221 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132222 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132223 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132227 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132224 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132225 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132226 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132228 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node lv_station_132229 is not connected to the graph and will be omitted in power flow analysis. LA is aggr. True WARNING:ding0:Node circuit_breaker_1 is not connected to the graph and will be omitted in power flow analysis. WARNING:ding0:Node circuit_breaker_2 is not connected to the graph and will be omitted in power flow analysis. WARNING:ding0:Node circuit_breaker_3 is not connected to the graph and will be omitted in power flow analysis. WARNING:ding0:Node circuit_breaker_4 is not connected to the graph and will be omitted in power flow analysis. INFO:pypsa.pf:Slack bus for sub-network 0 is HV_460_trd INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.031785 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.039320 seconds INFO:ding0:==> All voltage issues in MV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_179885 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:4 in lv_grid_179885 have voltage issues INFO:ding0:==> 25 branches were reinforced. INFO:ding0:==> 17 branches were reinforced. INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_179886 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_179886 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_127329 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_127329 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_127330 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_127330 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_127331 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_127331 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_127332 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:16 in lv_grid_127332 have voltage issues INFO:ding0:==> 41 branches were reinforced. INFO:ding0:==> 38 branches were reinforced. INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_127333 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_127333 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_402231 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_402231 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_402819 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_402819 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_399941 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_399941 have voltage issues INFO:ding0:==> 2 branches were reinforced. WARNING:ding0:==> There are 2 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_399742 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_399742 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_400196 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_400196 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_402115 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_402115 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_402945 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_402945 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131197 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_131197 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131198 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_131198 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131199 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_131199 have voltage issues INFO:ding0:==> 3 branches were reinforced. WARNING:ding0:==> There are 3 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131205 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_131205 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131206 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_131206 have voltage issues INFO:ding0:==> 16 branches were reinforced. WARNING:ding0:==> There are 16 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131444 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_131444 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131520 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_131520 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131521 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_131521 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131522 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_131522 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131523 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_131523 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131524 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_131524 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131525 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:6 in lv_grid_131525 have voltage issues INFO:ding0:==> 6 branches were reinforced. WARNING:ding0:==> There are 6 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131542 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_131542 have voltage issues INFO:ding0:==> 36 branches were reinforced. WARNING:ding0:==> There are 36 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131543 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_131543 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131544 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_131544 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131551 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_131551 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131552 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_131552 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131553 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_131553 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131572 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:18 in lv_grid_131572 have voltage issues INFO:ding0:==> 31 branches were reinforced. INFO:ding0:==> 27 branches were reinforced. WARNING:ding0:==> There are 27 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131573 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_131573 have voltage issues INFO:ding0:==> 3 branches were reinforced. WARNING:ding0:==> There are 3 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_403155 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_403155 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131997 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_131997 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_131998 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_131998 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_513211 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_513211 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_402809 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_402809 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_401639 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_401639 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_403015 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_403015 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_403047 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_403047 have voltage issues WARNING:ding0:Branch branch_4030470000001 could not be reinforced (voltage issues) as there is no appropriate cable type available. Original type is retained. WARNING:ding0:Branch branch_4030470000002 could not be reinforced (voltage issues) as there is no appropriate cable type available. Original type is retained. WARNING:ding0:==> There are 2 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_132686 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_132686 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_132687 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_132687 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_133183 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:4 in lv_grid_133183 have voltage issues INFO:ding0:==> 4 branches were reinforced. WARNING:ding0:==> There are 4 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_133184 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_133184 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_133192 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_133192 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_133447 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_133447 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_133448 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_133448 have voltage issues INFO:ding0:==> 2 branches were reinforced. INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_133449 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_133449 have voltage issues INFO:ding0:==> 34 branches were reinforced. INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_133450 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_133450 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_133451 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_133451 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_133452 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_133452 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_133453 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:6 in lv_grid_133453 have voltage issues INFO:ding0:==> 29 branches were reinforced. INFO:ding0:==> 26 branches were reinforced. INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_133454 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_133454 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_133455 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_133455 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_513239 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_513239 have voltage issues INFO:ding0:==> 2 branches were reinforced. WARNING:ding0:==> There are 2 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_133650 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_133650 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_133651 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_133651 have voltage issues INFO:ding0:==> 16 branches were reinforced. INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_133652 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_133652 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_133653 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:4 in lv_grid_133653 have voltage issues INFO:ding0:==> 30 branches were reinforced. WARNING:ding0:==> There are 30 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_133654 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_133654 have voltage issues INFO:ding0:==> 24 branches were reinforced. WARNING:ding0:==> There are 24 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_400542 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_400542 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_401632 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:4 in lv_grid_401632 have voltage issues INFO:ding0:==> 4 branches were reinforced. WARNING:ding0:==> There are 4 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134176 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_134176 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134177 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_134177 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134178 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:10 in lv_grid_134178 have voltage issues INFO:ding0:==> 38 branches were reinforced. WARNING:ding0:==> There are 38 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134200 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_134200 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134201 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_134201 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134202 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_134202 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134203 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_134203 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_402684 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_402684 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_399140 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_399140 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134676 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:8 in lv_grid_134676 have voltage issues WARNING:ding0:Branch branch_1346760000024 could not be reinforced (voltage issues) as there is no appropriate cable type available. Original type is retained. WARNING:ding0:Branch branch_1346760000058 could not be reinforced (voltage issues) as there is no appropriate cable type available. Original type is retained. WARNING:ding0:Branch branch_1346760000059 could not be reinforced (voltage issues) as there is no appropriate cable type available. Original type is retained. WARNING:ding0:Branch branch_1346760000110 could not be reinforced (voltage issues) as there is no appropriate cable type available. Original type is retained. WARNING:ding0:Branch branch_1346760000109 could not be reinforced (voltage issues) as there is no appropriate cable type available. Original type is retained. WARNING:ding0:Branch branch_1346760000092 could not be reinforced (voltage issues) as there is no appropriate cable type available. Original type is retained. WARNING:ding0:Branch branch_1346760000025 could not be reinforced (voltage issues) as there is no appropriate cable type available. Original type is retained. WARNING:ding0:Branch branch_1346760000091 could not be reinforced (voltage issues) as there is no appropriate cable type available. Original type is retained. WARNING:ding0:==> There are 8 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134677 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_134677 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134678 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_134678 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134679 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_134679 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134806 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_134806 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134807 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_134807 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134808 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:4 in lv_grid_134808 have voltage issues INFO:ding0:==> 35 branches were reinforced. WARNING:ding0:==> There are 35 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134809 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_134809 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134810 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_134810 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134886 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_134886 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134887 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_134887 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134950 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_134950 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_134951 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_134951 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135132 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135132 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135133 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135133 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_515408 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_515408 have voltage issues INFO:ding0:==> 2 branches were reinforced. WARNING:ding0:==> There are 2 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_403167 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_403167 have voltage issues INFO:ding0:==> 2 branches were reinforced. WARNING:ding0:==> There are 2 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135154 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135154 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_490063 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_490063 have voltage issues INFO:ding0:==> 2 branches were reinforced. INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_490064 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_490064 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_403347 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_403347 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135155 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135155 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135232 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135232 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_399442 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_399442 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135369 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135369 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135370 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135370 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135381 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135381 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135382 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135382 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135383 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135383 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135384 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_135384 have voltage issues INFO:ding0:==> 17 branches were reinforced. INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135385 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135385 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135386 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135386 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135387 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135387 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135388 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_135388 have voltage issues INFO:ding0:==> 60 branches were reinforced. WARNING:ding0:==> There are 60 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135389 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135389 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135390 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135390 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135391 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135391 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135392 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135392 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135393 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135393 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135394 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:4 in lv_grid_135394 have voltage issues INFO:ding0:==> 4 branches were reinforced. WARNING:ding0:==> There are 4 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135395 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135395 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135396 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_135396 have voltage issues INFO:ding0:==> 2 branches were reinforced. WARNING:ding0:==> There are 2 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135397 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135397 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135398 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135398 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135399 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135399 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135400 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135400 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135401 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135401 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135402 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135402 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135403 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_135403 have voltage issues INFO:ding0:==> 32 branches were reinforced. INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135404 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135404 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135405 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135405 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_399421 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_399421 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_400214 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_400214 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135900 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135900 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135929 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135929 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135930 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135930 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_135931 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_135931 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_399236 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_399236 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_403085 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_403085 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_136166 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_136166 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_136167 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_136167 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_136168 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_136168 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_136208 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_136208 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_136209 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_136209 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_136210 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_136210 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_402676 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_402676 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_136615 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_136615 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_136616 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_136616 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_136617 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:2 in lv_grid_136617 have voltage issues INFO:ding0:==> 25 branches were reinforced. WARNING:ding0:==> There are 25 branches that cannot be reinforced (no appropriate cable available). INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_136618 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_136618 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_136619 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_136619 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:Out of 0 with overloading 0 remain with unresolved issues due to line overloading. LV grid: lv_grid_136620 INFO:ding0:0 have been reinforced due to overloading issues. INFO:ding0:0 in lv_grid_136620 have voltage issues INFO:ding0:==> All voltage issues in LV grid could be solved using reinforcement. INFO:ding0:=====> MV Circuit Breakers closed
Die EDisGo Klasse stellt die top-level API für den Import von Daten (Netztopologie, Zeitreihen, technische Parameter, etc.), die Durchführung von Lastflussberechnung, Netzausbau, Speicherintegration, etc., sowie die Erstellung von Plots dar (siehe Klassendokumentation für weitere Informationen).
Der folgende Code importiert das soeben erstellte ding0 Netz und initialisiert eine worst-case Analyse (Starklast- und Rückspeisefall). Die Definition von Starklast- und Rückspeisefall ist in dem Konfigurationsfile 'config_timeseries.cfg' hinterlegt und kann dort angepasst werden, was später noch gezeigt wird.
from edisgo import EDisGo
# instanziiere EDisGo API Objekt
edisgo = EDisGo(ding0_grid='ding0_grid_example.pkl',
worst_case_analysis='worst-case')
Was ist bei der Initialisierung passiert?
Netztopologie
Die Netztopologie ist als separate, ungerichtete Graphen für das MS-Netz und die darunterliegende NS-Netze abgebildet. (Die Graphen sind Unterklassen des networkx.Graph und um einige Funktionalitäten erweitert). Kabel und Leitungen werden als Kanten abgebildet, andere Komponenten wie Lasten, Generatoren, etc. als Knoten. Die Repräsentation als Graph erlaubt die Anwendung effizienter Graphenalgorithmen, z.B. für Plausibilitätschecks ob das Netz zusammenhängend ist oder mehrere Komponenten aufweist oder zur Bestimmung des kürzesten Pfades und der Pfadlänge zum Umspannwerk, sowie eines geeigneten Knotens zur Strangauftrennung bei der Behebung von Spannungsproblemen.
# MS Netz
edisgo.network.mv_grid
# MS graph
edisgo.network.mv_grid.graph
# NS Netze
edisgo.network.mv_grid.lv_grids
Zudem gibt es eine PyPSA Repräsentation des Netzes für die Nutzung der Lastflussberechnungssoftware PyPSA.
edisgo.network.pypsa
%matplotlib inline
import matplotlib.pyplot as plt
Using matplotlib backend: TkAgg
Visualisierung des MS Netzes:
# plotte MS-Netz
edisgo.plot_mv_grid_topology(technologies=True)
/home/birgit/virtualenvs/edisgo_release/git_repos/eDisGo/edisgo/tools/plots.py:415: UserWarning: Boolean Series key will be reindexed to match DataFrame index. pypsa_network.lines.bus1.isin(pypsa_plot.buses.index)]
Bei den NS-Netzen handelt es sich um Referenznetze, welche nicht georeferenziert sind. Es können daher nur die Graphen der Netzes geplottet werden.
import networkx as nx
# wähle Graphen eines beliebigen Niederspannungsnetzes
lv_graph = list(edisgo.network.mv_grid.lv_grids)[5].graph
# zeichne den Graphen
nx.draw(lv_graph)
/home/birgit/virtualenvs/edisgo_release/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:126: MatplotlibDeprecationWarning: pyplot.hold is deprecated. Future behavior will be consistent with the long-time default: plot commands add elements without first clearing the Axes and/or Figure. b = plt.ishold() /home/birgit/virtualenvs/edisgo_release/lib/python3.6/site-packages/networkx/drawing/nx_pylab.py:138: MatplotlibDeprecationWarning: pyplot.hold is deprecated. Future behavior will be consistent with the long-time default: plot commands add elements without first clearing the Axes and/or Figure. plt.hold(b) /home/birgit/virtualenvs/edisgo_release/lib/python3.6/site-packages/matplotlib/__init__.py:917: UserWarning: axes.hold is deprecated. Please remove it from your matplotlibrc and/or style files. warnings.warn(self.msg_depr_set % key) /home/birgit/virtualenvs/edisgo_release/lib/python3.6/site-packages/matplotlib/rcsetup.py:152: UserWarning: axes.hold is deprecated, will be removed in 3.0 warnings.warn("axes.hold is deprecated, will be removed in 3.0")
Last- und Einspeisezeitreihen
Hier werden beispielhaft die Lastzeitreihe einer beliebigen Last in der MS sowie eines beliebigen Generators in der MS dargestellt.
Zur Info: In eDisGo wird immer mit Zeitreihen gerechnet, weshalb bei der Erstellung des Last- und Einspeisefalls Zeitreihen mit einem Dummy-Zeitstempel erstellt werden. Die erste Stunde stellt den Einspeisefall dar, die zweite Stunde den Lastfall.
Folgende Default-Werte werden für den Starklast- und Rückspeisefall genutzt:
Betriebsfälle | Rückspeisefall | Starklastfall |
---|---|---|
Last (MS) | 15% | 100% |
Last (NS) | 10% | 100% |
PV | 85% | 0% |
andere Gen. | 100% | 0% |
fig, axes = plt.subplots(nrows=2, ncols=1, sharex=True)
# plotte Lastzeitreihe einer Last im MS-Netz
edisgo.network.mv_grid.loads[0].timeseries.p.plot(kind='bar', ax=axes[0], title='Load')
# plotte Einspeisezeitreihe eines Generators im MS-Netz
edisgo.network.mv_grid.generators[0].timeseries.p.plot(kind='bar', ax=axes[1], title='Generator')
plt.xticks(rotation=0);
Nachdem das API Objekt instanziiert wurde, kann schon die erste Lastflussanalyse für die beiden Auslegungsfälle durchgeführt werden.
Zur Erinnerung wie das API Objekt instanziiert wurde:
edisgo = EDisGo(ding0_grid='ding0_grid_example.pkl',
worst_case_analysis='worst-case')
# nicht-linearer power flow
edisgo.analyze()
INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.346884 seconds INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.457950 seconds
Zur Veranschaulichung der Netzsituation können nun bspw. die Leitungsbelastung sowie die Spannungsabweichungen (Abweichung von 1 p.u.) im Mittelspannungsnetz visualisiert werden.
# plotte Leitungsbelastungen
edisgo.plot_mv_line_loading()
# plotte Spannungsabweichungen
edisgo.plot_mv_voltages()
ERROR:tornado.application:Exception in callback functools.partial(<function wrap.<locals>.null_wrapper at 0x7f7f18242488>) Traceback (most recent call last): File "/home/birgit/virtualenvs/edisgo_release/lib/python3.6/site-packages/tornado/ioloop.py", line 758, in _run_callback ret = callback() File "/home/birgit/virtualenvs/edisgo_release/lib/python3.6/site-packages/tornado/stack_context.py", line 300, in null_wrapper return fn(*args, **kwargs) File "/home/birgit/virtualenvs/edisgo_release/lib/python3.6/site-packages/ipykernel/kernelbase.py", line 306, in advance_eventloop eventloop(self) TypeError: 'NoneType' object is not callable
Die Netzausbaumethodik orientiert sich an der DENA Verteilnetzstudie [1] sowie der Verteilnetzstudie Baden-Württemberg [2].
Per default sind getrennte Spannungsabweichungsvorgaben vorgesehen, sowie zunächst eine Behebung der Überlastungsprobleme und anschließend die Behebung von Spannungsproblemen. Nach jedem Ausbauschritt wird eine nicht-lineare Lastflussberechnung durchgeführt, um weitere etwaig bestehende Netzprobleme zu identifizieren. (Für weitere Informationen siehe Dokumentation.)
Zur Berechnung des Netzausbaubedarfs werden Szenarien benötigt, für die diese berechnet werden sollen. Im open_eGo Projekt wurde folgende Szenarien entwickelt.
Szenario | Anteil EE | Quelle |
---|---|---|
NEP2035 | 65.8% | Netzentwicklungsplan NEP 2015 |
ego100 | 100% | scenario A of the "Leitstudie 2010" |
Erzeugungskapazitäten (Wind und PV) in dem Beispielnetz im Status Quo:
from edisgo.grid.tools import get_gen_info
gen_info = get_gen_info(edisgo.network, fluctuating=True)
gen_info.groupby(['type']).sum().loc[:, ['nominal_capacity']]
nominal_capacity | |
---|---|
type | |
solar | 10203.791 |
wind | 15251.000 |
Update der Erzeugungskapazitäten für das Szenario NEP2035:
edisgo.import_generators(generator_scenario='nep2035')
WARNING:root:Right now only solar and wind generators can be imported from the oedb.
Erzeugungskapazitäten (Wind und PV) in dem Beispielnetz im NEP2035 Szenario:
gen_info = get_gen_info(edisgo.network, fluctuating=True)
gen_info.groupby(['type']).sum().loc[:, ['nominal_capacity']]
nominal_capacity | |
---|---|
type | |
solar | 19466.791 |
wind | 53826.000 |
edisgo.plot_mv_grid_topology(technologies=True)
Welche Überlastungen und Spannungsbandverletzungen bestehen nun durch den Ausbau von Wind und PV?
edisgo.analyze()
INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.503301 seconds INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.459880 seconds
# Hilfsfunktionen zur Übersicht über Überlastungs- und Spannungsprobleme
from edisgo.flex_opt import check_tech_constraints
import pandas as pd
def get_voltage_issues(edisgo):
mv_issues = check_tech_constraints.mv_voltage_deviation(edisgo.network, voltage_levels='mv')
lv_issues = check_tech_constraints.lv_voltage_deviation(edisgo.network, voltage_levels='lv')
issues = {**mv_issues, **lv_issues}
issues_df = pd.DataFrame()
for k, v in issues.items():
issues_df = pd.concat([issues_df, v])
if not issues_df.empty:
return issues_df.v_mag_pu.sort_values(ascending=False)
else:
return issues_df
def get_overloading_issues(edisgo):
mv_issues = check_tech_constraints.mv_line_load(edisgo.network)
lv_issues = check_tech_constraints.lv_line_load(edisgo.network)
issues_df = pd.concat([mv_issues, lv_issues])
if not issues_df.empty:
return issues_df.max_rel_overload.sort_values(ascending=False)
else:
return issues_df
# erstelle Listen über bestehende Überlastungsprobleme und Spannungsbandverletzungen
voltage_issues = get_voltage_issues(edisgo)
overloading_issues = get_overloading_issues(edisgo)
# plotte bestehende Leitungsüberlastungen und Spannungsbandverletzungen
fig, axes = plt.subplots(nrows=1, ncols=2)
ax1 = voltage_issues.hist(ax=axes[0], bins=50)
ax1.set_title('Spannungsbandverletzungen')
ax2 = overloading_issues.hist(ax=axes[1], bins=50)
ax2.set_title('Leitungsüberlastungen');
Spannungsabweichungen (von 1 p.u.) und Leitungsbelastungen vor Netzausbau:
edisgo.plot_mv_voltages()
# plotte Leitungsbelastungen (Farbe der Leitung) sowie Leitungskapazität (Dicke der Leitung)
edisgo.plot_mv_line_loading(scaling_factor_line_width=0.3)
Netzausbau auslösen:
# ermittle Netzausbaumaßnahmen für das NEP2035 Szenario (worst-case)
edisgo.reinforce()
# speichere Ergebnisse
edisgo.network.results.save(directory='results/nep_worst_case')
INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.425243 seconds INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.594980 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.426154 seconds INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.424736 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.325130 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.327582 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.324388 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.320909 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.315985 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.328304 seconds INFO:edisgo:==> Load issues were solved in 3 iteration step(s). INFO:edisgo:==> Voltage issues in MV grid were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues at busbars in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Load issues were rechecked and solved in 0 iteration step(s). INFO:pypsa.io:Exported network pypsa_network has lines, transformers, loads, generators, buses
Spannungsabweichungen (von 1 p.u.) und Leitungsbelastungen nach Netzausbau:
edisgo.plot_mv_line_loading(node_color='voltage', scaling_factor_line_width=0.3)
Übersicht über Netzausbaumaßnahmen und Kosten
Kosten sind aufgeschlüsselt nach Komponente gespeichert in
edisgo.network.results.grid_expansion_costs
Kosten werden in der Konfigurationsdatei config_grid_expansion festgelegt. Weitere Infos zur Kostenberechnungen finden sich in der Dokumentation.
edisgo.network.results.grid_expansion_costs
length | mv_feeder | quantity | total_costs | type | voltage_level | |
---|---|---|---|---|---|---|
LVStation_127331_transformer_2 | NaN | Line_4600219 | 1 | 10.000000 | None | mv/lv |
LVStation_127332_transformer_2 | NaN | Line_4600219 | 1 | 10.000000 | None | mv/lv |
LVStation_127333_transformer_2 | NaN | Line_4600219 | 1 | 10.000000 | None | mv/lv |
LVStation_131444_transformer_2 | NaN | Line_4600162 | 1 | 10.000000 | None | mv/lv |
LVStation_131520_transformer_2 | NaN | Line_4600162 | 1 | 10.000000 | None | mv/lv |
LVStation_131521_transformer_2 | NaN | Line_4600162 | 1 | 10.000000 | None | mv/lv |
LVStation_131522_transformer_2 | NaN | Line_4600162 | 1 | 10.000000 | None | mv/lv |
LVStation_131544_transformer_2 | NaN | Line_4600225 | 1 | 10.000000 | None | mv/lv |
LVStation_131551_transformer_2 | NaN | Line_4600225 | 1 | 10.000000 | None | mv/lv |
LVStation_131552_transformer_2 | NaN | Line_4600225 | 1 | 10.000000 | None | mv/lv |
LVStation_131572_transformer_2 | NaN | Line_4600225 | 1 | 10.000000 | None | mv/lv |
LVStation_403155_transformer_2 | NaN | Line_4600205 | 1 | 10.000000 | None | mv/lv |
LVStation_131997_transformer_2 | NaN | Line_4600205 | 1 | 10.000000 | None | mv/lv |
LVStation_131998_transformer_2 | NaN | Line_4600225 | 1 | 10.000000 | None | mv/lv |
LVStation_133183_transformer_2 | NaN | Line_4600197 | 1 | 10.000000 | None | mv/lv |
LVStation_133449_transformer_2 | NaN | Line_4600056 | 1 | 10.000000 | None | mv/lv |
LVStation_133452_transformer_2 | NaN | Line_4600056 | 1 | 10.000000 | None | mv/lv |
LVStation_133653_transformer_2 | NaN | Line_4600197 | 1 | 10.000000 | None | mv/lv |
LVStation_134203_transformer_1 | NaN | Line_4600219 | 1 | 10.000000 | 630 kVA | mv/lv |
LVStation_134201_transformer_2 | NaN | Line_4600219 | 1 | 10.000000 | None | mv/lv |
LVStation_134678_transformer_2 | NaN | Line_247091997 | 1 | 10.000000 | None | mv/lv |
LVStation_134808_transformer_2 | NaN | Line_4600197 | 1 | 10.000000 | None | mv/lv |
LVStation_134806_transformer_2 | NaN | Line_4600197 | 1 | 10.000000 | None | mv/lv |
LVStation_134807_transformer_2 | NaN | Line_4600197 | 1 | 10.000000 | None | mv/lv |
LVStation_515408_transformer_2 | NaN | Line_4600219 | 1 | 10.000000 | None | mv/lv |
LVStation_135154_transformer_2 | NaN | Line_4600056 | 1 | 10.000000 | None | mv/lv |
LVStation_490064_transformer_2 | NaN | Line_4600056 | 1 | 10.000000 | None | mv/lv |
LVStation_135232_transformer_2 | NaN | Line_247091997 | 1 | 10.000000 | None | mv/lv |
LVStation_135390_transformer_2 | NaN | Line_4600176 | 1 | 10.000000 | None | mv/lv |
LVStation_135391_transformer_2 | NaN | Line_4600176 | 1 | 10.000000 | None | mv/lv |
... | ... | ... | ... | ... | ... | ... |
Line_4600154 | 0.518209 | Line_4600205 | 2 | 25.910431 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600155 | 0.158554 | Line_4600205 | 2 | 7.927697 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600156 | 2.740050 | Line_4600205 | 2 | 137.002501 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600157 | 0.803434 | Line_4600205 | 2 | 40.171682 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600159 | 0.468000 | Line_4600162 | 1 | 37.439991 | NA2XS(FL)2Y 3x1x400 RM/35 | mv |
Line_4600160 | 1.462758 | Line_4600162 | 2 | 73.137882 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600161 | 0.248933 | Line_4600162 | 1 | 19.914631 | NA2XS(FL)2Y 3x1x400 RM/35 | mv |
Line_4600162 | 15.487777 | Line_4600162 | 3 | 619.511089 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600163 | 0.253302 | Line_4600162 | 1 | 20.264195 | NA2XS(FL)2Y 3x1x400 RM/35 | mv |
Line_4600176 | 7.317145 | Line_4600176 | 3 | 292.685808 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600179 | 1.563543 | Line_4600219 | 1 | 125.083401 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600197 | 2.155860 | Line_4600197 | 1 | 172.468830 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600198 | 2.032446 | Line_4600197 | 1 | 162.595663 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600199 | 1.691968 | Line_4600197 | 1 | 135.357401 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600204 | 0.319743 | Line_4600205 | 2 | 15.987135 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600205 | 6.153706 | Line_4600205 | 2 | 307.685293 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600209 | 0.415003 | Line_4600205 | 2 | 20.750141 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600211 | 0.246991 | Line_4600219 | 1 | 19.759299 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600213 | 0.703915 | Line_4600225 | 4 | 24.637028 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600215 | 0.124811 | Line_4600197 | 1 | 9.984848 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600217 | 0.984402 | Line_4600219 | 4 | 34.454081 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600219 | 21.015414 | Line_4600219 | 4 | 735.539489 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600223 | 1.851791 | Line_4600225 | 5 | 59.257299 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600224 | 4.530520 | Line_4600225 | 6 | 135.915586 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600225 | 19.456032 | Line_4600225 | 6 | 583.680955 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_4600226 | 3.049003 | Line_4600162 | 2 | 152.450172 | NA2XS2Y 3x1x185 RM/25 | mv |
Line_1336530000030 | 0.021000 | Line_4600197 | 1 | 2.100000 | NAYY 4x1x185 | lv |
Line_1336530000034 | 0.021000 | Line_4600197 | 1 | 2.100000 | NAYY 4x1x185 | lv |
Line_1336530000037 | 0.021000 | Line_4600197 | 1 | 2.100000 | NAYY 4x1x185 | lv |
Line_1336530000040 | 0.021000 | Line_4600197 | 1 | 2.100000 | NAYY 4x1x185 | lv |
1124 rows × 6 columns
edisgo.plot_mv_grid_expansion_costs()
/home/birgit/virtualenvs/edisgo_release/git_repos/eDisGo/edisgo/tools/plots.py:369: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy lambda _: '_'.join(_.split('_')[0:2])).values
Vergleich mit anderer Kofiguration
Anpassung der Regelspannung am Umspannwerk und daraus folgend der Spannungsbandaufteilung
# initialisiere EDisGo Netzwerk mit Zukunftsszenario NEP2035, sowie geänderten
# Konfigurationen bzgl. Regelspannung (1.04 p.u.) und Spannungsbandaufteilung
edisgo_2 = EDisGo(ding0_grid='ding0_grid_example.pkl',
worst_case_analysis='worst-case',
generator_scenario='nep2035',
config_path='.')
# ermittle Netzausbaumaßnahmen
edisgo_2.reinforce()
# speichere Netzausbauergebnisse
edisgo_2.network.results.save(directory='results/nep_worst_case_2',
parameters='grid_expansion_results')
WARNING:root:Right now only solar and wind generators can be imported from the oedb. INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.449378 seconds INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.467887 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.461948 seconds INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.472149 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.440685 seconds INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.440505 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.435658 seconds INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.449751 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.430013 seconds INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.443596 seconds INFO:edisgo:==> Load issues were solved in 3 iteration step(s). INFO:edisgo:==> Voltage issues in MV grid were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues at busbars in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Load issues were rechecked and solved in 0 iteration step(s).
# Vergleich Netzausbaukosten der beiden Szenarien
# berechne Gesamtkosten je Spannungslevel
costs_1 = edisgo.network.results.grid_expansion_costs.groupby(['voltage_level']).sum().loc[:, ['total_costs']]
costs_2 = edisgo_2.network.results.grid_expansion_costs.groupby(['voltage_level']).sum().loc[:, ['total_costs']]
costs_df = costs_1.join(costs_2, rsuffix='_2', lsuffix='_1').rename(
columns={'total_costs_1': 'Gesamtkosten Szenario 1',
'total_costs_2': 'Gesamtkosten Szenario 2'}).T
costs_df
voltage_level | lv | mv | mv/lv |
---|---|---|---|
Gesamtkosten Szenario 1 | 1537.166806 | 10630.393692 | 410.0 |
Gesamtkosten Szenario 2 | 1454.573142 | 10572.721457 | 410.0 |
Vergleich der Gesamtdeutschen Netzausbaukosten mit anderen Studien
Der konventionelle Netzausbaubedarf (ohne Flexibilitäten, Betriebsfälle Starklast- und Rückspeisefall, Default-Werte in den Konfigurationsdateien) wurde für die beiden Szenarien NEP2035 und eGo100 für alle Netzgebiete berechnet und dient als eine Benchmark zur Bewertung der Netzebenen-übergreifenden Netzplanung mit Speicherausbau.
Zur Einordnung der Ergebnisse werden die mit den eGo Tools und Daten berechneten Netzausbaukosten mit denen der DENA Verteilnetzstudie sowie der BMWi Verteilernetzstudie gegenübergestellt. Der Vergleich kann lediglich eine grobe Einordnung darstellen, die sich die Szenarien deutlich voneinander unterscheiden.
Szenario | Basisjahr | Zieljahr | $\Delta$Wind in GW | $\Delta$PV in GW | Quelle |
---|---|---|---|---|---|
eGo (NEP2035) | 2015 | 2035 | 47.5 | 21.4 | [4] |
DENA (NEP B 2012) | 2010 | 2030 | 34.3 | 44.9 | [1] |
BMWi (NEP) | 2012 | 2032 | ~35.0 | ~35.0 | [3] |
eGo (ego100) | 2015 | 2050 | 57.1 | 59.3 | [5] |
# Netzausbaukosten Gesamtdeutschland als benchmark für etrago Rechnungen
costs_germany = pd.DataFrame({'DENA (NEP B 2012)': [3.6, 7.8],
'BMWi (NEP)': [8, 9.3],
'eGo (NEP2035)': [2.1, 12.3],
'eGo (ego100)': [3.7, 12.9]},
index=['NS', 'MS'])
costs_germany.T.plot(kind='bar', stacked=True)
plt.xlabel('')
plt.xticks(rotation=0)
plt.ylabel('Investitionsbedarf in Mrd. €')
plt.savefig('Vergleich_Netzausbaukosten_Dt.png')
# Netzausbaukosten Gesamtdeutschland als benchmark für etrago Rechnungen
%matplotlib inline
import pandas as pd
import matplotlib.pyplot as plt
costs_germany = pd.DataFrame({'NEP2035\n (worst-case)': [2.1, 12.3],
'NEP2035\n (flex)': [1.33, 10.5], #18% Kosteneinsparung
'eGo100\n (worst-case)': [3.7, 12.9],
'eGo100\n (flex)': [3.7, 12.9]},
index=['NS', 'MS'])
costs_germany.T.plot(kind='bar', stacked=True)
plt.xlabel('')
plt.xticks(rotation=0)
plt.ylabel('Investitionsbedarf in Mrd. €')
plt.savefig('Vergleich_Netzausbaukosten_Dt.png')
Als Anwendungsfall für die Abregelung dient eine Variantenrechnung zur Leistungssteuerung von DEA aus der DENA Verteilnetzstudie. Hier wird eine Leistungsbegrenzung von Windkraftanlagen von 80% sowie von PV-Anlagen von 70% angenommen (entspricht ca. einer Kappung von 2-3% der Jahresenergie).
Anhand dieser Vorgaben soll ein Vergleich der gleichmäßigen Abregelung aller PV- und Windkraftanlagen mit der spannungsbasierten Abregelung vorgenommen werden.
# initialisiere EDisGo Netzwerk mit Zukunftsszenario NEP2035 für den Rückspeisefall
from edisgo import EDisGo
edisgo_curt = EDisGo(ding0_grid='ding0_grid_example.pkl',
worst_case_analysis='worst-case-feedin',
generator_scenario='nep2035')
WARNING:root:Right now only solar and wind generators can be imported from the oedb.
Zunächst werden die Netzausbaukosten die bei einer Dimensionierung des Netzes für den Rückspeisefall (ohne Abregelung) entstehen als Referenzwert berechnet.
# Netzausbaukosten vor Abregelung (ohne Änderung der Netztopologie)
results_before_curtailment = edisgo_curt.reinforce(copy_graph=True)
INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.509137 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.488858 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.365590 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.350760 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.362910 seconds INFO:edisgo:==> Load issues were solved in 3 iteration step(s). INFO:edisgo:==> Voltage issues in MV grid were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues at busbars in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Load issues were rechecked and solved in 0 iteration step(s).
Nun wird über die installierte Leistung und die Annahmen zur Leistungsbegrenzung die abzuregelnde Leistung berechnet.
import pandas as pd
from edisgo.grid.tools import get_gen_info
# berechne abzuregelnde Leistung bei Leistungsbeschränkung von 70% für PVA sowie 80% für WKA
rel_curtailment = pd.Series([0.15, 0.2], index=['solar', 'wind'])
# installierte Leistung von Wind und PV
generator_df = get_gen_info(edisgo_curt.network, fluctuating=True)
installed_cap = generator_df.groupby(['type']).sum().loc[:, 'nominal_capacity']
curtailed_power = installed_cap * rel_curtailment
curtailment_timeseries = pd.DataFrame({'solar': curtailed_power.solar,
'wind': curtailed_power.wind},
index=edisgo_curt.network.timeseries.timeindex)
# plotte installierte und abzuregelnde Leistung
pd.DataFrame(data={'Installierte Leistung': installed_cap, 'Abzuregelnde Leistung': curtailed_power}).plot(kind='bar');
Die abzuregelnde Leistung wird durch folgenden Aufruf mit Angabe der zu verwendenden Methode sowie einer Zeitreihe der abzuregelnden Leistung auf die PV- und Windkraftanlagen aufgeteilt:
edisgo.curtail(methodology='feedin-proportional', # 'feedin-proportional' oder 'voltage-based'
curtailment_timeseries=curtailment_timeseries)
Weitere Infos zu der curtail Funktion sowie zu den Methoden finden sich in der Dokumentation.
Im Folgenden werden die gerade berechneten Abregelungsvorgaben einmal gleichmäßig sowie einmal spannungsbasiert allokiert.
# erstelle weitere EDisGo Instanz für die Anwendug beider Abregelungsmethoden
import copy
edisgo_curt_voltage = copy.deepcopy(edisgo_curt)
# Aufruf der Abregelungsmethoden
edisgo_curt.curtail(methodology='feedin-proportional',
curtailment_timeseries=curtailment_timeseries)
edisgo_curt_voltage.curtail(methodology='voltage-based',
curtailment_timeseries=curtailment_timeseries)
INFO:root:Start curtailment methodology feedin-proportional. INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.481719 seconds INFO:root:Start curtailment methodology voltage-based. INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.461981 seconds /home/birgit/virtualenvs/edisgo_release/git_repos/eDisGo/edisgo/flex_opt/curtailment.py:111: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy lambda _: allowed_voltage_diff_lv if _ == 'lv'
Welche Überlastungen und Spannungsbandverletzungen bestehen nun nach Abregelung?
# erstelle Listen über bestehende Überlastungsprobleme und Spannungsbandverletzungen
edisgo_curt_voltage.analyze()
edisgo_curt.analyze()
voltage_issues_curt_voltage = get_voltage_issues(edisgo_curt_voltage)
overloading_issues_curt_voltage = get_overloading_issues(edisgo_curt_voltage)
voltage_issues_curt_proportional = get_voltage_issues(edisgo_curt)
overloading_issues_curt_proportional = get_overloading_issues(edisgo_curt)
INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.362439 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.455933 seconds
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
fig, axes = plt.subplots(nrows=2, ncols=2)
# Leitungsüberlastungen
bins = np.arange(1, 6, 0.05)
ax1 = overloading_issues_curt_proportional.hist(ax=axes[0, 0], bins=bins)
ax1.set_title('Leitungsüberlastungen')
ax1.set_ylabel('Gleichmäßige\n Abregelung')
ax3 = overloading_issues_curt_voltage.hist(ax=axes[1, 0], bins=bins)
ax3.set_ylabel('Spannungsbasierte\n Abregelung')
# Spannungsbandverletzungen
bins = np.arange(0, 0.014, 0.0005)
ax2 = voltage_issues_curt_proportional.hist(ax=axes[0, 1], bins=bins)
ax2.set_title('Spannungsbandverletzungen')
if not voltage_issues_curt_voltage.empty:
voltage_issues_curt_voltage.hist(ax=axes[1, 1], bins=bins)
else:
# Workaround falls keine Spannungsbandverletzung auftritt
pd.DataFrame([0], index=[0]).hist(ax=axes[1, 1], bins=bins, color='white')
Welche Kostenreduktion ergibt sich durch die Abregelung?
# Berechnung der Kosten der nach Abregelung noch bestehenden notwendigen Netzausbaumaßnahmen
results_curtailment_proportional = edisgo_curt.reinforce(copy_graph=True)
results_curtailment_voltage = edisgo_curt_voltage.reinforce(copy_graph=True)
INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.513259 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.493272 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.367264 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.378295 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.355054 seconds INFO:edisgo:==> Load issues were solved in 3 iteration step(s). INFO:edisgo:==> Voltage issues in MV grid were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues at busbars in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Load issues were rechecked and solved in 0 iteration step(s). INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.351166 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.357056 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.367074 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.367295 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.355986 seconds INFO:edisgo:==> Load issues were solved in 3 iteration step(s). INFO:edisgo:==> Voltage issues in MV grid were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues at busbars in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Load issues were rechecked and solved in 0 iteration step(s).
# Netzausbaukosten vor und nach Abregelung gruppiert nach Spannungslevel
costs_initial = results_before_curtailment.grid_expansion_costs.groupby(['voltage_level']).sum().loc[:, ['total_costs']]
costs_curt_proportional = results_curtailment_proportional.grid_expansion_costs.groupby(['voltage_level']).sum().loc[:, ['total_costs']]
costs_curt_voltage = results_curtailment_voltage.grid_expansion_costs.groupby(['voltage_level']).sum().loc[:, ['total_costs']]
# plotte Kosten
costs_df = costs_initial.join(costs_curt_proportional, rsuffix='_1').join(
costs_curt_voltage, rsuffix='_2').rename(
columns={'total_costs': 'Gesamtkosten\n (vor Abregelung)',
'total_costs_1': 'Gesamtkosten\n (gleichmäßige\n Abregelung)',
'total_costs_2': 'Gesamtkosten\n (spannungsbasierte\n Abregelung)'})
costs_df.T.plot(kind='bar', stacked=True)
plt.xlabel('')
plt.xticks(rotation=0)
plt.ylabel('Investitionsbedarf in k€');
Das Ziel im open_eGo Projekt war es, den Gesamtdeutschen Netzausbaubedarf über alle Netzebenen bei einer top-down Optimierung für die beiden erstellten Szenarien zu bestimmen. Dazu wird zunächst eine Optimierung des Netz- und Speicherausbaus in der HS und HöS mit dem eTraGo Tool durchgeführt. Aus der Optimierung ergeben sich zum einen Abregelungsvorgaben für jedes MS-Netzgebiet, sowie ein optimaler Speicherausbau und -betrieb für jeden Netzknoten. Diese optimierten Größen werden an die jeweiligen MS-Netzgebiete über die Schnittstelle eGo weiter gegeben.
Im Folgenden wird beispielhaft gezeigt, wie die Umsetzung der Vorgaben bei der Netzebenen-übergreifenden Netzplanung in der geplanten Veröffentlichung "Integrated techno-economic power system planning of transmission and distribution grids" erfolgt. Im ersten Schritt werden die Abregelungsvorgaben spannungsbasiert auf die Wind- und PV-Anlagen allokiert. Anschließend erfolgt die Speicherintegration. Dann noch bestehende Überstrom- und Spannungsprobleme werden durch Netzausbau behoben.
import pandas as pd
from edisgo import EDisGo
timeindex = pd.date_range('2011-05-01 00:00', periods=24, freq='H')
timeseries_generation_dispatchable = pd.DataFrame({'other': 1}, index=timeindex)
edisgo_ts = EDisGo(ding0_grid='ding0_grid_example.pkl',
generator_scenario='ego100',
timeseries_generation_fluctuating='oedb',
timeseries_generation_dispatchable=timeseries_generation_dispatchable,
timeseries_load='demandlib',
timeindex=timeindex)
WARNING:root:Right now only solar and wind generators can be imported from the oedb.
# berechne Netzausbaukosten die sich bei Betrachtung der ausgewählten Zeitschritte ergeben
results_initial = edisgo_ts.reinforce(copy_graph=True)
INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.428850 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.420984 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.419021 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.452645 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.421067 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.414801 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.440343 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.440404 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.444254 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.454332 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.451521 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.461107 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.424288 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000001 in 0.429528 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.427675 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.427528 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.443070 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.436357 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.477389 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.473889 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.473526 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.483689 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.478145 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.475164 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.491167 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.493249 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.480454 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.481082 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.497361 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.482751 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.492019 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.480972 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.490973 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.485155 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.484696 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.426683 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.425128 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000001 in 0.423125 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.429648 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.420490 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.422937 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.492670 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.481694 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.487813 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.490281 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.477855 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.478959 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.492834 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.412364 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.411680 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.459207 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.452958 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.448568 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.445972 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.438500 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.455693 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.461475 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.452331 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.443939 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.457090 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.451174 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.453828 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.409549 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.413668 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.454168 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.456256 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.444146 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.441591 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.457263 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.455648 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.446669 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.439481 seconds INFO:edisgo:==> Load issues were solved in 1 iteration step(s). INFO:edisgo:==> Voltage issues in MV grid were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues at busbars in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Load issues were rechecked and solved in 0 iteration step(s).
# lade Abregelungsvorgaben als Series
curtailment_requirements = pd.read_csv('curtailment.csv',
index_col=[0], parse_dates=True, header=None).loc[:, 1]
# plotte Last und Einspeisung für den gewählten Zeitraum
edisgo_ts.network.pypsa.loads_t.p_set.sum(axis=1).plot(color='red', label='Last', legend=True)
edisgo_ts.network.pypsa.generators_t.p_set.sum(axis=1).plot(color='darkblue', label='PV+Wind', legend=True)
edisgo_ts.network.pypsa.generators_t.p_set.loc[
:, edisgo_ts.network.pypsa.generators.type.str.contains('solar')].sum(axis=1).plot(
label='PV', legend=True, color='yellow')
(edisgo_ts.network.pypsa.generators_t.p_set.sum(axis=1) - curtailment_requirements*1e-3).plot(
color='lightblue', label='Einspeisung nach\n Abregelung', legend=True);
# allokiere Abregelungsvorgaben mit spannungsbasierter Abregelungsmethode
edisgo_ts.curtail(methodology='voltage-based',
curtailment_timeseries=curtailment_requirements)
INFO:root:Start curtailment methodology voltage-based. INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.458035 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.450163 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.454522 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.454489 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.449555 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.450939 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.456239 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.450014 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.452763 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.453342 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.449208 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.445655 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.397129 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000001 in 0.393700 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.437897 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.452221 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.457479 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.450144 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.450228 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.451643 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.409091 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.393971 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.401647 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.392614 seconds
# Berechne Netzausbaukosten nach Abregelung
results_after_curtailment = edisgo_ts.reinforce(copy_graph=True)
INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.405911 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.406389 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.464571 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.457589 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.452668 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.463598 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.443493 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.454284 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.458227 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.402292 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.403423 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.403826 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.409726 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.401167 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.407810 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.405035 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.409420 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.401141 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.404209 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.408167 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.406776 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.405966 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.423370 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.441857 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.400481 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.405602 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.403358 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.403578 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.402213 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.403605 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.425095 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.462363 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.460001 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.401723 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.451691 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.413076 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.405165 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.404756 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.404025 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.405417 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.408353 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.403385 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.403345 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.404391 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.408939 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.407999 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.402894 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.403066 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.400063 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.404452 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.399308 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.405738 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.404260 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.398537 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.430404 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.396475 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.400434 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.409963 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.411404 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.407607 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.413202 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.408647 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.405824 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.409604 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.412152 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.432172 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.450394 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.409885 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.407302 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.399266 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.400271 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.409865 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.483669 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.525721 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.519620 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.475485 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.456566 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.507869 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.516980 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.448912 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.509260 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.523431 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.450959 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.503232 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.484647 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.483259 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.502075 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.468155 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.525825 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.478667 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.478648 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.507914 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.491540 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.453413 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.510533 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.505440 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.447522 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.441835 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.446836 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.442122 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.456466 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.436494 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.450718 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.451562 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.439598 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.444573 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.448293 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.450525 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.449455 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.447695 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.447127 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.457035 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.455058 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.470397 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.470568 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.456115 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.498039 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.380797 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.405939 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.403506 seconds INFO:edisgo:==> Load issues were solved in 3 iteration step(s). INFO:edisgo:==> Voltage issues in MV grid were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues at busbars in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Load issues were rechecked and solved in 0 iteration step(s).
# lade Speichervorgaben
storage_ts = pd.read_csv('storage.csv', index_col=[0], parse_dates=True)
edisgo_ts.network.pypsa.loads_t.p_set.sum(axis=1).plot(color='red', label='Last', legend=True)
edisgo_ts.network.pypsa.generators_t.p_set.sum(axis=1).plot(color='darkblue', label='Einspeisung', legend=True)
(edisgo_ts.network.pypsa.generators_t.p_set.sum(axis=1) + storage_ts.p * 1e-3).plot(
color='lightblue', label='Einspeisung mit Speicher', legend=True);
# plotte Leitungsbelastung
edisgo_ts.plot_mv_line_loading(node_color='voltage')
/home/birgit/virtualenvs/edisgo_release/git_repos/eDisGo/edisgo/tools/plots.py:415: UserWarning: Boolean Series key will be reindexed to match DataFrame index. pypsa_network.lines.bus1.isin(pypsa_plot.buses.index)]
edisgo_ts.integrate_storage(timeseries=storage_ts.p,
position='distribute_storages_mv',
timeseries_reactive_power=storage_ts.q)
INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.483505 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.473167 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.491654 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.480872 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.487695 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.425922 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.425458 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.472658 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.477439 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.475127 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.477234 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.476361 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.437495 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.425407 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.419325 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.422924 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.474258 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.470002 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.435389 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.424900 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.419896 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.422698 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.420000 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.423417 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 20:00:00', '2011-05-01 14:00:00'], dtype='datetime64[ns]', freq=None) INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.422221 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.423713 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 20:00:00', '2011-05-01 14:00:00'], dtype='datetime64[ns]', freq=None) INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.411284 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.415013 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 20:00:00', '2011-05-01 14:00:00'], dtype='datetime64[ns]', freq=None) INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.421772 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.420961 seconds INFO:edisgo:==> Load issues were solved in 2 iteration step(s). INFO:edisgo:==> Voltage issues in MV grid were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues at busbars in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Load issues were rechecked and solved in 0 iteration step(s). INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332340 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.351665 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.348381 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.348568 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334038 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.348713 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332607 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334886 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336730 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337152 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335851 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.345747 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.343983 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335407 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337213 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.348398 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336224 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334583 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335338 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335522 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337674 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337333 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336063 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334945 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335233 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335778 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334631 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335470 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335108 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333725 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335743 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335338 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338512 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335526 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337614 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335297 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.342591 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337159 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.339176 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336646 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.339150 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334963 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335349 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333287 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336290 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336406 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337444 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335454 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334726 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334247 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333349 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334819 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337502 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335485 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336493 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334946 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337213 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334063 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338778 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.341356 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337079 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335086 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336978 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336417 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335871 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335300 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333214 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336465 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337461 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337034 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335700 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335766 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337946 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333108 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332916 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.341907 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334658 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332317 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333990 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332488 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335422 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333070 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333812 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333138 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336828 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332309 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333239 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334758 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334861 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333114 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.341576 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.345888 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.342460 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.342797 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.342155 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.343707 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336923 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333270 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333785 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.331967 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334958 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332595 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333807 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.330858 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333367 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.331701 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332381 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335088 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334276 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334863 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332576 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332649 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335804 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335683 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334561 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.331992 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333446 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333223 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333716 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335491 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.341292 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337412 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337094 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337332 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337077 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.339860 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337615 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338342 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336137 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336390 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337850 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337324 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336714 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335662 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336355 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337017 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336662 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336885 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335880 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337715 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336600 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336481 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337013 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.341584 seconds
storages = edisgo_ts.network.results.storages
storages
grid_connection_point | nominal_power | voltage_level | |
---|---|---|---|
storage_id | |||
MVGrid_460_storage_1 | BranchTee_MVGrid_460_75 | 2300.0 | mv |
MVGrid_460_storage_2 | BranchTee_MVGrid_460_2 | 1500.0 | mv |
MVGrid_460_storage_3 | BranchTee_MVGrid_460_62 | 2100.0 | mv |
MVGrid_460_storage_4 | LVStation_136620 | 2100.0 | mv |
# plotte Speicherstandorte
edisgo_ts.plot_mv_storage_integration()
# plotte Speicherstandorte
edisgo_ts.plot_mv_line_loading(node_color='voltage')
%matplotlib inline
import matplotlib.pyplot as plt
edisgo_ts.analyze()
# erstelle Listen über bestehende Überlastungsprobleme und Spannungsbandverletzungen
voltage_issues = get_voltage_issues(edisgo_ts)
overloading_issues = get_overloading_issues(edisgo_ts)
# plotte bestehende Leitungsüberlastungen und Spannungsbandverletzungen
fig, axes = plt.subplots(nrows=1, ncols=2)
ax1 = voltage_issues.hist(ax=axes[0], bins=50)
ax1.set_title('Spannungsbandverletzungen')
ax2 = overloading_issues.hist(ax=axes[1], bins=50)
ax2.set_title('Leitungsüberlastungen');
INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.349286 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.351551 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.393249 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.377671 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.352849 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.347000 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.344627 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.360815 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.379019 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.461497 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.397395 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.444844 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.359154 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.410086 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.384058 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.381284 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.343331 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.339522 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338084 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337120 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335865 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338650 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335937 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338246 seconds
# berechne Netzausbaukosten nach Speicherintegration
results_after_storage_integration = edisgo_ts.reinforce(copy_graph=True)
INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336005 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.339968 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.341659 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335850 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337785 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335692 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.340397 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338087 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337283 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338985 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.339362 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338949 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338456 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338069 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335900 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.340546 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336386 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337546 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334744 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334776 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335497 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337366 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335995 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337208 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.339495 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334097 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335637 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335450 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338331 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338219 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.339112 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336059 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.341697 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338755 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.342979 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334629 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337597 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335429 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335221 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336392 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.347047 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336210 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.339228 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.341225 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.339465 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338850 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.349546 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.339561 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335582 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334338 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335633 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337262 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337270 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337893 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336347 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337400 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335241 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338253 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338028 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337976 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337354 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337196 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337247 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337168 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338192 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334457 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337766 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334033 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337850 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334614 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333887 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333994 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337248 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334076 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.341411 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335374 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338147 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333872 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333841 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333927 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336694 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336804 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.340269 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335375 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332982 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336218 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.340004 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336132 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335247 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333459 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334347 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334029 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337161 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333979 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337620 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333431 seconds INFO:edisgo:==> Load issues were solved in 2 iteration step(s). INFO:edisgo:==> Voltage issues in MV grid were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues at busbars in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Load issues were rechecked and solved in 0 iteration step(s).
Vergleich mit anderem Speicherstandort
Im Folgenden wird einer der Speicher statt an dem mit der Speicherintegrationsmethode identifizierten Standort weiter vorne im Strang positioniert und die danach noch bestehenden Netzverstärkungsmaßnahmen bestimmt.
# wähle Speicher
storage = edisgo_ts.network.mv_grid.graph.nodes_by_attribute('storage')[0]
storage
MVGrid_460_storage_1
# bestimme Pfad zu dem Netzverknüpfungspunkt an dem der Speicher angeschlossen ist
import networkx as nx
path_to_storage = nx.shortest_path(edisgo_ts.network.mv_grid.graph,
edisgo_ts.network.mv_grid.station,
storages.loc[repr(storage), 'grid_connection_point'])
path_to_storage
[MVStation_460, BranchTee_MVGrid_460_6, BranchTee_MVGrid_460_70, BranchTee_MVGrid_460_69, LVStation_131543, BranchTee_MVGrid_460_33, BranchTee_MVGrid_460_34, LVStation_131544, LVStation_131572, BranchTee_MVGrid_460_36, LVStation_131551, BranchTee_MVGrid_460_35, LVStation_131553, BranchTee_MVGrid_460_75]
# integriere neuen Speicher an Netzverknüpfungspunkt weiter vorne im Strang
edisgo_ts.integrate_storage(timeseries=storage.timeseries.p,
timeseries_reactive_power=storage.timeseries.q,
position=path_to_storage[2])
# entferne ursprünglichen Speicher aus dem Netz
from edisgo.grid import tools
tools.disconnect_storage(edisgo_ts.network, storage)
# plotte neuen Speicherstandort
edisgo_ts.plot_mv_storage_integration()
# berechne Netzausbaukosten nach Speicherintegration weiter vorne im Strang
results_after_storage_integration_2 = edisgo_ts.reinforce(copy_graph=True)
INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.340974 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338171 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334144 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337279 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335270 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335643 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333493 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.341478 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.348234 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337095 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335248 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334369 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337352 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334594 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.340738 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337052 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336959 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.350077 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336666 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334124 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335086 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337591 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335215 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.340384 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.340588 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336402 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333394 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333351 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337493 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.331881 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337055 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336695 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332004 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336938 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332489 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335950 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332505 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335232 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333225 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337363 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334212 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334508 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333646 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333732 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333246 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332838 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334326 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.331810 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.351630 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.339161 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338336 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.331950 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.344224 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.349576 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.343046 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335678 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.344549 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335453 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.344722 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338787 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.341180 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.338950 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.340981 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.337239 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.344130 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336089 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.343489 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.336402 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.350715 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.335309 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.339104 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.339075 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['2011-05-01 00:00:00', '2011-05-01 01:00:00', '2011-05-01 02:00:00', '2011-05-01 03:00:00', '2011-05-01 04:00:00', '2011-05-01 05:00:00', '2011-05-01 06:00:00', '2011-05-01 07:00:00', '2011-05-01 08:00:00', '2011-05-01 09:00:00', '2011-05-01 10:00:00', '2011-05-01 11:00:00', '2011-05-01 12:00:00', '2011-05-01 13:00:00', '2011-05-01 14:00:00', '2011-05-01 15:00:00', '2011-05-01 16:00:00', '2011-05-01 17:00:00', '2011-05-01 18:00:00', '2011-05-01 19:00:00', '2011-05-01 20:00:00', '2011-05-01 21:00:00', '2011-05-01 22:00:00', '2011-05-01 23:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.334930 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.331136 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333473 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332601 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.330546 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332159 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333659 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.330584 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.331763 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.331542 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333235 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.331887 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332726 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333961 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332558 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.331733 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332429 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333315 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.331526 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.331142 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.333615 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.330978 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.332978 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.330776 seconds INFO:edisgo:==> Load issues were solved in 2 iteration step(s). INFO:edisgo:==> Voltage issues in MV grid were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues at busbars in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Load issues were rechecked and solved in 0 iteration step(s).
# vergleiche Netzausbaukosten beider Speicherszenarien
costs_1 = results_after_storage_integration.grid_expansion_costs.groupby(['voltage_level']).sum().loc[:, ['total_costs']]
costs_2 = results_after_storage_integration_2.grid_expansion_costs.groupby(['voltage_level']).sum().loc[:, ['total_costs']]
costs_df = costs_1.join(costs_2, rsuffix='_2', lsuffix='_1').rename(
columns={'total_costs_1': 'Gesamtkosten Speicherszenario 1',
'total_costs_2': 'Gesamtkosten Speicherszenario 2'}).T
costs_df
voltage_level | lv | mv | mv/lv |
---|---|---|---|
Gesamtkosten Speicherszenario 1 | 1308.638155 | 9259.337017 | 430.0 |
Gesamtkosten Speicherszenario 2 | 1308.638155 | 9305.107193 | 430.0 |
# berechne Netzausbaukosten bei Betrachtung von Starklast- und Rückspeisefall
edisgo_worst_case = EDisGo(ding0_grid='ding0_grid_example.pkl',
worst_case_analysis='worst-case',
generator_scenario='ego100')
edisgo_worst_case.reinforce()
WARNING:root:Right now only solar and wind generators can be imported from the oedb. INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.415958 seconds INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.419227 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.418510 seconds INFO:pypsa.pf:Newton-Raphson solved in 4 iterations with error of 0.000000 in 0.415374 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.316350 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.319082 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.319807 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.316970 seconds INFO:pypsa.pf:Slack bus for sub-network 0 is Bus_MVStation_460 INFO:pypsa.pf:Performing non-linear load-flow on AC sub-network SubNetwork 0 for snapshots DatetimeIndex(['1970-01-01 00:00:00', '1970-01-01 01:00:00'], dtype='datetime64[ns]', freq='H') INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.316149 seconds INFO:pypsa.pf:Newton-Raphson solved in 3 iterations with error of 0.000000 in 0.315114 seconds INFO:edisgo:==> Load issues were solved in 3 iteration step(s). INFO:edisgo:==> Voltage issues in MV grid were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues at busbars in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Voltage issues in LV grids were solved in 0 iteration step(s). INFO:edisgo:==> Load issues were rechecked and solved in 0 iteration step(s).
<edisgo.grid.network.Results at 0x7f120204c0f0>
# Netzausbaukosten für worst-case, vor Abregelung, nach Abregelung sowie nach Speicherintegration
costs_worst_case = edisgo_worst_case.network.results.grid_expansion_costs.sum().total_costs
costs_initial = results_initial.grid_expansion_costs.sum().total_costs
costs_after_curtailment = results_after_curtailment.grid_expansion_costs.sum().total_costs
costs_after_storage = results_after_storage_integration.grid_expansion_costs.sum().total_costs
# plotte Kosten
costs_df = pd.DataFrame(data=[costs_worst_case, costs_initial, costs_after_curtailment, costs_after_storage],
index=['worst-case',
'vor\n Abregelung',
'nach\n Abregelung',
'nach Speicher-\n integration'])
costs_df.plot(kind='bar', legend=False)
plt.xlabel('')
plt.xticks(rotation=0)
plt.ylabel('Investitionsbedarf in k€');
[1] A.C. Agricola et al.: dena-Verteilnetzstudie: Ausbau- und Innovationsbedarf der Stromverteilnetze in Deutschland bis 2030. 2012.
[2] C. Rehtanz et al.: Verteilnetzstudie für das Land Baden-Württemberg, ef.Ruhr GmbH, 2017.
[3] J. Büchner et al.: Moderne Verteilernetze für Deutschland (Verteilernetzstudie), E-Bridge, IAEW, OFFIS, 2014.
[4] 50Hertz Transmission GmbH, Amprion GmbH, TenneT TSO GmbH, TransnetBW GmbH (ÜNB): Netzentwicklungsplan Strom 2025, Version 2015 – Erster Entwurf der Übertragungsnetzbetreiber, 2015.
[5] e-Highway 2050: e-highway 2050 modular development plan of the pan-european transmission system 2050, 2015; URL: http://www.e-highway2050.eu/fileadmin/documents/Results/e-Highway_database_per_country-08022016.xlsx.