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

Improvements #12

Merged
merged 5 commits into from
Mar 12, 2020
Merged

Improvements #12

merged 5 commits into from
Mar 12, 2020

Conversation

romainsacchi
Copy link
Owner

  • Faster approach to calculating the results: does not longer calculate the LCA for each car, but rather calculates the LCA for each first level activity of all cars and then multiplies by the required quantities to obtain the score of all cars, using broadcasting. Also uses numexpr to do some of that.
  • This approach also allows to better allocate impacts between categories. Hence, there is no longer the "other" category, as we now know how the residual should be allocated. Instead, we have a new "End of life" category.
  • Downgraded some of the arrays to float16, to gain memory. Same for the array containing the results.

@romainsacchi romainsacchi merged commit 5e15d28 into master Mar 12, 2020
@romainsacchi romainsacchi deleted the battery branch March 12, 2020 16:56
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.

None yet

1 participant