I want to install a sub-panel on the far side of our house to facilitate wiring in the garage for setting up a shop. I was planning on putting the panel in a utility closet but after poking around I discovered that may not be within code. My understanding is there must be a clear area around the box 72" high, 36" wide and 36" deep (see the attached picture). Is this true? Should I not put this sub-panel in a utility closet (which has a waste pipe nearby that would go into this clearance space) Or do these rules only apply to the main panel and not to sub-panels?
Thank you for any advice you can give.