Debian Codegraph @

tests/deterministic_simulations/purely_static/toto.mod

raw
1 var x y;
2
3 varexo ex ey;
4
5 model;
6 y = x*x/2 + ey;
7 x = ex;
8 end;
9
10 initval;
11 y = 0;
12 x = 0;
13 ex = 0;
14 ey = 0;
15 end;
16
17 steady;
18
19 shocks;
20 var ex;
21 periods 1 2 3 4;
22 values 1 .5 .25 .125;
23 end;
24
25 perfect_foresight_setup(periods=4);
26 perfect_foresight_solver;