A power generation system comprises a tube, a coil assembly, a magnetic assembly, and a direct detonation source. The coil assembly comprises at least one coil configured outside the tube. The magnetic assembly comprises at least one magnet inside the tube. The magnetic assembly is configured to move relative to the tube. The direct detonation source produces a detonation impulse that causes one of the tube or the magnetic assembly to move thereby generating power based on the movement of the magnet assembly relative to the coil assembly where the direct detonation source produces the detonation impulse at an ignition point without requiring a period of deflagration.