ENERGY MANAGEMENT OPTIMIZATION IN LIGHTING SYSTEMS