Gravar-mail: Multirate method for co-simulation of electrical-chemical systems in multiscale modeling