Text this: Optimal dynamic reconfiguration of large-scale PV plant under partial shading conditions based on two reconfigurable stages