Datasets for manuscript "An End-of-Life Plastic and Additive Flow Tracker Tool for Scenario Forecasting"
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.
Complete Metadata
| accessLevel | public |
|---|---|
| bureauCode |
[
"020:00"
]
|
| contactPoint |
{
"fn": "Gerardo Ruiz-Mercado",
"hasEmail": "mailto:ruiz-mercado.gerardo@epa.gov"
}
|
| description | 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. |
| distribution |
[
{
"title": "https://github.com/jdchea95/EoLPAFT",
"accessURL": "https://github.com/jdchea95/EoLPAFT"
},
{
"title": "Chea et al - EoLPAFT-Supplementary-Final.docx",
"mediaType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"downloadURL": "https://pasteur.epa.gov/uploads/10.23719/1531894/Chea%20et%20al%20-%20EoLPAFT-Supplementary-Final.docx"
}
]
|
| identifier | https://doi.org/10.23719/1531894 |
| keyword |
[
"Chemical additives",
"End-of-Life Plastic Management",
"Environmental Releases",
"Flow Tracker Tool",
"circular economy"
]
|
| license | https://pasteur.epa.gov/license/sciencehub-license.html |
| modified | 2024-12-06 |
| programCode |
[
"020:000"
]
|
| publisher |
{
"name": "U.S. EPA Office of Research and Development (ORD)",
"subOrganizationOf": {
"name": "U.S. Environmental Protection Agency",
"subOrganizationOf": {
"name": "U.S. Government"
}
}
}
|
| references |
null
|
| rights |
null
|
| title | Datasets for manuscript "An End-of-Life Plastic and Additive Flow Tracker Tool for Scenario Forecasting" |