Skip to main content

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)

Release files for lcoe 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lcoe 0.3.2
File Size Uploaded
lcoe-0.3.2.tar.gz 18.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lcoe 0.3.2
File Interpreter ABI Platform
lcoe-0.3.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 22.7 kB

Release files / lcoe-0.3.2.tar.gz

Download URL lcoe-0.3.2.tar.gz
Size 18.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a20bb3265ef4fb033cd1d43951ec16f318295717c8f47d18832d1de063e8d98b
BLAKE2b-256 checksum
How to use checksums
9410bdd1421a5630cc09f0c1bfd165f2d5888c25ae090c49be948fda748e3ba3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.13

Release files / lcoe-0.3.2-py2.py3-none-any.whl

Download URL lcoe-0.3.2-py2.py3-none-any.whl
Size 4.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
bd5571ce9b411cc451468286cf5cea736160b3977ec247fe39cbf8a9254264fe
BLAKE2b-256 checksum
How to use checksums
4a6b99e2d82b0813ce2d1cc9d684fd4d24d85514ef2a73cd2f335b7fe270faad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.13

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page