The utilization of distributed power generation system plays an essential role in the design of resilient cities. With the ever increasing of efficiency and decreasing of production cost, Photovoltaic (PV) system is becoming a globally welcomed city component. During the design of PV systems, the matching of demand and supply power curve is critical. This paper evaluates the PV usage potential in different neighborhoods of Shanghai through matching th. The utilization of distributed power generation system plays an essential role in the design of resilient cities. With the ever increasing of efficiency and decreasing of production cost, Photovoltaic (PV) system is becoming a globally welcomed city component. During the design of PV systems, the matching of demand and supply power curve is critical. This paper evaluates the PV usage potential in different neighborhoods of Shanghai through matching the rooftop PV generation profile with the electricity demands of office buildings. The typical electricity use pattern of an office building is calculated by clustering method with data from a sub-metering platform, and PV generation curve is generated through simulation approach. Case studies were done in 140 neighborhoods of Shanghai City, and theoretical self-utilization ratio and PV utilization of each neighborhood were calculated.••PhotovoltaicDistributed energy systemSelf-utilizationRenewable energy1.National Bureau of Statistics of PRC. China static yearbook of 2017. Beijing, China; <>Google Scholar2.National Development and Reform Commission. 13th 5-year plan of energy of China. Beijing, China; <>Google Scholar3.Changhai Peng, Ying Huang, Zhishen WuBuilding-integrated photovoltaics (BIPV) in architectural design in ChinaEnergy and Buildings, 43 (2011), pp. 3592-3598View PDFView articleView in ScopusGoogle Scholar.