CGE Model Worldtrade Error

Attached a SAM, My Model and GAMs Code. I cannot finde the error that i made.
problem with indirected taxes for sector

thank you

\

final_221_intermediate_gov2.gms (7.64 KB)
WP_20140108_003.jpg
QQ20140108110435.jpg

Hi Cheng



If you run the first simulation with iteration limit set to 0, you will find 6 equations that are infeasible and, if you start from an equilibrium, should have no infeasibilities.

This is exactly the reason, why you always should reproduce your benchmark with iteration set to 0. If you don’t find a solution, something is wrong with the infeasible equations, your data or even more.

The infeasibilities show you where you can start looking for errors.



---- X1_Eq =E=



X1_Eq… X1 + (237.037037037037)*PX1 - (237.037037037037)*PZ1


\

  • (0.263374485596708)*Z1 =E= 0 ;



    (LHS = 62.962962962963, INFES = 62.962962962963 ****)





    ---- X2_Eq =E=



    X2_Eq… X2 + (237.037037037037)*PX2 - (237.037037037037)*PZ2


    \
  • (0.263374485596708)*Z2 =E= 0 ;



    (LHS = 62.962962962963, INFES = 62.962962962963 ****)





    ---- Q1_Eq =E=



    Q1_Eq… Q1 - (395.061728395062)*PZ1 + (395.061728395062)*PQ1


    \
  • (0.438957475994513)*Z1 =E= 0 ;



    (LHS = 104.938271604938, INFES = 104.938271604938 ****)





    ---- Q2_Eq =E=



    Q2_Eq… Q2 - (395.061728395062)*PZ2 + (395.061728395062)*PQ2


    \
  • (0.438957475994513)*Z2 =E= 0 ;



    (LHS = 104.938271604938, INFES = 104.938271604938 ****)







    ---- PZ1_Eq =E=



    PZ1_Eq… (0)*PX1 + (0)*PZ1 + (0)*PQ1 =E= 0 ;



    (LHS = 0.209876543209877, INFES = 0.209876543209877 ****)





    ---- PZ2_Eq =E=



    PZ2_Eq… (0)*PX2 + (0)*PZ2 + (0)*PQ2 =E= 0 ;



    (LHS = 0.209876543209877, INFES = 0.209876543209877 ****)



    Start with correcting these equations, and if you have your benchmark equilibrium without infeasibilities you can start doing simulations.

Never run simulations, if you don’t have your benchmark with infeasibilities.



Chees

Renger







Von: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] Im Auftrag von cheng chen
Gesendet: Mittwoch, 8. Januar 2014 12:02
An: gamsworld@googlegroups.com
Betreff: CGE Model Worldtrade Error



Attached a SAM, My Model and GAMs Code. I cannot finde the error that i made.

problem with indirected taxes for sector



thank you




\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/groups/opt_out.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/groups/opt_out.