Calculation of energy saving measures for street lighting