Giter Site home page Giter Site logo

swolfpy-project / swolfpy-inputdata Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 4.0 3.55 MB

The swolfpy-inputdata module is responsible for storing, updating, and generating new uncertain input data for the process models in swolfpy-processmodels.

License: GNU General Public License v2.0

Makefile 7.41% Python 92.59%
monte-carlo-simulation swolfpy lci municipal-solid-waste input-data landfill composting waste-management swolfpy-processmodels

swolfpy-inputdata's Introduction

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

image

Supported Python Versions

License

Downloads

Format

image

image

Documentation Status

Test

DOI

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
Description of columns in the csv file for input data
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

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

swolfpy-inputdata's People

Contributors

msm-sardar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.