USEPA / ElectricityLCI

Creative Commons Zero v1.0 Universal
24 stars 10 forks source link

ELCI_3 issue: Generation processes not in the process dictionary are showing up in Generation mix dictionary #142

Open tjlca opened 3 years ago

tjlca commented 3 years ago

Example AKGD -OFSL. This particular generation process is not present in the generation process dictionary and ultimately is not present in the jsonld file imported to openLCA.

However, it is present in the generation mix database and thus shows up in the generation mix dictionary. While creating dictionary, this ( and other ) processes show up as missing default provider to non existent generation processes.

Why do they show up in the generation mix database?

The current development is only being done on the tj_troy_elci3 branch.

tjlca commented 3 years ago

When the code uses the function generation_mix_from_eGRID_Reference_data, it does not use the generation database for creating generation mix processes. Thus filters and other edits do not show up resulting in flows that were previously omitted showing up inside the generation mix processes. Currently, soft fixing the problem by skipping such flows when they show up with a warning message.