Asset prioritization algorithm for optimizing electrical network upgrade and replacement strategies