diff --git a/source/simulate/profile-simulation.md b/source/simulate/profile-simulation.md index 421bc3a5..c3f001cd 100644 --- a/source/simulate/profile-simulation.md +++ b/source/simulate/profile-simulation.md @@ -1,4 +1,4 @@ -# Profiling a simulation's performance +# Profiling a simulation's performance The following outlines how to tackle a simulation that is running too slow. diff --git a/source/simulate/replicate-simulation-inputs.md b/source/simulate/replicate-simulation-inputs.md index 5e7d09bd..dadd946e 100644 --- a/source/simulate/replicate-simulation-inputs.md +++ b/source/simulate/replicate-simulation-inputs.md @@ -25,7 +25,7 @@ simulation = simulation_builder.build_from_entities(tax_benefit_system, WITH_AXE Be careful to note the structure of the "axes" field: an **array of arrays** of axis objects. -This example describes one household with two parents and one child, plus a second household which is in fact a single adult person. +This example describes one household with two parents and one child, plus a second household which is in fact a single adult person. With this simulation the following code indicates that there will be 40 results: ```py diff --git a/source/simulate/run-simulation.md b/source/simulate/run-simulation.md index 11411656..d5119c14 100644 --- a/source/simulate/run-simulation.md +++ b/source/simulate/run-simulation.md @@ -1,12 +1,12 @@ # How to run a simulation -To calculate legislation variables on people's situations, a _Simulation_ needs to be created and run. +To calculate legislation variables on people's situations, a _Simulation_ needs to be created and run. OpenFisca looks for two kinds of inputs: - how persons are dispatched in other entities, - what variables' values are already known. -This is true for both [test cases](run-simulation.md#test-cases) and [data](run-simulation.md#data), the two approaches to running Simulations, +This is true for both [test cases](run-simulation.md#test-cases) and [data](run-simulation.md#data), the two approaches to running Simulations. ## How to run a simulation on a test case @@ -249,7 +249,7 @@ The following example calculates the `income_tax` of the 8th person in the list: #### Application: calculate households total taxes from a CSV file -This example will manage the `persons` and `households` entities. To calculate households' `total_taxes`, it requires each persons' `income_tax`. +This example will manage the `persons` and `households` entities. To calculate households' `total_taxes`, it requires each persons' `income_tax`. First link the persons list to the households and define their roles. Persons and households lists in this example are defined in distinct files: