Gen and inverter sizing