Obligations of municipalities in the implementation of energy plans