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

Relabel activities which both treat and produce recyclable products #155

Open
cmutel opened this issue Dec 19, 2018 · 3 comments
Open

Relabel activities which both treat and produce recyclable products #155

cmutel opened this issue Dec 19, 2018 · 3 comments

Comments

@cmutel
Copy link
Member

cmutel commented Dec 19, 2018

It seems like there is another type of allocation in the cut-off model that we hadn't considered before: when an activity has a reference product that is recyclable and has a negative amount, and a byproduct that is also recyclable. For example, the Swiss activity treatment of waste paper, unsorted, sorting has a reference product production of -1.025 waste paper, unsorted. However, the reference model result produces 1 kg of waste paper, sorted, and moves the unsorted paper to a positive input. It also moves all waste byproducts to negative inputs.

This procedure is very similar to the procedure for recycling allocation, except that the documentation for recycling_allocation explicitly states that:

Note that recycling allocation is not applied to `recyclable` byproducts, 
as the cutoff system model breaks the chain between production and 
consumption of these types of materials.

It looks like our criteria for recycling allocation need to be broadened. The cutoff here occurs at waste paper, unsorted, Recycled Content cut-off which produces waste paper, unsorted, which is correct, but the sorting dataset still needs to be "allocated".

@cmutel
Copy link
Member Author

cmutel commented Jan 10, 2019

Comment from Ingo (email 21.12.2018):

This is what is checked/moved: treatment activities with a refProd with the cut-off classification "recyclable" get their refProd moved to the input side and one of the non-waste (again based on the cut-off classification) by-products becomes the new refProd.

For example, treatment of waste paper, unsorted, sorting. Can you confirm that this is correct, and is a new function (as opposed to the side effects of existing functionality in Ocelot).

Yes, that's one of the main features of the cut-off system model: handling datasets based on the cut-off classification of their reference products. There are specific linking tasks for allocatable by-products, recyclables and wastes.

@cmutel
Copy link
Member Author

cmutel commented Jan 15, 2019

The problem with the current code is that it doesn't apply any allocation if there are no allocatable byproducts (i.e. exc.get('byproduct classification') == 'allocatable product'). I tried to fix this is 700c15d, but I guess this still isn't perfect. A better way would be to unify these two recycling allocation strategies.

@cmutel cmutel pinned this issue Jan 15, 2019
@cmutel
Copy link
Member Author

cmutel commented Jan 16, 2019

Gregor Wernet calls this the "recycling chain", and it can happen before allocation. In theory, no other byproducts are allowed (or else it violates our intuition for how the recycling chain should work), but this should be checked.

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

No branches or pull requests

1 participant