Commit e18d32f 1 parent 8abe89c commit e18d32f Copy full SHA for e18d32f
File tree 2 files changed +5
-8
lines changed
message_ix_models/model/material
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 28
28
calibrate_for_SSPs ,
29
29
)
30
30
from message_ix_models .model .material .share_constraints import (
31
- add_coal_constraint ,
31
+ add_industry_coal_shr_constraint ,
32
32
get_ssp_low_temp_shr_up ,
33
33
)
34
34
from message_ix_models .model .material .util import (
@@ -155,7 +155,6 @@ def calibrate_existing_constraints(
155
155
engage_updates ._correct_td_co2cc_emissions (scenario )
156
156
157
157
s_info = ScenarioInfo (scenario )
158
- nodes = s_info .N
159
158
160
159
# add_coal_lowerbound_2020(scenario)
161
160
add_cement_bounds_2020 (scenario )
@@ -173,14 +172,12 @@ def calibrate_existing_constraints(
173
172
)
174
173
calibrate_UE_share_constraints (scenario , s_info )
175
174
176
- # # Electricity calibration to avoid zero prices for CHN.
177
- # if "R12_CHN" in nodes:
178
- # add_elec_lowerbound_2020(scenario)
179
-
180
175
calibrate_for_SSPs (scenario )
176
+
181
177
# add share constraint for coal_i based on 2020 IEA data
182
- add_coal_constraint (scenario )
178
+ add_industry_coal_shr_constraint (scenario )
183
179
180
+ # update low temp heat share constraint
184
181
scenario .check_out ()
185
182
scenario .add_par (
186
183
"share_commodity_up" ,
Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ def add_foil_shr_constraint():
400
400
)
401
401
402
402
403
- def add_coal_constraint (scen : "Scenario" ):
403
+ def add_industry_coal_shr_constraint (scen : "Scenario" ):
404
404
name = "UE_industry_th_coal"
405
405
share_reg_values = pd .read_csv (
406
406
package_data_path ("material" , "other" , "coal_i_shares_2020.csv" )
You can’t perform that action at this time.
0 commit comments