IRIS-Solutions-Team / IRIS-Toolbox

[IrisToolbox] for Macroeconomic Modeling
Other
90 stars 41 forks source link

Plan and anticipate #385

Closed Usukhbayar13 closed 10 months ago

Usukhbayar13 commented 10 months ago

When i use this simulation code with new version of IRIS, this error message is appearing. It works perfectly with IRIS 14, but does not work with new version of IRIS. Why does this happening? Maybe some functions have been renamed? Or with new version of IRIS we cant use these functions at the same time?
Code: sim = simulate(m,dbinitial,fcastrange,'anticipate', true,'Plan',sp,'prependInput',true);

Error:

Error using Model/simulate
[IrisToolbox] Error
*** Options Plan= and Anticipate= cannot be used at the same time.

Error in driver_forecast_baseline (line 328)
sim = simulate(m,dbinitial,fcastrange,'anticipate', true,'Plan',sp,'prependInput',true);
jaromir-benes commented 10 months ago

When using a plan, specify the default anticipation status in the Plan object. The anticipate option cannot be used simultaneously with the plan option.

On Fri, Aug 18, 2023, 10:04 AM TuM @.***> wrote:

When i use this simulation code with new version of IRIS, this error message is appearing? It works perfectly with IRIS 14, but does not work with new version of IRIS. Why does this happening? Maybe some functions have been renamed? Or on new version of IRIS we cant use these functions together? Code: sim = simulate(m,dbinitial,fcastrange,'anticipate', true,'Plan',sp,'prependInput',true);

Error using Model/simulate [IrisToolbox] Error *** Options Plan= and Anticipate= cannot be used at the same time.

Error in driver_forecast_baseline (line 328) sim = simulate(m,dbinitial,fcastrange,'anticipate', true,'Plan',sp,'prependInput',true);

— Reply to this email directly, view it on GitHub https://github.com/IRIS-Solutions-Team/IRIS-Toolbox/issues/385, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGCVKKR5EJCRZY3EGNWWQ6DXV4OZFANCNFSM6AAAAAA3VFEAVM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Usukhbayar13 commented 10 months ago

Thank you for quick reply, Jaromir. This helped me a lot.