A NEW REPRESENTATION OF ENERGY STORAGE SYSTEMS OPERATION USING FOURIER THEORY IN OPTIMAL SMART GRIDS MANAGEMENT