Text this: The optimal placement of switching devices on rural medium-voltage systems