Repository navigation
Remove switch cm_steel_secondary_max_share_scenario - #2533
Open
tobiasdiez wants to merge 1 commit into
Open
tobiasdiez wants to merge 1 commit into
tobiasdiez wants to merge 1 commit into
Conversation
Author
|
(Sorry for pushing directly to the |
tobiasdiez
marked this pull request as draft
November 12, 2026 20:03
Contributor
|
beautiful! |
tobiasdiez
added a commit
to pik-piam/remind-mfa
that referenced
this pull request
Nov 23, 2026
The maximum share of scrap in the metallic input to steel production was a constant 0.7 in every year and region. It now follows the current logic in mrindustry: for historical years, it is the scrap share of each region and year (scrap input over metallic input) and then it gets extrapolated linearly to the scenario target (default is 70% in 2050). Notes (as I'm a bit unsure how to handle these correctly): - The historical system has no scrap flows, so SteelMFASystemHistorical.scrap_share computes the scrap input as the future system does, capped at 0.7 of the metallic input as before (now a documented expert guess as it doesn't make sense to use scenario targets for historical data). - The share is exported so that mrindustry can then pass it further to REMIND. In particular, we can thus consistently model scenarios with different max scrap shares, and can remove scenario-specific modelling in REMIND (remindmodel/remind#2533). --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: pik-piam-bot[bot] <335062343+pik-piam-bot[bot]@users.noreply.github.com>
Author
|
I've now also run |
tobiasdiez
marked this pull request as ready for review
November 24, 2026 09:59
The switch let a scenario override the maximum secondary steel share. As far as I could find out, it was added for ARIADNE in 2022 and only ever set in that project's scenario config, which no longer sets it and has since been deleted. No other config uses it. Industry demand will move to remind-mfa, where the scrap share cap is computed and then, via mrindustry, passed to REMIND in the future. A cap only in REMIND would no longer match the scrap-based steel the MFA computed.
tobiasdiez
force-pushed
the
remove-steel-secondary-max
branch
from
November 24, 2026 10:00
ad2c9ed to
9ff6972
Compare
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.
Purpose of this PR
The switch let a scenario override the maximum secondary steel share. As far as I could find out, it was added for ARIADNE in 2022 and only ever set in that project's scenario config, which no longer sets it and has since been deleted. No other config uses it.
Industry demand will move to remind-mfa, where the scrap share cap is computed and then, via mrindustry, passed to REMIND in the future.
A cap only in REMIND would no longer match the scrap-based steel the MFA computed.
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)
test_01-codeCheckandtest_01-readCheckScenarioConfigpass.