Generator assignment