# Deterministic Shock Simulation

**URL:** https://forum.dynare.org/t/deterministic-shock-simulation/3673
**Category:** Dynare help (legacy posts)
**Created:** [5 February 2014 22:55 UTC](https://forum.dynare.org/t/deterministic-shock-simulation/3673 "2014-02-05T22:55:03Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Matew](https://forum.dynare.org/letter_avatar_proxy/v4/letter/m/8dc957/32.png) [@Matew](https://forum.dynare.org/u/Matew)
#### Post date: [5 February 2014 22:55 UTC](https://forum.dynare.org/t/deterministic-shock-simulation/3673/1 "2014-02-05T22:55:03Z")

</div>

I’ve a Model where the price of a energy have a Permanent Jump at time one.Dynare Always Can Find the Steady State but it has problem finding transition path when jump(variable Mult is how much the price jumps) is larger than 2.I’m wondering what can be the cause and solution? thanks in advance

---

<div class="post-metadata">

### Author: ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)
#### Post date: [6 February 2014 09:54 UTC](https://forum.dynare.org/t/deterministic-shock-simulation/3673/2 "2014-02-06T09:54:49Z")

</div>

As it says

> [@](#):
>
> WARNING : maximum number of iterations is reached (modify options\_.simul.maxit).

Using

```auto
simul(periods=500,stack_solve_algo=0,maxit=100);
```

solved the issue.

---

<div class="post-metadata">

### Author: ![Matew](https://forum.dynare.org/letter_avatar_proxy/v4/letter/m/8dc957/32.png) [@Matew](https://forum.dynare.org/u/Matew)
#### Post date: [6 February 2014 12:27 UTC](https://forum.dynare.org/t/deterministic-shock-simulation/3673/3 "2014-02-06T12:27:33Z")

</div>

Thanks alot.But Now for Mult=4(This is magnitude of energy price jump) Dynare Can’t [Solve.It](http://Solve.It) Gives Warning Of Matrix Singularity.

---

<div class="post-metadata">

### Author: ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)
#### Post date: [6 February 2014 12:52 UTC](https://forum.dynare.org/t/deterministic-shock-simulation/3673/4 "2014-02-06T12:52:21Z")

</div>

It seems there is a model endogenous restriction on what Mult can be. It seems that it cannot be larger than 2.

---

<div class="post-metadata">

### Author: ![Matew](https://forum.dynare.org/letter_avatar_proxy/v4/letter/m/8dc957/32.png) [@Matew](https://forum.dynare.org/u/Matew)
#### Post date: [6 February 2014 13:17 UTC](https://forum.dynare.org/t/deterministic-shock-simulation/3673/5 "2014-02-06T13:17:48Z")

</div>

Again thanks very much for your kind help.Actually there is no endogenous restriction and there is steady state for any price jump. I think I must look better in my model and try to simplify it more.

any way thanks for your help
