Text this: Design of a master power factor controller for an industrial plant with solar photovoltaic and electric vehicle chargers