Skip to content

Export Data .csv always 20 periods #137

@AlexDece

Description

@AlexDece

When changing the time horizon of the simulation and exporting the results in csv, the default time horizon is shown in the csv file.

I was surprised someone would actually download the csv file :D
I received this issue from external source, so I should take care of it.
I scanned through the code, but I didn't find where this information is read in matlab.
@j2L4e do you have any idea? Since the output.json has the correct time horizon, I assume I just didnt find the right spot in the code...

To Reproduce
Steps to reproduce the behavior:

  1. Check any model with any policy rule and any shock/variables
  2. Change Horizon to e.g. 40 in the options block
  3. Run simulation
  4. Click on "Export data .csv"
  5. In the output.csv only 21 periods are shown, while the output.json 41 periods are shown

Expected behavior
The csv file should contain 41 periods output

Screenshots
error1
error2
error3

Desktop (please complete the following information):

  • Device: PC
  • OS: Windows
  • Dynare 4.5.7, Matlab 2019

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions