-
Notifications
You must be signed in to change notification settings - Fork 19
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
Creating a setup containing normalization #27
Comments
Normalization and weighting sets (nw-sets) are not stand-alone entities in openLCA but are always linked to a LCIA method. Because of this, you cannot get them via method_ref = client.find(olca.ImpactMethod, 'TRACI [v2.1, February 2014]')
# getting the full method object via IPC can take a bit currently...
method = client.get(olca.ImpactMethod, method_ref.id) From the method object you can then get the nw-sets: for nw_set in method.nw_sets:
print(nw_set.name) You can set such a nw-set to the calculation setup but I think there is currently no method for getting the normalized and/or weighted results from the calculation result via olca-ipc (?): https://greendelta.github.io/olca-ipc.py/olca/ipc.html However, applying normalization and weighting on an LCIA result is simple: just apply the corresponding factors from the nw-set on the LCIA result. |
Thank you for the answer!
I do not know how to reference the impact category (e.g. Water use, right?) |
Hi,
I am trying to calculate a setup with a self-created normalization set ('test') using Python. The end result should be a table containing the name of the product system, the impact category (Ozon depletion etc.), the value, the unit and the normalized value. All in seperate columns. Everything works except for the normalization. I do not know how to implement this correctly. Below you can see my code. Unfortunately, I cannot find an answer in the API documentation, I hope you can help. Thank you!
The text was updated successfully, but these errors were encountered: