SolareX - Solar Resource eXchange: solar PV resource assessment, MCDA, and site analysis
Project description
SolareX - Solar Resource eXchange
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 factorsolarex.data- Open-Meteo, NASA POWER, ERA5, terrain, LULC, module DBsolarex.economics- Financial analysis and LCOE sensitivitysolarex.analysis- MCDA engine and grid evaluationsolarex.regional- Regional analyzer and zone generation
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ad0f11d70bf75e08d93b1dcb3021ddc1306fe2d6112f0695092fc3d01126cfd
|
|
| MD5 |
116f20eccb07b043a8164fc6e466ddb3
|
|
| BLAKE2b-256 |
84d7a66a890c71745e99cd454bf453c1eec7d77850cd1f3a9e25f62d7dffb754
|
Provenance
The following attestation bundles were made for solarex-0.1.1.tar.gz:
Publisher:
publish.yml on Net-Zero-Horizon/solarex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
solarex-0.1.1.tar.gz -
Subject digest:
4ad0f11d70bf75e08d93b1dcb3021ddc1306fe2d6112f0695092fc3d01126cfd - Sigstore transparency entry: 1736891009
- Sigstore integration time:
-
Permalink:
Net-Zero-Horizon/solarex@31728bb008e1b1a831f5b096e7810b41460b400e -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Net-Zero-Horizon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@31728bb008e1b1a831f5b096e7810b41460b400e -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
785cddb3ac258b2528b79b79284613ffcd70338f8bac22c328c7cb199d05525a
|
|
| MD5 |
b4ea4d9bf413fd10922b59f1827a1c3d
|
|
| BLAKE2b-256 |
d7c137c0929d1612c1cc6f75fbc8de30d346e13286a90ad27dbbe82cd41e63b1
|
Provenance
The following attestation bundles were made for solarex-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on Net-Zero-Horizon/solarex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
solarex-0.1.1-py3-none-any.whl -
Subject digest:
785cddb3ac258b2528b79b79284613ffcd70338f8bac22c328c7cb199d05525a - Sigstore transparency entry: 1736891055
- Sigstore integration time:
-
Permalink:
Net-Zero-Horizon/solarex@31728bb008e1b1a831f5b096e7810b41460b400e -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Net-Zero-Horizon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@31728bb008e1b1a831f5b096e7810b41460b400e -
Trigger Event:
release
-
Statement type: