Question: what is the difference between main and sub?
Answer: The biggest difference between a subpanel and a main panel is that the ground and neutral buses on a subpanel have to be separated. Most panels come with a bar joining the two, which is easily removed. Code requires subpanels to have a ground connection that's independent of the main panel's.