Transport improvements for 2026-W16#497
Draft
khaeru wants to merge 61 commits into
Draft
Conversation
16 tasks
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #497 +/- ##
=======================================
- Coverage 74.1% 71.7% -2.5%
=======================================
Files 318 319 +1
Lines 25568 25635 +67
=======================================
- Hits 18966 18399 -567
- Misses 6602 7236 +634
🚀 New features to boost your workflow:
|
khaeru
added a commit
that referenced
this pull request
Apr 17, 2026
73bed45 to
4d5ddb7
Compare
khaeru
added a commit
that referenced
this pull request
Apr 18, 2026
4d5ddb7 to
808bc39
Compare
khaeru
added a commit
that referenced
this pull request
Apr 18, 2026
808bc39 to
2f6864f
Compare
khaeru
added a commit
that referenced
this pull request
Apr 18, 2026
2f6864f to
69cca97
Compare
khaeru
added a commit
that referenced
this pull request
Apr 19, 2026
69cca97 to
bb34756
Compare
khaeru
added a commit
that referenced
this pull request
Apr 19, 2026
bb34756 to
a84399e
Compare
- Redefine SCENARIO Enum as a URNLookupEnum based on this code list.
Tests in .transport.test_util were associated with the function .transport.util.configure() that has been replaced by the Config class.
- Rename transport scenario code list to CL_SCENARIO_CIRCEULAR_TRANSPORT; adjust references. - Add and expand tests.
- Use .util.Substitutions to transform labels. - Add tests.
For CircEUlar
The changes include: Changing scenario names Adding Non-LDV material intensities Updated VMI values
Fix Non-LDV lifetime values Add CircEUlar scenario variations
Changes include Fix & update Non-LDV values Add variations for CircEUlar scenarios
I added a version this file on the https://github.com/iiasa/message-ix-models/tree/transport-runs-2026-w17 branch.
Consolidate fuel economy for all vehicles (except RAIL in one file) Add CircEUlar variations
- Add .transport.material.LABEL_SCENARIO. - Add tests.
Update to latest labels from VMI Add third al_extrus aluminum variant
- Add tests. - Adjust usage.
- Ensure that new data in lifetime.csv and activity-vehicle.csv are broadcast to scenario labels other than SSPs and LED.
Use for instance "SSP_2024_1" to align with Config.label and LABEL_SUBS, instead of "SSP(2024).1".
Construct indexers via LABEL_SUBS only once for general use.
Remove code for repeated construction of indexers.
Fix error on R12-CHN & R12-NAM,
Update BEV & PHEV values based on IEA EV data for years = {2021-2025}
khaeru
commented
Jun 26, 2026
| R12_LAM, PHEV_ptrp, 2025, 0.0608 | ||
| R12_MEA, ELC_100, 2015, 0.0002144 | ||
| R12_MEA, ELC_100, 2020, 0.000532 | ||
| R12_MEA, ELC_100, 2025, 0.0076326 |
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.
MESSAGEix-Transport itself:
Materials-Transport integration / CircEUlar project
Housekeeping/other items
Simplify definition and use of pytest marks across the test suite.
Add a new pytest mark "ci_linux_only" and apply it to some of the slowest tests.
This mark skips these tests on Windows and macOS, which are typically the slowest jobs. Compare jobs A and B:
The marked tests include 18 of the 20 slowest:
How to review
TBA
PR checklist