Dear all,

I know this topic has already been discussed but I still cannot find a solution.

I am solving a simple 4 equations model with perfect foresight and I am trying to loop over three possible values of two deterministic shocks hitting the economy in periods 1 and 2 (totally 3^4=81 iterations). Within the loop I try to update the values by overriding `oo_.exo_simul`

and I am trying to save the path of output taking it from `oo_.endo_simul`

. However, I see that I get the same results for each iterations meaning that the values of the shocks are not updated.

Could you please help me with this?

Thanks

RBC_perfect_foresight.mod (1.1 KB)