Text this: Research on the Implementation of Active Filtering and Reactive Compensation Functions with Grid-connected Inverter