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
solarex-0.1.0.tar.gz
(29.8 kB
view details)
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
solarex-0.1.0-py3-none-any.whl
(33.8 kB
view details)
File details
Details for the file solarex-0.1.0.tar.gz.
File metadata
- Download URL: solarex-0.1.0.tar.gz
- Upload date:
- Size: 29.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
708cf1937c0aca12296be01bcd924fc767bb4669c58437af3571f8abf281343f
|
|
| MD5 |
01c06361113939d7609b797244561a26
|
|
| BLAKE2b-256 |
18e5c671d684ae2cf88dfae3c6bb7d5089613d830f1e55aff15aab539ea33719
|
File details
Details for the file solarex-0.1.0-py3-none-any.whl.
File metadata
- Download URL: solarex-0.1.0-py3-none-any.whl
- Upload date:
- Size: 33.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9455e58a37488880a52fb7058584a59d30b28db861556e42f21d16259213e1b
|
|
| MD5 |
23da8108d152c583688b9a25708e9e0c
|
|
| BLAKE2b-256 |
4906c1c5cfeed518e4966c9b661efa6ca551d1a07732602f43f4772bc2fceadb
|