Diesel-electric locomotives dissipate braking energy as heat because there's no easy way to store it. There are many possible storage methods such as batteries, supercapacitors, flywheels, thermal storage using molten salt, etc., but given the relatively low cost of diesel it's much easier and...