100% rule or Hawaiian Tie-in:
So you transfer all branch breakers to a new breaker panel (maybe on inside of garage directly behind this one), and install a single 100A branch breaker to feed it.
100% rule or Hawaiian Tie-in:
iaeimagazine.org
Something like this, note inverter (and its disconnect) is NOT actually connected to a breaker in main panel, but to the wire coming out of main panel. And NO other loads are connected to the unused breaker slots in main panel. Where drawing shows "40A" circuit to inverter you might have 200A safety switch:
View attachment 287735
Navigating solar interconnection methods with diverse configurations and rules is complex. Connecting your PV system demands understanding this landscape.
ecuip.com
As shown in that picture, the inverter isn't supplying any loads in sub-panel. So connect inverter's output to an interlocked breaker adjacent to main breaker in sub-panel. Then you can feed the loads either directly from grid, or through inverter.
That would be the electrical circuit order if you want inverter to supply everything in new sub panel.
Physical order might be what I wrote, due to length of branch circuit wires routing from existing panel to new sub-panel. Unless they are accessible for instance from inside garage to pull out of main panel and re-route into sub-panel, you might just run through a conduit between the panels. Good to keep a conduit run with many wires under 2' length, because ampacity derating is supposed to be applied if longer.
If you put new subpanel after inverter, best to have a bypass mechanism in case inverter fails. I use interlocked breakers.
Actually feeding all loads of a 200A panel through the bypass relay of an inverter capable of supplying 50A or 60A can be problematic, because of course if you happen to have higher loads active, the inverter will shut down after a while, or immediately. Better to have only loads it can actually handle automatically transferred to inverter. Excessive loads can be manually switched over, with you responsible for ensuring not all are active at once (e.g. turn off electric dryer if A/C is needed.)
I replaced my separate meter and main panel with meter and main breaker only. Similar to you just using 200A tap off your main panel and removing all branch breakers.
After my main breaker I run wires to 200A sub-panel with 200A breaker (excessive loads), 125A sub-panel with 100A breaker (backed up loads), 100A fused safety switch (for inverter).
Output of inverter will go back to interlocked breakers in both 125A sub-panel (normally feeding) and in 200A sub-panel (normally not feeding)
New service panel energized, "Cut and Swing" complete.
New backed up loads panel, 125A bus, 100A main breaker now fed by load-side tap from 200A service disconnect (same for PV disconnect switch and future 200A panel to replace old panel and meter.)
For now this panel has 40A breaker for oven, and 40A breaker backfeeding old 100A panel (which has no heavy loads actually used.)
The interlocked breaker top right had been receiving backfeed from old panel. Next it will go to a 30A 120/240V inlet plug for generator, later to be 100A from inverters.

...
In the photos shown, empty meter socket and old 100A main panel still shown, later replaced with 200A sub-panel.
All conduit goes through basement. In your case you might place all side by side and route externally. I was working with limited dimensions due to corner of house, window, crawl space.