本研究以太陽能為主要發想,其產生之能量是需要即時使用,或需將能量儲存在儲能系統中,提供給下一台或之後有需求的電動車使用。而電動車普及化將會帶來大量鋰電池的產生,但其淘汰的電池將對環境造成莫大的傷害。鋰電池作為電動車的壽命約為八年,當電池容量低於原本容量的80%時,充電容量變小且充電時間過長,將不能再被電動車所使用。然而,汰役電池仍有龐大的儲存空間,因此可再被作為電力儲能系統。 綜觀上述,本研究將結合太陽能與汰役鋰電池,於公有停車場建構太陽能板與儲能系統之共構最佳容量配置,在有限資源的條件下做最佳分配,以數學規劃的方式求得最佳解。本研究的模型是以Java作為使用介面,將所需資料讀入Java,在Gurobi Optimization的環境基礎上建立數學模型。在數學模型中,目標式為最大化可以完整被服務到的電動車數,亦針對每一台電動車考量是否在所有期數有充電需求時都能被滿足,當所有期數都被滿足,該車才算完整的被照顧到。並在模型中考量到成本預算、設置面積限制、太陽能發電和電動車需求,配置其太陽能板和儲能系統的容量,以達到再生能源的最大利用率。 本研究將以臺北市公有停車場為主要研究對象,針對平面式和立體式停車場之不同的情境模式,制定不同的參數。從情境分析中可知,由於太陽能板設置多限於屋頂,因此立體式停車場的電動車可被服務率相對於平面式低。本研究模型以實際的停車場位址做分析,其可做為各地區未來在設置太陽能或儲能系統的應用,讓決策者可依據該地區不同日射量等參數,更有效地配置太陽能和儲能系統。 ;The concept of this thesis comes from solar energy, we have to consider the power generated from solar is used immediately or stored. Besides, popularity of electric vehicle brings out lots of Li-ion battery. However, the used Li-ion batteries from electric vehicle is harmful for environment. The Li-ion battery has a useful in electric vehicle lifespan of approximately 8 years, the Li-ion battery is assumed to reach the end of its useful automotive life when 20% of its initial capacity is lost. And the used Li-ion battery can be re-purposed and used in energy storage system. The purpose of the thesis is to allocate optimal capacity for solar power genera-tion and storage in the case of urban charging station. This research builds mathe-matical programming model to plan the best possible allocation of scarce resources. This research using Gurobi Optimization create an environment object and build op-timization model within an environment. In the mathematical model, the objective function is maximum the number of electric vehicle can get the service for the whole period. And also the model need to consider cost, sizing, solar power genera-tion, charging time and charging power. The study focuses on the public parking facility in Taipei city. The location of this research is based on surface parking and Parking Tower. We define different types of parameters to allocate the optimal capacity for solar power generation and storage system. The result shows electric vehicles can get higher service in surface parking. The thesis uses a real parking, it can be used as a practical application if the region allocate solar power generation and storage system.