To determine the optimal tank size, you need to consider factors such as the maximum demand on the system, the desired pump shutdown time, and the system’s pressure profile. You can use calculations and simulations to determine the required tank size, or consult with a qualified engineer or manufacturer’s representative for guidance.