Coffee makers, bathroom showers, and many other household items will be able to adapt to patterns of human behavior, enabling their users to optimize energy consumption, save money, and improve environmental quality. Technologically advanced homes will connect to a smart power grid that creates a transactive market platform, fostering new relationships between electricity producers and consumers.