Theory and Calculation of Variable Electrical Systems.