Energy that can be harvested for various magnitudes of earthquakes