Skip to content

Commit

Permalink
Fix Price Emission calculation bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
ywpratama committed Jun 28, 2023
1 parent f40a0d6 commit 0a06691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion message_ix/model/MESSAGE/model_solve.gms
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ EMISSION_CONSTRAINT.m(node,type_emission,type_tec,type_year)$(
PRICE_EMISSION.l(node,type_emission,type_tec,year)$( SUM(type_year$( cat_year(type_year,year) ), 1 ) ) =
SMAX(type_year$( cat_year(type_year,year) ),
- EMISSION_CONSTRAINT.m(node,type_emission,type_tec,type_year) )
/ df_year(year) ;
* (df_period("1950")/df_period(year)) * (duration_period(year)/duration_period("1950")) ;
PRICE_EMISSION.l(node,type_emission,type_tec,year)$(
PRICE_EMISSION.l(node,type_emission,type_tec,year) = - inf ) = 0 ;

Expand Down

0 comments on commit 0a06691

Please sign in to comment.