Investigation of energy absorption by clustered gold nanoparticles