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

Generalize DynamicCharacterization interface #69

Closed TimoDiepers closed 4 months ago

TimoDiepers commented 4 months ago

Instead of the specific timex-implementation, this could be generalised to a kind of "interface" in the dynamic_characterization package. Default input to the interface would be just the dynamic inventory and a characterization function dict, optionally also temporal grouping and demand_timing_dict (should per default just look for the -1 in consumer)

TimoDiepers commented 4 months ago

We could also re-think the general structure of the data. Rather than basing everything on data frames, it could make more sense to use arrays to improve performance