Modifications of generator to compensate for variations in physical values, e.g. power supply, load, temperature