The .mod language¶
A .mod file is a sequence of blocks describing the model, its
steady state, its initial conditions and the exogenous paths, plus the
commands that drive the solver. The order of blocks is largely free —
the parser is order-insensitive — but the conventional order, used in
all shipped examples, is
variable and parameter declarations,
parameter values,
the
model;block,initval;(and optionallyinitial_guess;),steady_state_model;,shocks;,one or more commands (
simulate;,steady;).
Comments are written with // (line) or /* … */ (block), exactly
as in Dynare.
This part of the manual documents each construct in turn: