A control algorithm for a standalone solar photovoltaic (PV)-diesel-battery hybrid system is implemented in this paper. The proposed system deals with the intermittent nature of the energy generated by the PV array and it also provides power quality improvement. The PV array is integrated through a DC-DC boost converter and controlled using a maximum power point tracking (MPPT) algorithm to obtain the maximum power under varying operating conditions. The battery energy storage system (BESS) is integrated to the diesel engine generator (DG) set for the coordinated load management and power flow within the system. The admittance based control algorithm is used for load balancing, harmonics elimination and reactive power compensation under three phase four-wire linear and nonlinear loads. A four-leg voltage source converter (VSC) with BESS also provides neutral current compensation. The performance of proposed standalone hybrid system is studied under different loading conditions experimentally on a developed prototype of the system. CONTROL AND IMPLEMENTATION OF A STANDALONE SOLAR PHOTO-VOLTAIC HYBRID SYSTEM