This is not tax advice; you should probably talk to your accountant. My recollection is you can claim the credit when you "put it into service". Assuming you are allowed to turn the system on in Dec 2022 post inspection and probably just "not export" to the grid then you likely can "put it into service" in 2022.