OcelotProject / Ocelot

Ocelot is open-source linking for life cycle assessment. See https://ocelot.space/ for more information.
Other
25 stars 7 forks source link

Cutoff function 19: CheckForInconsistencies #29

Open cmutel opened 8 years ago

cmutel commented 8 years ago

Checks and logs if multi output datasets exist after allocation and if non-treatment activities with treatment exchanges exist after the handling of treatment activities.

cmutel commented 8 years ago

@ecoinvent How do we tell if an exchange is a treatment exchange? @cmutel Not straightforward. The By-product classification is in the exchange, so that is fine. But the mft classification (material for treatment, not used in cut-off) can be found out like this: if the market supplying an exchange has the reference product amount negative, then mft. Otherwise, non-mft. Why they didn't want to create a tag or field dedicated for this, we should not ask.

cmutel commented 8 years ago

Multioutput dataset check added in 2c31ea1a79b04ae33eee54ad47be177b72a30a30.