An energy dissipator for interposition between parts of a structure, for example, between a support structure and a deck of a viaduct, protecting the structure in the event of an earthquake in an effective and consistent manner which conforms to expectations even a very long time after installation and also in the event of repeated operation, comprises an electrical generator interposed between the parts and operated by relative movement between the parts as a result of the earthquake.