The main objective of the paper is to present a way to develop a micro grid that will help minimize electricity costs. A controller can monitor all subsystems of the micro grid, thus helping the operator to manage the key performance indicators for generation, storage and consumption in an efficient way. The micro grid generators are: a micro hydropower plant, photovoltaic panels, wind turbines. This proposal comes in support of energy developers and producers to use their investments more efficiently.