Optimal power management framework for smart homes using electric vehicles and energy storage. (January 2022)