Stéphane Adjemian (Charybdis)
e4dee8ef61
Fixed compatibility issues with julia 0.5.
2016-12-01 13:32:54 +01:00
Stéphane Adjemian (Hermes)
1e4d934fc7
Added module for solving Perfect foresight models (julia).
...
The only provided routine implements sim1 algorithm.
2016-06-14 11:21:23 +02:00
Stéphane Adjemian (Hermes)
9ca893ca1d
Added routines for steady state computation (julia).
2016-06-14 11:21:23 +02:00
Stéphane Adjemian (Hermes)
e44d90adc1
Fixed type issues.
...
params, exo_steady_state and steady_state are vectors not matrices!
2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes)
c3b5aee714
Specialize @dynare macro if one model is processed.
...
In this case importall is used instead of import.
2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes)
bcd39ef2f7
Made room for user written steady state file.
2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes)
96d538469c
Added boolean variable for tracking if a steadystate block is present in the mod file.
2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes)
5998558c32
Fixed deprecated require issue + Changed interface
...
+ Fixed deprecated require().
+ Changed @dynare macro and added new macro @compile.
The new macro @compile just runs the preprocessor, while the macro
@dynare calls compile and put the generated objects in the
workspace. Note that this macro can take an arbitrary number of mod
files as argument.
*Example*
@dynare "rbc.mod" "nk.mod"
Will run the preprocessor on both models, and the generated
data (model descriptions, options, ...) are available in the
workspace. For instance, to obtain the number of equations:
julia> rbc.model.eq_nbr
6
julia> nk.model.eq_nbr
10
@compile "rbc.mod" "nk.mod"
Will run the preprocessor on both models, but will not load the
generated data in the workspace. This can be done as follows:
julia> using rbc
+ Changed examples (rbc1 has a steady state block but not rbc2), using
new interface.
2016-05-23 13:48:19 +02:00
Houtan Bastani
3fffcc2a3f
Use Julia 4.0 syntax
...
This reverts commit d208391c6d
.
2015-09-01 11:05:39 +02:00
Houtan Bastani
2a9761ff33
clean up printing
2015-08-21 17:13:32 +02:00
Houtan Bastani
83cf41c3d2
replace Array{Type,1} with Vector{Type}
2015-08-19 14:10:07 +02:00
Houtan Bastani
a917d5e998
only add path to LOAD_PATH if it is not already there
2015-08-17 12:29:59 +02:00
Houtan Bastani
d208391c6d
undo change introduced in 9556d37fd6
because this breaks functionality in 0.3.2
2015-08-17 11:44:53 +02:00
Stéphane Adjemian (Charybdis)
ed12ea429b
Added @dynare macro.
2015-08-13 11:11:50 +02:00
Stéphane Adjemian (Charybdis)
9556d37fd6
Removed deprecated syntaxes.
2015-08-12 19:03:29 +02:00
Houtan Bastani
8f92b975e4
write dynamic model output
...
Conflicts:
preprocessor/DynamicModel.cc
2015-07-29 14:59:09 +02:00
Houtan Bastani
45d1f7c5b6
add linear option to options
2015-07-29 13:31:42 +02:00
Houtan Bastani
e5d0ba599a
fix writing of aux vars, predetermined vars, and observed vars
2015-07-29 11:51:27 +02:00
Houtan Bastani
570230d8f0
rename model__ to model
2015-07-29 11:35:10 +02:00
Houtan Bastani
0126dec837
create options
2015-07-29 11:30:01 +02:00
Houtan Bastani
d70ae4d103
write steady state model
2015-07-28 17:27:56 +02:00
Houtan Bastani
b5be9b7437
wrie dynamic params deriv file
2015-07-28 14:59:55 +02:00
Houtan Bastani
c22cc15655
write static param derivs file
2015-07-28 12:29:42 +02:00
Houtan Bastani
53cb8fc639
add cwd to LOAD_PATH
2015-07-28 11:55:38 +02:00
Houtan Bastani
25ae46e204
write dynamic file
2015-07-27 17:02:51 +02:00
Houtan Bastani
b81035a6f3
write static model
2015-07-27 15:33:38 +02:00
Houtan Bastani
32f66d2d35
write more output to modfilename.jl
2015-07-24 12:34:06 +02:00
Houtan Bastani
3a2fa0623a
accord variable names and functions with julia programming style
2015-07-24 11:35:23 +02:00
Houtan Bastani
4a5dcfca4d
change variable/parameter collections, finish printing SymbolTable info
2015-07-23 18:05:57 +02:00
Houtan Bastani
d70817ba1e
julia: initial preprocessor stub
2015-07-21 18:02:34 +02:00
Houtan Bastani
5b7acbf514
julia: first draft: call preprocessor, define model, utils
2015-07-21 16:05:02 +02:00