-
Notifications
You must be signed in to change notification settings - Fork 149
Fix 1st generation bioenergy trajectory and conversion efficiencies #2253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@robertsalzwedel just FYI |
dklein-pik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool! Thank you for digging so deep and for explaining your changes so detailed.
|
Dear Leon @merfort , thanks a lot for this well-described PR! |
Ah, good point! You find the runs here (I also updated the PR description): |
dklein-pik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, thank you!
I agree that the overall price impact is small, I am just wondering why these price spikes appear at all - this shouldn't be the case. if I look at the so the model is stuck on the upper bound in 2015/2020, and then on the lower bound in the following time steps. but there is no reason why the model would be willing to pay 70$/GJ in 2015 for liquid biomass - FE demand prices are in the range of 20-30 $/GJ. .... ahhhh - I get it. we put a bound on shares of biomass in FE demands according to IEA. This bound has high marginals in 2015 in the new version: I guess because before, the efficiency was at 1, so even though now the fuel extraction is higher, the model is more squeezed because it produces less bioliuids with this. |
|
so unless there is an important reason why being a bit too high on the pebios/pebioil side would be problematic, I would propose to relax the upper bound by +10%-15% instead of +1% over the original FAO values. I guess I would trust the IEA FE values more than the FAO PE values :-) I would hope in such a run the price spikes would disappear, @merfort |
|
Ok, an unexpected turn of events: In a meeting with Kristine and Misko we realized that the input of the 1st gen bio-ethanol technology is already given in quantities of ethanol, so the If I do this, we obviously need much lower PE quantities to generate the same amount of SE. This mitigates the impact on fuel prices quite a bit. However, particularly the 2020 spike in The green line, which hides behind orange, shows the results for setting eta to 1. Since orange and green have virtually the same prices, it becomes clear that relaxing the bound by 10% (as done in the orange and the blue scenarios) is not enough. I would suggest to set eta to 1 now and then merge the PR, accepting the price spike for now, given that it does neither affect global SE prices, nor regional ( |
|
Indeed, an interesting turn of events :-) And yes, the proposal is fine with me! |
|
@dklein-pik @robertsalzwedel FYI :) |

Purpose of this PR
New Implementation
This PR addresses problems with our representation of 1st generation bioenergy, i.e. ethanol production from sugar/starch crops and biodiesel production from oil crops.
vm_fuExtrof PE carrierspebiosandpebioilto follow these trajectories, had been deactivated for time steps pre-2030 and furthermore early retirement was activated (as these bounds led to infeasibilities). This led to the situation that the quantities were not met at all before 2030. The new implementation reintroduces the bounds with the following principles:vm_fuExtris implicitly determined by historic capacity constraints (vm_deltaCap) on the technologiesbioethsandbiodiesel, which are derived in 04_PE_FE_parameters and are informed by numbers from the IEA.vm_fuExtrdirectly follows the bounds from FAO-based input data for historic years and future projections from the literature (viap30_datapebio, coming from calc1stBioDem). We use FAO data, to be consistent with MAgPIE. However, in some cases this would lead to inconsistencies (and thereby infeasibilities) with the historic IEA technology capacity constraints. To prevent that, the bound is lifted in these cases.bioethsandbiodiesel.pm_eta_convhad been informed by historic input and output quantities. The calcIO function assumes that input and output for thebioethsandbiodieseltechnologies are equal (leading to eta=1), i.e. that there is no conversion happening any more. This is actually true forbioeths. Here the assumption is that we already start with the finished product (ethanol), so a conversion efficiency would be 1 correct. However, in generisdata tech, so far a wrong conversion efficiency of 0.55 is given, so all regions will eventually converge to that wrong number (and regions without historic data already start with that wrong value). Forbiodiesel, we assume that the conversion step from plant oil to biodiesel still has to happen, so a (regional) conversion efficiency of 1 would be wrong (we currently assume a global value of 0.93). To fix the issues, we do the following:bioths, setting it to 1.00 (forbiodieselit is kept at 0.93).bioethsandbiodiesel, bypassing the (partially) wrong values from calcIO (forbioethsit does not make a difference anyways, but to be transparent, it is better to directly use one global number, as it clearly shows that the technology, by design, does not do any real conversion)Impact on results
You find the runs here:
/p/tmp/merfort/REMIND_bugfix_1stgen/remind_update_bounds/outputThe new runs are those with
fixBound_etas1in the title.A compare scenarios PDF is here:
/p/tmp/merfort/REMIND_bugfix_1stgen/remind_update_bounds/compScen-old_vs_new_eta1-2025-12-16_22.29.19-H12.pdfProduction of sugar and starch crops
As can be seen, following the FAO bounds again lifts production in basically al regions. Thus, before the model was deploying less PE from sugar/starch than it should have. T
Production of oil crops
Following the FAO bounds removes the spike in 2020/2025 in oil crop production.
SE Liquids from Biomass
The higher PE quantities and the increased conversion efficiency increase the amount of SE liquids from biomass quite a bit in some regions.
SE Liquids prices
Bound relaxation works
The black dashed line shows the original bound on

vm_fuExtras it comes fromp30_datapebio, i.e. from FAO/literature. Forpebiosthe bound is now relaxed to match historic capacities, e.g. inCAZ,IND, orLAM:For

pebioilhistoric capacities don't violate that bound, so there is no relaxation necessary:Next steps
vm_fuExtrfrom FAO and particularly the literature-based future projections need to be updated and re-aligned with more up-to-date projections, i.e. calc1stBioDem needs a rework.bioethstechnology needs a rework. Apparently, it so far assumed that the conversion from the sugar/starch crop to ethanol still has to happen. But since we already start with the "ready to use" feedstok ethanol, probably the techno-economic assumptions are wrong. Given that quantities are fully exogenous, thought, this issue should not affect the dynamics.Type of change
Indicate the items relevant for your PR by replacing ◻️ with ☑️.
Do not delete any lines. This makes it easier to understand which areas are affected by your changes and which are not.
Parts concerned
Impact
Checklist
Do not delete any line. Leave unfinished elements unchecked so others know how far along you are.
In the end all checkboxes must be ticked before you can merge.
make test) after my final commit and all tests pass (FAIL 0)remind2if and where it was neededforbiddenColumnNamesin readCheckScenarioConfig.R in case the PR leads to deprecated switchesCHANGELOG.mdcorrectly (added, changed, fixed, removed, input data/calibration)Further information (optional)