Skip to main content

Solid Waste Optimization Life-cycle Framework in Python(SwolfPy)

Project description

Solid Waste Optimization Life-cycle Framework in Python(SwolfPy)

https://img.shields.io/pypi/v/swolfpy.svg Supported Python Versions License Downloads Format Documentation Status Test DOi JIE DOI

Features

  • Life-cycle assessment of Municipal Solid Waste (MSW) systems

    • Comparative LCA

    • Contribution analysis

    • LCI report

  • Monte Carlo simulation

    • Uncertainty analysis

    • Data visualization (distributions & correlations)

  • Optimization

    • Minimize environmental burdens or cost subject to a number of technical or policy-related constraints

Life-cycle process models

Process model

Description

1

Landfill (LF)

Calculates emissions, material use, and energy use associated with construction, operations, closure and post-closure activities, landfill gas and leachate management, and carbon storage.

2

Waste-to-Energy (WTE)

Calculates emissions, mass flows, and resource use and recovery for the mass burn WTE process.

3

Gasification & Syngas Combustion (GC)

Calculates emissions, mass flows, and resource use and recovery for the GC process (Produced syngas from gasification is combusted to produce electricity by steam turbine).

4

Composting (Comp)

Calculates emissions, mass flows, and resource use and recovery for aerobic composting process and final use of compost.

5

Home Composting (HC)

Calculates emissions, mass flows, and resource use and recovery for home composting process and final use of compost.

6

Anaerobic Digestion (AD)

Calculates emissions, mass flows, and resource use and recovery for anaerobic digestion process and final use of compost.

7

Single-Stream Material Recovery facility (SS_MRF)

Calculates cost, emissions, and energy use associated with material recovery facilities.

8

Refuse-Derived Fuel (RDF)

Calculates cost, emissions, and energy use associated with RDF production facilities.

9

Reprocessing (Reproc)

Calculates emissions, mass flows, and resource use and recovery associated with recycling materials.

10

Transfer Station (TS)

Calculates cost, emissions, and energy use associated with Transfer Stations.

11

Single Family Collection (SF_Col)

Calculates cost, emissions, and fossil fuel use associated with MSW collection from single family sector.

12

Multi Family Collection (MF_Col)

Calculates cost, emissions, and fossil fuel use associated with MSW collection from multi-family sector.

13

Collection (COM_Col)

Calculates cost, emissions, and fossil fuel use associated with MSW collection from commercial sector.

14

Animal Feed (AnF)

Calculates cost, emissions, and energy use associated with conversion of food waste to animal feed and final use of produced feed.

Installation

1- Download and install miniconda from: https://docs.conda.io/en/latest/miniconda.html

2- Update conda in a terminal window or anaconda prompt:

conda update conda

3- Create a new environment for swolfpy:

conda create --name swolfpy python=3.7 graphviz

4- Add Graphviz executables to your system PATH (This step is optional; Enables plotting SWM network). You can find Graphviz executables in \\miniconda3\\envs\\swolfpy\\Library\\bin\\graphviz folder or search for dot.exe file in your system. Add the directory to the Path variable in your environment variables.

5- Activate the environment:

conda activate swolfpy

6- Install swolfpy in the environment:

pip install swolfpy

7- Open python to run swolfpy:

python

8- Run swolfpy in python:

import swolfpy as sp
sp.swolfpy()

History

0.2.5 (2022-04-07)

  • Minor changes in optimization and GUI

0.2.3 (2021-11-16)

  • Improve data validation in GUI

  • Improve warning/Pop-ups

0.2.2 (2021-10-02)

  • Add Home Composting (HC)

  • Add Gasification & Syngas combustion (GC)

  • Add Refuse-derived fuel (RDF)

0.2.0 (2021-05-10)

  • Add tab for correlation analysis.

  • Add cost calculations.

  • Add help to interface.

  • Parallel optimization.

0.1.8 (2020-05-20)

  • Add tab for Monte Carlo results analysis.

  • Show Sankey for mass flows after optimization.

  • Show SWM Network graph.

0.1.6 (2020-04-11)

  • Add Reprocessing.

  • Revise Functional units.

  • Revise parameters class.

0.1.0 (2020-02-27)

  • First release on PyPI.

  • Main functionality: LCA, Monte-Carlo, and Optimization.

  • Process Models include LF, WTE, Composting, AD, SS_MRF, and Collection.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swolfpy-0.2.5.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

swolfpy-0.2.5-py3-none-any.whl (602.3 kB view details)

Uploaded Python 3

File details

Details for the file swolfpy-0.2.5.tar.gz.

File metadata

  • Download URL: swolfpy-0.2.5.tar.gz
  • Upload date:
  • Size: 3.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.11.2 pkginfo/1.7.0 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.9

File hashes

Hashes for swolfpy-0.2.5.tar.gz
Algorithm Hash digest
SHA256 cff5d9ffbefbc395cb6b2609acaef8eeda42c3ab7a1df4d376cb1fe11b17a572
MD5 efdb569a77d721992e5db925769b1ef2
BLAKE2b-256 7e82d377be37ee377d66ed61932203311c427457f0c4f75b0f64fb785288a2bb

See more details on using hashes here.

File details

Details for the file swolfpy-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: swolfpy-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 602.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.11.2 pkginfo/1.7.0 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.9

File hashes

Hashes for swolfpy-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3ec321dc21572ceec889238e542506ac72033a92cc69d8d859d329f32a07a0fd
MD5 0b211c70da915e6db350fdcb36578130
BLAKE2b-256 3d147eb659020ad0a2a45868fc0e6866b9d33b8806dcaf690f410b297db33e8f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page