Running a simulationΒΆ

To calculate Tax and Benefit System variables on people’s situations, you need to create and run a new Simulation.

OpenFisca will work the same if there is one person, seven, or seven million in the modeled situation.

Technically speaking, OpenFisca uses vector computing via the NumPy package for performance reasons.

Nevertheless, you won’t have the same experience defining those various situations sizes and linking them to your simulation. So, multiple options could be used to describe this information:

  • either test cases: you simulate the legislation for a small number of persons
  • or bulk data: you provide a population (survey with aggregated data, CSV files with bulk data, etc.) on which you want to apply the legislation.

You might also want to understand how your simulation result was calculated. To trace its steps, you can use the trace functions as described in this section.