This paper presents a methodology for energy management in residential electrical systems. The methodology is based on the sub-measurement by branch circuit in a scenario that takes into account alternative sources and a differential pricing scheme. The result of this investigation project is part of SILICE III project, whose main purpose is the design and implementation of a smart micro-grid pilot project in an energy distribution circuit in Bogota (Colombia).