Stochastic multiscale model for HfO2-based resistive random access memories with 1T1R configuration. (February 2021)