Concluded Research Project
Smart Battery Swap System Optimization: Advancing Sector Coupling with Artificial Intelligence for Nearly Zero-Energy Buildings
智慧型電池換電系統最佳化:運用人工智慧推動能源部門耦合達成淨零能耗建築
- Duration
- 2024–2025
- Funder
- National Science and Technology Council (NSTC)
- Grant no.
- 113-2621-M-002-006-
A completed NSTC project turning electric-scooter battery-swapping stations into distributed energy storage for nearly zero-energy buildings. It pairs a MILP-optimized Vehicle-to-Building (V2B) scheduler with a lightweight, optimization-trained neural network that makes charge/discharge decisions in milliseconds — no forecasting or online solving required — demonstrated on a Gogoro station and adjacent building at NTU.
Key findings
-
In the NTU campus case study, MILP-optimized V2B scheduling cut building electricity cost by ~9%, raised on-site PV self-consumption by 8.5%, and improved building energy self-sufficiency by 21% versus an immediate-charging baseline.
於臺大校園實測,相較於立即充電基準,MILP 最佳化之 V2B 調度可降低建築用電成本約 9%、提升太陽光電自用率 8.5%、並提升建築能源自給率 21%。
-
A lightweight neural network (~0.53 M parameters) trained on the optimizer's schedules reproduces near-optimal charge/discharge decisions in milliseconds — versus minutes for the MILP solver — making real-time V2B control deployable without online forecasting.
以最佳化排程訓練之輕量化神經網路(約 53 萬參數)能在毫秒內重現近最佳充放電決策(MILP 求解需數分鐘),使 V2B 即時控制無需線上預測即可部署。
-
A Bayesian phase-aligned synthetic time-series generator expands sparse station data while preserving demand rhythm and variability, enabling robust model training where operational data are limited.
貝氏相位對齊之合成時間序列生成器可在保留需求節律與變異性下擴增稀疏換電站資料,於資料有限情境支援穩健的模型訓練。
About this project
Taiwan has the world's densest network of electric-scooter battery-swapping stations — Gogoro alone runs thousands of them. Each station holds dozens of charged batteries that mostly sit idle between swaps: in effect, distributed energy storage scattered across the city. Buildings, meanwhile, increasingly need flexibility to soak up rooftop solar and trim peak grid demand on the road to nearly zero-energy buildings (NZEB). This completed NSTC project (2024–2025) asked whether swapping stations can double as flexible energy assets for the buildings next door, coupling the transport and building sectors.
The obstacle is real-time control. Conventional optimization — model predictive control or mixed-integer linear programming (MILP) — produces accurate charge/discharge schedules but is too slow and too dependent on accurate forecasts for live operation, and operational data at any single station are sparse and uneven. The project set out to overcome both barriers at once.
Its Vehicle-to-Building (V2B) framework has three parts. A Bayesian phase-aligned synthetic time-series generator enriches sparse swapping-demand, building-load, and PV records while preserving their daily rhythm and variability. A MILP scheduler then computes cost-optimal charging and discharging under real operating constraints. Finally, a lightweight, optimization-trained neural network learns from those optimal schedules to reproduce near-optimal decisions directly from the past 24 hours of data — in milliseconds, with no online forecasting or solving. The whole pipeline was demonstrated on a Gogoro station and an adjacent building on the National Taiwan University campus.
Against an immediate-charging baseline, the optimized V2B strategy cut building electricity cost by about 9%, raised on-site solar self-consumption by 8.5%, and lifted building energy self-sufficiency by 21%, while the learned controller matched the optimizer at millisecond speed. Together these results show that battery-swapping infrastructure can act as a genuine, deployable distributed energy resource — offering a scalable, data-efficient control path for campus microgrids, public buildings, and future smart-energy districts, and scientific grounding for Taiwan's distributed-energy, smart-grid, and net-zero-city goals.
臺灣擁有全球密度最高的電動機車電池換電站——僅 Gogoro 便布建數千座。每座 換電站存放數十顆已充電電池,於換電之間多半閒置,形同散布城市各處的分散式 儲能。與此同時,建築在邁向近零能耗建築(NZEB)的過程中,愈發需要彈性以 消納屋頂太陽光電、削減尖峰電網需求。本已結案之國科會計畫(2024–2025)探討 換電站能否兼作鄰近建築的彈性能源資產,串接運輸與建築部門。
關鍵挑戰在於即時調度。傳統最佳化方法——模型預測控制(MPC)或混合整數線性 規劃(MILP)——雖能算出精確的充放電排程,但反應太慢、且高度仰賴準確預測, 難以用於即時營運;而單一換電站的實測資料又稀疏且不均。本計畫同時克服此二障礙。
其車輛供建築(V2B)框架分為三部分:以貝氏相位對齊之合成時間序列生成器 在保留日間節律與變異性的前提下擴增稀疏的換電需求、建築負載與太陽光電資料; 以 MILP 調度模型在真實營運限制下計算最具成本效益的充放電排程;再以輕量化、 由最佳化結果訓練之神經網路,直接由過去 24 小時資料在毫秒內重現近最佳決策, 無需線上預測或求解。整體流程以臺大校園之 Gogoro 換電站與鄰近建築進行實證。
相較於立即充電基準,最佳化之 V2B 策略可降低建築用電成本約 9%、提升太陽 光電自用率 8.5%、並提升建築能源自給率 21%,而學習後之控制器能以毫秒級 速度媲美最佳化結果。上述成果顯示電池換電基礎設施可作為真正可部署的分散式 儲能資源,為校園微電網、公有建築及未來智慧能源社區提供可延展且資料高效的 控制路徑,並為臺灣推動分散式能源、智慧電網與淨零城市轉型奠定科學基礎。