Both sides previous revisionPrevious revisionNext revision | Previous revision |
3.3._shock_3_biofuels [2023/09/22 16:51] – [GAMS files] thom | 3.3._shock_3_biofuels [2024/09/24 12:45] (current) – [Downloads] thom |
---|
===== Biofuels ===== | ===== Biofuels ===== |
''Presenter: Mihaly Himics'' | Presenter: [[https://www.thuenen.de/en/institutes/farm-economics/staff/scientific-staff/Thom-Ferike-m-sc|Ferike Thom]] |
| |
===== GMS files ===== | |
| |
[[https://tc.thuenen.de/index.php/s/AapL8rJ9z6M9FYA|change_biof_mandate.gms]] | |
| |
| |
<code java> | |
******************************************************************************** | |
$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; | |
| |
</code> | |
[[https://tc.thuenen.de/index.php/s/3pZRKkbWjxZjnY5|mandate_SA_150.gms]] | |
| |
<code java> | |
******************************************************************************** | |
$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; | |
</code> | |
===== Downloads ===== | ===== Downloads ===== |
Presentation with hands-on exercise: [[https://cloud.capri-model.org/index.php/s/R5YQar7ryMHEPbQ|Download]]\\ | Presentation with hands-on exercise: [[https://cloud.capri-model.org/index.php/s/mTiJZR25ajkKKEJ|Download]]\\ |
| |
===== GAMS files ===== | ===== GAMS files ===== |
| Replace the [[https://cloud.capri-model.org/index.php/s/Y5rFTwtLkkdmMfA|New GUI definition file]] in the folder ...\GUI.\\ |
| Store the scenario file [[https://cloud.capri-model.org/index.php/s/AYZzg8NLWqmS2cf|mandate_SA_100.gms]] in ..\gams\pol_input\userScens.\\ |
| Store the policy file [[https://cloud.capri-model.org/index.php/s/r7gkCjGF8wizGot|double_biof_mandate.gms]] in ...\gams\scen\bio_fuels.\\ |
| ===== Results ===== |
| Generate the reference file [[https://cloud.capri-model.org/index.php/s/QZLG6HMEXJTySmL|res_2_1730userScens_refdefaultA.gdx]] by running the reference scenario with only the market module or store this file in ...\output\results\capmod.\\ |
| Generate the simulation results file [[https://cloud.capri-model.org/index.php/s/GGFBiqKMMS8qxfn|res_2_1730userScens_mandate_SA_100defaultA.gdx]] by running the scenario with only the market model or store this file in ...\output\results\capmod.\\ |
| |
[[https://cloud.capri-model.org/index.php/s/aJXG7ysedBDEMTk|Scenario file mandate_shock.gms]]\\ Store in ..\gams\scen\bio_fuels | |
| |
[[https://cloud.capri-model.org/index.php/s/aJXG7ysedBDEMTk|Generated Policy file]]\\ (that you create out of the scenario file using the GUI and store in ...\pol_inpu\UserScens) | |
===== Results ===== | |
[[https://cloud.thuenen.de/index.php/s/nbCCsYQip3RjJJR|Reference]]\\ | |
[[https://cloud.thuenen.de/index.php/s/RDp8CQxWgpWfks5|Policy]]\\ | |
=====Additional Reading ===== | =====Additional Reading ===== |
[[ https://www.capri-model.org/dokuwiki_help/doku.php?id=scenario_simulation#biofuel_module| CAPRI wiki - bio fuels]]\\ | [[https://cloud.capri-model.org/index.php/s/dmDECAxZKsyymbw|Becker 2011]] Impacts of European biofuel policies on global biofuel and agricultural markets\\ |
[[https://cloud.thuenen.de/index.php/s/CfBeX6bGzzKi6AA|Methodology to assess EU Biofuel Policies: The CAPRI Approach]]\\ | [[https://cloud.capri-model.org/index.php/s/4G8ETkt9tALtcY2|Blanco et al., 2013]] Methodology to assess EU Biofuel Policies: The CAPRI Approach\\ |
| [[https://cloud.capri-model.org/index.php/s/q8G3Y4Kea4YmsK2|Yano et al., 2012]] From Ethanol Shuffle to Ethanol Tourism. Why the RFS Does Not Make Sense\\ |
| |