A tankless water heater can only be run on either propane or electricity. The water heaters in RVs run on a 12-volt direct current (DC).