Arrangements for controlling transformers, reactors or choke coils, for the purpose of obtaining a desired output