Running stoch_simul twice

I want to run Dynare multiple times as part of an estimation. But the results depend on the parameters value when I call Dynare for the first time.

Attached is an example. Running run1.m and run2.m should give the same answer. But run1.m calls LLR1.mod where eta=0.5 and run2.m calls LLR2.mod where eta=0.3. Afterwards I set eta=0.8 using set_param_value and I call stoch_simul.

Does stoch_simul recompute the steady state?

LRR1.mod (1.4 KB) LRR2.mod (1.4 KB) run1.m (393 Bytes) run2.m (393 Bytes)