Energy Dissipation in Seismic Vibrations of a Framed Structure