Dynare++ tutorial

Hi, I’m trying to learn Dynare++ but when I try to run the example file in the tutorial (Jan 2011 version) I get the following error:

C:\dynare\4.2.1\dynare++>dynare++ NGM.mod
Caught ogu::Exception: dynamic_atoms.cpp:470: A wrong lag/lead of a variable in
VarOrdering::do_pbspbfbf

As far as I can tell, I’ve copied the code exactly but I keep getting the error even if I replace all the equations with 0s.

There is a typo in your example. It should read “varexo” (without space) and not “var exo”.

I admit that the error message is not very explicit…