Modeling Ambient Temperature Affected Photovoltaic Inverter Igbt Lifetimes With Rainflow Analysis