Page 1 of 1

Unknown symbol

PostPosted: Tue Mar 25, 2014 12:38 am
by jsaldain
I have this problem when I run my .mod file. Anybody see the error?

Starting Dynare (version 4.4.2).
Starting preprocessing of the model file ...
ERROR: NKSOE_simple_1g2.mod: line 140, cols 33-40: Unknown symbol: ppi_H_ss

Error using dynare (line 174)
DYNARE: preprocessing failed

Re: Unknown symbol

PostPosted: Tue Mar 25, 2014 11:19 am
by jpfeifer
You use and initialize
Code: Select all
ppi_H_ss

but you never defined it as a parameter.

Re: Unknown symbol

PostPosted: Tue Mar 25, 2014 8:35 pm
by jsaldain
Thanks! You're right, I got confused.

Now, I'm getting this error:

Starting Dynare (version 4.4.2).
Starting preprocessing of the model file ...
WARNING: NKSOE_simple_1g2.mod:32.12-35.11: Symbol GAMMA_ppi_H declared twice.
ERROR: NKSOE_simple_1g2.mod: line 35, col 12: syntax error, unexpected EQUAL

Re: Unknown symbol

PostPosted: Tue Mar 25, 2014 8:39 pm
by jsaldain
Nevermind, solved it! Thanks, again!