Modeling and co-simulation of power distribution networked in digitaland mix