The policies enacted by China create favorable conditions for developing various building technologies such as PEDF, demand response, energy storage, and photovoltaic systems. There is an urgent need for the rational construction of PEDF systems, along with the development of critical equipment and engineering applications. Several regions in China have explored the engineering application of PEDF systems to enhance renewable energy in buildings. Notable examples include the future building in Shenzhen, Zhuangshang village in Shanxi province, and the energy-saving building at Tsinghua University. According to a survey conducted by the PEDF Professional Committee of the China Building Energy Efficiency Association, the number of PEDF building systems constructed and put into operation in China has exceeded 200. These systems encompass various building types, including residential, office, science, education, cultural, healthcare, commercial, and other sectors [9; 13; 14]. However, it is crucial to consider the impact of capacity planning and energy operation scheduling on PEDF systems. Some systems may require optimization in their capacity configuration, as excessive energy storage or insufficient application capacity could lead to economic losses and compromise the stability of the power grid. In response to the diverse needs of different stakeholders for system configuration optimization, this paper presents a framework designed to optimize and evaluate the configuration of the PEDF system, considering the coupling effect of system capacity configuration and energy scheduling, as well as the coordinated configuration of key interactive devices within the system. This adaptable framework can cater to different building types and configuration goals, solve the capacity coordination and daily energy scheduling strategy problems of PEDF systems, and transform building energy systems. By exploring the relationship between system capacity and energy scheduling, this paper develops a dual-layer configuration optimization model to enhance planning and operating. The framework's effectiveness is demonstrated through two case studies: one focused on a new office building and the other on an existing commercial building, highlighting its applicability and scalability for effective PEDF system design and implementation. The structure of this research is as follows. Section 2 introduces the optimization and evaluation framework for configuring the PEDF system based on the planning and operating dual-layer model. Section 3 illustrates the proposed framework through two case studies from different building types. Section 4 discusses the proposed framework's main technical contributions and opportunities. Section 5 concludes the research findings. Optimization and Evaluation Framework for Configuration of the PEDF System Based on Planning and Operating Dual-Layer Model  
The framework for optimizing and evaluating the configuration of the PEDF system comprises three key components: system application scenario analysis, system planning and configuration, and optimization and evaluation of the configuration. The application scenario analysis first identifies the characteristics and requirements of various PEDF systems by examining application types and configuration goals, which sets the stage for optimizing the system configuration. During the system planning and configuration phases, the system topology is designed according to PEDF system configuration principles, allowing for flexible arrangements of interconnected components such as loads, photovoltaic elements, energy storage systems, and critical interactive devices. The system optimization and evaluation phase establishes the system's objective function and constraints. A dual-layer model is then applied to enhance the configuration optimization of the PEDF system. The process assesses the system's economic viability, low-carbon performance, and reliability.