Metadata-Version: 2.1
Name: swolfpy-inputdata
Version: 1.1.0
Summary: Input data for swolfpy's life-cycle process models (swolfpy_inputdata).
Author-email: Mojtaba Sardarmehni <msardar2@alumni.ncsu.edu>
Maintainer-email: Mojtaba Sardarmehni <msardar2@alumni.ncsu.edu>
License: GNU GENERAL PUBLIC LICENSE V2
Project-URL: Homepage, https://swolfpy-project.github.io/
Project-URL: Documentation, https://swolfpy.readthedocs.io/en/latest/
Project-URL: Source Code, https://github.com/SwolfPy-Project/swolfpy-inputdata
Keywords: LCA,solid_waste,waste_management,swolfpy,brightway2
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.9
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Scientific/Engineering :: Visualization
Classifier: Natural Language :: English
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
License-File: LICENSE.md
License-File: AUTHORS.rst
Requires-Dist: coverage
Requires-Dist: jupyter
Requires-Dist: pandas
Requires-Dist: pre-commit
Requires-Dist: pylint
Requires-Dist: pytest
Requires-Dist: pytest-cov
Requires-Dist: pytest-flake8
Requires-Dist: stats-arrays
Requires-Dist: xlrd (==1.2.0)

.. General

======================================================================
Input data for swolfpy's life-cycle process models (swolfpy_inputdata)
======================================================================

.. image:: https://img.shields.io/pypi/v/swolfpy_inputdata.svg
        :target: https://pypi.python.org/pypi/swolfpy_inputdata

.. image:: https://img.shields.io/pypi/pyversions/swolfpy_inputdata.svg
    :target: https://pypi.org/project/swolfpy_inputdata/
    :alt: Supported Python Versions

.. image:: https://img.shields.io/pypi/l/swolfpy_inputdata.svg
    :target: https://pypi.org/project/swolfpy_inputdata/
    :alt: License

.. image:: https://img.shields.io/pypi/dm/swolfpy-inputdata.svg?label=Pypi%20downloads
    :target: https://pypi.org/project/swolfpy-inputdata/
    :alt: Downloads

.. image:: https://img.shields.io/pypi/format/swolfpy_inputdata.svg
    :target: https://pypi.org/project/swolfpy_inputdata/
    :alt: Format

.. image:: https://img.shields.io/badge/linting-pylint-yellowgreen
    :target: https://github.com/PyCQA/pylint

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/ambv/black

.. image:: https://readthedocs.org/projects/swolfpy/badge/?version=latest
        :target: https://swolfpy.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status

.. image:: https://github.com/SwolfPy-Project/swolfpy-inputdata/actions/workflows/python-app.yml/badge.svg?branch=master
        :target: https://github.com/SwolfPy-Project/swolfpy-inputdata/actions/workflows/python-app.yml
        :alt: Test

.. image:: https://zenodo.org/badge/395800995.svg
        :target: https://zenodo.org/badge/latestdoi/395800995
        :alt: DOI

.. image:: https://img.shields.io/badge/JIE%20DOI-10.1111%2Fjiec.13236-blue
   :target: https://doi.org/10.1111/jiec.13236
   :alt: JIE DOI

* Free software: GNU GENERAL PUBLIC LICENSE V2
* Website: https://swolfpy-project.github.io
* Documentation: https://swolfpy.readthedocs.io.
* Repository: https://github.com/SwolfPy-Project/swolfpy-inputdata



Features
--------
* Input data for Life-cycle process models of swolfpy

  * Common data (e.g., molecular weights, heating values)
  * Material properties (46 common waste fractions; e.g., Food waste, Yard waste)

    * Chemical properties (e.g., carbon content, methane yield)
    * Physical properties (e.g., moisture content, density)
  * Material dependent process model inputs (e.g., separation efficiency for each waste fraction in the trommel)
  * Material indepent process model inputs

* Built-in Monte Carlo simulation


.. list-table:: **Description of columns in the csv file for input data**
   :widths: auto
   :header-rows: 1

   * - Field
     - Description
   * - Category
     - Category of the input (e.g., energy recovery, post closure)
   * - Dictonary_Name
     - Name of the dictionary and attribute (whitespace is not allowed)
   * - Parameter Name
     - Short name of the parameter (whitespace is not allowed)
   * - Parameter Description
     - Longer description of the parameter
   * - Amount
     - Default value for the parameter
   * - Unit
     - Unit of the parameter (e.g., MJ/Mg, kW, hours/day)
   * - Uncertainty_type
     - 0: Undefined, 2: Lognormal, 3: normal, 4: Uniform, 5: Triangular, 7: Discrete Uniform
   * - Loc
     - Mean for lognormal and normal distribution
   * - scale
     - Standard deviation for lognormal and normal distribution
   * - shape
     - Shape parameter for Weibull, Gamma or Beta distributions
   * - Minimum
     - Lower bound/minimum for lognormal, normal, uniform, triangular, and discrete uniform distributions
   * - maximum
     - Upper bound/maximum for lognormal, normal, uniform, triangular, and discrete uniform distributions
   * - Reference
     -
   * - Comment
     -


.. Installation

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.9

4- Activate the environment::

        conda activate swolfpy

5- Install swolfpy_inputdata in the environment::

        pip install swolfpy_inputdata

6- Use in python (e.g., Landfill model)::

        import swolfpy_inputdata as spid
        data = spid.LF_Input()
        model.calc()
        #Example: Returs the actk parameter in landfill
        data.LF_gas['actk']
        #Example: Returns input data in dataframe format
        data.Data

.. endInstallation

=======
History
=======

1.1.0 (2023-07-30)
------------------

* Downgrade to Python 3.9


1.0.0 (2023-06-03)
------------------

* Upgrade to Python 3.10
* Add PreCommit


0.2.4 (2022-04-05)
------------------

* Add Multi-family and commercial Waste collection
* Add Animal feed production (AnF)


0.2.3 (2021-11-24)
------------------

* Update Landfill


0.2.1 (2021-10-02)
------------------

* New models: Gasification & Syngas combustion (GC), Refuse-Derived Fuel (RDF), Home composting (HC)


0.1.9 (2021-05-10)
------------------

* Life cycle cost, input data for TS, References


0.1.0 (2020-05-06)
------------------

* First release on PyPI. Data for the Life-cycle process models include: LF, WTE, Composting, AD, SS_MRF, reprocessing and Collection.
