Skip to content

Commit

Permalink
Merge pull request #1158 from 0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q/fix/#1156
Browse files Browse the repository at this point in the history


fix #1156 broken fixing of industry to exogenous scenarios
  • Loading branch information
0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q authored Jan 12, 2023
2 parents bdc79cd + 649ffe5 commit 0d1328f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/37_industry/subsectors/bounds.gms
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,12 @@ if (cm_emiscen ne 1, !! not a BAU scenario
);

!! Fix industry output for Bal and EnSec scenario
$ifthen.policy_scenario (("%cm_indstExogScen%" == "forecast_bal") OR ("%cm_indstExogScen%" == "forecast_ensec")) !! cm_indstExogScen
$if "%cm_indstExogScen%" == "forecast_bal" $set cm_indstExogScen_set "YES"
$if "%cm_indstExogScen%" == "forecast_ensec" $set cm_indstExogScen_set "YES"
$ifthen.policy_scenario "%cm_indstExogScen_set%" == "YES"
vm_cesIO.fx(t,regi,in)$( p37_industry_quantity_targets(t,regi,in) )
= p37_industry_quantity_targets(t,regi,in);
$endif.policy_scenario
$drop cm_indstExogScen_set

*** EOF ./modules/37_industry/subsectors/bounds.gms

0 comments on commit 0d1328f

Please sign in to comment.