Analysis of thermally induced delamination and buckling of thin-film thermoelectric generators made up of pn-junctions. (December 2018)