Commit Graph

35 Commits (943db6fb24d9e4b01f31d084696bb8aec9010ff4)

Author SHA1 Message Date
Houtan Bastani ad9ccebc6c preprocessor: make notation accord with the rest of the preprocessor 2015-10-30 18:13:37 +01:00
Houtan Bastani 4ed2a0dc9d preprocessor: fix uninitialized variable warning 2015-10-30 18:11:51 +01:00
Houtan Bastani 59122a1e73 fix comments in generated files 2015-08-21 12:00:47 +02:00
Houtan Bastani 0f76765bd8 add types to dynamic, static, and steady_state function calls 2015-08-19 12:11:08 +02:00
Houtan Bastani d65e9306cb remove unnecessary get*Function functions 2015-08-19 11:28:25 +02:00
Houtan Bastani 09541f10ef load steady_state! function into model.steady_state 2015-08-19 10:59:30 +02:00
Houtan Bastani ae7132f7ae make steady state file modify variables in place 2015-08-18 16:31:30 +02:00
Houtan Bastani bc49d06e61 simplify modules created by preprocessor 2015-07-28 18:00:00 +02:00
Houtan Bastani d70ae4d103 write steady state model 2015-07-28 17:27:56 +02:00
Houtan Bastani c604d9da38 move external file write functions to class definitions 2015-07-21 17:35:06 +02:00
Houtan Bastani d6a1a71556 Revert "preprocessor: replace extra exos in steady state model"
This reverts commit 8bc946c148.
2015-06-09 16:40:14 +02:00
Houtan Bastani 8bc946c148 preprocessor: replace extra exos in steady state model
(commit lost in merge)
(cherry picked from commit d7db5070e7cf8d1b043062b04d3bd3c4e18ce6c1)
2015-06-08 15:45:03 +02:00
Michel Juillard 15b44eda25 Merge branch 'master' into ep 2014-05-09 10:02:05 +02:00
Michel Juillard 75291659ec putting functions related to extended preprocessor in ExternalFiles.cc 2014-04-24 20:54:38 +02:00
Michel Juillard ad42818606 fixing extended-preprocessor C++ API and test case 2014-04-24 14:33:04 +02:00
Michel Juillard 0983ca78f7 extended-preprocessor: starting a C interface (not finished) 2014-04-05 15:46:35 +02:00
Michel Juillard fd323a8217 extended-preprocessor: starting a C interface (not finished) 2014-03-16 18:49:54 +01:00
Michel Juillard fabcbb7042 finishing ramsey_model implementation 2014-03-09 12:15:32 +01:00
Sébastien Villemot 2668d55705 steady_state_model: fix bug introduced in 8fddca92
- don't emit warnings if the steady_state_model block is not used
- the ramsey_policy check is spurious, there is another one deeper
2014-02-25 17:58:25 +01:00
Sébastien Villemot 858a1b9b2a Add a warning if some endogenous is not present in steady_state_model block.
Closes #556
2014-02-24 17:27:35 +01:00
Sébastien Villemot 8fddca92a2 Remove some limitations of steady state model:
- allow recursive definitions (Closes #554)
- allow a variable to be defined twice, simply emit a warning (Ref #556)
2014-02-24 17:27:34 +01:00
Michel Juillard 98f3a04444 extended_preprocessor: fixed computation of steady state out of
steady_state_model
2014-02-24 13:33:48 +01:00
Michel Juillard 49b34d4c94 write C++ version of model functions without temporary terms 2014-02-24 13:33:48 +01:00
Sébastien Villemot ed2f6d62c1 Refactor code for collecting variables appearing in expressions
- rename ExprNode::collectVariables in ExprNode::collectDynamicVariables
- new ExprNode::collectVariables: same as above, but without lag information
- remove ExprNode::findUnusedEndogenous: essentially redundant with the above)
- remove ExprNode::collectModelLocalVariables: idem
2013-11-29 15:37:11 +01:00
Michel Juillard e1856be59b fixing problems for computing steady state in ramsey policy 2011-11-14 21:59:39 +01:00
Michel Juillard ee7078e56c factoring out steady-state computations; steady_state_model now
generates <fname>_steadystate2.m returning parameters as well in case
they have been modified by the user. Added several test cases.
2011-10-12 21:51:14 +02:00
Michel Juillard 347ab4d0c0 preprocessor: modified order of auxiliary variables definitions 2011-09-25 20:21:30 +02:00
Sébastien Villemot f4557cb195 Reindentation of the preprocessor 2011-02-04 16:25:38 +01:00
Sébastien Villemot 7c65bceb0e Preprocessor: in steady_state_model block, allow MATLAB functions which return several arguments (closes #37) 2011-01-26 13:55:01 -05:00
Sébastien Villemot dbc9795a08 Preprocessor: rename "NodeID" in "expr_t" 2010-09-17 12:13:26 +02:00
Sébastien Villemot 996a646d8f Preprocessor: fix for 'steady_state_model' when not computing Ramsey policy' 2010-06-04 09:33:54 +03:00
Michel Juillard ade0cd9d26 steady_state_model: authorizing change in parameter values in steady_state_model block + removing ys_ initialization to zero 2010-06-03 15:59:35 +02:00
Sébastien Villemot c58312d3b7 Steady state file: in the presence of 'ramsey_policy', no longer check that the declarations are recursive, and use input vector of steady state file as initial values 2010-05-31 17:43:17 +02:00
Sébastien Villemot b3602541ac Preprocessor: with 'steady_state_model' command, write auxiliary equations in the steady state file 2010-04-27 17:04:52 +02:00
Sébastien Villemot 37abe362a3 Preprocessor: added new 'steady_state_model' keyword for automatically creating steady state file 2010-04-23 18:39:07 +02:00