The rapid advancement in technology and rise in energy consumption have motivated research addressing Demand-Side Management (DSM). In this research, a novel design for Home Energy Management (HEM) is proposed that seamlessly integrates Battery Energy Storage Systems (BESSs), Photovoltaic (PV) installations, and Electric Vehicles (EVs). Leveraging a Mixed-Integer Linear Programming (MILP) approach, the proposed system aims to minimize electricity costs. The optimization model takes into account Real-Time Pricing (RTP) tariffs, facilitating the efficient scheduling of household appliances and optimizing patterns for BESS charging and discharging, as well as EV charging and discharging. Both individual and multiple Smart Home (SH) case studies showcase noteworthy reductions in electricity costs. In the case of multiple SHs, a remarkable cost reduction of was achieved compared to a traditional SH scenario lacking integration of a PV, BESS, and EV.
This paper presents SEAMS (Solar Energy Aggregator Management System), an optimization-based framework for managing solar energy trading in smart communities under Thailand’s regulatory constraints. A major challenge is the prohibition of residential grid feed-in, which limits the use of conventional peer-to-peer energy models. Additionally, fixed pricing is required to ensure simplicity and trust among users. SEAMS coordinates prosumer and consumer households, a shared battery energy storage system (BESS), and a centralized aggregator (AGG) to minimize total electricity costs while maintaining financial neutrality for the aggregator. A mixed-integer linear programming (MILP) model is developed to jointly optimize PV sizing, BESS capacity, and internal buying price, accounting for Time-of-Use (TOU) tariffs and local policy limitations. Simulation results show that a 6 kW PV system and a 70–75 kWh shared BESS offer optimal performance. A 60:40 prosumer-to-consumer ratio yields the lowest total cost, with up to 49 percent savings compared to grid-only systems. SEAMS demonstrates a scalable and policy-aligned approach to support Thailand’s transition toward decentralized solar energy adoption and improved energy affordability.