This article outlines the location of the battery in the BMW 5 Series.
Inclusive are the 518, 520, 523, 528, 530, 535, 540, M5
The diagram is for Petrol and Diesel engine models.
To choose the correct battery for BMW 5 Series models click the link.
BMW 5 Series : Battery Location in Boot / Trunk