Escolar Documentos
Profissional Documentos
Cultura Documentos
Toshihiko MASUI
National Institute for Environmental Studies
AIM Training Workshop 2005
NIES, 7-11 November 2005
What's "Model"?
AIM, NIES
AIM, NIES
What's CGE?
AIM, NIES
"Computable": quantitative
"General": treatment of all commodities,
sectors and production factors in the
treated society
"Equilibrium": demand and supply of
each commodity and factor are balanced
through the price mechanism
Features of CGE
AIM, NIES
Procedure of
CGE model development
1.
2.
Define elements
3.
Parameters setting
AIM, NIES
Quantify data
5.
6.
4.
Replication of benchmark
Quantification of policy simulation
6
Production sector
Intermediate demand
Environment
Output
Production factor
market
Produced goods
market
Endowment
Pollution, pressure, preservation
Input from environment
Feedback from environment
AIM, NIES
Final demand
Final demand
sector
Final demand:
supply endowments and get income
demand commodities
Maximizing utility subject to income.
AIM, NIES
Commodity
In simple example
Produced commodity
commodity 1 (PY("com1"))
commodity 2 (PY("com2"))
Production factor
capital (PK)
labor (PL)
Hypothetical commodity
aggregated final consumption goods (PC)
aggregated investment goods (PI)
AIM, NIES
Sector
In simple example
Production sector
sector producing commodity 1
sector producing commodity 2
Input: com1, com2, CAP & LAB
Output: com1 or com2
Hypothetical sector
aggregation of final consumption goods
aggregation of investment goods
AIM, NIES
10
Final demand
In simple example
Endowment
Capital
Labor
Final demand
Final consumption
Investment (fixed capital formation) = saving
AIM, NIES
11
=1
PY("1")
Input
Final demand
sector
D_C
=0
PY("1")
Output
PC
Endowment
Production
sector
Hypothetical
sector
PY("2")
PY("1")
PY("2")
ACT("1")
ACT("2")
=0
PY("1")
PY("2")
=1
AIM, NIES
PY("1")
PY("2")
PL
value added
=1
PK
PL
PL
HOUSE
PI
=0
value added
=1
PK
PK
Final
demand
PC
: elasticity of substitution
When the relative price of a commodity increases by 1%,
the input of this commodity decreases %.
Final demand
com1
com2
con
inv
total
com1
80
20
80
20
200
com2
40
100
40
40
220
cap
30
60
Commodity
Value added
lab
50
40
Total cost = Total sale
total
200
220
Total in column = Total in row
AIM, NIES
13
5. Programming
AIM, NIES
5. Programming
set
com
v_a
;
alias (com,c_m) ;
Table IO(*,*) input output table
com1 com2 con
com1
80
20
80
com2
40
100
40
cap
30
60
lab
50
40
;
inv
20
40
scalar
tot_c
tot_i
tot_k
tot_l
;
total consumption
total investment
total capital
total labor
tot_c
tot_i
tot_k
tot_l
= sum(c_m, IO(c_m,"con")) ;
= sum(c_m, IO(c_m,"inv")) ;
= sum(com, IO("cap",com)) ;
= sum(com, IO("lab",com)) ;
parameter
out(com) total output
;
out(com)
AIM, NIES
= sum(c_m, IO(c_m,com))
+ sum(v_a, IO(v_a,com)) ;
15
5. Programming
set Definition of commodity type as a set.
com
commodity /com1, com2/
v_a
value added /cap, lab/
;
Copy of set.
alias (com,c_m) ;
Table IO(*,*) input output table
com1 com2 con inv
com1
80
20
80
20
com2
40
100
40
40
cap
30
60
lab
50
40
Dataset by using table format.
;
Here, input-output table is indicated.
Definition of scalar.
total consumption
total investment
total capital
total labor
scalar
tot_c
tot_i
tot_k
tot_l
;
tot_c
tot_i
tot_k
tot_l
= sum(c_m, IO(c_m,com))
+ sum(v_a, IO(v_a,com)) ;
AIM, NIES
16
5. Programming
$ontext
$model:sample
$sectors:
ACT(com) ! production
D_C
! final consumption
D_I
! fixed capital formation
$commodities:
PY(com)
PK
PL
PC
PI
! commodity
! capital
! labor
! final consumption
! investment
$consumers:
HOUSE
! household
$prod:ACT(com)
t:0 s:0 va:1
O:PY(com) Q:OUT(com)
I:PY(c_m) Q:IO(c_m,com)
I:PK
Q:IO("cap",com)
I:PL
Q:IO("lab",com)
AIM, NIES
va:
va:
$prod:D_C
O:PC
I:PY(c_m)
s:1
Q:tot_c
Q:IO(c_m,"con")
$prod:D_I
O:PI
I:PY(c_m)
s:0
Q:tot_i
Q:IO(c_m,"inv")
$demand:HOUSE
D:PC
D:PI
E:PL
E:PK
s:1
Q:tot_c
Q:tot_i
Q:tot_l
Q:tot_k
$report:
V:ACTPK(com)
V:ACTPL(com)
$offtext
I:PK prod:ACT(com)
I:PL prod:ACT(com)
17
5. Programming
$ontext Sign of start of formulation.
$model:sample Definition of model name.
$sectors: Definition of sector.
ACT(com) ! production
D_C
! final consumption
D_I
! fixed
Wordscapital
after "!"formation
show comment
$commodities:
PY(com)
! commodity
Definition
of commodity.
PK
! capital
PL
! labor
PC
! final consumption
PI
! investment
$consumers:
HOUSE
Definition
of final demand.
! household
AIM, NIES
$prod:D_C
O:PC
I:PY(c_m)
s:1
Q:tot_c
Q:IO(c_m,"con")
$prod:D_I
O:PI
I:PY(c_m)
s:0
Q:tot_i
Q:IO(c_m,"inv")
$demand:HOUSE
s:1
D:PC
Q:tot_c
D:PI
Q:tot_i
E:PL
Q:tot_l
E:PK Definition of activity
Q:tot_k
in final demand.
$report:
Definition of quantified element.
V:ACTPK(com)
I:PK prod:ACT(com)
V:ACTPL(com)
I:PL prod:ACT(com)
$offtext
Sign of end of formulation.
$SYSINCLUDE MPSGESET SAMPLE
$INCLUDE SAMPLE.GEN
SOLVE SAMPLE USING MCP;
Sign of preparation of simulation
and solution of this model.
18
5. Programming
name of activity
Value represents
activity level.
Default is one.
elasticity of
transformation
elasticity of substitution
among specific inputs
$prod:ACT(com)
O:PY(com)
I:PY(c_m)
O: shows output, and
I:PK
I: shows input.
I:PL
name of commodity
Value represents price.
Default is one.
AIM, NIES
elasticity of
substitution
Q: shows reference
quantity of input/output
when the activity level
is one.
Default is one.
P:1
P:1
P:1
P:1
va:
va:
P: shows reference price
of commodity.
Default is one.
19
6. Simulation
1.
2.
3.
4.
5.
6.
AIM, NIES
Replication of benchmark
Sensitivity analysis to check parameters
Scenario and policy design
Simulation based on scenario
Analysis of results
Assessment of alternative scenarios and
policies
20
2.
3.
4.
5.
6.
7.
AIM, NIES