Constrain every efuel trade link individually #42
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is one of several branches that I started in parallel to get the final results, and the one that happened to run to 2045 in the end. The bug that was preventing the other branches from running was related to the pypsa version, not the changes.
This branches adresses the problem of efuel exports in a softer manner. Instead of a ban on efuel exports, it implements the efuel import constraints for every carrier separatedly. In this way it prevents, that in the case of an active upper constraint on efuel imports, the model starts to export e.g. biogas in order import more biofuels (because previously export and imports of different efuels cancelled out). The somewhat inexplicable Fisher-Tropsch exports in 2035/40 remain however.
Addtionally this PR does some housekeeping.
Before:




After:
Before asking for a review for this PR make sure to complete the following checklist:
ariadne_allcompletes without errorsexport_ariadne_variableshas been adapted to the changesChangelog.mdmainhas been merged into the PRYYYYMMDDdescriptive_title