I consider myself pretty decent with electrical work but don't quite understand code around main panels. I live in northern California in PG&E territory. My house was build in 2002 and has a 200 amp service. The main panel has room for 6 double pole breakers of which originally there was a 100 amp to feed to main subpanel and a 50 amp to feed to AC. The piece that confuses me is there is no main breaker between the meter and these 6 breaker slots. I doubt I would ever use more than 200 amps at a given time but how is my service protected from not going over 200 amps and causing a problem. Does the utility have a 200 amp breaker upstream protecting the service or are all 6 of these breakers not supposed to add up to more than 200 amps? The reason I ask is my garage/shop is right now wired into the main sub panel but I am thinking of putting in a dedicated one now with a disconnect since I have two young kids and would like to be able to lockout the shop when I am not in there. I am also thinking of adding solar in the near future and trying to understand how that affects or not affects the main panel breaker sizing, etc. any pointers is appreciated. Thanks
^^