Update prepare_sector_network.py

add logger info if CO2 network is added
This commit is contained in:
lisazeyen 2021-09-24 15:30:43 +02:00 committed by GitHub
parent 960d857d0b
commit 7ed20aba7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -392,7 +392,8 @@ def add_co2_tracking(n, options):
def add_co2_network(n, costs):
logger.info("Adding CO2 network.")
co2_links = create_network_topology(n, "CO2 pipeline ")
cost_onshore = (1 - co2_links.underwater_fraction) * costs.at['CO2 pipeline', 'fixed'] * co2_links.length