You take the total watts of the solar array divided by the voltage of the battery bank. That will give you the output current of the charge controller. For example, a 1000W solar array ÷ 24V battery bank = 41.6A. The rating of the charge controller should be at least 40A.