Python Calculations With Variable Frequency Transformer