-
Notifications
You must be signed in to change notification settings - Fork 1
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
Allow editing of Node
production/consumption Amounts... to update the LCA Result
#12
Comments
...maybe there is a way propagate edits from the table back to the dict of dicts, which is returned by
|
Any time you change the matrix you need to start graph traversal again. It will break the matrix factorization cache, and change all LCA results. |
I would do this by keeping a separate datapackage in memory, following https://github.com/brightway-lca/from-the-ground-up/blob/main/2%20-%20Building%20and%20using%20matrices%20in%20bw2calc.ipynb, as then you don't need to touch the SQLite database. |
Currently, the dashboard returns a list of nodes in the supply chain tree like so:
The user should be able to say:
and then edit this
Supply Amount
in the second row.Of course, this would mean that correspondingly less
Supply Amount
of all activities feeding intoPaper
would be required. Of course, all this would also affect the overall LCA score.The text was updated successfully, but these errors were encountered: