Electrical malfunction causes afternoon duplex fire