Houtan Bastani
50ead246b1
preprocessor: add all_values_required option to histval. closes #261
2016-06-02 12:57:11 +02:00
Stéphane Adjemian (Hermes)
d3da9eb990
Assign parameter values in main julia module.
...
See PR #1102 by spencerlyon2.
Added support for filling in the model.params Vector.
2016-05-23 13:48:19 +02:00
Michel Juillard
2ea7d40fc2
histval: use now the same treatment for exogenous and exogenous det
...
variables as for endogenous ones. Closes issue #617 .
2015-07-29 16:12:53 +02:00
Michel Juillard
fa6a08e8c5
histval: replaced initialization with NaN by zeros
2015-07-23 14:25:18 +02:00
Houtan Bastani
4102e0cc56
Revert "Merge branch 'rmExtraExo'"
...
This reverts commit 28ffa9c56fd021cc75415aeafc13d3810d1b3132, reversing
changes made to 60b3577a09f3eb9cf3cc590241343b1f0fee8706.
Conflicts:
preprocessor/Shocks.cc
preprocessor/SymbolTable.cc
2015-06-09 16:42:51 +02:00
Houtan Bastani
6d727f534e
Merge branch 'rmExtraExo'
2015-05-28 12:33:56 +02:00
Houtan Bastani
35cd407f5f
preprocessor: add minimal_workspace option to dynare statement, #946
2015-05-28 11:50:39 +02:00
Houtan Bastani
6905456cb3
preprocessor: provide more info in error message
2015-04-16 18:47:31 +02:00
Houtan Bastani
6df3bb785e
preprocessor: fix error message for InitParamStatement clone/reindex method
2015-04-09 16:17:47 +02:00
Houtan Bastani
bddcc87c6e
preprocessor: replace catch all exceptions in catch statements for clone/reindex methods
2015-04-09 16:17:22 +02:00
Houtan Bastani
3deea8367d
preprocessor: remove unnecessary cloneAndReindexSymbIds method
2015-04-09 16:14:25 +02:00
Houtan Bastani
cb08675696
preprocessor: pointer to symbol_table unnecessary
2015-04-09 16:08:55 +02:00
Houtan Bastani
5cc4ad033f
preprocessor: remove spurious print statement
2015-03-10 11:24:20 +01:00
Houtan Bastani
96a5949d9e
preprocessor: remove extraneous varexo, update model and statements, #841
2015-03-06 16:44:17 +01:00
Sébastien Villemot
e040e4d0d6
Remove workaround preventing the use of "shocks" before "endval".
...
It now works correctly since 82b31156.
Closes #35
2014-04-08 17:53:10 +02:00
Sébastien Villemot
8c2e9b3c02
Improvements to smoother2histval (ref #594 )
...
- fix handling of auxiliary variables related to lagged endogenous
- add preprocessor interface
- add histval_file
- add tests (for smoother2histval with outfile, and for histval_file)
2014-04-03 15:05:20 +02:00
Michel Juillard
86c3a2b862
Revert "ms-dsge: remove unnecessary output"
...
This reverts commit 2568e87b4394961fed1da7d2337d6cae637b4166.
2014-02-24 13:33:48 +01:00
Houtan Bastani
fa50201348
ms-dsge: remove unnecessary output
2014-02-24 12:41:02 +01:00
Houtan Bastani
e1cebde83a
ms-dsge: add param initialization to C output
2014-02-24 12:41:02 +01:00
Sébastien Villemot
dea58be558
Fix size of M_.endo_histval.
...
Should fix crashes on models with leads/lags of more than one on exogenous.
Closes #617
2014-02-17 17:52:37 +01:00
Sébastien Villemot
bbc422cf5a
Fix copyright notices
2013-06-12 17:04:46 +02:00
Sébastien Villemot
0474406e3b
Revert "Reset oo_.{exo_}steady_state to zero before endval"
...
This reverts commit cf146ec4e50b83bb17f6890b936d8d89e7ef6664.
2013-05-27 17:31:41 +02:00
Sébastien Villemot
00c4aa9597
Reset oo_.{exo_}steady_state to zero before endval
...
This is necessary to enforce the documented behavior which says that, if a
variable is not given a value in the endval block, a zero value is assumed.
2013-04-22 18:02:32 +02:00
Houtan Bastani
d8cbb55ee7
all_values_required keyword for initval and endval
2012-11-06 15:45:08 +01:00
Sébastien Villemot
1c98c34724
Amend the workaround for ticket #35 , so that shocks+endval+simul can looped over
2012-07-30 17:01:42 +02:00
Houtan Bastani
e4916a1d84
preprocessor: display a summary of preprocessor warnings at the end of a Dynare run
2012-01-30 10:44:14 +01:00
Houtan Bastani
4b0f0adcbb
bug_fix: add missing ifstream close statement
2012-01-18 14:43:04 +01:00
Sébastien Villemot
8b86760bda
Store histval information for endogenous in M_.endo_histval
...
Really closes : #157
2011-12-28 11:35:22 +01:00
Sébastien Villemot
5ddc0a595b
Workaround for ticket #157
2011-02-04 12:38:12 +01:00
Sébastien Villemot
81d85196cb
Fix bug in histval with exogenous variables in a stochastic setup
2011-01-13 18:18:57 +01:00
Sébastien Villemot
e9474ae9cc
Histval: fixed bug for exogenous introduced in previous commit
2010-10-20 14:56:35 +02:00
Sébastien Villemot
615f2ae322
Histval block:
...
- fail when user tries to initialize a variable at a period which is not in the model, and make the error message explicit
- correctly handle exogenous variables in stochastic mode, which are also substituted with an aux var
- added test files
2010-10-20 14:47:03 +02:00
Sébastien Villemot
2c10d03368
Preprocessor: rename "NodeID" in "expr_t"
2010-09-17 12:13:26 +02:00
Sébastien Villemot
c8fdd5d9d1
Preprocessor: uniformize typedef names (with a "_t" suffix)
2010-09-16 19:00:48 +02:00
Michel Juillard
6612ef7a30
Preprocessor: corrected bug on HISTVAL with lags > 1
2010-09-10 11:43:48 +02:00
Houtan Bastani
ee9b19fadc
DSGE-VAR: support deprecated way of declaring dsge_prior_weight
2010-06-22 10:38:54 +02:00
sebastien
3aa8876538
Beautified preprocessor code (uncrustify + emacs + manual adjustments, in particular with templates in MacroValue)
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3249 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-12-16 17:13:23 +00:00
sebastien
760085d6fe
preprocessor: clean-up workaround for acosh(), asinh(), atanh() on Win 64 platforms
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3101 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-10-29 17:16:10 +00:00
sebastien
2f1382fab5
preprocessor:
...
* In stochastic mode, now transforms the model by removing leads and lags greater or equal to 2 (creating auxiliary variables and equations in the process)
* Information about these variables is in structure M_.aux_vars
* Automatically add the necessary initialization for auxiliary vars after the initval block or load_params_and_steady_state
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3002 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-09-30 15:10:31 +00:00
sebastien
9595358690
Preprocessor: various minor changes, including
...
* moved some declarations from ExprNode.hh to BlockTriangular.hh to which they conceptually belong
* replaced non standard boolean operators (and, or, not) by standard ones (&&, ||, !)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2812 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-07-06 10:36:36 +00:00
sebastien
a8dec6adf9
trunk preprocessor: fixed bug when loading non-existent steady-state file
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2753 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-06-10 14:45:41 +00:00
sebastien
331edd8d92
trunk preprocessor: cosmetic changes
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2614 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-04-20 15:54:19 +00:00
sebastien
1a3243520d
trunk: {load,save}_params_and_steady_state now use a text file for communicating (instead of a MAT-file)
...
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2517 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-03-24 16:29:58 +00:00
sebastien
a0fbd7d198
trunk preprocessor:
...
* reorganized symbol table so that internally symbols have a unique integer ID (as a result, sparse code is temporarily in a broken state)
* rewritten from scratch ModFile::evalAllExpressions()
* {load,save}_params_and_steady_state moved to NumericalInitialization.{cc,hh}
* fixed bug related to endval block
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2441 ac1d8469-bf42-47a9-8791-bf33cf982152
2009-02-27 12:19:25 +00:00
ferhat
ff0ae482ce
- Correction of several bugs in sparse_dll
...
- Pound expressions accepted with sparse option
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2329 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-19 10:24:31 +00:00
sebastien
39afe5b0b2
trunk:
...
* removed obsolete global variables "endval_" and "rplottype_"
* removed duplicate initialization of options_.replic
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2295 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-12-05 15:34:26 +00:00
sebastien
f6a330b2dc
trunk preprocessor: removed obsolete global variables
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2272 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-11-25 14:40:51 +00:00
sebastien
0794065726
trunk preprocessor: removed unused recursive variable type
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2167 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-17 11:54:35 +00:00
sebastien
48bc89a90a
trunk preprocessor: renamed "Type" to "SymbolType" for the sake of clarity
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2166 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-10-17 10:20:19 +00:00
sebastien
e0510d4a49
v4: dropped Scilab support
...
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1878 ac1d8469-bf42-47a9-8791-bf33cf982152
2008-06-16 16:33:28 +00:00