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
Issue:
generate_daily_load_profiles function can only generated cases without parallel processing, which highly increases running time. Would it be possible to extend the parallel processing to the generation of cases also?
The text was updated successfully, but these errors were encountered:
For this one need a way to reassign the result of a parallel process to the correct case, but this is possible. Could you describe your use case with dummy code?
Basically the parallelization consists of listing the arguments for all the appliance profiles which a UseCase entails and feed this to a multiprocessing pool of workers. The workers go through the list in an unordered fashion and we collect the resulting profiles and reorder them thanks to the day index. In that case all profiles are attached to a single UseCase instance, but if you have many UseCase instances you can also pass this information to the parallelized function to allow you redispatching the resulting profile to the right usecases. (It is like going from having one kitchen and many waiter to serve one restaurant to having one kitchen and many waiters to serve several restaurants, each dish needs to bear the information about the restaurant it needs to be sent to)
Issue:
generate_daily_load_profiles function can only generated cases without parallel processing, which highly increases running time. Would it be possible to extend the parallel processing to the generation of cases also?
The text was updated successfully, but these errors were encountered: