Spectral analysis and transport of energy density for an hyperbolic system with periodic oscillations