A static transfer switch assembly comprising: a transfer switch constructed and arranged to be connected with a preferred power source and an alternate power source, and a load so that the transfer switch can selectively connect either of the preferred or alternate power sources (14, 16) to the load, a first digital signal processor circuit associated with the preferred power source to detect whether power of the preferred power source is outside of a first set range, a second digital signal processor circuit associated with the alternate power source to detect whether of the alternate power source is outside of a second set range, and a third digital signal processor circuit in communication with each of the first and second digital signal processors (20, 22) and in communication with the transfer switch, wherein the third digital signal processor circuit is constructed and arranged 1) to compute and balance flux in real time based on digitized sample voltages received from each of the preferred and alternate power sources (14, 16), 2) when the preferred power source is powering the load to control the transfer switch to transfer the load from the preferred power sources to the alternate power source, based on the first digital signal processor circuit detecting that the power of the preferred power source is outside of the first set range, and 3) when the alternate power source is powering the load, to control the transfer switch to transfer the load from the alternate power source to the preferred power source, based on the second digital signal processor circuit detecting that the power of the alternate power source is outside of the second set range a transfer switch constructed and arranged to be connected with a preferred power source and an alternate power source, and a load so that the transfer switch can selectively connect either of the preferred or alternate power sources (14, 16) to the load, a first digital signal processor circuit associated with the preferred power source to detect whether power of the preferred power source is outside of a first set range, a second digital signal processor circuit associated with the alternate power source to detect whether of the alternate power source is outside of a second set range, and a third digital signal processor circuit in communication with each of the first and second digital signal processors (20, 22) and in communication with the transfer switch, wherein the third digital signal processor circuit is constructed and arranged 1) to compute and balance flux in real time based on digitized sample voltages received from each of the preferred and alternate power sources (14, 16), 2) when the preferred power source is powering the load to control the transfer switch to transfer the load from the preferred power sources to the alternate power source, based on the first digital signal processor circuit detecting that the power of the preferred power source is outside of the first set range, and 3) when the alternate power source is powering the load, to control the transfer switch to transfer the load from the alternate power source to the preferred power source, based on the second digital signal processor circuit detecting that the power of the alternate power source is outside of the second set range 1) to compute and balance flux in real time based on digitized sample voltages received from each of the preferred and alternate power sources (14, 16), 2) when the preferred power source is powering the load to control the transfer switch to transfer the load from the preferred power sources to the alternate power source, based on the first digital signal processor circuit detecting that the power of the preferred power source is outside of the first set range, and 3) when the alternate power source is powering the load, to control the transfer switch to transfer the load from the alternate power source to the preferred power source, based on the second digital signal processor circuit detecting that the power of the alternate power source is outside of the second set range