User Tools

Site Tools


2.5._shock_1_price_shock_for_cow_milk

This is an old revision of the document!


2.5 Hand on price shock for milk with the policy editor of the CAPRI GUI

Presenter: Alexander Gocht / Davit Stepanyan

  • Background
  • Implementation in the CAPRI Code
  • Exercise 2.5
  • Result presentation

File update in 2.7

Open in the CAPRI 2.7 installation the file gams\capmod\inflation_and_trend_interpolation.gms and add the following line at line 85

$IF NOT %MARKET_M%==ON IOE("COMI")    = NO;

The code block should look like this:

*
*      ----- Check if user tries to set endogenous prices
*
$IF NOT %MARKET_M%==ON IOE(MARR)      = NO;
$IF NOT %MARKET_M%==ON IOE("OLIV")    = NO;
$IF NOT %MARKET_M%==ON IOE("PARI")    = NO;
$IF NOT %MARKET_M%==ON IOE("FEED")    = NO;
$IF NOT %MARKET_M%==ON IOE("SUGB")    = NO;
* new line for the scenario
$IF NOT %MARKET_M%==ON IOE("COMI")    = NO;
*
$IF NOT %YANI_M%==ON   IOE(OMYANI)   = NO;

Scenario File

to be stored in gams\userScens

$setglobal SCENDES price increase of 30%
*
*  Baseline scenario
*
$include ..\gams\scen\base_scenarios\CAP_2014_2020.gms
*
*     Example file for exogenous prices changes
*
*-----------------------------
*
  DATA(RMSSUP,"UVAG","COMI","ChangeFactor") = 1.30;
 
 

Downloads

Download presentation: 2.5. price shock

Result files

scenario: price shock 30% for milk without market download

Additional Training Material

Reading Material for Training Session: download

2.5._shock_1_price_shock_for_cow_milk.1632228648.txt ยท Last modified: 2022/11/07 10:23 (external edit)