Skip to content

Commit

Permalink
corrected network name (#983)
Browse files Browse the repository at this point in the history
  • Loading branch information
GbotemiB authored Mar 7, 2024
1 parent 53ee932 commit 071c34e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/base_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def _set_electrical_parameters_links(links_config, links):
def _set_electrical_parameters_transformers(transformers_config, transformers):
config = transformers_config

## Add transformer parameters
# Add transformer parameters
transformers["x"] = config.get("x", 0.1)
transformers["s_nom"] = config.get("s_nom", 2000)
transformers["type"] = config.get("type", "")
Expand Down Expand Up @@ -513,7 +513,7 @@ def base_network(
converters = _set_electrical_parameters_converters(links_config, converters)

n = pypsa.Network()
n.name = "PyPSA-Eur"
n.name = "PyPSA-Earth"

n.set_snapshots(pd.date_range(freq="h", **snapshots_config))
n.snapshot_weightings[:] *= 8760.0 / n.snapshot_weightings.sum()
Expand Down

0 comments on commit 071c34e

Please sign in to comment.