Proof of Green: Automated dMRV & Weather-Driven PV Digital Twin
Can we objectively verify clean power generation and tokenize carbon offsets without expensive physical metering overhead? This project explores that question by simulating PT PLN Nusantara Power’s 192 MWp Cirata Floating Solar Plant from its November 2023 inception through September 2026 using satellite reanalysis data and automated blockchain settlement.
Explore the Interactive Streamlit App
Project Goals
- Develop an automated, low-cost Digital Monitoring, Reporting, and Verification (dMRV) pipeline for utility-scale and distributed solar assets.
- Build a physics-informed, weather-driven Photovoltaic (PV) Digital Twin capable of simulating hourly power output without live SCADA telemetry.
- Cross-validate simulated energy yields against independent satellite datasets to detect anomalies and establish a high-confidence "Verified Energy" baseline.
- Quantify avoided greenhouse gas emissions using regional grid emission factors.
- Automate the issuance of on-chain Renewable Energy Certificates (RECs) / carbon offset NFTs on the Polygon blockchain to lower financing barriers for Global South microgrids.
- Multi-Source API Ingestion: Automated daily retrieval of hourly Global Horizontal Irradiance (GHI), direct/diffuse radiation, and ambient temperature from the Open-Meteo Historical Weather API (ERA5 reanalysis).
- Independent Ground-Truthing: Pulled parallel irradiance and meteorological datasets from the NASA POWER API to serve as an independent verification benchmark.
- Temporal Alignment & Cleaning: Standardized timestamps across time zones (WIB / UTC+7) from plant inception (November 9, 2023) to September 1, 2026, handling API latency lags and flagging days with divergent sensor/satellite readings.
- Parameterization: Configured fixed plant specifications—including DC capacity (192 MWp), inverter efficiency, temperature coefficients, and floating PV cooling factors—based on publicly documented Cirata plant engineering parameters.
Traditional Monitoring, Reporting, and Verification (MRV) relies on manual audits and costly SCADA/smart-meter integrations that often erode the financial viability of small-to-medium renewable projects in developing markets. To solve this, I engineered an end-to-end automated verification pipeline tested against Indonesia's flagship 192 MWp Cirata Floating Solar Plant.
By feeding hourly Open-Meteo ERA5 weather variables into a thermodynamic PV performance model, the Digital Twin estimates hourly energy yield. To prevent single-source bias or data tampering, every daily generation profile is scored against NASA POWER satellite estimates. Days falling within acceptable variance thresholds pass verification, while anomalies are flagged for review. Verified MWh totals are then converted into avoided emissions using Indonesia's national grid emission factor (0.793 kg CO₂/kWh) and queued for automated smart-contract minting on the Polygon Amoy testnet.
Cumulative Performance Metrics (Nov 9, 2023 – Sept 1, 2026)- Digital Twin Simulated Generation: 817,489,085 kWh (~817.5 GWh)
- NASA POWER Expected Generation: 748,569,057 kWh (~748.6 GWh)
- High-Confidence Verified Energy: 720,762 MWh (~720.8 GWh)
- Estimated CO₂ Offset: 571,565 tonnes of CO₂e
- Tokenization Logic: Configured for quarterly historical batch minting and dynamic forward minting at 1 NFT per 50,000 MWh (50 GWh) (representing ~10–11 utility-scale certificates, tunable down to kWh increments for rural microgrids).
Architecture & Pipeline Workflow
- Stage 1 — Weather-to-PV Digital Twin: Ingests hourly ERA5 irradiance and ambient temperature, applying cell temperature derating and system loss factors to compute simulated hourly AC output.
- Stage 2 — Independent Cross-Validation: Compares daily twin output against NASA POWER irradiance models to calculate validation scores, filter outliers, and isolate verified energy blocks.
- Stage 3 — Carbon Accounting & Interval Minting: Converts verified MWh into metric tons of avoided CO₂ and triggers Web3 transactions to mint verifiable energy certificates on Polygon.
The pipeline was built entirely in Python, leveraging pandas and numpy for vectorized time-series modeling and cross-dataset variance scoring, requests for automated REST API ingestion, and Streamlit for real-time executive visualization. On the settlement layer, Web3.py interfaces with Solidity smart contracts deployed on the Polygon Amoy testnet.
Testing the pipeline across nearly three years of multi-seasonal tropical weather data demonstrated strong alignment between ERA5-driven modeling and NASA POWER benchmarks, capturing seasonal monsoon irradiance dips and peak dry-season generation cycles. Building the Web3 bridge also surfaced real-world distributed systems challenges—specifically managing testnet RPC latency and gas estimation errors during automated batch execution—providing hands-on experience in fault-tolerant pipeline engineering.
Skills DemonstratedThis project demonstrates end-to-end capabilities across Energy Data Analytics, Power Systems Modeling, and Sustainability Tech:
- Energy & PV Modeling: Translating meteorological reanalysis data (GHI, ambient temperature) into electrical power output using physical PV system parameters and loss modeling.
- Data Engineering & Validation: Building automated ETL pipelines from multiple external APIs (Open-Meteo, NASA POWER), performing cross-source anomaly detection, and managing time-series data integrity.
- Carbon Accounting & ESG Metrics: Applying regional grid emission factors to quantify verifiable environmental impact for green finance reporting.
- Full-Stack Analytics & Web3 Integration: Deploying interactive operational dashboards in Streamlit and connecting Python data pipelines to EVM-compatible blockchain networks (Polygon).
- Live SCADA / Inverter Telemetry Integration: Connect real-time Modbus/MQTT smart meter feeds to transition from a weather-driven twin to a true hybrid digital twin that detects physical panel degradation and soiling.
- Automated Gas & Nonce Management: Implement robust transaction queuing and dynamic gas-fee estimation on Polygon to eliminate testnet execution drops.
- Machine Learning Bias Correction: Train a gradient-boosted regressor (XGBoost/LightGBM) on historical plant telemetry to dynamically calibrate satellite-to-ground irradiance bias.
- Sub-Hourly Microgrid Scaling: Adapt the minting threshold from 50 GWh down to 100 kWh increments to support decentralized community solar mini-grids across Southeast Asia and Sub-Saharan Africa.
Let's Connect!
Thank you for checking out my portfolio! I hope you enjoyed exploring my projects. You can also explore more of my data visualizations on Tableau Public. Feel free to view some of my brand identity development projects on Behance.
Tikhala :-)
