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

Feature #98/better multiprocessing #102

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

mosc5
Copy link
Member

@mosc5 mosc5 commented Feb 14, 2023

Before merging, consider how we want to handle console outputs during multiprocessing.

Closes #98

@mosc5 mosc5 requested a review from JakobWeg February 14, 2023 14:09
@JakobWeg
Copy link
Contributor

Somehow the grid time series and analysis outputs are empty when running multiprocessing.

@mosc5
Copy link
Member Author

mosc5 commented Feb 15, 2023

Output issues probably stem from parallel access of data that's saved in region during the multiprocessing of cars (trying to change the grid series while charging, adding events to the analyze output)

Edit: This might a bigger issue with how arguments work during multiprocessing. We might have to scrap the idea of parallelizing the cars as it would require a lot of restructuring work.
Other possible solution for better performance would be an automatic split of regions that later gets combined back together.

@mosc5 mosc5 marked this pull request as draft February 20, 2023 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve Multiprocessing
2 participants