Differences between revisions 21 and 22
Revision 21 as of 2009-08-19 12:46:32
Size: 1769
Comment:
Revision 22 as of 2009-08-19 13:00:50
Size: 2711
Comment:
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
 * A faster algorithm for steady state computation can be triggered by adding the {{{block_mfs}}} option to the {{{steady}}} command. This algorithm does the following:
   * performs a normalization of the static model
   * computes an ordered block decomposition of the static model
   * inside each block, eliminates the recursive variables by computing the minimum feedback set (MFS) of variables
   * performs the resolution block by block on the MFS, using the solver declared by option {{{solve_algo}}}
Line 41: Line 46:
 * The Dynare command line accepts three new options:
   * {{{onlymacro}}}: only do the macro-processing step and stop there
   * {{{nolinemacro}}}: do not include original line numbers in the macro-expanded MOD file
   * {{{savemacro=filename}}}: save the macro-expanded file in {{{filename}}} (if no filename is specified, a default value is computed: it is obtained by adding {{{-macroexp}}} to the name of the MOD file)

This page documents new or previously undocumented features.

New in Dynare 4.0

Preprocessor

Dynare functions

Octave support (free alternative to Matlab)

New in Dynare unstable (to be released as version 4.1)

  • FastDeterministicSimulation

  • ParallelDynare

  • Shock decomposition

  • A faster algorithm for steady state computation can be triggered by adding the block_mfs option to the steady command. This algorithm does the following:

    • performs a normalization of the static model
    • computes an ordered block decomposition of the static model
    • inside each block, eliminates the recursive variables by computing the minimum feedback set (MFS) of variables
    • performs the resolution block by block on the MFS, using the solver declared by option solve_algo

  • Creating a LaTeX file containing the model equations

  • The type of a symbol can now be changed after the symbol declaration. In the following example, alpha will be considered as a parameter, and beta as an endogenous.

var alpha;
parameters beta;
...
change_type(parameters) alpha;
change_type(var) beta;

Note that the type change applies to the whole MOD file. This command is mainly useful when symbol declarations are taken from an included file, and you want to change the types of some variables (for example for "variable flipping").

  • The macro-language accepts a new operator in, which tests memberships of an element inside an array. In the following example, the body of the if statement will be evaluated:

@#define x = [ 1 3 5 ]
@#if 3 in x
...
@#endif
  • The Dynare command line accepts three new options:
    • onlymacro: only do the macro-processing step and stop there

    • nolinemacro: do not include original line numbers in the macro-expanded MOD file

    • savemacro=filename: save the macro-expanded file in filename (if no filename is specified, a default value is computed: it is obtained by adding -macroexp to the name of the MOD file)

DynareWiki: NewFeatures (last edited 2017-05-29 09:09:50 by StéphaneAdjemian)