My power cord melted while connected to power outlet, some of the wires got melted and I think I need to replace the power cord, but it doesn’t just plug into the TT it’s connected to these wires and I’m not sure what to do. Black wire in photo is my main power cord that was connected to outlet at my site, this is the end that’s connected to my TT.
Wires shouldn’t melt. If you replace them they’ll melt again (or start a fire). You need to figure out what else is wrong first, some connection is loose, or some fuse is oversized or bypassed.
Source: Help rewiring rv main power connection 2016 Forest River Avenger 30 amp


