Interactive model of the electrode–electrolyte junction