Merge pull request #772 from PyPSA/land-transport-oil

madd oil generator to bus EU oil
This commit is contained in:
Fabian Neumann 2023-11-12 18:23:07 +01:00 committed by GitHub
commit 065a49c2d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"]