Skip to content

Feature #98/better multiprocessing#102

Draft
mosc5 wants to merge 2 commits intodevfrom
feature-#98/better_multiprocessing
Draft

Feature #98/better multiprocessing#102
mosc5 wants to merge 2 commits intodevfrom
feature-#98/better_multiprocessing

Conversation

@mosc5
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@mosc5
Copy link
Copy Markdown
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