Repository navigation
Fix free sink for hydrogen and biogas in the SE balance (audit result) - #2544
Open
tonnrueter wants to merge 2 commits into
Open
tonnrueter wants to merge 2 commits into
tonnrueter wants to merge 2 commits into
Conversation
When the RLDC power realization was removed (`6a1f2ab0b`, remindmodel#1769), the equation `q32_H2cofiring` went with it. It tied the demand variable `vm_demSeOth` to solar thermal plants (csp). The csp entries of `demSeOth2te` (`seh2`, `segabio`, `segafos`) stayed in the secondary energy balance `q_balSe`, without any bound or cost. The model used them to throw away surplus hydrogen, mostly from gas plants (`gash2`) built for 2030. Fix vm_demSeOth to zero for the csp entries in `core/bounds.gms`. The biochar entry (`sebiochar.biocharuse`) is not changed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
q_balSecontainsvm_demSeOthfor thecspentries ofdemSeOth2te(seh2,segabio,segafos). These were tied to CSP co-firing byq32_H2cofiring, which was removed with RLDC in #1769. Since then they have no equation, bound or cost, so the model can dump secondary energy there for free. It mainly dumps hydrogen from gas-H2 plants built in 2030, the last year they can be built (0.56–0.64 EJ/yr worldwide), and some biogas.This PR fixes these entries to zero. In NPi, NDC, rollBack and EcBudg500, gas-H2 capacity w/o CC drops by about 30 % from 2030 onwards and
SE|Hydrogenby about 0.4–0.5 EJ/yr in 2030. Totals barely change. The biochar entry, which also usesvm_demSeOth, is not touched.Deleting the
cspentries fromdemSeOth2tewould be cleaner than the bound, butremind2reads them. Should we do that in a follow-up together with aremind2PR?Purpose of this PR
Please explain your PR here.
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.
Note: This is not required for documentation PRs that only touch
tutorials/or*.md/*.Rmdfiles.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)
after= this PR,before= develop at 1e2dbd9):/p/tmp/tonnru/bye-module/another-remind/output/SSP2-NPi2025-B40-before_2026-11-17_13.50.52/p/tmp/tonnru/bye-module/another-remind/output/SSP2-NPi2025-B40-after_2026-11-17_14.32.31/p/tmp/tonnru/bye-module/another-remind/output/SSP2-NDC-B40-before_2026-11-17_17.39.55/p/tmp/tonnru/bye-module/another-remind/output/SSP2-NDC-B40-after_2026-11-17_17.42.56/p/tmp/tonnru/bye-module/another-remind/output/SSP2-rollBack-B40-before_2026-11-17_17.40.50/p/tmp/tonnru/bye-module/another-remind/output/SSP2-rollBack-B40-after_2026-11-18_13.28.11/p/tmp/tonnru/bye-module/another-remind/output/SSP2-EcBudg500-B40-before_2026-11-17_17.40.27/p/tmp/tonnru/bye-module/another-remind/output/SSP2-EcBudg500-B40-after_2026-11-17_17.43.22(EcBudg500 does not converge, with or without this PR)/p/tmp/tonnru/bye-module/another-remind/output/compScen-B40-before-after-2026-11-17_16.55.53-H12.pdf(NPi)/p/tmp/tonnru/bye-module/another-remind/output/compScen-B40-NDC-rollBack-after-before-2026-11-18_16.10.30-H12.pdf(NDC, rollBack)