User Tools

Site Tools


3.3._shock_3_biofuels

Biofuels

Presenter: Mihaly Himics

GMS files

change_biof_mandate.gms

********************************************************************************
$ontext
   GAMS file : change_biof_mandate.gms 
   @purpose  : increase/decrease biofuel mandates uniformly for all EU Member States 
   @author   : Mihaly Himics
   @date     : 14.10.19 
$offtext
********************************************************************************
*   ---    push upwards the sigmoid function for the biofuel share in total fuel demand
*          see equation biofDemShare_ for more details
*   ---    take over shock from the main scenario file
 
$setlocal mandate_shock %1
  parameter p_newMandate(rall, xxbiof) "adjusted biofuel mandate in absolute terms";
 
  p_newMandate(RMSSUP, xxbiof) $ ((RMS_TO_RM(RMSSUP,"EU_WEST") or RMS_TO_RM(RMSSUP,"EU_EAST") or   RMS_TO_RM(RMSSUP,"UK000000"))
                               $ DATA(RMSSUP,"QUTS",XXBIOF,"CUR"))
    = DATA(RMSSUP,"QUTS",XXBIOF,"CUR") * %mandate_shock%;
 
  DATA(RMSSUP,"QUTS",XXBIOF,"AbsoluteLevel") $ p_newMandate(RMSSUP, xxbiof)
    = p_newMandate(RMSSUP, xxbiof) ;
 
  option p_newMandate:2:1:1;
  display "New mandates/targets/quotas: ", p_newMandate;

mandate_SA_150.gms

********************************************************************************
$ontext
   CAPRI project
   GAMS file : mandate_SA_100.gms 
   @purpose  : calculating a demand curve for biofuel processing of crops
               with respect to changing biofuel mandates
   @author   : Mihaly Himics
   @date     : 14.10.19 
$offtext
********************************************************************************
*
*   ---    reference scenario
* 
$include pol_input\cap_after_2014\ref.gms
*   ---    apply a shock on biofuel mandates
*          First argument: multiplier of the original QUTS for biofuels
* 
$batinclude "scen\bio_fuels\change_biof_mandate.gms" 2.5
*  abort "check scenario shock", data;

Downloads

Presentation: Download
Hands on: Download

Lecture

GAMS files

Policy file
Store in ..\gams\scen\bio_fuels Scenario file

Results

Additional Reading

3.3._shock_3_biofuels.txt ยท Last modified: 2022/11/07 10:23 by 127.0.0.1