#37: Automatic generation of _steadystate.m file from initval block --------------------------+------------------------------------------------- Reporter: sebastien | Owner: sebastien Type: feature | Status: new Priority: major | Milestone: Component: Preprocessor | Version: Keywords: | --------------------------+------------------------------------------------- The idea is that the preprocessor would create a _steadystate.m file, using the (symbolic) initializations given in the initval block.
This would be particularly useful for estimating models for which the analytical form of the steady state is known.
#37: Automatic generation of _steadystate.m file from initval block ---------------------------+------------------------------------------------ Reporter: sebastien | Owner: sebastien Type: feature | Status: new Priority: major | Milestone: Component: Preprocessor | Version: Resolution: | Keywords: ---------------------------+------------------------------------------------
Comment(by sebastien):
Another option is to create a new "steady_state_model" block. This needs to be discussed.
#37: Automatic generation of _steadystate.m file from initval block ---------------------------+------------------------------------------------ Reporter: sebastien | Owner: sebastien Type: feature | Status: new Priority: major | Milestone: 4.2 Component: Preprocessor | Version: Resolution: | Keywords: ---------------------------+------------------------------------------------ Changes (by sebastien):
* milestone: => 4.2
#37: Automatic generation of _steadystate.m file from initval block ---------------------------+------------------------------------------------ Reporter: sebastien | Owner: sebastien Type: feature | Status: new Priority: major | Milestone: 4.2 Component: Preprocessor | Version: Resolution: | Keywords: ---------------------------+------------------------------------------------
Comment(by sebastien):
First implementation in commit 37abe362a339db26b695001f12c2241367c5f99b.
For the documentation, see the keywork "steady_state_model" in the reference manual (in the "solving" section).
There is an example in "tests/fs2000_ssfile.mod".
#37: Automatic generation of _steadystate.m file from initval block ---------------------------+------------------------------------------------ Reporter: sebastien | Owner: sebastien Type: feature | Status: new Priority: major | Milestone: 4.2 Component: Preprocessor | Version: Resolution: | Keywords: ---------------------------+------------------------------------------------
Comment(by sebastien):
Todo: add the equations for auxiliary variables in the steady state file
#37: Automatic generation of _steadystate.m file from initval block ---------------------------+------------------------------------------------ Reporter: sebastien | Owner: sebastien Type: feature | Status: closed Priority: major | Milestone: 4.2 Component: Preprocessor | Version: Resolution: fixed | Keywords: ---------------------------+------------------------------------------------ Changes (by sebastien):
* status: new => closed * resolution: => fixed
Comment:
Equations for aux var added in commit b3602541ac709cc9cbf272034c4067e7f2011906
#37: Automatic generation of _steadystate.m file from initval block ---------------------------+------------------------------------------------ Reporter: sebastien | Owner: sebastien Type: feature | Status: reopened Priority: major | Milestone: 4.2 Component: Preprocessor | Version: Resolution: | Keywords: ---------------------------+------------------------------------------------ Changes (by sebastien):
* status: closed => reopened * resolution: fixed =>
Comment:
Still need to be implemented: possibility of calling fsolve in a context where it returns several arguments
#37: Automatic generation of _steadystate.m file from initval block ---------------------------+------------------------------------------------ Reporter: sebastien | Owner: sebastien Type: feature | Status: reopened Priority: major | Milestone: 4.2 Component: Preprocessor | Version: Resolution: | Keywords: ---------------------------+------------------------------------------------
Comment(by sebastien):
Another feature to implement: when using ramsey policy, the preprocessor should not check that endogenous used in the steady state block have already been assigned in the same block; rather, it should use the values passed in the "ys" argument to the steady state file.
#37: Automatic generation of _steadystate.m file from initval block ---------------------------+------------------------------------------------ Reporter: sebastien | Owner: sebastien Type: feature | Status: reopened Priority: major | Milestone: 4.2 Component: Preprocessor | Version: Resolution: | Keywords: ---------------------------+------------------------------------------------
Comment(by sebastien):
Issue with ramsey_policy solved in commit c58312d3b7fda21b4130b3a99156ab8b0cd11b35
#37: Automatic generation of _steadystate.m file from initval block ---------------------------+------------------------------------------------ Reporter: sebastien | Owner: sebastien Type: feature | Status: reopened Priority: major | Milestone: 4.2 Component: Preprocessor | Version: Resolution: | Keywords: ---------------------------+------------------------------------------------
Comment(by sebastien):
Remains to be done: multiple return arguments of MATLAB external functions in the block
#37: Automatic generation of _steadystate.m file ---------------------------+------------------------------------------------ Reporter: sebastien | Owner: sebastien Type: feature | Status: reopened Priority: major | Milestone: 4.2 Component: Preprocessor | Version: Resolution: | Keywords: ---------------------------+------------------------------------------------
#37: Automatic generation of _steadystate.m file ---------------------------+------------------------------------------------ Reporter: sebastien | Owner: sebastien Type: feature | Status: closed Priority: major | Milestone: 4.2 Component: Preprocessor | Version: Resolution: fixed | Keywords: ---------------------------+------------------------------------------------ Changes (by sebastien):
* status: reopened => closed * resolution: => fixed
Comment:
Multiple return arguments implemented in 7c65bceb0ef6298dfd1a1d42456fe705cfd54d93