smart grid functionality