The active power of an alternator can be varied by