0 votes
25 views

Given the push toward LCIA methods that operate over geo-temporal attributes of each exchange, as well as the occasionally difficult task of uniquely identifying an Exchange within a Process (i.e., Exchange.internalId is mutable, and Exchange.flow can be duplicated), has any consideration been given toward altering the Exchange class to have an *.@id attribute rather than *.internalId?

ago in openLCA by (120 points)

2 Answers

0 votes
ago by (145k points)
edited ago by
true, however the exchanges table is the heaviest in a calculation and adding UUIDs there would increase the weight (so to say); maybe it could make sense to directly evaluate the impacts per exchange (which would allow also nonlinear impacts), and specifically for time, the system dynamics addition to recent openLCA is quite powerful. If you see a chance for a joint project, let us know!

edit: and related to the edges package, the access for LCIA methods to both elementary and all other flows that edges provides is possible in openLCA already, since beginning. But there is more to explore and elaborate, certainly.
0 votes
ago by (14.2k points)
Within openLCA, the internalId of an exchange is not mutable. The requirement is that it is unique within a process. The process contains a field, lastInternalId, which tracks this value; it is always incremented so that an exchange never receives the same internalId twice. The pair (process.id, exchange.internalId) is unique (and is used in product system links).

An exchange is not a standalone entity in openLCA; it always exists within a process. That process provides the context (such as location, industry sector, etc.) that could be used for this "edge-based impact assessment" (very interesting, thank you for sharing the link). In fact, this is already done with the regionalization feature in openLCA: if not defined for the exchange, openLCA uses the location of the process and matches it with regionalized characterization factors.

And yes, there is more to explore (such as handling sector-specific CFs). However, I do not currently see how UUIDs for exchanges would help here.
...