lcpy: an open-source python package for parametric and dynamic Life Cycle Assessment and Life Cycle Costing

Spiros Gkousis [email protected] College London,Department of Civil and Environmental Engineering,Exhibition Rd, South Kensington, London,SW7 2AZ, United KingdomEvina Katsou [email protected] College London,Department of Civil and Environmental Engineering,Exhibition Rd, · 2025

Read lcpy: an open-source python package for parametric and dynamic Life Cycle Assessment and Life Cycle Costing by Spiros Gkousis [email protected] College London,Department of Civil and Environmental Engineering,Exhibition Rd, South Kensington, London,SW7 2AZ, United KingdomEvina Katsou [email protected] College London,Department of Civil and Environmental Engineering,Exhibition Rd, (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2506-13744.txt.

Introduction

Spiros Gkousis and Evina Katsou release lcpy, an open-source Python package for life cycle assessment that can move through time. Standard LCA freezes a product's footprint at one moment, yet emissions, costs, and technologies all drift. Their 2025 package models a process as flexible dictionaries and lists, so each piece can vary over time and carry uncertainty.

Static studies remain possible, but the design center is dynamic: costs and impacts recomputed as conditions change. The package plugs into optimization and uncertainty libraries and into tools for prospective assessment of future technologies. Code is public on GitHub. Sustainability analysts get an enviro-economic workbench where tomorrow is a variable, not a footnote.

Catalog record

CREATORSpiros Gkousis [email protected] College London,Department of Civil and Environmental Engineering,Exhibition Rd, South Kensington, London,SW7 2AZ, United KingdomEvina Katsou [email protected] College London,Department of Civil and Environmental Engineering,Exhibition Rd,
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE11 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2506-13744

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

lcpy: an open-source python package for parametric and dynamic Life Cycle Assessment and Life Cycle Costing Spiros Gkousis [email protected] College London,Department of Civil and Environmental Engineering,Exhibition Rd, South Kensington, London,SW7 2AZ, United KingdomEvina Katsou [email protected] College London,Department of Civil and Environmental Engineering,Exhibition Rd, South Kensington, London, SW7 2AZ,United Kingdom Abstract This article describes lcpy, an open-source python package that allows for advanced parametric Life Cycle Assessment (LCA) and Life Cycle Costing (LCC) analysis. The package is designed to allow the user to model a process with a flexible, modular design based on dictionaries and lists. The modeling can consider in-time variations, uncertainty, and allows for dynamic analysis, uncertainty assessment, as well as conventional static LCA and LCC. The package is compatible with optimization and uncertainty analysis libraries as well as python packages for prospective LCA. Its goal is to allow for easy implementation of dynamic LCA and LCC and for simple integration with tools for uncertainty assessment and optimization towards a more widened implementation of advanced enviro-economic analysis. The open-source code can be found at https://github.com/spirdgk/lcpy . keywords LCA, LCC, dynamic analysis, python 1 Introduction Life Cycle Assessment (LCA) and Life Cycle Costing (LCC) analysis are widely adopted methods for assessing, respectively, the environmental and economic sustainability of products and systems. For a long time, LCA was limited by its static nature ( Finnveden et al. 2009 ) providing a snapshot of the environmental impacts without exploring the evolution of the impacts in time and how changes in the investigated system affects these. A few studies have explored dynamic approaches to LCA. For example, Levasseur et al. 2010 developed dynamic characterization factors for the global warming impact that account for the timing of the emissions in the impact calculation. Collinge et al. 2013 suggested adding a time dimension for solving the inventory equation to calculate a dynamic inventory and applied this approach for the LCA of buildings. Beloin-Saint-Pierre et al. 2014 introduced the enhanced structural path analysis (ESPA) method for dynamic LCA using time distributions for modeling the environmental interventions of the investigated system. The resulting dynamic LCI could then be matched to dynamic characterization factors for the Life Cycle Impact Assessment (LCIA). Several other studies have applied dynamic LCA describing frameworks for its implementation, as well as suggesting dynamic characterization factors for numerous impact categories ( Gkousis et al. 2022 ; Su et al. 2017 ; Lebailly et al. 2014 ) . The development of the brightway software allowed for flexible LCA calculations in python ( Mutel 2017 ) and facilitated the development of open-source tools performing dynamic and prospective LCA. For example, the Premise software ( Sacchi et al. 2022 ) can calculate, prospective Life Cycle Inventory (pLCI) databases that account for projections of integrated assessment models. These pLCI databases can then be used in brightway for prospective LCA and can be coupled with dynamic LCI models. The Temporalis package ( Cardellini et al. 2018 ) is a python tool for dynamic LCA based on brightway that proposes solving the dynamic inventory problem through graph traversal and convolution algorithms. In addition to Temporalis and Premise, more python tools are being developed to allow for advanced prospective and dynamic LCA ( Diepers et al. 2025 ; Sacchi and Hahn-Menacho 2024 ) . Despite the recent developments in dynamic and prospective LCA the operationalization of these methods is lacking, potentially because the developed tools require proficiency in the brightway software. At the same time, the developed tools have not focused on the system costs and the synergies between LCA and LCC towards a more holistic picture of the system sustainability. Lcpy suggests a simple approach to dynamic LCA and LCC which allows for parametric modeling, flexible time-step (e.g., years for prospective analysis or minutes for short-term analysis) and integration with uncertainty analysis and optimization libraries aiming to enable the widened adoption of advanced LCA and LCC of products and systems. 2 Description We consider that a main process/system is to be assessed. The main process is divided into several sub-processes, each consuming resources (inflows) and producing products, emissions, and waste (outflows) (Figure 1 ). Provided the exchange amounts, thus the amounts of each inflow and outflow for each sub-process and the amount of each sub-process in the main process, as well as the unit environmental impact and unit cost and revenue for each inflow and outflow, one can calculate the unit impact/cost of each sub-process and respectively of the main process. Equations 1 - 4 describe this procedure. Figure 1: Approach to define the main process in lcpy. \displaystyle\text{SP}_{\text{unit-impact},i,j} \displaystyle=\sum_{0}^{SSP}\left(\text{SSP}_{\text{unit-impact},i,j}\cdot\text{SSP}_{\text{exchange-amount},i,j}\right) (1) \displaystyle\text{MP}_{\text{unit-impact},i,j} \displaystyle=\sum_{0}^{SP}\left(\text{SP}_{\text{unit-impact},i,j}\cdot\text{SP}_{\text{exchange-amount},i,j}\right) (2) \displaystyle\text{SP}_{\text{unit-cost},i,j} \displaystyle=\sum_{0}^{SSP}\left(\text{SSP}_{\text{unit-cost},i,j}\cdot\text{SSP}_{\text{exchange-amount},i,j}\right) (3) \displaystyle\text{MP}_{\text{unit-cost},i,j} \displaystyle=\sum_{0}^{SP}\left(\text{SP}_{\text{unit-cost},i,j}\cdot\text{SP}_{\text{exchange-amount},i,j}\right) (4) Where i,j are the number of scenarios and time steps considered, and MP, SP, and SSP are the main process, sub-process, and sub-sub-processes respectively. Equations 1 - 4 are the core of lcpy Gkousis and Katsou 2025 . The package requires defining the names of the main process, sub-process, and sub-sub-processes (inflows and outflows) in python dictionaries with predefined structure. In addition, the exchange amounts for each sub-sub-process and sub-process need to be defined and passed into python lists. Depending on the type of analysis to be conducted, the exchange amounts can be inputted as simple values (simple LCA/LCC), or 2-D numpy ( Harris et al. 2020 ) arrays (Monte Carlo or dynamic LCA/LCC). Different calculator classes are provided to handle the 2-D or simple calculations, with the former being handled by cython functions to enable fast calculations. Next, the unit impacts and costs/revenues need to be derived. The latter can be derived as the market prices for each inflow and outflow and for the final products produced. The unit impacts for each inflow and outflow will vary depending on the impact category assessed (e.g., global warming impact, acidification) and the impact assessment method used. These can be calculated using a dedicated calculator class of lcpy that utilizes brightway2.0 ( Mutel 2017 ) . The user needs to create a brightway2.0 environment outside of the lcpy environment and create a project. Then, the key ids for the brightway2.0 processes that represent the inflows and outflows can be passed, as keys, to the python dictionaries that model each sub-process. The calculator class can then be used to derive the unit impact or inventory for each inflow and outflow. Alternatively, this information can be inputted by the user externally. Finally, a number of additional parameters need to be defined such as the number of scenarios and time-steps to be considered, impact assessment methods to be used, and discount rate for the economic analysis. Lcpy then provides functions to perform: 1. Simple LCA and LCC/TEA 2. Monte Carlo LCA and LCC 3. Dynamic LCA and LCC Detailed examples are provided in the package repository https://github.com/spirdgk/lcpy and zenodo archive ( Gkousis and Katsou 2025 ) and detailed instructions and explanations for each function can be found in the documentation provided in the repository. Dynamic impact assessment can be performed using characterization factors with a predefined time horizon or with an annual time step as in the framework of ( Levasseur et al. 2010 ) . The dynamic characterization factors are inserted to lcpy as excel files. The construction of the excel files containing the

Read the complete text