Smart home energy management: An analysis of a novel dynamic pricing and demand response aware control algorithm for households with distributed renewable energy generation and storage