Reactive Power Support Using Photovoltaic Systems: Techno-Economic Analysis and Implementation Algorithms