Skip to main content

Micro-package to calculate the levelised cost of electricity

Project description

A command line tool and Python package to calculate levelised cost of electricity

Description

Calculate levelised cost of electricity on the command line with the lcoe command:

$ lcoe 500000000 2000000000 25000000 0.07 20
LCOE is 0.03455442190262982

Use the lcoe library in your Python code:

from lcoe.lcoe import lcoe

operating_cost = 25000000  #$million/year
capital_cost = 500000000  # $million
discount_rate = 0.07  # %
lifetime = 20
annual_output = 2000000000  # kWh

lcoe(annual_output, capital_cost, operating_cost, discount_rate, lifetime)

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

lcoe-0.3.2.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

lcoe-0.3.2-py2.py3-none-any.whl (4.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file lcoe-0.3.2.tar.gz.

File metadata

  • Download URL: lcoe-0.3.2.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for lcoe-0.3.2.tar.gz
Algorithm Hash digest
SHA256 a20bb3265ef4fb033cd1d43951ec16f318295717c8f47d18832d1de063e8d98b
MD5 9435ecff438c0bb72a4e144f86c94b18
BLAKE2b-256 9410bdd1421a5630cc09f0c1bfd165f2d5888c25ae090c49be948fda748e3ba3

See more details on using hashes here.

File details

Details for the file lcoe-0.3.2-py2.py3-none-any.whl.

File metadata

  • Download URL: lcoe-0.3.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for lcoe-0.3.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bd5571ce9b411cc451468286cf5cea736160b3977ec247fe39cbf8a9254264fe
MD5 def91210ac0c0c9a1b997d7f32c8b0a6
BLAKE2b-256 4a6b99e2d82b0813ce2d1cc9d684fd4d24d85514ef2a73cd2f335b7fe270faad

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