The use of renewable energy sources (RES) such as wind and solar power is increasing rapidly to meet growing electricity demand. However, the intermittent nature of RES poses a challenge to grid stability. Energy storage (ES) technologies offer a solution by adding flexibility to the system. With the emergence of distributed energy resources (DERs) and the transition to prosumer-based electricity systems, energy management systems (EMSs) have become crucial to coordinate the operation of different devices and optimize system efficiency and functionality. This paper presents an EMS for a residential photovoltaic (PV) and battery system that addresses two different functionalities: energy cost minimization, and self-consumption maximization. The proposed EMS takes into account the operational requirements of the devices and their lower-level controllers. A genetic algorithm (GA) is used to solve the optimization problems, ensuring a desired State of Charge (SOC) at the end of the day based on the next day forecast, without discretizing the SOC transitions allowing a continuous search space. The importance of adhering to the manufacturer’s operating specification to avoid premature battery degradation is highlighted, and a comparative analysis is performed with a simple tariff-driven solution, evaluating total cost, energy exchange, and peak power. Tests are carried out in a detailed model, where Power Electronics Converters (PECs) and their local controllers are considered together with the EMS.
With the increasing penetration of renewable energy such as solar and wind power into the grid as well as the addition of modern types of versatile loads such as electric vehicles, the grid system is more prone to system failure and instability. One of the possible solutions to mitigate these conditions and increase the system efficiency is the integration of virtual power plants into the system. Virtual power plants can aggregate distributed energy resources such as renewable energy systems, electric vehicles, flexible loads, and energy storage, thus allowing for better coordination and optimization of these resources. This paper proposes a genetic algorithm-based optimization to coordinate the different elements of the energy management system of a virtual power plant, such as the energy storage system and charging/discharging of electric vehicles. It also deals with the random behavior of the genetic algorithm and its failure to meet certain constraints in the final solution. A novel method is proposed to mitigate these problems that combines a genetic algorithm in the first stage, followed by a gradient-based method in the second stage, consequently reducing the overall electricity bill by 50.2% and the simulation time by almost 95%. The performance is evaluated considering the reference set-points of operation from the obtained solution of the energy storage and electric vehicles by performing tests using a detailed model where power electronics converters and their local controllers are also taken into account.
Renewable-based power generation, such as photovoltaic (PV) systems, are further supported by energy storage systems (ESS) to mitigate the inherent intermittency of renewable sources. Moreover, in the standalone mode of operation batteries provide the power balance of the system. However, one of the key challenges is when the battery state of charge (SoC) reaches its boundaries. This limits the battery availability, and the system must continue operating even in this condition. Additionally, in three-phase systems an oscillation at the second harmonic appears in the dc-link voltage when supplying unbalanced loads, which are common at the distribution level. In this work, a control strategy is developed to handle edge SoC conditions in the standalone mode of operation. For the upper SoC limit two transition approaches are introduced. The first is the battery disabling method. The second one, a zero battery current mode (ZBCM), allows the battery to support the dc-link voltage regulation during transients. Besides, the management of the dc-link ripple is incorporated by the use of cascaded-comb integrator (CIC) filters and feedforward terms. Regarding the lower SoC limit a load-shedding mechanism is included. Real-time simulations performed in the RT Box hardware-in-the-loop (HIL) platform from PLECS, demonstrate that the proposed methods maintain the power supply under unbalanced and dynamic load conditions. Both methods are compared in terms of overshoot and ripple content of the dc-link voltage and battery current at the second harmonic.