In this paper, the implementation of sliding mode control algorithms for the case of power grid current regulation in a T-type bidirectional inverter system connected via an LCL filter to the power grid is proposed and presented. A mathematical model of such a system has been proposed, which was then implemented in a simulation environment. The method of designing sliding controllers using the Lyapunov method to conduct a stability proof is presented. The article includes a comparative analysis of two sliding mode control algorithms: the classic one, which includes equivalent control, discontinuous part, and proportional reaching law, and the hybrid one, in which the discontinuous part and reaching law were modified.