Solar does basically nothing to help with grid capacity.
If solar is cheaper than the alternatives, then installing solar means more money for growing the grid capacity as well.