From fa8bf6d4ae7e355dc6a4dfc868bb1ff5293f230c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Fri, 4 Apr 2025 12:28:51 +0200 Subject: [PATCH] =?UTF-8?q?Manual:=20mention=20=E2=80=9Cmodel=5Foptions?= =?UTF-8?q?=E2=80=9D=20command=20when=20options=20of=20=E2=80=9Cmodel?= =?UTF-8?q?=E2=80=9D=20block=20are=20discussed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (manually cherry picked from commit 6b97087f73d7509eb5b98a746bd5173ef00a6721) [skip ci] --- doc/manual/source/the-model-file.rst | 35 +++++++++++++++------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst index 064ba0c51f..28ab097c60 100644 --- a/doc/manual/source/the-model-file.rst +++ b/doc/manual/source/the-model-file.rst @@ -3013,14 +3013,16 @@ Finding the steady state with Dynare nonlinear solver ``perfect_foresight_solver`` command with purely backward, forward or static models, or with routines for semi-structural models, and it must *not* be combined with option ``block`` of - the ``model`` block. Also note that for those models, the block - decomposition is performed as if ``mfs=3`` had been passed to - the ``model`` block, and the decomposition is slightly - different because it is computed in a time-recursive fashion - (*i.e.* in such a way that the simulation is meant to be done - with the outer loop on periods and the inner loop on blocks; - while for models with both leads and lags, the outer loop is on - blocks and the inner loop is on periods). + the :bck:`model` block or :comm:`model_options` command. Also + note that for those models, the block decomposition is + performed as if ``mfs=3`` had been passed to the :bck:`model` + block or :comm:`model_options` command, and the decomposition + is slightly different because it is computed in a + time-recursive fashion (*i.e.* in such a way that the + simulation is meant to be done with the outer loop on periods + and the inner loop on blocks; while for models with both leads + and lags, the outer loop is on blocks and the inner loop is on + periods). ``14`` @@ -3532,14 +3534,15 @@ Getting information about the model |br| Prints the equations and the Jacobian matrix of the dynamic model stored in the bytecode binary format file. Can only be used - in conjunction with the ``bytecode`` option of the ``model`` - block. + in conjunction with the ``bytecode`` option of the :bck:`model` + block or :comm:`model_options` command. .. command:: print_bytecode_static_model ; |br| Prints the equations and the Jacobian matrix of the static model stored in the bytecode binary format file. Can only be used in - conjunction with the ``bytecode`` option of the ``model`` block. + conjunction with the ``bytecode`` option of the :bck:`model` + block or :comm:`model_options` command. .. _det-simul: @@ -3781,9 +3784,9 @@ speed-up on large models. See :ref:`solve_algo <solvalg>`. Allows selecting the solver used with ``stack_solve_algo=7``. Also used for purely backward, forward - and static models (when neither the ``block`` nor the ``bytecode`` option - of the ``model`` block is specified); for those models, the values - ``12`` and ``14`` are especially relevant. + and static models (when neither the ``block`` nor the ``bytecode`` + option of the :bck:`model` block or :comm:`model_options` command is specified); + for those models, the values ``12`` and ``14`` are especially relevant. .. option:: no_homotopy @@ -5227,7 +5230,7 @@ which is described below. agents believe that there will no more shocks after period :math:`t+S`. This is an experimental feature and can be quite slow. A non-zero value is not compatible with the ``bytecode`` - option of the ``model`` block. + option of the :bck:`model` block or :comm:`model_options` command. Default: ``0``. .. option:: hybrid @@ -12148,7 +12151,7 @@ Optimal policy under discretion You must ensure that your objective is quadratic. Regarding the model, it must either be linear or solved at first order with an analytical steady state provided. In the first case, you should set the ``linear`` option of the - ``model`` block. + :bck:`model` block or :comm:`model_options` command. It is possible to use the :comm:`estimation` command after the ``discretionary_policy`` command, in order to estimate the model with -- GitLab