From 6f487b74180e4c4f0701e794558f82b331eeafdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Wed, 6 Jun 2018 16:42:50 +0200 Subject: [PATCH] Convert the ramst.mod example to new perfect foresight syntax (cherry picked from commit b080e5d7b1633fdfcbdd6007ecbae804c34f7c49) --- examples/ramst.mod | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/ramst.mod b/examples/ramst.mod index df4029ad4..90654a4ef 100644 --- a/examples/ramst.mod +++ b/examples/ramst.mod @@ -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; -- GitLab