Closed pwierzgala closed 1 year ago
It is confusing but avoided products should be set with is_input = true
. I tried to explain this in the schema documentation now: http://greendelta.github.io/olca-schema/classes/Exchange.html#isavoidedproduct
I also added a test which demonstrates this behavior: https://github.com/GreenDelta/olca-ipc.py/blob/master/tests/test_avoided_flows.py
Problem definition
I'd like to add an avoided (
is_avoided_product=True
) output (is_input=False
) exchange to a process but:olca_ipc
it hasis_input
attribute set toFalse
, which is correct but it doesn't correspond with what I see in Open LCA.is_avoided_product
toFalse
the exchange is displayed in Open LCA as expected.Sample code
Versions