Commit Graph

279 Commits (3efe283bf026ccb055641aeb09568ea4e5cdd370)

Author SHA1 Message Date
Stéphane Adjemian (Hermes) 9ca893ca1d Added routines for steady state computation (julia). 2016-06-14 11:21:23 +02:00
Stéphane Adjemian (Hermes) 4658d81740 Add pointer to user written steady state routine. 2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes) 0398832e4f 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
Stéphane Adjemian (Hermes) 2e8f528bef Cosmetic changes.
+ Renamed model as model_
+ Renamed options as options_
+ Renamed output as oo_
+ Also export oo_ and options_
+ Fixed typos in comments.
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) 73787c0c16 Removed try-catch block. 2016-05-23 13:48:19 +02:00
Stéphane Adjemian (Hermes) 928b0a50a5 Fixed crash when steadystate block does not exist. 2016-05-23 13:48:19 +02:00
Houtan Bastani 6b7a77d5a9 preprocessor: replace no_2nd_order_params_derivs with params_deriv_order. #1187 2016-05-18 12:26:19 +02:00
Houtan Bastani 253e6c8dfb Revert "Revert "preprocessor: add option no_2nd_order_params_derivs. #1187""
This reverts commit c496d6f5ca.
2016-05-18 10:34:45 +02:00
Houtan Bastani 42895ce32c Revert "preprocessor: add params_derivs_order to identification and sensitivity. #1187"
This reverts commit 6192a6a776.
2016-05-18 10:33:45 +02:00
Houtan Bastani 6192a6a776 preprocessor: add params_derivs_order to identification and sensitivity. #1187 2016-05-17 17:18:16 +02:00
Houtan Bastani c496d6f5ca Revert "preprocessor: add option no_2nd_order_params_derivs. #1187"
This reverts commit 024586fbb1.
2016-05-17 15:37:46 +02:00
Houtan Bastani 308828aa95 Revert "preprocessor: params_derivs_file: by default, compute second order derivs wrt params; simplify code; #1187"
This reverts commit 1442f83037.
2016-05-17 15:37:29 +02:00
Houtan Bastani 1442f83037 preprocessor: params_derivs_file: by default, compute second order derivs wrt params; simplify code; #1187 2016-05-13 10:48:49 +02:00
Houtan Bastani 024586fbb1 preprocessor: add option no_2nd_order_params_derivs. #1187 2016-05-12 14:40:28 +02:00
Houtan Bastani 9d26ab46e9 preprocessor: only compute first order derivatives w.r.t. parameters with identification. closes #1187 2016-05-12 12:02:34 +02:00
Michel Juillard 7ce07c9abd put orig_eq_nbr and ramsey_eq_nbr in mod_file_struct 2016-04-01 18:45:19 +02:00
Johannes Pfeifer 1b203a3755 Save dataset_info in results.mat if it exists 2016-03-11 15:29:12 +01:00
Houtan Bastani 8c2e6655f1 preprocessor: introduce new option compute_xrefs, #1125 2016-02-23 13:57:55 +01:00
Stéphane Adjemian (Charybdis) 215de7e8dc Closes #1057.
Use a static file with a list of routines to cleared before each run (because they have
persistent variables).This static file (the script
matlab/list_of_functions_to_be_cleared.m) is distributed with Dynare and
needs to be updated for each release (or each time we add/remove
persistent variables). To update the file just do:

>> clear_persistent_variables(DYNARE_MATLAB_PATH, true)

and add/commit the generated file.
2015-11-12 14:38:16 +01:00
MichelJuillard b51b037ef2 Merge pull request #871 from JohannesPfeifer/prior_posterior_function
Add functionality Prior posterior function
2015-10-10 22:17:53 +02:00
Michel Juillard a8580258a1 changed Dynare timer to local timer 2015-10-10 14:33:30 +02:00
Stéphane Adjemian (Charybdis) e52ce43569 Removed clear all for Matlab>=R2015b.
By default, Dynare clears the globals and functions containing
persistent variables. The behaviour of Dynare is not changed with
Matlab<R2015b or Octave.
2015-10-06 11:34:56 +02:00
Houtan Bastani f72fcbbe78 preprocessor: make ramsey_policy/ramsey_model and discretionary_policy mutually exclusive. closes #1047 2015-09-03 17:04:34 +02:00
Houtan Bastani 11eaf27453 Merge branch 'julia' 2015-09-01 11:35:16 +02:00
Michel Juillard c9f771973d expand extended preprocessor + first implementation of Petsc interface 2015-08-27 10:00:51 +02:00
Michel Juillard 3ed1d01ba9 adding writeResidualsC() for external files 2015-08-24 14:53:27 +02:00
Houtan Bastani 59122a1e73 fix comments in generated files 2015-08-21 12:00:47 +02:00
Houtan Bastani 8715878971 remove duplicate try/catch 2015-08-21 11:40:43 +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 c88c17728e preprocessor: issue warning when param used with lead/lag. closes #976 2015-07-30 14:40:03 +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 8a4357640e remove unnecessary assignment as the field is assigned in the constructor 2015-07-29 13:22:40 +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 bc49d06e61 simplify modules created by preprocessor 2015-07-28 18:00:00 +02:00
Houtan Bastani 9562b4ffd1 reduce code that is output in modfile.jl 2015-07-28 17:32:34 +02:00
Houtan Bastani d70ae4d103 write steady state model 2015-07-28 17:27:56 +02:00
Johannes Pfeifer 5131f3907f Make sure the used global variables are correctly set and available in the base workspace 2015-07-28 15:36:59 +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 25ae46e204 write dynamic file 2015-07-27 17:02:51 +02:00
Houtan Bastani be464bb431 clean up writing of static model 2015-07-27 15:59:13 +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