-
Notifications
You must be signed in to change notification settings - Fork 38
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
Transport improvements from 2025-W09 #300
Merged
Merged
Conversation
This file contains 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
93819ec
to
15d2a67
Compare
ef606e7
to
be40603
Compare
2783070
to
e93396a
Compare
1f3b723
to
b2373cb
Compare
khaeru
pushed a commit
that referenced
this pull request
Mar 26, 2025
- Fix LDV speed in scenario=SSP1. For narrative consistency, this should stay constant (or maybe even decrease) rather than increasing. - Use 70 for scenario=SSP1, t=RAIL. - Adjust values for scenario=SSP1, t=AIR in some regions. - Add (commented) block of values used to derive PDT per capita in scenario=LED-SSP1.
khaeru
pushed a commit
that referenced
this pull request
Mar 26, 2025
- Fix LDV speed in scenario=SSP1. For narrative consistency, this should stay constant (or maybe even decrease) rather than increasing. - Use 70 for scenario=SSP1, t=RAIL. - Adjust values for scenario=SSP1, t=AIR in some regions. - Add (commented) block of values used to derive PDT per capita in scenario=LED-SSP1.
b2373cb
to
bc386f7
Compare
khaeru
pushed a commit
that referenced
this pull request
Mar 26, 2025
- Adjust values for SSP1, SSP2, and SSP3 scenarios - cf. discussion and alternate methods at https://iiasa-ece.slack.com/archives/CCFHDNA6P/p1742279792200949?thread_ts=1742205408.282339&cid=CCFHDNA6P
khaeru
pushed a commit
that referenced
this pull request
Mar 26, 2025
- Fix LDV speed in scenario=SSP1. For narrative consistency, this should stay constant (or maybe even decrease) rather than increasing. - Use 70 for scenario=SSP1, t=RAIL. - Adjust values for scenario=SSP1, t=AIR in some regions. - Add (commented) block of values used to derive PDT per capita in scenario=LED-SSP1.
bc386f7
to
5d4eea1
Compare
khaeru
pushed a commit
that referenced
this pull request
Mar 26, 2025
- Reduce cost of EVs in scenario=SSP1; adjust EV/ICE cost ratio for SSP1. - Use lower BEV and PHEV costs in some regions.
khaeru
pushed a commit
that referenced
this pull request
Mar 26, 2025
- Adjust values for SSP1, SSP2, and SSP3 scenarios - cf. discussion and alternate methods at https://iiasa-ece.slack.com/archives/CCFHDNA6P/p1742279792200949?thread_ts=1742205408.282339&cid=CCFHDNA6P
5d4eea1
to
458ac65
Compare
khaeru
pushed a commit
that referenced
this pull request
Mar 26, 2025
- Change values for scenario=LED, SSP1.
khaeru
pushed a commit
that referenced
this pull request
Mar 26, 2025
- Fix LDV speed in scenario=SSP1. For narrative consistency, this should stay constant (or maybe even decrease) rather than increasing. - Use 70 for scenario=SSP1, t=RAIL. - Adjust values for scenario=SSP1, t=AIR in some regions. - Add (commented) block of values used to derive PDT per capita in scenario=LED-SSP1.
khaeru
pushed a commit
that referenced
this pull request
Mar 27, 2025
- Reduce cost of EVs in scenario=SSP1; adjust EV/ICE cost ratio for SSP1. - Use lower BEV and PHEV costs in some regions.
khaeru
pushed a commit
that referenced
this pull request
Mar 27, 2025
- Adjust values for SSP1, SSP2, and SSP3 scenarios - cf. discussion and alternate methods at https://iiasa-ece.slack.com/archives/CCFHDNA6P/p1742279792200949?thread_ts=1742205408.282339&cid=CCFHDNA6P
- In order to address scale-1 values > 1, limit the following technologies to a low share in all regions in y=2020: - t="f road electr". - Two F ROAD technologies using c="gas". - Two P BUS technologies using c="gas". - Delete corresponding entries from R12/config.yaml "minimum-activity" key.
- Change values for scenario=LED, SSP1.
Previously the value was pop()'d and did not reach handle_cli_args().
- for c=gas -using road technologies. - Divide placeholder 0.01 by scale-1 values from trial run.
- Fix LDV speed in scenario=SSP1. For narrative consistency, this should stay constant (or maybe even decrease) rather than increasing. - Use 70 for scenario=SSP1, t=RAIL. - Adjust values for scenario=SSP1, t=AIR in some regions. - Add (commented) block of values used to derive PDT per capita in scenario=LED-SSP1.
- ContainsParameterData: sort items in log message for easier comparison. - HasCoords: - Handle xr.DataArray coords. - Use consistent language in log messages. - Give a positive/confirmation log message for a passing check. - HasUnits: handle ParameterData recursively.
This allows to reuse the same data in other tasks.
- Move COMMON, DIMS constants to globals. - Add a TARGET global. - Reference .keys instead of hard-coding. - Use genno.Key generation. - Move structural items to .build.STRUCTURE_STATIC.
- Separate .transport.other for non-passenger data. - Adjust usage, imports.
- Improve and expand .test_build.test_debug() checks. - Generate some expectations dynamically based on config. - Use .testing.check.verbose_check(). - Roll in assertions from 3 other tests. - test_data.test_get_{freight,non_ldv}_data(): drop; see above. - test_disutility.test_disutility(): drop; see above.
- This is necessary when the input data has interior gaps, as it does in modifications for #300. - Drop use of genno.KeySeq; use Key generation features.
Store the annotation as unquoted string.
The string repr() of a unit cannot be eval()'d.
- Add .testing.MARK. - Chain .transport.testing.MARK from .testing.MARK. - Sort globals in .testing.
17f90a1
to
79b5417
Compare
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.
demand
parameters.output
)Debug possible double-counting via summation in IAMC-structured reporting of final energy (discussed 2025-03-06)Next PR.Allow to distinguish LED-SSP1 from LED-SSP2 in pdt-cap.csv input data (discussed 2025-03-11)Next PR.The branch contained about 120 commits with extensive iteration on/calibration of input values @r-aneeque, but has been rebased to drop all but the last set of changes to:
How to review
PR checklist