Debian Codegraph @

tests/optimal_policy/neo_growth_foresight.mod

raw
1 /*
2 * Copyright © 2021 Dynare Team
3 *
4 * This file is part of Dynare.
5 *
6 * Dynare is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * Dynare is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with Dynare. If not, see <https://www.gnu.org/licenses/>.
18 */
19 /*
20 * This file simulates the neo-classical growth model in a perfect foresight framework.
21 * It is called by neo_growth_ramsey_foresight.mod to compare by-hand calculations of unconditional
22 * and conditional welfares and the output of the evaluate_planner_objective function.
23 */
24 @#include "neo_growth_common.inc"
25
26 initval;
27 z = 0;
28 end;
29
30 steady;
31
32 shocks;
33 var e;
34 periods 1;
35 values 1;
36 end;
37
38 resid;
39
40 perfect_foresight_setup(periods=200);
41 perfect_foresight_solver;