Is Tax Credit Available for Replacing Failed Solar System

My solar system was installed in 2020. The system has failed and no longer generates power. The system is proprietary, and the company went bankrupt with no provision for servicing existing systems. I am unable to repair the existing system and am going to have to remove the old non-functioning system and replace it with a new system of slightly more capacity. Is the 30% tax credit available on the new system?