It has been discussed that electric vehicles should be utilized effectively as movable storage resources. In this research, public electric buses are focused on, which are expected to have controllability with low uncertainty but limitation caused by the rigid bus operation schedule. Recently we reported an analysis of the actual bus operation data and proposed a charging schedule optimization method. The purpose of this research is to create an optimization method that maximizes two indicators related to the benefits of the bus company. Moreover, the sensitivity of the photovoltaic capacity installed at the bus stations is analyzed. An optimization method was created by mixed integer linear programming, and sensitivity analysis simulation was conducted using real city data. This study is based on a realistic simulation with actual bus operation data in a target city. As a result, we confirmed the 107kWh (-15.3%) surplus reduction by the proposed optimization method and the trade-off relationship between the two indicators.