Skip to content

Commit

Permalink
Merge pull request #772 from PyPSA/land-transport-oil
Browse files Browse the repository at this point in the history
madd oil generator to bus EU oil
  • Loading branch information
fneum authored Nov 12, 2023
2 parents 86358af + c7a4ff7 commit 065a49c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions scripts/prepare_sector_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -1556,14 +1556,7 @@ def add_land_transport(n, costs):
)

if ice_share > 0:
if "oil" not in n.buses.carrier.unique():
n.madd(
"Bus",
spatial.oil.nodes,
location=spatial.oil.locations,
carrier="oil",
unit="MWh_LHV",
)
add_carrier_buses(n, "oil")

ice_efficiency = options["transport_internal_combustion_efficiency"]

Expand Down

0 comments on commit 065a49c

Please sign in to comment.