Energy is at the center of most of the major challenges of our society, but equally at the center of the promising perspectives that the world is facing. In fact, the combination of wind, water and solar energy can replace depleting fossil fuels which produce greenhouse gases on the one hand, and on the other hand cover the entire energy needs of the planet. Solar energy is both clean and non-polluting, moreover it is one of the most popular solutions for households as an alternative to fossil fuels. Therefore, the use of photovoltaic systems reduces the energy supplied by the public grid and inevitably decreases the amount of the energy invoice in the long term. Due to the increase in the number of bachelor students in recent years, the Ibn Tofail University in Kenitra, Morocco, has been required to build new buildings and laboratories to ensure a good study environment for its students. This has led to an enormous increase in the electricity bill. In this context, our project aims to decrease the energy bill of the two institutions: National School of Applied Sciences (ENSA) as well as National School of Commerce and Management (ENCG), by studying the technical and economic aspects of photovoltaic installations for self-consumption purposes, as well as the installation of solar streetlamps to improve the performance of nocturnal lighting. In addition, an initiation to the intelligent smart building concept that allows the centralized technical management of the installed equipment, and more precisely the DALI lighting protocol, was extended. Indeed, this system will allow us to control the consumption of the loads remotely and in real time for a better comfort and without neglecting the reduction of the energy bill.