Simulation of electrons in molten salts