Convert the ramst.mod example to new perfect foresight syntax

time-shift
Sébastien Villemot 2018-06-06 16:42:50 +02:00
parent a71e0ebee4
commit b080e5d7b1
1 changed files with 5 additions and 2 deletions

View File

@ -74,8 +74,11 @@ periods 1;
values 1.2;
end;
// Deterministic simulation of the model for 200 periods
simul(periods=200);
// Prepare the deterministic simulation of the model over 200 periods
perfect_foresight_setup(periods=200);
// Perform the simulation
perfect_foresight_solver;
// Display the path of consumption and capital
rplot c;