Modifications of generator to compensate for variations in physical values, e.g. voltage, temperature