Analysis of a Building Power System with a Rooftop PV Array and PHEVs as an Aggregator