When synfuels are imported to Germany (or any country) the emissions are not accounted for in the national CO2 target. The same applies to the export of synfuels.
This PR adds in extra_functionality.py in the function add_co2limit_country(n, limit_countries, snakemake) the sum over all import and export of synfuels to/from Germany and subtract/adds multiplied by the emission factor of oil to the national CO2 target.
PR https://github.com/PyPSA/pypsa-ariadne/pull/33 is therefore obsolete.
at the moment it will only work for "DE". If we want to enable that for any country, the untangling of the oil bus must be flexible as well.
For this look into modify_prenetwork.py in https://github.com/PyPSA/pypsa-ariadne/pull/39
When synfuels are imported to Germany (or any country) the emissions are not accounted for in the national CO2 target. The same applies to the export of synfuels. This PR adds in
extra_functionality.py
in the functionadd_co2limit_country(n, limit_countries, snakemake)
the sum over all import and export of synfuels to/from Germany and subtract/adds multiplied by the emission factor of oil to the national CO2 target. PR https://github.com/PyPSA/pypsa-ariadne/pull/33 is therefore obsolete.at the moment it will only work for "DE". If we want to enable that for any country, the untangling of the oil bus must be flexible as well. For this look into
modify_prenetwork.py
in https://github.com/PyPSA/pypsa-ariadne/pull/39