diff --git a/scripts/base_network.py b/scripts/base_network.py index 3c74a94b..b23fa0c1 100644 --- a/scripts/base_network.py +++ b/scripts/base_network.py @@ -461,6 +461,7 @@ def base_network(): n.name = 'PyPSA-Eur' n.set_snapshots(pd.date_range(freq='h', **snakemake.config['snapshots'])) + n.snapshot_weightings[:] *= 8760./n.snapshot_weightings.sum() n.import_components_from_dataframe(buses, "Bus") n.import_components_from_dataframe(lines, "Line")