Houtan Bastani
22f409af4f
fix type in function header
2015-08-19 14:38:35 +02:00
Houtan Bastani
1b0d63abe9
add types to dynamic, static, and steady_state function calls
2015-08-19 12:11:08 +02:00
Houtan Bastani
cbe1027428
remove unnecessary get*Function functions
2015-08-19 11:28:25 +02:00
Houtan Bastani
6156c76f79
load steady_state! function into model.steady_state
2015-08-19 10:59:30 +02:00
Houtan Bastani
6b96a83d8b
make steady state file modify variables in place
2015-08-18 16:31:30 +02:00
Houtan Bastani
3bf6b14049
change getPowerDeriv to get_power_deriv to accord with Julia function naming style
2015-08-18 15:49:48 +02:00
Houtan Bastani
73a25ed90c
adding using Utils to dynamic & static files
2015-08-18 15:45:23 +02:00
Houtan Bastani
c8f9e1229f
update static model to use multiple dispatch
2015-08-18 15:42:24 +02:00
Houtan Bastani
dae79ecafb
update dynamic model to use multiple dispatch
2015-08-18 15:32:30 +02:00
Houtan Bastani
33f2e2077c
preprocessor: add utf-8 tokenizing
2015-08-17 17:09:40 +02:00
Houtan Bastani
f0cc9c4151
modify *_set_auxiliary_variables to work in julia
2015-08-17 15:36:18 +02:00
Houtan Bastani
88a87a911b
remove unnecessary braces
2015-08-17 11:17:26 +02:00
Stéphane Adjemian (Charybdis)
756ff179ff
Removed deprecated syntaxes.
2015-08-12 19:03:29 +02:00
Houtan Bastani
6330fa0374
write dynamic model output
...
Conflicts:
preprocessor/DynamicModel.cc
2015-07-29 14:59:09 +02:00
Houtan Bastani
54874efa72
Merge branch 'master' into julia
2015-07-29 14:53:35 +02:00
Houtan Bastani
22ac2f4f92
preprocessor: simplify writing of NNZDerivatives
2015-07-29 14:52:15 +02:00
Houtan Bastani
38e4480893
add linear option to options
2015-07-29 13:31:42 +02:00
Houtan Bastani
43e5e58a66
remove unnecessary assignment as the field is assigned in the constructor
2015-07-29 13:22:40 +02:00
Houtan Bastani
ace7278623
fix writing of aux vars, predetermined vars, and observed vars
2015-07-29 11:51:27 +02:00
Houtan Bastani
601a52a093
rename model__ to model
2015-07-29 11:35:10 +02:00
Houtan Bastani
ba8518bf43
create options
2015-07-29 11:30:01 +02:00
Houtan Bastani
0a3a5a0a03
bug fix in writing of dynamic params derivs file
2015-07-29 10:40:30 +02:00
Houtan Bastani
389bb89a55
simplify modules created by preprocessor
2015-07-28 18:00:00 +02:00
Houtan Bastani
e73630454d
simplify printing of variable arrays
2015-07-28 17:43:57 +02:00
Houtan Bastani
5ce7d85205
reduce code that is output in modfile.jl
2015-07-28 17:32:34 +02:00
Houtan Bastani
789d881cca
write steady state model
2015-07-28 17:27:56 +02:00
Houtan Bastani
d49e6e4156
wrie dynamic params deriv file
2015-07-28 14:59:55 +02:00
Houtan Bastani
ff3e14656d
bug fix in writing of static params derivs
2015-07-28 14:42:10 +02:00
Houtan Bastani
d7ad832c1d
write static param derivs file
2015-07-28 12:29:42 +02:00
Houtan Bastani
dc955b56ee
fix writing for julia
2015-07-27 17:33:22 +02:00
Houtan Bastani
2bb2682b50
write dynamic file
2015-07-27 17:02:51 +02:00
Houtan Bastani
6fc6f2f7d1
clean up writing of static model
2015-07-27 15:59:13 +02:00
Houtan Bastani
f3c14ec396
write static model
2015-07-27 15:33:38 +02:00
Houtan Bastani
c124fd040c
write more output to modfilename.jl
2015-07-24 12:34:06 +02:00
Houtan Bastani
5c59910001
accord variable names and functions with julia programming style
2015-07-24 11:35:23 +02:00
Houtan Bastani
ab65c1abc2
preprocessor: clean up code
2015-07-23 18:10:44 +02:00
Houtan Bastani
432dbbb785
change variable/parameter collections, finish printing SymbolTable info
2015-07-23 18:05:57 +02:00
Michel Juillard
fa6a08e8c5
histval: replaced initialization with NaN by zeros
2015-07-23 14:25:18 +02:00
Michel Juillard
1b8d7c6e2f
Merge branch 'master' into new_ep
2015-07-22 09:31:22 +02:00
Houtan Bastani
5ad0a4a96f
julia: initial preprocessor stub
2015-07-21 18:02:34 +02:00
Houtan Bastani
de695fb496
preprocessor: remove comments associated with c604d9da385a4e28fa049d79db13cf1c749c9d55
2015-07-21 17:50:33 +02:00
Houtan Bastani
db3f2b3c06
move external file write functions to class definitions
2015-07-21 17:35:06 +02:00
Michel Juillard
7c4562e7e6
Merge branch 'master' into new_ep
2015-07-21 09:30:58 +02:00
MichelJuillard
ecf52751d6
Merge pull request #937 from JohannesPfeifer/graph_fix
...
Various fixes related to graphs and eps-TeX-loaders
2015-07-20 14:36:20 +02:00
MichelJuillard
585d9f1974
Merge pull request #740 from JohannesPfeifer/relative_irf
...
Fix and document relative_irf
2015-07-20 14:20:00 +02:00
Houtan Bastani
947ca38440
preprocessor: split creation of latex model files. closes #966
2015-07-15 08:58:15 +02:00
Stéphane Adjemian (Charybdis)
7dfba933e5
Fied bug. Moved option linear_approximation.
2015-07-08 11:11:22 +02:00
Stéphane Adjemian (Charybdis)
6e52dfb828
New option linear_approximation for perfect foresight models.
...
This approach only requires one evaluation of the dynamic model (and its
jacobian) instead of T (the number of perdiods). Also (because the model
is linear) the equilibrium paths are obtained by inverting the jacobian
of the stacked equations (no need for a Newton algorithm).
Only available with stack_solve_algo==0 (which is the default algorithm
for solving perfect foresight models).
If possible, the option is triggered automatically if the model is
declared linear.
TODO:
* Write a linear version of perfect_foresight_problem routine.
* Evaluate the approxilation error (just need to evaluate the system of
stacked non linear equations).
2015-07-07 17:55:41 +02:00
Houtan Bastani
663d7d82bb
fix typo
2015-06-30 12:12:49 +02:00
Stéphane Adjemian
55cdd7d6cc
Merge pull request #942 from JohannesPfeifer/TaRB_integration
...
Integrate the TaRB-algorithm into Dynare
2015-06-19 14:30:56 +02:00