Skip to main content
U.S. flag

An official website of the United States government

This site is currently in beta, and your feedback is helping shape its ongoing development.

Datasets for manuscript "An End-of-Life Plastic and Additive Flow Tracker Tool for Scenario Forecasting"

Published by U.S. EPA Office of Research and Development (ORD) | U.S. Environmental Protection Agency | Metadata Last Checked: August 02, 2025 | Last Modified: 2024-12-06
EoLPAFT This code was written for the tool shared in the peer-reviewed manuscript "An End-ofLife Plastic and Additive Flow Tracker Tool for Scenario Forecasting." Also, the supplementary file "Chea et al - EoLPAFT-Supplementary-Final.docx" describes the tool Requirements, the EoLPAFT.py Script, User Specifications and Calculations, Material Flow Results, The model_dev.py Script, The pipe_test_GUI.py Script, and The “MySQL Database” Folder Requirements This code was written using Python 3.x. The following Python libraries are required for running the code: tkinter (https://docs.python.org/3/library/tkinter.html numpy (https://pypi.org/project/numpy/) PIL (https://pypi.org/project/pillow/) plotly (https://pypi.org/project/plotly/) pandas (https://pypi.org/project/pandas/) datetime (https://pypi.org/project/DateTime/) io (https://docs.python.org/3/library/io.html) html2image (https://pypi.org/project/html2image/) tktooltip (https://pypi.org/project/tkinter-tooltip/) matplotlib (https://pypi.org/project/matplotlib/) xlsxwriter (https://pypi.org/project/XlsxWriter/) How to use The Python Script requires no additional documents. To run the Python script, you need to navigate to the directory containing main.py. Then, you execute the following command either on Windows CMD or Unix terminal: python main.py The GUI will open and allow use of the tool. The data can then be input by the user. Outputs After running the Python script you will obtain the following files: File name Description temp-plot.html Sankey Diagram Showing Normalized Flows Sankey_Diagram.png PNG version of Sankey Diagram above Optional documents that can also be generated: File name Description Stream Summary Calculations.xlsx Shows MSW stream flows for scenario, current data marked by sheet date/time Disclaimer The views expressed in this article's dataset are those of the authors and do not necessarily represent the views or policies of the EPA. Any mention of trade names, products, or services does not imply an endorsement by ORAU/ORISE, the US Government, or the EPA. The EPA does not endorse any commercial products, services, or enterprises. Acknowledgement This research was supported in part by an appointment to the US Environmental Protection Agency (EPA) Research Participation Program administered by the Oak Ridge Institute for Science and Education (ORISE) through an interagency agreement between the US Department of Energy (DOE) and the US EPA. ORISE is managed by ORAU under DOE contract number DE-SC0014664. Partial support for undergraduate student at Rowan University was provided by the US EPA Bipartisan Infrastructure Law (BIL) P2 grant 4U96236522.

data.gov

An official website of the GSA's Technology Transformation Services

Looking for U.S. government information and services?
Visit USA.gov