Computationally efficient methods for transient state estimation and electromagnetic transient simulation of large-scale power grids