Exclude some equations before in the model definition

Dear all:

Can anyone help me with the syntax to exclude some equations before in the model definition. Let me decribe my situation:

I have two scenarios in ONE run:

  1. In scenario S0, this is the base line; we have budget constraint in the case that the economy has no tax imposed on the fossil fuel sector:
    BUDGET_VNM…

P(‘G1’)*C(‘VNM’,‘G1’)+P(‘G2’)*C(‘VNM’,‘G2’)+P(‘G3’)*C(‘VNM’,‘G3’)+ P(‘G4’)*C(‘VNM’,‘G4’)+P(‘G5’)*C(‘VNM’,‘G5’) +P(‘G6’)*C(‘VNM’,‘G6’)+ PC(‘VNM’,‘G8’)*C(‘VNM’,‘G8’)+PC(‘VNM’,‘G9’)*C(‘VNM’,‘G9’)

=L= Y(‘VNM’);

Expenditure (without tax) = Income

  1. In S1 we have budget constraint in the case that the economy has tax imposed on the fossil fuel sector:

BUDGET_VNM_tax… P(‘G1’)*C(‘VNM’,‘G1’)+P(‘G2’)*C(‘VNM’,‘G2’)+P(‘G3’)*C(‘VNM’,‘G3’)+ P1(‘VNM’,‘G4’)*C(‘VNM’,‘G4’)+P(‘G5’)*C(‘VNM’,‘G5’)
+P(‘G6’)*C(‘VNM’,‘G6’)+ PC(‘VNM’,‘G8’)*C(‘VNM’,‘G8’)+PC(‘VNM’,‘G9’)*C(‘VNM’,‘G9’)

=L= Y(‘VNM’)

  • TAX(‘VNM’,‘G4’)P(‘G4’)(C(‘VNM’,‘G4’)+QQINT(‘VNM’,‘G4’,‘G1’)+QQINT(‘VNM’,‘G4’,‘G3’)+QQINT(‘VNM’,‘G4’,‘G4’)+QQINT(‘VNM’,‘G4’,‘G5’)
    +QQINT(‘VNM’,‘G4’,‘G6’)+QQINT(‘VNM’,‘G4’,‘G7’)+QQINT(‘VNM’,‘G4’,‘G8’)+QQINT(‘VNM’,‘G4’,‘G9’)+QQINT(‘VNM’,‘G4’,‘G10’)+QQINT(‘VNM’,‘G4’,‘G11’));


    Expenditure (without tax) = Income + tax revenue returned to households.

I need to run at the same time S0 and S1. So in S1 I define the model

MODEL S1 /all/

this is not correct, I need to define like: all exclusive BUDGET_VNM; but I do not know the exact syntax for this.

Do you know exact syntax for this case? I appreciate your help.

Thank you so much

Loan


\

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/d/optout.

Hi Loan



In scenario SO your tax is zero, so your equation BUDGET_VNM_tax will be the same as BUDGET_VNM. No need to use two equations, just the one with the tax is enough.

I assume that the P1 in the second equation is a typo and should be P. If not, it probably can be written as

Be sure to set the tax to zero for the scenario S0.



Renger



From: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] On Behalf Of Loan, Le Thanh
Sent: Freitag, 1. August 2014 06:01
To: gamsworld@googlegroups.com
Subject: Exclude some equations before in the model definition



Dear all:



Can anyone help me with the syntax to exclude some equations before in the model definition. Let me decribe my situation:



I have two scenarios in ONE run:


\

  1. In scenario S0, this is the base line; we have budget constraint in the case that the economy has no tax imposed on the fossil fuel sector:

BUDGET_VNM…



P(‘G1’)*C(‘VNM’,‘G1’)+P(‘G2’)*C(‘VNM’,‘G2’)+P(‘G3’)*C(‘VNM’,‘G3’)+ P(‘G4’)*C(‘VNM’,‘G4’)+P(‘G5’)*C(‘VNM’,‘G5’) +P(‘G6’)*C(‘VNM’,‘G6’)+ PC(‘VNM’,‘G8’)*C(‘VNM’,‘G8’)+PC(‘VNM’,‘G9’)*C(‘VNM’,‘G9’)



=L= Y(‘VNM’);



Expenditure (without tax) = Income



2) In S1 we have budget constraint in the case that the economy has tax imposed on the fossil fuel sector:



BUDGET_VNM_tax… P(‘G1’)*C(‘VNM’,‘G1’)+P(‘G2’)*C(‘VNM’,‘G2’)+P(‘G3’)*C(‘VNM’,‘G3’)+ P1(‘VNM’,‘G4’)*C(‘VNM’,‘G4’)+P(‘G5’)*C(‘VNM’,‘G5’)
+P(‘G6’)*C(‘VNM’,‘G6’)+ PC(‘VNM’,‘G8’)*C(‘VNM’,‘G8’)+PC(‘VNM’,‘G9’)*C(‘VNM’,‘G9’)



=L= Y(‘VNM’)


\

  • TAX(‘VNM’,‘G4’)P(‘G4’)(C(‘VNM’,‘G4’)+QQINT(‘VNM’,‘G4’,‘G1’)+QQINT(‘VNM’,‘G4’,‘G3’)+QQINT(‘VNM’,‘G4’,‘G4’)+QQINT(‘VNM’,‘G4’,‘G5’)
    +QQINT(‘VNM’,‘G4’,‘G6’)+QQINT(‘VNM’,‘G4’,‘G7’)+QQINT(‘VNM’,‘G4’,‘G8’)+QQINT(‘VNM’,‘G4’,‘G9’)+QQINT(‘VNM’,‘G4’,‘G10’)+QQINT(‘VNM’,‘G4’,‘G11’));





    Expenditure (without tax) = Income + tax revenue returned to households.



    I need to run at the same time S0 and S1. So in S1 I define the model



    MODEL S1 /all/



    this is not correct, I need to define like: all exclusive BUDGET_VNM; but I do not know the exact syntax for this.



    Do you know exact syntax for this case? I appreciate your help.



    Thank you so much



    Loan






    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/d/optout.


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/d/optout.