Skip to content
Snippets Groups Projects
Commit b080e5d7 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Convert the ramst.mod example to new perfect foresight syntax

parent a71e0ebe
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment