State estimation for active distribution network