This paper presents a mathematical model to simultaneously optimize the cost of electricity and the satisfaction of a residential consumer using the communication infrastructure of a smart grid. For this task the concept of Pareto optimality has been used. It is possible to consider the satisfaction of the consumer as an independent objective to be maximized, and simultaneously, to minimize the cost of the electrical bill. In future works a multiobjective evolutionary algorithm will be applied along with the mathematical model presented in this paper.