Add carrier "AC" and "DC" in base_network.py

This commit is contained in:
virio-andreyana 2023-04-24 05:05:43 +02:00 committed by GitHub
parent 2b069e3031
commit ad9a67509f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -714,6 +714,7 @@ def base_network(
n.name = "PyPSA-Eur"
n.set_snapshots(pd.date_range(freq="h", **config["snapshots"]))
n.madd("Carrier",["AC","DC"])
n.import_components_from_dataframe(buses, "Bus")
n.import_components_from_dataframe(lines, "Line")