#143: adapt sim1.m for purely forward models and remove simk.m --------------------------+------------------------------------------------- Reporter: sebastien | Owner: Type: enhancement | Status: new Priority: major | Milestone: 4.3 Component: Core M-files | Version: Keywords: | --------------------------+-------------------------------------------------
#143: adapt sim1.m for purely forward models and remove simk.m -------------------------+-------------------------------------------------- Reporter: sebastien | Owner: sebastien Type: enhancement | Status: accepted Priority: major | Milestone: 4.3 Component: General | Version: Keywords: | -------------------------+-------------------------------------------------- Changes (by sebastien):
* owner: => sebastien * status: new => accepted
#143: adapt sim1.m for purely forward models and remove simk.m -------------------------+-------------------------------------------------- Reporter: sebastien | Owner: sebastien Type: enhancement | Status: accepted Priority: major | Milestone: 4.3 Component: General | Version: Keywords: | -------------------------+--------------------------------------------------
Comment(by sebastien):
13:07 <michel> sebastien: I think that we need three different functions called in simul.m: sim1.m as now; one function for purelay backward models; one function for purely forward models. 13:09 <michel> sebastien: for the two purely backward/forward models, it would be useful to know the date of the last shocks. 13:13 <michel> sebastien: purely backward models: run the nonlinear solver forward, using the solution of the previous period as initial value (or a trajectory simulated with the linear approximation, if we ever introduce this option). If the residual computed with the initial value is smaller than the tolerance and that there is no shocks in the future, one can just duplicate the solution until the end of the simulation. 13:14 <michel> sebastien: purely forward models: shocks trigger precautionary behaviors, but have no effect in the future. The simulation is ran backward, but remains at the terminal condition until the date of the latest shock
#143: adapt sim1.m for purely forward models and remove simk.m -------------------------+-------------------------------------------------- Reporter: sebastien | Owner: sebastien Type: enhancement | Status: accepted Priority: major | Milestone: 4.3 Component: General | Version: Keywords: | -------------------------+--------------------------------------------------
Comment(by sebastien):
14:19 <sebastien> michel: for the nonlinear solver, do you have in mind reusing some existing solver or instead coding a Newton-like algorithm within the function? 14:33 <michel> sebastian: using dynare_solve.m + checking first if it is necessary to call it
#143: adapt sim1.m for purely forward models and remove simk.m --------------------------+------------------------------------------------- Reporter: sebastien | Owner: sebastien Type: enhancement | Status: closed Priority: major | Milestone: 4.3 Component: General | Version: Resolution: fixed | Keywords: --------------------------+------------------------------------------------- Changes (by sebastien):
* status: accepted => closed * resolution: => fixed
Old description:
New description:
Fixed in 4b2405a0141473145db78e7a7af2754e981e3bae
--