The document describes the design of a single-phase transformerless inverter for use in grid-connected photovoltaic systems. It discusses how such inverters can induce leakage currents due to the lack of galvanic isolation and unstable common mode voltages. The paper then presents the H5 inverter topology as a way to reduce these leakage currents by keeping the common mode voltage constant during all operating modes. Simulation results from MATLAB show that the H5 topology achieves lower leakage currents than other topologies like H6 and HERIC. The document concludes that the H5 inverter design meets the requirements for eliminating leakage currents in transformerless photovoltaic systems.