-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add technoeconomic cost projections and related data #99
Commits on Apr 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ee19ef1 - Browse repository at this point
Copy the full SHA ee19ef1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56eb164 - Browse repository at this point
Copy the full SHA 56eb164View commit details -
Configuration menu - View commit details
-
Copy full SHA for 770ca0c - Browse repository at this point
Copy the full SHA 770ca0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee38b17 - Browse repository at this point
Copy the full SHA ee38b17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74d2f98 - Browse repository at this point
Copy the full SHA 74d2f98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d4b358 - Browse repository at this point
Copy the full SHA 3d4b358View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92df57b - Browse repository at this point
Copy the full SHA 92df57bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a63ca8d - Browse repository at this point
Copy the full SHA a63ca8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d6fbe2 - Browse repository at this point
Copy the full SHA 5d6fbe2View commit details -
Configuration menu - View commit details
-
Copy full SHA for addea82 - Browse repository at this point
Copy the full SHA addea82View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf13d12 - Browse repository at this point
Copy the full SHA bf13d12View commit details -
Configuration menu - View commit details
-
Copy full SHA for d59b382 - Browse repository at this point
Copy the full SHA d59b382View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bea19d - Browse repository at this point
Copy the full SHA 6bea19dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ecfb7b - Browse repository at this point
Copy the full SHA 2ecfb7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf8e863 - Browse repository at this point
Copy the full SHA cf8e863View commit details -
Configuration menu - View commit details
-
Copy full SHA for 251d820 - Browse repository at this point
Copy the full SHA 251d820View commit details -
The following changes were made: - renamed and sorted dicts - used pandas chaining when possible - replaced nested loop with itertools.product() - edited docstrings style - renamed data files - added source information when possible
Configuration menu - View commit details
-
Copy full SHA for ad4d288 - Browse repository at this point
Copy the full SHA ad4d288View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74cec53 - Browse repository at this point
Copy the full SHA 74cec53View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5170c38 - Browse repository at this point
Copy the full SHA 5170c38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7825d0f - Browse repository at this point
Copy the full SHA 7825d0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for aecf5b6 - Browse repository at this point
Copy the full SHA aecf5b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 944721b - Browse repository at this point
Copy the full SHA 944721bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ef1152 - Browse repository at this point
Copy the full SHA 1ef1152View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13a5ab1 - Browse repository at this point
Copy the full SHA 13a5ab1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf7864e - Browse repository at this point
Copy the full SHA cf7864eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c08106a - Browse repository at this point
Copy the full SHA c08106aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b385b0 - Browse repository at this point
Copy the full SHA 0b385b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae06841 - Browse repository at this point
Copy the full SHA ae06841View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab17011 - Browse repository at this point
Copy the full SHA ab17011View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa66910 - Browse repository at this point
Copy the full SHA fa66910View commit details -
Update docs with new iea -> costs name
Had to delete the _autosummary and _build folders and rebuild again for the sphinx build to work properly The files in the _autosummary kept looking for iea.costs module
Configuration menu - View commit details
-
Copy full SHA for b27938d - Browse repository at this point
Copy the full SHA b27938dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 286c529 - Browse repository at this point
Copy the full SHA 286c529View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0f1f40 - Browse repository at this point
Copy the full SHA b0f1f40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b01365 - Browse repository at this point
Copy the full SHA 5b01365View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08e62dc - Browse repository at this point
Copy the full SHA 08e62dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 632454a - Browse repository at this point
Copy the full SHA 632454aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 275163b - Browse repository at this point
Copy the full SHA 275163bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 478b8a1 - Browse repository at this point
Copy the full SHA 478b8a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72a56f5 - Browse repository at this point
Copy the full SHA 72a56f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42f3bf6 - Browse repository at this point
Copy the full SHA 42f3bf6View commit details -
Add functionality to derive technology costs vs GDP linear regressions
The script does the following: - Read in raw GDP data for SSP1, SSP2, and SSP3 scenarios - Calculate regional GDP ratios - Apply linear regression using regional GDP regional ratios and regional cost ratios
Configuration menu - View commit details
-
Copy full SHA for 7d4e964 - Browse repository at this point
Copy the full SHA 7d4e964View commit details -
Configuration menu - View commit details
-
Copy full SHA for be330fb - Browse repository at this point
Copy the full SHA be330fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0fa4ba - Browse repository at this point
Copy the full SHA e0fa4baView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6eac9f - Browse repository at this point
Copy the full SHA d6eac9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for da8d6e6 - Browse repository at this point
Copy the full SHA da8d6e6View commit details -
Change some function inputs into global variables and some function v…
…ariables into inputs
Configuration menu - View commit details
-
Copy full SHA for 8889590 - Browse repository at this point
Copy the full SHA 8889590View commit details -
Configuration menu - View commit details
-
Copy full SHA for 956bda6 - Browse repository at this point
Copy the full SHA 956bda6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99914ed - Browse repository at this point
Copy the full SHA 99914edView commit details -
Configuration menu - View commit details
-
Copy full SHA for cee0eb9 - Browse repository at this point
Copy the full SHA cee0eb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e981487 - Browse repository at this point
Copy the full SHA e981487View commit details -
Configuration menu - View commit details
-
Copy full SHA for f467ffd - Browse repository at this point
Copy the full SHA f467ffdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78c0093 - Browse repository at this point
Copy the full SHA 78c0093View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33bdf72 - Browse repository at this point
Copy the full SHA 33bdf72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ed3605 - Browse repository at this point
Copy the full SHA 3ed3605View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04b9ada - Browse repository at this point
Copy the full SHA 04b9adaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e2ee6b - Browse repository at this point
Copy the full SHA 4e2ee6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea7f921 - Browse repository at this point
Copy the full SHA ea7f921View commit details -
Configuration menu - View commit details
-
Copy full SHA for eff575d - Browse repository at this point
Copy the full SHA eff575dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81a833e - Browse repository at this point
Copy the full SHA 81a833eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0231e59 - Browse repository at this point
Copy the full SHA 0231e59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e389f0 - Browse repository at this point
Copy the full SHA 4e389f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 448cf4a - Browse repository at this point
Copy the full SHA 448cf4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b712fb4 - Browse repository at this point
Copy the full SHA b712fb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94f7447 - Browse repository at this point
Copy the full SHA 94f7447View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7883405 - Browse repository at this point
Copy the full SHA 7883405View commit details -
Configuration menu - View commit details
-
Copy full SHA for b733be8 - Browse repository at this point
Copy the full SHA b733be8View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd9b436 - Browse repository at this point
Copy the full SHA cd9b436View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77e33dd - Browse repository at this point
Copy the full SHA 77e33ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2c6ee4 - Browse repository at this point
Copy the full SHA e2c6ee4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62460a7 - Browse repository at this point
Copy the full SHA 62460a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4b05f5 - Browse repository at this point
Copy the full SHA e4b05f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d4c5c0 - Browse repository at this point
Copy the full SHA 5d4c5c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec0215d - Browse repository at this point
Copy the full SHA ec0215dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8985418 - Browse repository at this point
Copy the full SHA 8985418View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9f4e24 - Browse repository at this point
Copy the full SHA c9f4e24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 243122f - Browse repository at this point
Copy the full SHA 243122fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6ae0d9 - Browse repository at this point
Copy the full SHA f6ae0d9View commit details -
Update methodology for calculating cost projections
This updated methodology looks like following: 1. Apply learning rates to NAM region investment costs 2. Use regionally differentiated GDP ratios and cost ratios to develop a linear model (predict cost ratios based on GDP ratio) 3. Calculate adjusted (annual) regionally differentiated cost ratio 4. Project investment costs in all regions using the new adjusted cost ratios 5. Perform polynomial regression on projections from (4) 6. Use regression splines to project investment costs (if NAM, use learning projections from (4); for all other regions use splines results) 7. Use fixed-to-investment cost ratios to calculate fixed O&M costs based on (6)
Configuration menu - View commit details
-
Copy full SHA for 0a62a9d - Browse repository at this point
Copy the full SHA 0a62a9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 825325a - Browse repository at this point
Copy the full SHA 825325aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5811041 - Browse repository at this point
Copy the full SHA 5811041View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4aac49a - Browse repository at this point
Copy the full SHA 4aac49aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e98b03e - Browse repository at this point
Copy the full SHA e98b03eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed6faf0 - Browse repository at this point
Copy the full SHA ed6faf0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08d681b - Browse repository at this point
Copy the full SHA 08d681bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1d74ef - Browse repository at this point
Copy the full SHA e1d74efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69c7fa1 - Browse repository at this point
Copy the full SHA 69c7fa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d52c83 - Browse repository at this point
Copy the full SHA 1d52c83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 565a830 - Browse repository at this point
Copy the full SHA 565a830View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9b051f - Browse repository at this point
Copy the full SHA e9b051fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fee8ec - Browse repository at this point
Copy the full SHA 9fee8ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3722006 - Browse repository at this point
Copy the full SHA 3722006View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9f07ee - Browse repository at this point
Copy the full SHA d9f07eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3671942 - Browse repository at this point
Copy the full SHA 3671942View commit details -
Configuration menu - View commit details
-
Copy full SHA for 986bac3 - Browse repository at this point
Copy the full SHA 986bac3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1822c43 - Browse repository at this point
Copy the full SHA 1822c43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ab6e13 - Browse repository at this point
Copy the full SHA 8ab6e13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bd7c51 - Browse repository at this point
Copy the full SHA 9bd7c51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f1a984 - Browse repository at this point
Copy the full SHA 9f1a984View commit details -
Implemented several changes to WEO module
- Update methodology to read in mapping of technologies and base year costs - Removed manual calculations of base year and reference region costs - Allow for specification of node/spatial resolution, base year, and reference region - Change inflation rate - Replace missing values in WEO data with medians of technology
Configuration menu - View commit details
-
Copy full SHA for 98113e1 - Browse repository at this point
Copy the full SHA 98113e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f017cfb - Browse repository at this point
Copy the full SHA f017cfbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b2bcf3 - Browse repository at this point
Copy the full SHA 9b2bcf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c709d57 - Browse repository at this point
Copy the full SHA c709d57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 935859f - Browse repository at this point
Copy the full SHA 935859fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c6dde6 - Browse repository at this point
Copy the full SHA 3c6dde6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed59cd4 - Browse repository at this point
Copy the full SHA ed59cd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b51cf0d - Browse repository at this point
Copy the full SHA b51cf0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d713f36 - Browse repository at this point
Copy the full SHA d713f36View commit details -
Restructure .tools.costs to allow for specifying:
- Node (R11, R12, or R20) - Base region (by default NAM for each) - Base year - SSP scenario version (updated/review or previous) - SSP scenario - Projection method (learning, GDP adjusted, or convergence with splines) - Convergence year
Configuration menu - View commit details
-
Copy full SHA for 23eff81 - Browse repository at this point
Copy the full SHA 23eff81View commit details -
Configuration menu - View commit details
-
Copy full SHA for f69c00c - Browse repository at this point
Copy the full SHA f69c00cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c5b726 - Browse repository at this point
Copy the full SHA 5c5b726View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfcf0aa - Browse repository at this point
Copy the full SHA cfcf0aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5096665 - Browse repository at this point
Copy the full SHA 5096665View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2d02b5 - Browse repository at this point
Copy the full SHA c2d02b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b77aa63 - Browse repository at this point
Copy the full SHA b77aa63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ba07d0 - Browse repository at this point
Copy the full SHA 3ba07d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14ae03b - Browse repository at this point
Copy the full SHA 14ae03bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c4507f - Browse repository at this point
Copy the full SHA 7c4507fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b2b864 - Browse repository at this point
Copy the full SHA 3b2b864View commit details -
Configuration menu - View commit details
-
Copy full SHA for e616834 - Browse repository at this point
Copy the full SHA e616834View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ef4b3e - Browse repository at this point
Copy the full SHA 1ef4b3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f93c79 - Browse repository at this point
Copy the full SHA 8f93c79View commit details -
Configuration menu - View commit details
-
Copy full SHA for bebac36 - Browse repository at this point
Copy the full SHA bebac36View commit details -
Add new GDP-adjusted cost ratio calculation
The new calculation introduces a different linear regression where each region-technology's base year cost ratio is linearly regressed to a hypothetical (where GDP ratio == 1, cost ratio == 1).
Configuration menu - View commit details
-
Copy full SHA for c1a9092 - Browse repository at this point
Copy the full SHA c1a9092View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b00c9d - Browse repository at this point
Copy the full SHA 7b00c9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 598816e - Browse repository at this point
Copy the full SHA 598816eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a922e9 - Browse repository at this point
Copy the full SHA 9a922e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 03970a0 - Browse repository at this point
Copy the full SHA 03970a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4cbcc0 - Browse repository at this point
Copy the full SHA a4cbcc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6608119 - Browse repository at this point
Copy the full SHA 6608119View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e5a4f2 - Browse repository at this point
Copy the full SHA 0e5a4f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75022a2 - Browse repository at this point
Copy the full SHA 75022a2View commit details -
This is a very rough implementation of the LED (low energy demand) scenario. All assumptions need serious and careful verification, as I mainly guessed values for now. I added values of cost reduction rates and assigned learning rate categories for each technology under an LED scenario (see `cost_reduction_rates.csv` and `technology_learning_rates.csv`). I assigned SSP2 population and GDP per capita data to the LED scenario (see `gdp.py`). Finally, I added the LED scenario to the projections functions (see `projections.py`).
Configuration menu - View commit details
-
Copy full SHA for 493f102 - Browse repository at this point
Copy the full SHA 493f102View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1000de0 - Browse repository at this point
Copy the full SHA 1000de0View commit details -
message_ix_models/tools/costs/projections.py
Remove unused code
Configuration menu - View commit details
-
Copy full SHA for 19dbf08 - Browse repository at this point
Copy the full SHA 19dbf08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 334ac39 - Browse repository at this point
Copy the full SHA 334ac39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d876bf - Browse repository at this point
Copy the full SHA 6d876bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5829178 - Browse repository at this point
Copy the full SHA 5829178View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f26260 - Browse repository at this point
Copy the full SHA 6f26260View commit details -
Add initial set of materials technologies to cost projections
For now, only projecting the technologies that can be mapped to the base set of technologies
Configuration menu - View commit details
-
Copy full SHA for d26a1d9 - Browse repository at this point
Copy the full SHA d26a1d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1cfd5d7 - Browse repository at this point
Copy the full SHA 1cfd5d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcf0648 - Browse repository at this point
Copy the full SHA bcf0648View commit details -
Configuration menu - View commit details
-
Copy full SHA for a07421e - Browse repository at this point
Copy the full SHA a07421eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 511bc59 - Browse repository at this point
Copy the full SHA 511bc59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32412c5 - Browse repository at this point
Copy the full SHA 32412c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c63e9a2 - Browse repository at this point
Copy the full SHA c63e9a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a19e2e - Browse repository at this point
Copy the full SHA 1a19e2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5d7653 - Browse repository at this point
Copy the full SHA e5d7653View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0af592c - Browse repository at this point
Copy the full SHA 0af592cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9066ba3 - Browse repository at this point
Copy the full SHA 9066ba3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 929bdb0 - Browse repository at this point
Copy the full SHA 929bdb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb8cdc6 - Browse repository at this point
Copy the full SHA cb8cdc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11a94d4 - Browse repository at this point
Copy the full SHA 11a94d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe09a85 - Browse repository at this point
Copy the full SHA fe09a85View commit details -
Configuration menu - View commit details
-
Copy full SHA for b218eac - Browse repository at this point
Copy the full SHA b218eacView commit details -
Add .tools.costs.config.Config dataclass
Also cherry-pick 80464da to satisfy mypy.
Configuration menu - View commit details
-
Copy full SHA for 154fa52 - Browse repository at this point
Copy the full SHA 154fa52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d75930 - Browse repository at this point
Copy the full SHA 8d75930View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79879c2 - Browse repository at this point
Copy the full SHA 79879c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f51875f - Browse repository at this point
Copy the full SHA f51875fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbf72a4 - Browse repository at this point
Copy the full SHA fbf72a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c17f04b - Browse repository at this point
Copy the full SHA c17f04bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3a7e11 - Browse repository at this point
Copy the full SHA f3a7e11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8530d11 - Browse repository at this point
Copy the full SHA 8530d11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10f1ffa - Browse repository at this point
Copy the full SHA 10f1ffaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3bffa8 - Browse repository at this point
Copy the full SHA a3bffa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6a6268 - Browse repository at this point
Copy the full SHA f6a6268View commit details -
Configuration menu - View commit details
-
Copy full SHA for 417843b - Browse repository at this point
Copy the full SHA 417843bView commit details -
Made small organizational and renaming changes
1. Renamed input CSVs 2. Renamed weo.py script to regional_differentiation.py
Configuration menu - View commit details
-
Copy full SHA for a2fb5ee - Browse repository at this point
Copy the full SHA a2fb5eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8303343 - Browse repository at this point
Copy the full SHA 8303343View commit details -
Configuration menu - View commit details
-
Copy full SHA for eef061a - Browse repository at this point
Copy the full SHA eef061aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb7ded0 - Browse repository at this point
Copy the full SHA fb7ded0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d034f0 - Browse repository at this point
Copy the full SHA 5d034f0View commit details -
Rename map_source and map_technology columns to reg_diff_source and r…
…eg_diff_technology
Configuration menu - View commit details
-
Copy full SHA for 570b409 - Browse repository at this point
Copy the full SHA 570b409View commit details -
Configuration menu - View commit details
-
Copy full SHA for fba9389 - Browse repository at this point
Copy the full SHA fba9389View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab8e516 - Browse repository at this point
Copy the full SHA ab8e516View commit details -
Implement changes for materials module:
- Add Intratec regional differentiation - Make assumptions for missing regional differentiation mappings - Make assumptions for cost reduction rates and scenarios - Add fix-to-inv cost ratios as input
Configuration menu - View commit details
-
Copy full SHA for 4934c57 - Browse repository at this point
Copy the full SHA 4934c57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b08140 - Browse repository at this point
Copy the full SHA 6b08140View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed8634f - Browse repository at this point
Copy the full SHA ed8634fView commit details -
Change LED scenario cost reduction rates
Use same cost reduction rates as SSP2 except for VRE and coal
Configuration menu - View commit details
-
Copy full SHA for 1182295 - Browse repository at this point
Copy the full SHA 1182295View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ee2d86 - Browse repository at this point
Copy the full SHA 6ee2d86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1422a60 - Browse repository at this point
Copy the full SHA 1422a60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 207b770 - Browse repository at this point
Copy the full SHA 207b770View commit details -
Drop duplicates in projections
This is more of a quick fix, the duplicates are most likely happening during some merging. In the `learning.py` script, adding the `drop_duplicates()` got rid of some of the duplicates, but not all of them. I think the final duplication is happening in `create_message_outputs()`, as adding `drop_duplicates()` there seemed to get rid of them all.
Configuration menu - View commit details
-
Copy full SHA for e4f571c - Browse repository at this point
Copy the full SHA e4f571cView commit details -
Allow functionality to filter scenarios to come in earlier in GDP adj…
…ustment Tests were taking too long (linearly regressing GDP data), so I've added the option to filter by scenario during the GDP regression process as well. Code is a little redundant now and clunky but to be fixed later.
Configuration menu - View commit details
-
Copy full SHA for 2c1bd9b - Browse repository at this point
Copy the full SHA 2c1bd9bView commit details -
Switch from
.pivot()
to.pivot_table()
`.pivot()` was crashing for some reason (saying there were duplicates in the index), but `.pivot_table()` from `pandas` seems to work just fine
Configuration menu - View commit details
-
Copy full SHA for 04690b0 - Browse repository at this point
Copy the full SHA 04690b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b714c6 - Browse repository at this point
Copy the full SHA 2b714c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 89c2e76 - Browse repository at this point
Copy the full SHA 89c2e76View commit details -
Parametrize test_process_raw_ssp_data()
- This is possible because the assertions are the same in both cases. - Use get_codes() instead of hard-coded lists of node IDs. - Use f-string for ref_region argument.
Configuration menu - View commit details
-
Copy full SHA for 12c5816 - Browse repository at this point
Copy the full SHA 12c5816View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac1ac25 - Browse repository at this point
Copy the full SHA ac1ac25View commit details -
Configuration menu - View commit details
-
Copy full SHA for a07616a - Browse repository at this point
Copy the full SHA a07616aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8219b26 - Browse repository at this point
Copy the full SHA 8219b26View commit details -
Add a function to handle ref_region arg
- Improve typing - Set context.model.regions in test
Configuration menu - View commit details
-
Copy full SHA for 66c92e7 - Browse repository at this point
Copy the full SHA 66c92e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f073a51 - Browse repository at this point
Copy the full SHA f073a51View commit details -
Update ExoDataSource.raise_on_extra_kw()
- Store a "name" keyword argument, if given.
Configuration menu - View commit details
-
Copy full SHA for c87dc36 - Browse repository at this point
Copy the full SHA c87dc36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8271714 - Browse repository at this point
Copy the full SHA 8271714View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80eca5c - Browse repository at this point
Copy the full SHA 80eca5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fda70d - Browse repository at this point
Copy the full SHA 6fda70dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b96529 - Browse repository at this point
Copy the full SHA 5b96529View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47524a9 - Browse repository at this point
Copy the full SHA 47524a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for a56f5a1 - Browse repository at this point
Copy the full SHA a56f5a1View commit details -
Parametrize test_adjust_cost_ratios_with_gdp()
Also set test_context.model.regions.
Configuration menu - View commit details
-
Copy full SHA for d52b937 - Browse repository at this point
Copy the full SHA d52b937View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d68d6d - Browse repository at this point
Copy the full SHA 2d68d6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3b62c3 - Browse repository at this point
Copy the full SHA a3b62c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f7e047 - Browse repository at this point
Copy the full SHA 4f7e047View commit details -
Configuration menu - View commit details
-
Copy full SHA for b11bbdb - Browse repository at this point
Copy the full SHA b11bbdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 13160be - Browse repository at this point
Copy the full SHA 13160beView commit details -
Configuration menu - View commit details
-
Copy full SHA for e881b8a - Browse repository at this point
Copy the full SHA e881b8aView commit details -
Use .costs.Config as sole arg to create_cost_projections()
- Adjust tests. - Adjust usage in demo.py; expand comments. - Add Config.check() for validation of settings. - Use dataclass default Config.__repr__() to show contents.
Configuration menu - View commit details
-
Copy full SHA for b55847c - Browse repository at this point
Copy the full SHA b55847cView commit details -
Use Config as sole arg to create_projections_*()
- Use f-strings for output. - Simplify/align construction of scen, scen_vers variables.
Configuration menu - View commit details
-
Copy full SHA for f1af015 - Browse repository at this point
Copy the full SHA f1af015View commit details -
Export .costs.Config, .costs.create_cost_projections
- Also use relative imports within .tools.costs
Configuration menu - View commit details
-
Copy full SHA for f926877 - Browse repository at this point
Copy the full SHA f926877View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9dffc6 - Browse repository at this point
Copy the full SHA c9dffc6View commit details -
Use Config as arg to 3 functions in .tools.costs.
- .gdp.adjust_cost_ratios_with_gdp(). - Also re-use .projections._maybe_query_*() functions instead of duplicated logic. - .learning.project_ref_region_inv_costs_using_learning_rates() - .regional_differentiation.apply_regional_differentiation() - Also rely on Config logic for node/ref_region. Adjust tests to align.
Configuration menu - View commit details
-
Copy full SHA for 021e9ed - Browse repository at this point
Copy the full SHA 021e9edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26894ad - Browse repository at this point
Copy the full SHA 26894adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 012778a - Browse repository at this point
Copy the full SHA 012778aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43c9939 - Browse repository at this point
Copy the full SHA 43c9939View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ca582a - Browse repository at this point
Copy the full SHA 9ca582aView commit details -
Return dict from create_cost_projections()
- Remove "projections" class. - Adjust tests, demo.py. - Add "-> None" to ensure .tests.tools.costs functions are type checked.
Configuration menu - View commit details
-
Copy full SHA for 1d3995e - Browse repository at this point
Copy the full SHA 1d3995eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35980d9 - Browse repository at this point
Copy the full SHA 35980d9View commit details -
Use log.info() instead of print() in .tools.costs
Log output can be handled (redirected, tested, filtered) more precisely than standard output.
Configuration menu - View commit details
-
Copy full SHA for fac8ed5 - Browse repository at this point
Copy the full SHA fac8ed5View commit details -
Reduce special-casing on Config.modules
- Move common statements before or after if-blocks. - Specify required file format, location, and name in docstring of get_raw_technology_mapping().
Configuration menu - View commit details
-
Copy full SHA for faaebc1 - Browse repository at this point
Copy the full SHA faaebc1View commit details -
Remove hard-coded currency deflator
- Retrieve World Bank data via IAM-units. - Adjust test.
Configuration menu - View commit details
-
Copy full SHA for fa37754 - Browse repository at this point
Copy the full SHA fa37754View commit details -
Parametrize tests of .tools.costs
- Deduplicate code for module="energy" and module="materials". - Simplify set logic for assertions about returned data. - Correct rtol=3 (factor of 3) to rtol=5e-2 (± 5%) in test of apply_splines_to_convergence(); expand to all technologies.
Configuration menu - View commit details
-
Copy full SHA for e04d57e - Browse repository at this point
Copy the full SHA e04d57eView commit details -
Remove hard-coded BASE_YEAR, HORIZON_{START,END}
- Reference Config.base_year. - Use built-in get_codes() to get the year set.
Configuration menu - View commit details
-
Copy full SHA for 4407e2c - Browse repository at this point
Copy the full SHA 4407e2cView commit details -
Move remaining .costs.config globals to .Config
- Generate the `seq_years` variable via Config. - Reuse ScenarioInfo.y0 semantics for FIRST_MODEL_YEAR. - Document difference between "LAST_MODEL_YEAR"/Config.final_year and the actual final model year appearing in most MESSAGEix-GLOBIOM scenarios.
Configuration menu - View commit details
-
Copy full SHA for ef2d5b7 - Browse repository at this point
Copy the full SHA ef2d5b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 986f609 - Browse repository at this point
Copy the full SHA 986f609View commit details -
Use DataFrame.astype() instead of assign/lambda
- Filter year_* data using Config properties.
Configuration menu - View commit details
-
Copy full SHA for 1354f29 - Browse repository at this point
Copy the full SHA 1354f29View commit details -
Use pandas groupby-apply in apply_splines_to_convergence()
- Avoid product() and manual handling of group keys.
Configuration menu - View commit details
-
Copy full SHA for 8e9776e - Browse repository at this point
Copy the full SHA 8e9776eView commit details -
Simplify apply_splines_to_convergence()
- Use numpy.polynomial instead of scikits-learn: lower-level, faster, avoids a new dependency, identical output. - Improve performance: - Fit and predict in the same step. - Chain all pandas operations in the function.
Configuration menu - View commit details
-
Copy full SHA for b7658eb - Browse repository at this point
Copy the full SHA b7658ebView commit details -
Tidy docstrings in .tools.costs
- First line of docstring ends with a period. - Incorporate pre-function comments into docstring, so they are visible in the built documentation. - Ensure ReST list items are wrapped.
Configuration menu - View commit details
-
Copy full SHA for e0312a2 - Browse repository at this point
Copy the full SHA e0312a2View commit details -
Simplify adjust_cost_ratios_with_gdp()
- Use .eval(…) with direct formulae instead of 2-stage linregress()/predict on 2 data points per group. - Vectorize calculations for performance. - Chain pandas operations. - Remove .gdp.default_ref_region(); this predates Config, is now handled by Config.
Configuration menu - View commit details
-
Copy full SHA for 3cc6c0b - Browse repository at this point
Copy the full SHA 3cc6c0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 62cbf0f - Browse repository at this point
Copy the full SHA 62cbf0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a4a2ca - Browse repository at this point
Copy the full SHA 9a4a2caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4175116 - Browse repository at this point
Copy the full SHA 4175116View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb36b3d - Browse repository at this point
Copy the full SHA fb36b3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ada44a - Browse repository at this point
Copy the full SHA 1ada44aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb781c7 - Browse repository at this point
Copy the full SHA fb781c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d05102c - Browse repository at this point
Copy the full SHA d05102cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86e68cd - Browse repository at this point
Copy the full SHA 86e68cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 893176c - Browse repository at this point
Copy the full SHA 893176cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d802083 - Browse repository at this point
Copy the full SHA d802083View commit details -
This file was initially created to subset the large SSP data file. But with the new SSP data hhandler, I think this script is no longer needed.
Configuration menu - View commit details
-
Copy full SHA for d1ff973 - Browse repository at this point
Copy the full SHA d1ff973View commit details -
Remove the use of the term
learning
in the projections methods- For projecting costs of reference region, used words like `decay` or `cost reduction` instead - Renamed `learning.py` to `decay.py` and also the corresponding test file - Changed `learning` projection method to `constant` instead
Configuration menu - View commit details
-
Copy full SHA for ea30670 - Browse repository at this point
Copy the full SHA ea30670View commit details -
Update docs to reflect changes to
splines
andlearning
methodsNamely, that `splines` have been removed and mentions of the term `learning` have been changed to `decay`, `cost reduction`, and `constant` (where appropriate)
Configuration menu - View commit details
-
Copy full SHA for 9259882 - Browse repository at this point
Copy the full SHA 9259882View commit details -
Update docs to add feedback from reviewers
- Explain more about the costs module functionality and different projection methods - Explain how to add additional technology modules - Give example of how to use code
Configuration menu - View commit details
-
Copy full SHA for 817b9ae - Browse repository at this point
Copy the full SHA 817b9aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d01c1ec - Browse repository at this point
Copy the full SHA d01c1ecView commit details -
Add linear interpolation between base year and convergence year for a…
…ll non-reference regions
Configuration menu - View commit details
-
Copy full SHA for cf5868d - Browse repository at this point
Copy the full SHA cf5868dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0afc6b8 - Browse repository at this point
Copy the full SHA 0afc6b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d83bb4 - Browse repository at this point
Copy the full SHA 9d83bb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c9c7d2 - Browse repository at this point
Copy the full SHA 9c9c7d2View commit details -
Tidy ReST usage in doc/api/tools-costs
- Start new sentences on new lines. - Use "-" consistently for bullet lists (don't mix "*" and "-"). - Ensure a blank line before bullet lists. - Use the ReST :file:`...` role for file names and paths.
Configuration menu - View commit details
-
Copy full SHA for 657a263 - Browse repository at this point
Copy the full SHA 657a263View commit details -
- Shorten title for display. - Explain terms used. - Correct spelling and grammar. - Update docstrings for .costs.Config attributes and refer to these, instead of duplicating descriptions in text. - Update headings. - Use quotes for values appearing in code or data files.
Configuration menu - View commit details
-
Copy full SHA for 3a0d7ee - Browse repository at this point
Copy the full SHA 3a0d7eeView commit details