This study addresses the problem of allocating shore side electricity (SSE) supply points. We consider a group of terminals, for which the overall environmental benefit is to be maximized. To this end, an optimization model is developed that yields the optimal SSE supply point allocation plan. The proposed model solves the berth allocation problem with port call data. The novelty of this model lies in the distinction of terminals, respecting the individual target terminal per vessel. This supports the application on a group of terminals, even spanning multiple ports. Previous models only support such a use case by requiring further analysis on the results of per-terminal applications. We examine the results for various generated scenarios based on historical port call data of one month for a container terminal group in the Port of Hamburg, Germany. The results show that the best found allocation plan in this study, enabling 2.54 GWh of SSE consumption, is slightly better than the allocation plan published by the Port of Hamburg.