Skip to main content

SolareX - Solar Resource eXchange: solar PV resource assessment, MCDA, and site analysis

Project description

SolareX - Solar Resource eXchange

Tests DOI Downloads

A Python library for solar PV resource assessment, irradiance analysis, temperature modeling, shading/bifacial analysis, MCDA site scoring, and capacity factor computation.

Installation

pip install solarex

With optional dependencies:

pip install solarex[era5]    # ERA5 via atlite
pip install solarex[pvlib]   # CEC module database
pip install solarex[all]     # Everything

Quick Start

from solarex import (
    compute_peak_sun_hours,
    compute_gcr_shading_loss,
    compute_bifacial_gain,
    compute_pv_financials,
    SolarFinancialInputs,
)

# Financial analysis
inputs = SolarFinancialInputs(capacity_mw=50, capacity_factor=0.22)
result = compute_pv_financials(inputs)
print(f"LCOE: ${result.lcoe:.1f}/MWh, NPV: ${result.npv:,.0f}")

# Shading analysis
loss = compute_gcr_shading_loss(latitude=30, tilt=25, gcr=0.4)
print(f"Shading loss: {loss:.1%}")

# Bifacial gain
gain = compute_bifacial_gain(albedo=0.25, gcr=0.4, module_height=2.0, tilt=25)
print(f"Bifacial gain: {gain:.1%}")

Modules

  • solarex.core - Irradiance, temperature, shading, bifacial, capacity factor
  • solarex.data - Open-Meteo, NASA POWER, ERA5, terrain, LULC, module DB
  • solarex.economics - Financial analysis and LCOE sensitivity
  • solarex.analysis - MCDA engine and grid evaluation
  • solarex.regional - Regional analyzer and zone generation

License

MIT

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

solarex-0.1.1.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

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

solarex-0.1.1-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

Details for the file solarex-0.1.1.tar.gz.

File metadata

  • Download URL: solarex-0.1.1.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for solarex-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4ad0f11d70bf75e08d93b1dcb3021ddc1306fe2d6112f0695092fc3d01126cfd
MD5 116f20eccb07b043a8164fc6e466ddb3
BLAKE2b-256 84d7a66a890c71745e99cd454bf453c1eec7d77850cd1f3a9e25f62d7dffb754

See more details on using hashes here.

Provenance

The following attestation bundles were made for solarex-0.1.1.tar.gz:

Publisher: publish.yml on Net-Zero-Horizon/solarex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file solarex-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: solarex-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 33.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for solarex-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 785cddb3ac258b2528b79b79284613ffcd70338f8bac22c328c7cb199d05525a
MD5 b4ea4d9bf413fd10922b59f1827a1c3d
BLAKE2b-256 d7c137c0929d1612c1cc6f75fbc8de30d346e13286a90ad27dbbe82cd41e63b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for solarex-0.1.1-py3-none-any.whl:

Publisher: publish.yml on Net-Zero-Horizon/solarex

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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