The NEC requires that all solar systems must be backfed into the service panel and you can't load your system with more than 120% of the main bus rating, which limits the maximum solar system size you can install.
Although this can be get around by derating the main breaker, it's not...