Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a section in performance tips for a model where individuals are simulated independently (for simple parallelization) #1057

Open
Tortar opened this issue Jul 14, 2024 · 2 comments
Labels
documentation enhancement New feature or request

Comments

@Tortar
Copy link
Member

Tortar commented Jul 14, 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.

@Tortar Tortar added enhancement New feature or request documentation labels Jul 14, 2024
@Datseris
Copy link
Member

Probably for AgentsExampleZoo.jl ?

@Tortar
Copy link
Member Author

Tortar commented Jul 14, 2024

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 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants