Size the main switch or circuit breaker based on maximum demand calculation
https://www.electronetautomation.com/calculators/main-switch-sizing