Skip to main content

HelioStack v0.3.1

CI PyPI version License: AGPL v3 Live Browser Demo Zero Runtime AI

Replacing black-box commercial PV silos (PVsyst, PV*SOL, HOMER Pro, HelioScope) with a reproducible AGPL-3.0-or-later Python + OpenFOAM workbench built for graduate researchers and open energy labs.
Clean-room .PAN/.OND checks · Copernicus DEM alpine horizon · OpenFOAM 14 CFD cooling · Dual-continent field telemetry · 8,760-hr HiGHS LiFePO4 dispatch · RO-Crate 1.1 provenance.

pip install heliostack

Try Live Offline Simulator in Browser: https://ttthkim-hue.github.io/heliostack/

HelioStack v0.3.1 Verified Benchmarks — Copernicus Alps, EU Cyprus, US DOE PVDAQ #2107 & OpenFOAM 14

Key Counter-Intuitive Physics Finding (Verified Open): Pontoon Floating PV drops daytime cell temperatures by -3.59 °C to -5.77 °C (+14–20% total heat rejection in OpenFOAM 14 28° CFD), yet dark water albedo (0.08 vs land 0.20) reduces rear-side bifacial gain—delivering net annual yield gains in hot climates (Seville +0.38%) while flipping slightly negative in cooler Northern Europe (Amsterdam -0.68%).

  • Verified Data, CFD & Dual-Continent Telemetry:
    1. EU PVGIS v5.3 (SARAH3 & ERA5) hourly TMY & PVcalc cross-validation across 4 baseline climates (POA -0.59% to +2.74%)
    2. Copernicus DEM 36-azimuth ray-cast terrain horizon vs EU PVGIS printhorizon across Innsbruck, Bolzano, and Zermatt (MAE 1.25–1.57°)
    3. OpenFOAM 14 (foamRun -solver fluid, steady kOmegaSST) 28°-tilted PV sweep (5,910 cells, 8 cases) calibrating land vs pontoon Floating-PV cooling
    4. European Union 1-Year Outdoor Testbed (University of Cyprus PHAETHON CoE, 8,784 full hours, CC-BY-4.0): Tmod RMSE 2.18 °C (open_rack R² 0.9705) / 4.19 °C (OpenFOAM 14 R² 0.8906), full-year DC R² 0.9887
    5. Real 892.8 kWp US Utility Telemetry (US DOE / NREL PVDAQ #2107, 2024 3,255 daylight operating hours, R² = 0.9101, MBE = +3.81%, nRMSE = 6.79%)
    6. Canonical pvlib ModelChain parity (-0.67% Amsterdam, +0.31% Seville) + 12-step PVsyst-style loss tree
  • AI Transparency: AI_DISCLOSURE.md | NLnet 2027-01-03 Roadmap: docs/ROADMAP_TO_NLNET_20270103.md

Why HelioStack?

Commercial Windows-only tools (PVsyst, PV*SOL, HOMER Pro) and closed cloud SaaS (HelioScope) lock solar engineering workflows behind proprietary .PAN/.OND binary/desktop silos, while open libraries (pvlib) lack unified Copernicus DEM terrain + 3D obstacle ray-casting, Floating-PV water thermal physics, sparse 8,760-hour ESS curtailment optimization, and cryptographic reproducibility bundles.

HelioStack bridges that gap in pure open Python:

  1. Clean-Room Equipment Validation (.PAN / .OND / JSON): Enforces physical single-diode & MPPT window invariants (Vmp < Voc, Imp < Isc, finite metrics, inverter efficiency bounds).
  2. Vectorized 3D Ray-Box, Copernicus DEM & Diffuse SVF: Evaluates 3D obstacle shading, Copernicus 30m satellite & ASCII ESRI .asc DEM 36-azimuth mountain horizon blocking, inter-row shed geometry, and cosine-weighted hemispherical sky-view factors.
  3. Thermal Physics Beyond Single U-Values: Compares open-rack Faiman baselines against wind-angle convective alleys and lagged water-coupled Floating-PV cooling (-3.59 °C to -5.77 °C daytime cooling).
  4. 8,760-Hour Sparse HiGHS LiFePO4 Dispatch LP: Quantifies curtailment recovery under grid export caps with ESS container HVAC auxiliary loads and strict 10^-6 kW hourly conservation checks.
  5. Reproducible Audit Packaging: Outputs byte-deterministic RO-Crate 1.1 (ro-crate-metadata.json), repro-manifest.json (SHA-256), and zero-CDN bankable_report.html.

Observed 4-Site EU PVGIS v5.3 Benchmark (100 kWp, Verified Offline)

Location (PVGIS DB) POA Delta vs PVcalc Mono Yield vs PVcalc Land Bifacial (PR) Floating PV Cooling (Pure Thermal / Net Bifacial) 3D Obstacle Shade 65% Cap + 200 kWh ESS Recovery (LP Time)
Amsterdam, NL (SARAH3) -0.59% 1083.5 vs 1071.6 (+1.11%) 1100.7 kWh/kWp (87.3%) -3.59 °C (+1.53% / -0.68%) 15.07% 100.0% of 6,205 kWh (0.70 s)
Munich, DE (SARAH3) -1.12% 1204.4 vs 1191.5 (+1.08%) 1234.5 kWh/kWp (87.2%) -4.30 °C (+1.96% / -0.22%) 13.88% 100.0% of 8,297 kWh (0.73 s)
Seville, ES (SARAH3) -1.12% 1814.9 vs 1747.8 (+3.84%) 1876.6 kWh/kWp (86.3%) -5.77 °C (+2.30% / +0.38%) 11.24% 100.0% of 19,449 kWh (0.73 s)
Busan, KR (ERA5) +2.74% 1640.1 vs 1550.0 (+5.82%) 1693.2 kWh/kWp (89.5%) -4.16 °C (+1.53% / -0.39%) 11.63% 100.0% of 14,690 kWh (0.79 s)

Phase 2 Validation Highlights (v0.2.0)

1. Alpine Terrain Shading (Horizon-Free TMY + Sky-Dome SVF)

Alpine Valley Elevation Copernicus vs PVGIS MAE Flat -> Copernicus Loss EU PVcalc Terrain Loss Copernicus vs PVGIS-Hor Delta
Innsbruck, AT 580 m 1.28° 1537.4 -> 1504.7 (-2.13%) -1.53% +0.46%
Bolzano, IT 271 m 1.25° 1624.5 -> 1545.3 (-4.88%) -4.86% +2.28%
Zermatt, CH 1,610 m 1.57° 1645.8 -> 1387.2 (-15.72%) -13.99% +1.98%

2. Real Utility Meter Telemetry (US DOE / NREL PVDAQ #2107, Arbuckle, CA — 2024 Jan–early Nov)

  • Plant: 892.8 kWp DC (2,880 × 310 W), 24 × 27.6 kW (662.4 kW AC), 7-year aging factor 0.965, 3,255 daylight operating hours.
  • Convective Land Model: Measured 1,221.32 MWh vs Modeled 1,267.82 MWh | MBE = +3.81%, nRMSE = 6.79%, R² = 0.9101.
  • Open-Rack Faiman Baseline: Measured 1,221.32 MWh vs Modeled 1,268.83 MWh | MBE = +3.89%, nRMSE = 6.80%, R² = 0.9098.

3. Canonical pvlib ModelChain Parity (99.0 kWp Mono Plant)

  • Amsterdam, NL: pvlib = 1,113.34 vs HelioStack = 1,105.87 kWh/kWp (-0.67%)
  • Seville, ES: pvlib = 1,846.44 vs HelioStack = 1,852.10 kWh/kWp (+0.31%)

Phase 3 Validation (v0.3.1): OpenFOAM 14 CFD & European Full-Year Field Testbed

1. Reproducible OpenFOAM 14 28°-Tilted PV Thermal Sweep (foamRun -solver fluid, 5,910 cells)

Mounting Surface Clearance / Soil or Water Boundary Wind Convective Fit (h_conv(v)) Longwave h_rad OpenFOAM Faiman Eq. (u0, u1)
Land Rack 0.85 m over +35 °C sunlit soil 4.705 + 3.648·v W/m²K 11.738 W/m²K u0 = 22.56, u1 = 5.00
Floating PV 0.25 m over +21 °C reservoir water 4.912 + 3.906·v W/m²K 14.688 W/m²K u0 = 26.89, u1 = 5.36

2. European Union 1-Year Field Validation (University of Cyprus PHAETHON CoE, 8,784 hrs, CC-BY-4.0)

  • Dataset: June 2015 – May 2016 (3,935 daylight operating hours, DOI 10.5281/zenodo.10816826).
  • Thermal Accuracy (Tmod backsheet PT100): open_rack RMSE = 2.18 °C (R² = 0.9705), convective_land RMSE = 2.22 °C (R² = 0.9693), pure OpenFOAM 14 cfd_land (zero Cyprus tuning) RMSE = 4.19 °C (R² = 0.8906).
  • Full-Year Yield Accuracy: Measured 2,450 kWh DC vs Modeled 2,410 kWh (MBE = -1.62%, nRMSE = 2.85%, R² = 0.9887; AC MBE = -1.01%, R² = 0.9876).

Live Interactive Workbench


How HelioStack Complements Existing Open-Source Tools

Existing Open Tool Primary Focus What Remains Unsolved End-to-End
pvlib-python (used inside HelioStack) Low-level solar position, transposition & single-diode math Unified .PAN/.OND validation + 3D shading + Copernicus horizon + CFD thermal + HiGHS ESS + RO-Crate 1.1 audit
NREL / SAM Desktop GUI simulator for US policies & buildings Lightweight Python/CLI microservice, Copernicus EU horizon, OpenFOAM FPV cooling, reproducible cryptographic bundles
open-pv / simshady Browser JavaScript 3D shadow casting Bankable 8,760-hr energy loss tree, single-diode electrical yield & ESS optimization
PyPSA / oemof Macro grid / national transmission LP optimization Site-level PVsyst-grade .PAN/.OND single-diode modeling, 3D/DEM shade & micro-thermal physics
Bifacial_Radiance Radiance backward ray-tracing optics Fast CPU engineering workbench integrating thermal CFD, ESS curtailment LP & RO-Crate 1.1 provenance

Quick Start

# Option A: Install from PyPI (recommended) or directly from GitHub tag
pip install heliostack
pip install "git+https://github.com/ttthkim-hue/heliostack.git@v0.3.1"

# Option B: Editable developer install
git clone https://github.com/ttthkim-hue/heliostack.git
cd heliostack
pip install -e ".[dev]"

# 1. Validate .PAN / .OND specifications (exit 0 on valid, exit 1 on physics failure)
heliostack validate fixtures/equipment/ref_550w_bifacial.pan
heliostack validate fixtures/equipment/invalid_module.pan

# 2. Extract 36-azimuth Copernicus DEM terrain horizon vs EU PVGIS printhorizon
heliostack horizon --lat 47.2692 --lon 11.4041 --cache-dir fixtures/weather

# 3. Run full Phase 1 + Phase 2 + Phase 3 reproducible benchmarks
python benchmarks/run_europe_benchmark.py
python benchmarks/run_phase2_validation.py
python benchmarks/run_phase3_validation.py

# (Optional in WSL2 / Linux with OpenFOAM 14 installed):
python openfoam/run_openfoam_pv_sweep.py

# 4. Preview offline interactive Web UI locally
heliostack serve --dir docs --port 8780

License & Academic Openness (AGPL-3.0-or-later)

HelioStack is 100% open source under the GNU Affero General Public License v3.0 or later (LICENSE):

  • Permanent Free Use for Graduate Students, Researchers & Open Science: Run simulations, couple OpenFOAM CFD cases, audit .PAN/.OND inputs, and host open academic web tools freely with full source inspection and reproducibility.
  • Anti-Enclosure Guarantee: Hosted SaaS or commercial forks exposing modified solvers over a network must contribute their modifications back under AGPL-3.0-or-later, preventing closed proprietary enclosure of public research engineering.
  • Optional Commercial Dual-Licensing: Proprietary commercial integrators seeking closed-source embedding without AGPL-3.0 reciprocity may contact the copyright holder separately for commercial dual-licensing or custom enterprise engineering agreements.

Metadata

Release files for heliostack 0.3.1

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

Source distribution (sdist)

Source distribution for heliostack 0.3.1
File Size Uploaded Provenance Actions
heliostack-0.3.1.tar.gz 2.5 MB With provenance Details for heliostack-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for heliostack 0.3.1
File Interpreter ABI Platform Actions
heliostack-0.3.1-py3-none-any.whl Python 3 none any Details for heliostack-0.3.1-py3-none-any.whl

Total release size: 2.6 MB

Release files / heliostack-0.3.1.tar.gz

Download URL heliostack-0.3.1.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
545c50b3fe1a3c2774ca03e70ea4f335420bdd5b851e5822e49398332eae4e03
BLAKE2b-256 checksum
How to use checksums
0f898151fda301ff4d8a9b9a3d2f7ed2134017d73068d8fe5a2a0b1358a406ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / heliostack-0.3.1-py3-none-any.whl

Download URL heliostack-0.3.1-py3-none-any.whl
Size 58.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f18a4dc5f65522164afe61dc124ec927d1606e20d15d89f6f27119029018b020
BLAKE2b-256 checksum
How to use checksums
e559f7d4a29a980e3a5465a0f0c891a42adec0c51bbbc48403078ef34711b4d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for heliostack 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for heliostack-0.3.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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