Unknown symbol

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Unknown symbol

Postby jsaldain » Tue Mar 25, 2014 12:38 am

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
Attachments
NKSOE_simple_1g2.mod
(7.47 KiB) Downloaded 208 times
jsaldain
 
Posts: 4
Joined: Tue Mar 25, 2014 12:26 am
Location: Montevideo, Uruguay

Re: Unknown symbol

Postby jpfeifer » Tue Mar 25, 2014 11:19 am

You use and initialize
Code: Select all
ppi_H_ss

but you never defined it as a parameter.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Unknown symbol

Postby jsaldain » Tue Mar 25, 2014 8:35 pm

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
Attachments
NKSOE_simple_1g2.mod
(7.52 KiB) Downloaded 126 times
jsaldain
 
Posts: 4
Joined: Tue Mar 25, 2014 12:26 am
Location: Montevideo, Uruguay

Re: Unknown symbol

Postby jsaldain » Tue Mar 25, 2014 8:39 pm

Nevermind, solved it! Thanks, again!
jsaldain
 
Posts: 4
Joined: Tue Mar 25, 2014 12:26 am
Location: Montevideo, Uruguay


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests