brightway-lca / bw_timex

Time-explicit Life Cycle Assessment
https://docs.brightway.dev/projects/bw-timex
BSD 3-Clause "New" or "Revised" License
30 stars 5 forks source link

add static lcia score for from_timeline approach #75

Open jakobsarthur opened 3 months ago

jakobsarthur commented 3 months ago

Currently, the the matrix is not expanded, the static lcia score (using prospective db's but no time explicit emissions) can not be calculated. This is normally done by just doing the matrix multiplication with the expanded matrices. But these are not built, so it gives a wrong score.

-> solution: sum the dynamic inventory over time and multiply with characterisation factor.

Cuurently it produces a result which is wrong...! So it should at least produce a warning to calculate the matrix based approach

jakobsarthur commented 3 months ago

static_lcia() now raises an error if the timexlca.lci() was run with expand_technosphere=False