You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This kind of model is actually often used when e.g. one simulates Tax-Benefit systems. You start with an initial representative population and you evolve each individual given some predefined behavioral rules which do not need interaction between the agents themselves. I found Agents.jl very capable in this space already, and much better than using a DataFrame instead. We can showcase this because you can also demonstrate that in this case parallelizing the step is trivial, because individual agents steps can be parallelized because only simultaneous reading operations are required, which are almost always thread-safe.
The text was updated successfully, but these errors were encountered:
mmmh, maybe yes, at the same time I would then put a reference on the Performance Tips to the example, probably it could be a subsection of the one described in #992
Tortar
changed the title
Add an example for a model where individuals are simulated independently (to demonstrate simple parallelization)
Add a section in performance tips for a model where individuals are simulated independently (for simple parallelization)
Jul 30, 2024
This kind of model is actually often used when e.g. one simulates Tax-Benefit systems. You start with an initial representative population and you evolve each individual given some predefined behavioral rules which do not need interaction between the agents themselves. I found Agents.jl very capable in this space already, and much better than using a DataFrame instead. We can showcase this because you can also demonstrate that in this case parallelizing the step is trivial, because individual agents steps can be parallelized because only simultaneous reading operations are required, which are almost always thread-safe.
The text was updated successfully, but these errors were encountered: