This paper analyzes the impact of photovoltaic (PV) systems on storage and electric vehicles in micro-grids. As these kinds of systems are becoming increasingly popular in the residential sector, the development of a new generation of equipment, such as more efficient batteries or solar panels, makes further study necessary. These systems are especially interesting in commercial or office buildings, since they have a more repetitive daily pattern of electricity consumption, which usually occurs within the maximum solar radiation hours. Based on this need, a novel control strategy aimed at efficiently managing this kind of micro-grid is proposed. The core of this strategy is a rule-based controller managing the power flows between the grid and the batteries of both the PV system and the electric vehicle. Through experimental data and simulations, this strategy was tested under different scenarios. The selected testbed consisted of the laboratory of a research center, which could be easily scalable to the entire building. Results showed the benefits of using an electric vehicle as an active agent in energy balance, leading to a reduction of the energetic costs of a micro-grid.Energies 2018, 11, 522 2 of 13 residential buildings is presented in [2], where energy storage and load management were presented as the main strategies for increasing self-consumption. The latest developments in battery technology have enabled their use in residential houses. In [3], self-consumption was quantified for a PV system with a home battery. Due to different electricity taxes, market tariffs, and stochastic consumption and production in Europe, that paper did not ensure that the battery was to be profitable in today's market. However, increasing electricity prices and the expected decrease in battery prices suggest that energy storage could be a profitable option in the near future, even in Northern Europe. A methodology for sizing residential PV battery systems was proposed in [4], and a control algorithm for these kinds of systems were proposed in [5,6]. Both works dealt with the limitations in the power flows between the PV system, the public electrical gird, and batteries. In combination with energy storage, intelligent load management may address important improvements in the self-consumption of buildings [7,8]. This strategy basically consists of scheduling the controllable loads to match the hours with the maximum production of solar energy. In commercial and office buildings where the loads and solar energy production occur at the same time, it is likely to reach high self-consumption [9]. However, in houses whose occupants spend the central part of the day outside, a mismatch between production and consumption occurs. In this scenario, active demand-side management (DSM) allows the improvement of self-consumption by selecting when a water heater, a washing machine, or other programmable appliances should start working.Taking into account the concepts of energy storage and DSM, the plug-in electric vehicle (EV) arises as a c...