Deterministic Shock Simulation

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Deterministic Shock Simulation

Postby Matew » Wed Feb 05, 2014 10:55 pm

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
Last edited by Matew on Thu Feb 06, 2014 3:37 pm, edited 1 time in total.
Matew
 
Posts: 4
Joined: Sat Jan 25, 2014 8:19 am

Re: Deterministic Shock Simulation

Postby jpfeifer » Thu Feb 06, 2014 9:54 am

As it says
WARNING : maximum number of iterations is reached (modify options_.simul.maxit).

Using
Code: Select all
simul(periods=500,stack_solve_algo=0,maxit=100);

solved the issue.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Deterministic Shock Simulation

Postby Matew » Thu Feb 06, 2014 12:27 pm

Thanks alot.But Now for Mult=4(This is magnitude of energy price jump) Dynare Can't Solve.It Gives Warning Of Matrix Singularity.
Matew
 
Posts: 4
Joined: Sat Jan 25, 2014 8:19 am

Re: Deterministic Shock Simulation

Postby jpfeifer » Thu Feb 06, 2014 12:52 pm

It seems there is a model endogenous restriction on what Mult can be. It seems that it cannot be larger than 2.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Deterministic Shock Simulation

Postby Matew » Thu Feb 06, 2014 1:17 pm

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
Matew
 
Posts: 4
Joined: Sat Jan 25, 2014 8:19 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 7 guests