Skip to content

Commit

Permalink
Change decay to reach cost reduction rate by 2100 instead of Config.f…
Browse files Browse the repository at this point in the history
…inal_year
  • Loading branch information
measrainsey committed Sep 11, 2024
1 parent 6b6d798 commit bfe7ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion message_ix_models/tools/costs/decay.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def project_ref_region_inv_costs_using_reduction_rates(
cost_region_2100=lambda x: x.reg_cost_base_year
- (x.reg_cost_base_year * x.cost_reduction),
b=lambda x: (1 - config.pre_last_year_rate) * x.cost_region_2100,
r=lambda x: (1 / (config.final_year - config.base_year))
r=lambda x: (1 / (2100 - config.base_year))
* np.log((x.cost_region_2100 - x.b) / (x.reg_cost_base_year - x.b)),
reference_region=config.ref_region,
)
Expand Down

0 comments on commit bfe7ff3

Please sign in to comment.