Always genenrate same series of simulated data

Dear Johannes,

I calibrate the std/persistence of shocks then run simulation of the model using code stoch_simul(orde=1,periods=500). Then I got 500 observations. I find that each time I run this process, it always generates exactly same 500 observations. I am a little confused since all shocks are i.i.d , does that mean in different simulation shocks values are randomly picked and should be different from each other in different simulation?

Kind regards,
Huan

For replicability, newer Dynare version set the seed of the random number generator. If you want different draws, use the set_dynare_seed
command (see the manual)