Text this: A New Adaptive Switching Control Method for the Complex Operating Condition of the Grid-Connected Power System