Skip to main content

Probabilistic evaluation of penetration of plate

Project description

InterPenet

Probabilistic evaluation of penetration of plate

Shinsuke Sakai

Emeritus Professor, The University of Tokyo, Japan
Visiting Professor, Yokohama National University, Japan

Overview

This package provide the function for general-purpose matrix-based LCA analysis and LCA based on reliability design. Algorithm for sensitivity analysis using perturbation method is based on the theory shown by Sakai and Yokoyama[1]. Should any required packages be missing during execution, please install them accordingly.

[1]Shinsuke Sakai and Koji Yokoyama. Formulation of sensitivity analysis in life cycle assessment using a perturbation method. Clean technologies and environmental policy, Vol. 4, No. 2, pp. 72–78, 2002.

Procedure

  1. Install this package using pip command.
  2. Create a folder to store inventory data. As an example, the folder named 'SandwichPackage' is already created.
  3. Save the inventory data to be analyzed in that folder.
  4. Import PyMLCA module using 'from MLCArel import PyMLCA as pm' command.
  5. Create an instance to manage the analysis using 'dp=pm.DesignProcess()' command.
  6. From here on, use the created instance to perform the intended analysis.

Operation check

The following describes the method for checking when using the inventory data in the SandwichPackage folder. Sample data for SandwichPackaged are provided in the site.

First, create an instance and define the inventory data folder.

from MLCArel import PyMLCA as pm
dp=pm.DesignProcess()
path='./SandwichPackage'
dp.SetDfFromPath(path)

Next, perform a matrix-based LCA.

solution,surplusFlow,loadValue=dp.SimpleAnalysis()

Confirm the created coefficient matrix.

print(dp.rbld.mlca.coefficientMat)

The expected output would be as follows.


mat production of aluminum production of aluminum foil production of electricity usage of aluminum foil
aluminum 1.0 -1.0 -0.01 -0.0
AluminumFoil 0.0 1.0 0.00 -1.0
electricity -50.0 -1.0 1.00 0.0
SandwichPackages 0.0 0.0 0.00 1.0

Display the solution of the process values.

print(solution)

The expected output would be as follows.


[ 0.202 0.1 10.2 0.1 ]


Display the names of the environmental impacts and their solutions.

flowName,b,loadName=dp.GetName()
print('Names of the environmental impacts=',loadName)
print('Their solutions=',loadValue)

The expected output would be as follows.


Names of the environmental impacts= ['SolidWaste', 'CO2']
Their solutions= [22.52 30.6 ]


Calculation of sensitivity matrix.

i=1
print('Calculation of sensitivity matrix for environmental load:',loadName[i])
print(dp.rbld.mlca.Smat(i))

The expected output would be as follows.


Calculation of sensitivity matrix for environmental load: CO2
[[-1.98039216 0.98039216 1. -0. ]
[-0. -1. -0. 1. ]
[ 1.98039216 0.01960784 -2. -0. ]
[-0. -0. -0. -1. ]]


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

interpenet-0.0.4.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

interpenet-0.0.4-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file interpenet-0.0.4.tar.gz.

File metadata

  • Download URL: interpenet-0.0.4.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for interpenet-0.0.4.tar.gz
Algorithm Hash digest
SHA256 28376c398dc8e4c2136916328862d98c2f9111c9d63fa225e605247ca9a45b40
MD5 203fa049227ee65e0275a3320e53b8b0
BLAKE2b-256 89b447e5d7bec0381d216bf0d9ca2a578d9bcd6a573cee5ce60629986cbd7bfe

See more details on using hashes here.

File details

Details for the file interpenet-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: interpenet-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 21.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for interpenet-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f72822d6c048896ba256ffea9c5ffc295a1ac0e4a573610766ee57f0d9f4c4b9
MD5 89fa2c237583b97ea2b563cc4a54af5b
BLAKE2b-256 5da83e67316ed1beba88dde474fc925a36d0b4ef124732afb94aae45434d2477

See more details on using hashes here.

Supported by

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