OPTIMIZED ENERGY MANAGEMENT OF PV POWERED LIGHTING SYSTEM FOR SMART