Skip to content

Commit

Permalink
fix #1156 broken fixing of industry to exogenous scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
0UmfHxcvx5J7JoaOhFSs5mncnisTJJ6q committed Jan 12, 2023
1 parent bdc79cd commit 649ffe5
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 649ffe5

Please sign in to comment.