IRIS-Solutions-Team / IRIS-Toolbox

[IrisToolbox] for Macroeconomic Modeling
Other
92 stars 42 forks source link

use the output of blazer to solve my model #280

Open mariusmjp opened 3 years ago

mariusmjp commented 3 years ago

Hi Jaromir

Is it possible to pass as argument the output of blazer to solve my model. If this is the case have you any tutorial or example of this.

Thanks

jaromir-benes commented 3 years ago

Hi - I'm not sure I understand correctly what exactly you are looking for... Do you want to have access to the results of the blazer, i.e. the ordering of equations and variables into blocks?

On Wed, Nov 4, 2020 at 12:23 AM mariusmjp notifications@github.com wrote:

Hi Jaromir

Is it possible to pass as argument the output of blazer to solve my model. If this is the case have you any tutorial or example of this.

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/IRIS-Solutions-Team/IRIS-Toolbox/issues/280, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGCVKKWWCSECHQFFYEBP76DSOCGGNANCNFSM4TJLHKEA .

mariusmjp commented 3 years ago

Yes exactly for making a short history I want to have access to the results of the blazer . Try to re-order the equations and variables into the block by myself and pass the result to the model for solving.

jaromir-benes commented 3 years ago

Hi

you can access the blazer results using either of the following two ways:

[variables, equations] = blazer(m, ...)

giving you the results either in the two output arguments (those cell arrays with individual blocks, containing the variables solved for in each block and the equations in each block), or again by using a "saveAs" option to get the results in a text file.

There is though no way of somehow modifying the results and feed them back to the steady() function - this would unfortunately entail a very complex check that the user hasn't created any inconsistencies, and would horribly costly to implement :))

Hope this helps, Jaromir

On Wed, Nov 4, 2020 at 1:40 PM mariusmjp notifications@github.com wrote:

Yes exactly for making a short history I want to have access to the results of the blazer . Try to re-order the equations and variables into the block by myself and pass the result to the model for solving.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/IRIS-Solutions-Team/IRIS-Toolbox/issues/280#issuecomment-721708616, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGCVKKWQRY76LWN462A5CWDSOFDTXANCNFSM4TJLHKEA .