Skip to content
Nat Lee

Keyboard shortcuts

Turn these off if they get in the way of a screen reader or voice control. The setting is saved in this browser.

1
Home
2
Work
3
Projects
4
About
5
Experience
/
Search projects
?
Show this panel

AI/ML

Work · HD Renewables

Solar Power Prediction System

AI-Powered Solar Energy Forecasting

Time-series models that forecast solar output for an energy-storage demonstration site, scheduled with Airflow. The sun is punctual; the clouds are the problem. The dashboards here are redrawn on simulated data.

Built at HD Renewables. The code belongs to the company, so there is no source link, and the figures come from internal experiments at the time. Read the chapter on the Work page

Role
Senior Engineer - ML Developer
Period
2023.04 – 2024.12
Status
Completed
Categories
Energy & forecastingAI & machine learning
Company
HD Renewables Co., Ltd.
Stack
  • Python
  • PyTorch
  • Airflow
  • Django
  • MySQL
  • Time Series Analysis
  • MLOps
Solar Power Prediction System, screenshot 1

Overview

Built a comprehensive solar power prediction system for Tainan FamilyMart Pingfeng store energy storage demonstration site. The system combines weather data, historical generation patterns, and machine learning models to provide accurate solar power forecasts.

What it's good for

Gives an energy-storage site a forecast of the solar power on its way, so the storage plan is made with a forecast instead of a hunch. The project records 92% accuracy on daily forecasts and 25% lower storage costs.

How it fits together

Simplified on purpose. The real thing has more arrows and at least one config file nobody understands.

The sun is punctual. The clouds are the problem.

  1. Inputs

    Weather data
    • several sources
    Historical generation
    → scheduled by
  2. Airflow pipeline
    • Automated data jobs
    → feeds
  3. This oneForecast system
    • PyTorch time series
    • Seasonal adjustment, ensembles
    • Django, MySQL
    → shown on
  4. Dashboards
    • Solar output forecasts
    • Performance monitoring

Point at a box to see what it connects to.

Weather page (simulated data): five sources lined up every 15 minutes, then cleaned
Weather page (simulated data): five sources lined up every 15 minutes, then cleaned

Features

  • Real-time solar power prediction
  • Weather data integration
  • Automated data pipeline
  • Interactive dashboard
  • Performance monitoring

The problem

  • Weather dependency in predictions
  • Seasonal variation handling
  • Real-time data processing
  • Model accuracy optimization

What I did

  • Integrated multiple weather data sources
  • Implemented seasonal adjustment algorithms
  • Built robust data pipeline with Airflow
  • Applied ensemble modeling techniques
Airflow page: the 15-minute forecast DAG, from fetching data to writing MySQL
Airflow page: the 15-minute forecast DAG, from fetching data to writing MySQL

Results

  • Achieved 92% accuracy in daily predictions
  • Reduced energy storage costs by 25%
  • Successfully deployed to demonstration site
  • Enhanced AI showcase for the facility
  • Model page: a year of daily accuracy, with the rainy months standing out in red
    Model page: a year of daily accuracy, with the rainy months standing out in red
  • Work · HD Renewables
    Energy & forecastingAI & machine learning

    Japan Power Trading Dashboard

    Spot-price forecasting and trading strategies for the Japanese power market, later extended to Australia.

    2024Active
  • AI & machine learning33 stars on GitHub

    QWOP with PPO

    A PyTorch PPO agent plays the real QWOP browser game through Playwright. Six evaluation races, six 100 m finishes. Grace was not part of the reward function.

    2020Completed
  • Vision & imagingAI & machine learning11 stars on GitHub

    Street Scene OCR

    Compare EasyOCR, RapidOCR and PaddleOCR on Traditional Chinese street signs, with text boxes, timings and a small public-domain benchmark.

    2026Completed